joyce8/EMBER2024-capa huggingface dataset:
Function at 0x434020
Capabilities:
Get geographical location

Disassembly:
push 0xffffffffffffffff
push 0x447c58
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push ebx
push ebp
mov ebx, ecx
push esi
push edi
lea ecx, [esp + 0x10]
call fcn.00443248
lea eax, [esp + 0x14]
push 2
push eax
xor ebp, ebp
push 0xe
push 0x400
mov dword [esp + 0x30], ebp
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
mov eax, dword [esp + 0x28]
xor esi, esi
cmp eax, ebp
jne 0x434164
mov ecx, dword [esp + 0x2c]
push ecx
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::operator_1
mov eax, dword [esp + 0x10]
mov edi, dword [eax - 8]
test edi, edi
jle 0x4340d4
cmp byte [esi + eax], 0x25
jne 0x43408f
inc ebp
inc esi
cmp esi, edi
jl 0x434088
cmp ebp, 1
jle 0x4340b1
lea ecx, [esp + 0x10]
mov dword [esp + 0x20], 0xffffffff
call sub.MFC42.DLL_CString::CString
xor eax, eax
jmp 0x4341c5
test ebp, ebp
jle 0x4340d4
cmp byte [edi + eax - 1], 0x25
je 0x4340d4
lea ecx, [esp + 0x10]
mov dword [esp + 0x20], 0xffffffff
call sub.MFC42.DLL_CString::CString
xor eax, eax
jmp 0x4341c5
mov dl, byte [esp + 0x14]
xor esi, esi
xor ecx, ecx
test edi, edi
jle 0x434108
cmp byte [ecx + eax], dl
jne 0x4340e6
inc esi
inc ecx
cmp ecx, edi
jl 0x4340e0
cmp esi, 1
jle 0x434108
lea ecx, [esp + 0x10]
mov dword [esp + 0x20], 0xffffffff
call sub.MFC42.DLL_CString::CString
xor eax, eax
jmp 0x4341c5
xor esi, esi
test edi, edi
jle 0x43412c
cmp byte [esi + eax], dl
jne 0x434127
push 0x2e
push esi
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CString::SetAt
mov eax, dword [esp + 0x10]
mov dl, byte [esp + 0x14]
inc esi
cmp esi, edi
jl 0x43410e
xor esi, esi
test edi, edi
jle 0x43414d
cmp byte [esi + eax], 0x25
jne 0x434148
push 0x20
push esi
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CString::SetAt
mov eax, dword [esp + 0x10]
inc esi
cmp esi, edi
jl 0x434132
lea edx, [esp + 0x2c]
push edx
push eax
call dword [sym.imp.MSVCRT.dll_strtod]
mov eax, dword [esp + 0x38]
add esp, 8
fstp dword [eax]
jmp 0x4341af
mov ecx, dword [esp + 0x30]
mov edi, dword [esp + 0x2c]
push ebp
push edi
mov edx, dword [ecx]
mov ecx, ebx
push edx
call fcn.00433e60
mov eax, dword [edi]
mov ebx, dword [eax - 8]
test ebx, ebx
jle 0x43419b
mov ecx, dword [edi]
cmp byte [ecx + esi], 0x2e
jne 0x434196
mov edx, dword [esp + 0x14]
mov ecx, edi
push edx
push esi
call sub.MFC42.DLL_CString::SetAt
inc esi
cmp esi, ebx
jl 0x434181
mov eax, dword [esp + 0x34]
test eax, eax
je 0x4341af
push 0x45d4f0
mov ecx, edi
call fcn.0044327e
lea ecx, [esp + 0x10]
mov dword [esp + 0x20], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov eax, 1
mov ecx, dword [esp + 0x18]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x14
ret 0x10
Function at 0x4341e0
Capabilities:
Copy file
Get disk size

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x447c90
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x34
push ebx
push esi
push edi
mov edi, dword [ebp + 0xc]
mov dword [ebp - 0x10], esp
push 0x3a
mov ecx, edi
call sub.MFC42.DLL_CString::Find_1
mov esi, eax
cmp esi, 0xffffffff
je 0x434317
lea ecx, [ebp - 0x14]
call fcn.00443248
xor ebx, ebx
inc esi
lea eax, [ebp - 0x1c]
push esi
push eax
mov ecx, edi
mov dword [ebp - 4], ebx
call sub.MFC42.DLL_CString::Left
push eax
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 1
call sub.MFC42.DLL_CString::operator_1
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], bl
call sub.MFC42.DLL_CString::CString
push 0x5c
lea ecx, [ebp - 0x14]
call fcn.0044356c
lea ecx, [ebp - 0x28]
lea edx, [ebp - 0x24]
push ecx
lea eax, [ebp - 0x18]
push edx
mov edx, dword [ebp - 0x14]
lea ecx, [ebp - 0x20]
push eax
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceA]
mov eax, dword [ebp - 0x20]
lea ecx, [ebp - 0x30]
imul eax, dword [ebp - 0x18]
imul eax, dword [ebp - 0x24]
mov dword [ebp - 0x18], eax
call sub.MFC42.DLL_AFX_EXCEPTION_LINK::AFX_EXCEPTION_LINK
mov ecx, dword [ebp + 8]
push 0x8002
mov byte [ebp - 4], 3
mov eax, dword [ecx]
lea ecx, [ebp - 0x40]
push eax
call sub.MFC42.DLL_CFile::CFile
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 4
call sub.MFC42.DLL_CFile::GetLength
mov ecx, dword [ebp - 0x18]
mov byte [ebp - 4], 3
cmp ecx, eax
lea ecx, [ebp - 0x40]
jae 0x4342e6
call fcn.0044354e
mov byte [ebp - 4], bl
call sub.MFC42.DLL_AfxTryCleanup
lea ecx, [ebp - 0x14]
mov dword [ebp - 4], 0xffffffff
call sub.MFC42.DLL_CString::CString
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
call fcn.0044354e
jmp 0x4342fe
mov dword [ebp - 4], ebx
call sub.MFC42.DLL_AfxTryCleanup
lea ecx, [ebp - 0x14]
mov dword [ebp - 4], 0xffffffff
call sub.MFC42.DLL_CString::CString
jmp 0x434319
xor ebx, ebx
mov eax, dword [ebp + 8]
mov edi, dword [edi]
push ebx
push edi
mov eax, dword [eax]
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileA]
mov ecx, dword [ebp - 0xc]
pop edi
neg eax
sbb eax, eax
pop esi
neg eax
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x492110
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x6f000]
push edi
jmp 0x49212a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x492131
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x492120
mov eax, 1
add ebx, ebx
jne 0x492143
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x492154
jne 0x492173
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x492173
dec eax
add ebx, ebx
jne 0x492160
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x492138
add ebx, ebx
jne 0x49216f
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x4921c5
xor ecx, ecx
sub eax, 3
jb 0x49218b
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x4921fa
sar eax, 1
mov ebp, eax
jmp 0x492196
add ebx, ebx
jne 0x492196
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x492164
inc ecx
add ebx, ebx
jne 0x4921a4
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x492164
add ebx, ebx
jne 0x4921b1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x4921a6
jne 0x4921c2
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x4921a6
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x4921e4
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x4921d6
jmp 0x492126
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x4921e4
add edi, ecx
jmp 0x492126
pop esi
mov edi, esi
mov ecx, 0x1d76
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x492202
cmp byte [edi], 0xa
jne 0x492202
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x492207
lea edi, [esi + 0x8e000]
mov eax, dword [edi]
or eax, eax
je 0x49227f
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0xc9fc0]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0xca09c]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x492234
mov ecx, edi
jns 0x492263
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0xca0a0]
or eax, eax
je 0x492279
mov dword [ebx], eax
add ebx, 4
jmp 0x492251
call dword [esi + 0xca0b0]
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0x4922b0
cmp al, 0xef
ja 0x4922a3
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0x492285
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
jmp 0x492292
mov ebp, dword [esi + 0xca0a4]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x20f]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x4922e4
sub esp, 0xffffff80
jmp 0x40eafb
Function at 0x406c04
Capabilities:
Accept command line arguments

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffffdf4
mov ebx, edx
mov esi, eax
mov eax, ebx
call fcn.0040956c
test esi, esi
jne 0x406c3a
push 0x105
lea eax, [esp + 4]
push eax
push 0
call sub.kernel32.dll_GetModuleFileNameW
mov ecx, eax
mov edx, esp
mov eax, ebx
call fcn.004096f4
jmp 0x406c58
call sub.kernel32.dll_GetCommandLineW
mov edi, eax
mov edx, ebx
mov eax, edi
call fcn.00406ae8
mov edi, eax
test esi, esi
je 0x406c58
cmp dword [ebx], 0
je 0x406c58
dec esi
jmp 0x406c41
add esp, 0x20c
pop edi
pop esi
pop ebx
ret

Function at 0x406c8c
Capabilities:
Generate random numbers using the delphi lcg

Disassembly:
push ebx
xor ebx, ebx
imul edx, dword [ebx + 0x676008], 0x8088405
inc edx
mov dword [ebx + 0x676008], edx
mul edx
mov eax, edx
pop ebx
ret

Function at 0x4082cc
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xfffffff0
mov edi, edx
mov esi, eax
mov ebp, dword [esi + 0x10]
mov eax, esi
call fcn.004086b0
mov byte [esp], al
cmp byte [esp], 0
jne 0x408456
test edi, edi
je 0x408456
mov byte [esp + 1], 0
test ebp, ebp
jle 0x408396
call sub.kernel32.dll_GetTickCount
mov dword [esp + 4], eax
xor eax, eax
mov dword [esp + 0xc], eax
test ebp, ebp
jle 0x408371
cmp edi, 0xffffffff
je 0x408331
call sub.kernel32.dll_GetTickCount
sub eax, dword [esp + 4]
cmp edi, eax
ja 0x408331
mov byte [esp], 0
jmp 0x408456
mov ebx, dword [esi]
cmp ebx, 1
jg 0x408371
test ebx, ebx
jne 0x408363
xor eax, eax
mov edx, 1
lock cmpxchg dword [esi], edx
test eax, eax
jne 0x408363
call sub.kernel32.dll_GetCurrentThreadId
mov dword [esi + 8], eax
mov dword [esi + 4], 1
mov byte [esp], 1
jmp 0x408456
lea eax, [esp + 0xc]
call fcn.00407fac
dec ebp
test ebp, ebp
jg 0x408316
cmp edi, 0xffffffff
je 0x408396
call sub.kernel32.dll_GetTickCount
mov dword [esp + 8], eax
mov eax, dword [esp + 8]
sub eax, dword [esp + 4]
cmp edi, eax
ja 0x408394
mov byte [esp], 0
jmp 0x408456
sub edi, eax
mov ebx, dword [esi]
test ebx, ebx
je 0x4082da
lea edx, [ebx + 2]
mov eax, ebx
lock cmpxchg dword [esi], edx
cmp ebx, eax
jne 0x408396
call sub.kernel32.dll_GetTickCount
mov dword [esp + 4], eax
mov eax, esi
call fcn.004084c4
mov edx, eax
mov ebx, dword [0x6808fc]
mov ecx, edi
xor eax, eax
call dword [ebx + 0x10]
test eax, eax
sete byte [esp]
cmp edi, 0xffffffff
je 0x4083fa
call sub.kernel32.dll_GetTickCount
mov dword [esp + 8], eax
mov eax, dword [esp + 8]
sub eax, dword [esp + 4]
cmp edi, eax
jbe 0x4083f8
mov eax, dword [esp + 8]
sub eax, dword [esp + 4]
sub edi, eax
jmp 0x4083fa
xor edi, edi
cmp byte [esp], 0
je 0x408420
mov ebx, dword [esi]
test bl, 1
jne 0x408436
mov edx, ebx
sub edx, 2
or edx, 1
mov eax, ebx
lock cmpxchg dword [esi], edx
cmp ebx, eax
jne 0x408400
mov byte [esp + 1], 1
jmp 0x408436
mov ebx, dword [esi]
mov edx, ebx
sub edx, 2
mov eax, ebx
lock cmpxchg dword [esi], edx
cmp ebx, eax
jne 0x408420
mov byte [esp + 1], 1
cmp byte [esp + 1], 0
je 0x4083ad
cmp byte [esp], 0
je 0x408456
call sub.kernel32.dll_GetCurrentThreadId
mov dword [esi + 8], eax
mov dword [esi + 4], 1
movzx eax, byte [esp]
add esp, 0x10
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x4091fc
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp byte [0x68005c], 0
je 0x409263
cmp word [0x680348], 0xd7b2
jne 0x409225
cmp dword [0x680350], 0
jbe 0x409225
mov eax, 0x680344
call dword [0x680360]
push 0
lea eax, [esp + 4]
push eax
push 0x1d
push str.Runtime_error_____at_00000000
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
push 0
lea eax, [esp + 4]
push eax
push 2
mov eax, 0x409290
call fcn.00409de0
push eax
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
pop edx
ret
cmp byte [0x676032], 0
jne 0x40927f
push 0
push 0x6769ca
push str.Runtime_error_____at_00000000
push 0
call sub.user32.dll_MessageBoxA
pop edx
ret

Function at 0x40942c
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov esi, ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov edi, dword [ebp + 0x10]
cmp dword [0x676034], 0
je 0x409457
mov edx, edi
mov eax, esi
call dword [0x676034]
mov ebx, eax
jmp 0x409468
mov eax, 8
call fcn.004067ec
mov ebx, eax
mov dword [ebx], esi
mov dword [ebx + 4], edi
mov byte [0x68005d], 1
mov eax, dword [ebp + 8]
push eax
mov eax, dword [ebp + 0xc]
push eax
push ebx
mov eax, 0x4093f4
push eax
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_CreateThread
mov esi, eax
test esi, esi
jne 0x409498
mov eax, ebx
call fcn.00406808
mov eax, esi
pop edi
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret 0xc
Function at 0x40bcc4
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffe98
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x160], ecx
mov dword [ebp - 0x164], ecx
mov dword [ebp - 0x168], ecx
mov dword [ebp - 4], edx
mov esi, eax
xor eax, eax
push ebp
push 0x40be29
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.0040956c
cmp si, word [0x676a08]
jb 0x40bd5c
cmp si, word [0x676c08]
ja 0x40bd5c
mov edi, 0x40
xor eax, eax
mov dword [ebp - 8], eax
cmp edi, dword [ebp - 8]
jb 0x40bd5c
mov ebx, edi
add ebx, dword [ebp - 8]
shr ebx, 1
cmp si, word [ebx*8 + 0x676a08]
jae 0x40bd36
mov edi, ebx
dec edi
jmp 0x40bd57
cmp si, word [ebx*8 + 0x676a08]
jbe 0x40bd46
inc ebx
mov dword [ebp - 8], ebx
jmp 0x40bd57
mov edx, dword [ebp - 4]
mov eax, dword [ebx*8 + 0x676a0c]
call fcn.0040bbe4
jmp 0x40bd5c
cmp edi, dword [ebp - 8]
jae 0x40bd20
mov eax, dword [ebp - 4]
cmp dword [eax], 0
jne 0x40be0b
push 2
movzx eax, si
push eax
call sub.kernel32.dll_IsValidLocale
test eax, eax
je 0x40be0b
push 0x55
lea eax, [ebp - 0xb2]
push eax
push 0x59
movzx ebx, si
push ebx
call sub.kernel32.dll_GetLocaleInfoW
push 0x55
lea eax, [ebp - 0x15c]
push eax
push 0x5a
push ebx
call sub.kernel32.dll_GetLocaleInfoW
lea eax, [ebp - 0x160]
lea edx, [ebp - 0xb2]
mov ecx, 0x55
call fcn.0040a1e0
push dword [ebp - 0x160]
push 0x40be44
lea eax, [ebp - 0x164]
lea edx, [ebp - 0x15c]
mov ecx, 0x55
call fcn.0040a1e0
push dword [ebp - 0x164]
push 0x40be54
lea eax, [ebp - 0x168]
lea edx, [ebp - 0xb2]
mov ecx, 0x55
call fcn.0040a1e0
push dword [ebp - 0x168]
mov eax, dword [ebp - 4]
mov edx, 5
call fcn.0040a418
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40be30
lea eax, [ebp - 0x168]
mov edx, 3
call fcn.004095cc
ret
Function at 0x40bfdc
Capabilities:
Identify system language via api

Disassembly:
push ebp
mov ebp, esp
push 0
push ebx
push esi
mov esi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x40c0e0
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x682b8c
call sub.kernel32.dll_EnterCriticalSection
cmp bx, word [0x682ba4]
jne 0x40c028
mov eax, esi
mov edx, 0x682ba6
mov ecx, 0x55
call fcn.0040a1e0
push 0x682b8c
call sub.kernel32.dll_LeaveCriticalSection
jmp 0x40c0ca
push 0x682b8c
call sub.kernel32.dll_LeaveCriticalSection
mov eax, esi
call fcn.0040956c
push 2
movzx eax, bx
push eax
call sub.kernel32.dll_IsValidLocale
test eax, eax
je 0x40c097
cmp byte [0x682b88], 0
je 0x40c05c
mov edx, esi
mov eax, ebx
call fcn.0040bec0
jmp 0x40c097
mov edx, esi
mov eax, ebx
call fcn.0040bcc4
call sub.kernel32.dll_GetSystemDefaultUILanguage
cmp bx, ax
je 0x40c097
cmp dword [esi], 0
je 0x40c080
mov eax, esi
mov edx, 0x40c0f8
call fcn.0040a338
call sub.kernel32.dll_GetSystemDefaultUILanguage
lea edx, [ebp - 4]
call fcn.0040bcc4
mov edx, dword [ebp - 4]
mov eax, esi
call fcn.0040a338
push 0x682b8c
call sub.kernel32.dll_EnterCriticalSection
mov word [0x682ba4], bx
mov eax, dword [esi]
call fcn.0040a13c
mov ecx, eax
mov eax, 0x682ba6
mov edx, 0xaa
call fcn.0040bb44
push 0x682b8c
call sub.kernel32.dll_LeaveCriticalSection
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40c0e7
lea eax, [ebp - 4]
call fcn.0040956c
ret
Function at 0x423d3c
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
xor ecx, ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ebx
push esi
mov esi, eax
xor eax, eax
push ebp
push 0x423ea0
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x104
lea eax, [ebp - 8]
mov ecx, 1
mov edx, dword [0x423cdc]
call fcn.0040b5b8
add esp, 4
push 0x104
lea eax, [ebp - 0xc]
mov ecx, 1
mov edx, dword [0x423d0c]
call fcn.0040b5b8
add esp, 4
movzx ebx, byte [0x423eb0]
mov dl, 1
mov eax, esi
call fcn.00424288
test al, al
jne 0x423db6
mov dl, 1
mov eax, esi
call fcn.004241f0
test al, al
je 0x423e40
lea edx, [ebp - 0x1c]
mov eax, esi
call fcn.00424a80
mov eax, dword [ebp - 0x1c]
lea edx, [ebp - 4]
call fcn.0042b5a4
push 0x104
mov eax, dword [ebp - 0xc]
push eax
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x10]
push eax
push 0x104
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 4]
call fcn.0040a13c
mov esi, eax
push esi
call sub.kernel32.dll_GetVolumeInformationW
test eax, eax
je 0x423e3b
test byte [ebp - 0x14], 1
je 0x423e06
or bl, 1
test byte [ebp - 0x14], 2
je 0x423e0f
or bl, 2
test byte [ebp - 0x14], 0x80
je 0x423e18
or bl, 0x20
push esi
call sub.kernel32.dll_GetDriveTypeW
sub eax, 2
je 0x423e2c
dec eax
je 0x423e31
dec eax
je 0x423e36
dec eax
jne 0x423e61
or bl, 0x10
jmp 0x423e61
or bl, 4
jmp 0x423e61
or bl, 8
jmp 0x423e61
call fcn.0042bdc0
lea edx, [ebp - 0x20]
mov eax, dword [0x67f6c8]
call fcn.0040d1b0
mov ecx, dword [ebp - 0x20]
mov dl, 1
mov eax, dword [0x41c1cc]
call fcn.00429dd0
call fcn.00408c68
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x423ea7
lea eax, [ebp - 0x20]
mov edx, 2
call fcn.004095cc
lea eax, [ebp - 0xc]
mov edx, dword [0x423d0c]
call fcn.0040b6dc
lea eax, [ebp - 8]
mov edx, dword [0x423cdc]
call fcn.0040b6dc
lea eax, [ebp - 4]
call fcn.0040956c
ret

Function at 0x423f0c
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov ebx, eax
push 0
lea eax, [ebp - 4]
push eax
mov eax, dword [ebp + 8]
push eax
mov eax, dword [esi]
add eax, edi
push eax
push ebx
call sub.kernel32.dll_ReadFile
test eax, eax
jne 0x423f39
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
pop ecx
pop ebp
ret 4
Function at 0x429c80
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffff778
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 4], ecx
xor ecx, ecx
push ebp
push 0x429da5
push dword fs:[ecx]
mov dword fs:[ecx], esp
push 0x400
lea ecx, [ebp - 0x888]
call fcn.00429a88
mov esi, eax
mov eax, dword [0x67f5d4]
cmp byte [eax], 0
je 0x429d4d
mov eax, dword [0x67f260]
call fcn.004071a8
call fcn.00406960
push 0
push 0
push 0
push 0
push esi
lea eax, [ebp - 0x888]
push eax
push 0
push 1
call sub.kernel32.dll_WideCharToMultiByte_1
mov ebx, eax
push ebx
lea eax, [ebp - 4]
mov ecx, 1
mov edx, dword [0x429c50]
call fcn.0040b5b8
add esp, 4
push 0
push 0
push ebx
mov eax, dword [ebp - 4]
push eax
push esi
lea eax, [ebp - 0x888]
push eax
push 0
push 1
call sub.kernel32.dll_WideCharToMultiByte_1
push 0
lea eax, [ebp - 8]
push eax
push ebx
mov eax, dword [ebp - 4]
push eax
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
push 0
lea eax, [ebp - 8]
push eax
push 2
push 0x429dc0
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
jmp 0x429d89
push 0x40
lea eax, [ebp - 0x88]
push eax
mov eax, dword [0x67f1bc]
mov eax, dword [eax + 4]
push eax
mov eax, dword [0x682c54]
call fcn.0040b7e4
push eax
call sub.user32.dll_LoadStringW_1
push 0x2010
lea eax, [ebp - 0x88]
push eax
lea eax, [ebp - 0x888]
push eax
push 0
call sub.user32.dll_MessageBoxW
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x429dac
lea eax, [ebp - 4]
mov edx, dword [0x429c50]
call fcn.0040b6dc
ret

Function at 0x42b068
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
xor edx, edx
mov dword [ebp - 4], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x42b13e
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 8], 0xffffffff
lea eax, [ebp - 4]
mov edx, ebx
call fcn.00409994
lea eax, [ebp - 4]
call fcn.00409af4
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
call fcn.0040a13c
push eax
call sub.version.dll_GetFileVersionInfoSizeW
mov ebx, eax
test ebx, ebx
je 0x42b128
mov eax, ebx
call fcn.004067ec
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x42b121
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0x10]
push eax
push ebx
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
call fcn.0040a13c
push eax
call sub.version.dll_GetFileVersionInfoW
test eax, eax
je 0x42b10b
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x42b150
mov eax, dword [ebp - 0x10]
push eax
call sub.version.dll_VerQueryValueW
test eax, eax
je 0x42b10b
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 8]
mov dword [ebp - 8], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x42b128
mov eax, dword [ebp - 0x10]
call fcn.00406808
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x42b145
lea eax, [ebp - 4]
call fcn.0040956c
ret
Function at 0x488910
Capabilities:
Encode data using xor
Encrypt data using rc4 prga

Disassembly:
push ebx
push esi
mov dl, 0xb5
mov ebx, eax
xor eax, eax
mov ecx, eax
mov esi, ebx
shr esi, cl
mov ecx, esi
and cl, 0xff
xor dl, cl
inc eax
cmp eax, 4
jne 0x488918
mov eax, edx
pop esi
pop ebx
ret

Function at 0x4c3a30
Capabilities:
Resume thread

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push ebx
mov ebx, eax
xor eax, eax
push ebp
push 0x4c3ace
push dword fs:[eax]
mov dword fs:[eax], esp
or dl, byte [ebx + 0xd]
je 0x4c3a92
cmp byte [ebx + 0x11], 0
jne 0x4c3a92
cmp byte [ebx + 0x3c], 0
jne 0x4c3a92
mov byte [ebx + 0xf], 0
mov byte [ebx + 0xd], 0
mov eax, dword [ebx + 8]
push eax
call sub.kernel32.dll_ResumeThread
cmp eax, 1
je 0x4c3ab3
lea edx, [ebp - 4]
mov eax, dword [0x67f540]
call fcn.0040d1b0
mov ecx, dword [ebp - 4]
mov dl, 1
mov eax, dword [0x497178]
call fcn.00429dd0
call fcn.00408c68
jmp 0x4c3ab3
lea edx, [ebp - 8]
mov eax, dword [0x67f540]
call fcn.0040d1b0
mov ecx, dword [ebp - 8]
mov dl, 1
mov eax, dword [0x497178]
call fcn.00429dd0
call fcn.00408c68
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4c3ad5
lea eax, [ebp - 8]
mov edx, 2
call fcn.004095cc
ret

Function at 0x4c446c
Capabilities:
Suspend thread

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
movzx eax, byte [eax + 0xf]
mov byte [ebp - 5], al
xor eax, eax
push ebp
push 0x4c44ba
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov byte [eax + 0xf], 1
mov eax, dword [ebp - 4]
mov eax, dword [eax + 8]
push eax
call sub.kernel32.dll_SuspendThread
test eax, eax
setge dl
mov eax, dword [ebp - 4]
call fcn.004c38b0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4c44d3
pop edi
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret

Function at 0x4c44dc
Capabilities:
Resume thread

Disassembly:
push ebx
push esi
mov ebx, eax
mov eax, dword [ebx + 8]
push eax
call sub.kernel32.dll_ResumeThread
mov esi, eax
test esi, esi
setge dl
mov eax, ebx
call fcn.004c38b0
dec esi
jne 0x4c44fe
mov byte [ebx + 0xf], 0
pop esi
pop ebx
ret

Function at 0x4c6ccc
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, 0x685444
cmp dword [edi], 0
jne 0x4c6d48
push 0x40
push 0x1000
push 0x1000
push 0
call sub.kernel32.dll_VirtualAlloc_1
mov esi, eax
mov eax, dword [0x685440]
mov dword [esi], eax
lea edx, [esi + 4]
mov eax, 0x67980c
mov ecx, 2
call fcn.004069e8
mov edx, 0x4c6ca4
lea eax, [esi + 5]
call fcn.004c6cc4
mov dword [esi + 6], eax
lea ebx, [esi + 0xa]
mov byte [ebx], 0xe8
lea edx, [esi + 4]
mov eax, ebx
call fcn.004c6cc4
mov dword [ebx + 1], eax
mov eax, dword [edi]
mov dword [ebx + 5], eax
mov dword [edi], ebx
add ebx, 0xd
mov eax, ebx
sub eax, esi
cmp eax, 0xffc
jl 0x4c6d1d
mov dword [0x685440], esi
mov eax, dword [edi]
mov ebx, dword [edi]
mov edx, dword [ebx + 5]
mov dword [edi], edx
mov edx, dword [ebp + 8]
mov dword [ebx + 5], edx
mov edx, dword [ebp + 0xc]
mov dword [ebx + 9], edx
pop edi
pop esi
pop ebx
pop ebp
ret 8