joyce8/EMBER2024-capa huggingface dataset:
Function at 0x401230
Capabilities:
Encode data using add xor sub operations
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
dec eax
add ebx, 0xe3
add esi, 0x80
rcl ebx, 0xd1
not esi
inc esi
imul esi
dec edx
add ebx, 0x4e
neg edi
not eax
sub esi, 0xc
dec eax
mov edx, 0xcf
dec esi
inc eax
dec edx
sub edx, 0x3b
mov esi, 0xde
inc eax
or esi, 0x9e
inc ebx
not edx
add edi, 0x9c
sub eax, 0x9c
rcr esi, 0x65
add ebx, 0x6e
imul eax
or esi, 0xf7
mov eax, 0x8c
rcr eax, 0x93
sub edi, 0x51
inc ebx
sbb esi, 0xf4
neg esi
neg edx
sub edi, 0x89
sbb edi, 0xa4
dec ebx
sub edx, 6
inc ebx
rol edi, 0x42
or esi, 0x2b
bswap eax
ror ebx, 0x63
neg eax
inc eax
inc edx
or esi, 0xe7
imul ebx
xor ecx, ecx
xor edi, edi
imul ebx
ror edi, 0x2e
bswap esi
inc edx
bswap eax
rcr ebx, 0x67
imul eax
and edx, 0x88
imul edx
imul eax
add esi, 0xb7
imul eax
or esi, 0xeb
neg esi
imul ebx
rcr ebx, 0xa7
and ebx, 0x75
imul edx
not edx
add eax, 0x34
rol edi, 0xb2
mov esi, 0x6a
inc edi
add edi, 0x4e
rcr esi, 0xc0
and edx, 0x17
dec edi
and ebx, 0x5f
rcl esi, 0x41
dec ebx
neg esi
add edx, 0xf
neg ebx
rcl esi, 0xb8
ror esi, 0xb9
not ebx
or edi, 0x68
not esi
mov eax, 0xf6
not esi
neg eax
inc ebx
inc edi
rcr ebx, 0xd2
not eax
inc ebx
sub edi, 0xb3
bswap edi
imul esi
not esi
mov ecx, dword [ebp + 0xc]
not eax
rcl ebx, 0xae
and eax, 0x9e
neg esi
neg edi
inc eax
rcl ebx, 0x86
ror edx, 0x41
not esi
bswap eax
imul esi
ror ebx, 0x31
imul ebx
or ebx, 0x18
sub eax, 0xae
mov edi, 0x51
not edx
add ebx, 0x86
dec ebx
ror eax, 0x9b
imul ebx
not eax
add eax, 0xc
imul eax
mov eax, 0xd6
not edx
dec edx
imul ebx
mov edx, 0xec
inc eax
neg edi
imul edi
dec edx
sub eax, 0x85
inc esi
rcr edx, 0x32
inc ebx
dec eax
sub edx, 0x28
and esi, 0xdf
bswap eax
inc esi
imul edi
or ebx, 0x9d
bswap eax
bswap edi
ror edx, 0xd7
and esi, 0x17
neg esi
bswap eax
mov edi, dword [ebp + 8]
mov esi, esi
mov eax, esi
mov eax, eax
not byte [edi]
xor eax, esi
xor ebx, eax
mov esi, eax
xor ebx, esi
xor esi, esi
xor ebx, eax
xor eax, eax
mov ebx, ebx
xor eax, eax
add byte [edi], 0x37
xor ebx, esi
xor ebx, ebx
mov esi, ebx
mov ebx, ebx
xor esi, ebx
xor esi, eax
mov eax, eax
xor ebx, eax
xor ebx, esi
sub byte [edi], 0x75
mov eax, esi
mov esi, esi
mov ebx, eax
mov esi, eax
xor eax, eax
xor eax, esi
xor esi, ebx
xor ebx, ebx
mov esi, esi
imul byte [edi]
inc edi
loop 0x4013df
pop edi
pop esi
pop ebx
pop ebp
ret
Function at 0x432003
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
mov eax, section..wixburn
nop
nop
nop
push 4
nop
nop
nop
pop edi
nop
nop
nop
cmp eax, 0
nop
nop
nop
nop
nop
nop
je 0x432072
nop
mov ebx, 0x40c7d0
nop
nop
nop
mov ecx, ebx
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
nop
push eax
mov eax, ecx
nop
nop
nop
nop
nop
nop
div edi
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
nop
pop eax
nop
mov esi, 0x78f6780c
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
add eax, edi
nop
nop
nop
nop
nop
loop 0x432060
nop
nop
mov eax, section..pdata
nop
nop
cmp eax, 0
nop
je 0x4320d2
nop
nop
nop
nop
nop
mov ebx, 0x42f314
nop
nop
mov ecx, ebx
nop
nop
nop
sub ecx, eax
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
nop
nop
push eax
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
div edi
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
pop eax
nop
nop
nop
nop
mov esi, 0x87c53d8
xor dword [eax], esi
nop
nop
nop
nop
add eax, edi
nop
nop
nop
nop
nop
nop
nop
loop 0x4320c0
nop
nop
nop
nop
nop
nop
popal
jmp 0x431219
Function at 0x418d50
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
xor edx, edx
mov eax, edx
and eax, 1
dec eax
not eax
and eax, 0xedb88320
mov ecx, edx
shr ecx, 1
xor eax, ecx
mov ecx, eax
and ecx, 1
dec ecx
not ecx
and ecx, 0xedb88320
shr eax, 1
xor ecx, eax
mov eax, ecx
and eax, 1
dec eax
shr ecx, 1
not eax
and eax, 0xedb88320
xor eax, ecx
mov ecx, eax
and ecx, 1
dec ecx
not ecx
and ecx, 0xedb88320
shr eax, 1
xor ecx, eax
mov eax, ecx
and eax, 1
dec eax
shr ecx, 1
not eax
and eax, 0xedb88320
xor eax, ecx
mov ecx, eax
and ecx, 1
dec ecx
not ecx
and ecx, 0xedb88320
shr eax, 1
xor ecx, eax
mov eax, ecx
and eax, 1
dec eax
shr ecx, 1
not eax
and eax, 0xedb88320
xor eax, ecx
mov ecx, eax
and ecx, 1
dec ecx
not ecx
and ecx, 0xedb88320
shr eax, 1
xor ecx, eax
mov dword [edx*4 + 0x420b80], ecx
inc edx
cmp edx, 0x100
jb 0x418d52
cmp edx, 0x800
jae 0x418e29
lea esp, [esp]
mov eax, dword [edx*4 + 0x420780]
mov ecx, eax
and ecx, 0xff
shr eax, 8
xor eax, dword [ecx*4 + 0x420b80]
inc edx
mov dword [edx*4 + 0x420b7c], eax
cmp edx, 0x800
jb 0x418e00
mov eax, 0x419630
mov dword [0x420b74], eax
mov dword [0x422b80], eax
mov dword [0x420b70], 0x419550
call fcn.00419060
test eax, eax
jne 0x418e55
mov dword [0x422b80], 0x419550
ret

Function at 0x42e003
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
call 0x42e00c
nop
nop
nop
pop eax
nop
nop
add eax, 0x403ac5
nop
nop
sub eax, 0x403a6b
mov ebx, dword [eax]
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
xor dword [ebx], edx
nop
add ebx, 4
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
nop
nop
jl 0x42e030
nop
nop
add eax, 0xc
nop
nop
cmp dword [eax], 0
nop
nop
jne 0x42e01e
nop
nop
nop
nop
nop
nop
popal
nop
nop
nop
jmp loc.00401219
Function at 0x431003
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
call 0x43100c
nop
nop
nop
nop
pop eax
nop
add eax, 0x403e6a
nop
sub eax, 0x403e10
nop
nop
nop
nop
nop
mov ebx, dword [eax]
nop
mov ecx, dword [eax + 4]
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
nop
add ebx, 4
nop
nop
nop
cmp ebx, ecx
nop
jl 0x431030
nop
nop
nop
nop
add eax, 0xc
nop
nop
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
jne 0x43101e
nop
nop
nop
nop
nop
nop
nop
popal
jmp fcn.00401219
Function at 0x403430
Capabilities:
Accept command line arguments

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffffdf4
mov ebx, edx
mov esi, eax
mov eax, ebx
xor edx, edx
call fcn.004061f0
test esi, esi
jne 0x403468
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.0040632c
jmp 0x403486
call sub.kernel32.dll_GetCommandLineW
mov edi, eax
mov edx, ebx
mov eax, edi
call fcn.00403314
mov edi, eax
test esi, esi
je 0x403486
cmp dword [ebx], 0
je 0x403486
dec esi
jmp 0x40346f
add esp, 0x20c
pop edi
pop esi
pop ebx
ret

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

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

Function at 0x403d2c
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
movzx eax, word [0x53e024]
mov dword [ebp - 8], eax
lea eax, [ebp - 4]
push eax
push 1
push 0
push 0x403dc4
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExW
test eax, eax
jne 0x403da4
xor eax, eax
push ebp
push 0x403d9d
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0xc], 4
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
push 0
push 0
push 0x403dfc
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegQueryValueExW
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x403da4
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegCloseKey
ret
movzx eax, word [0x53e024]
and ax, 0xffc0
movzx edx, word [ebp - 8]
and dx, 0x3f
or ax, dx
mov word [0x53e024], ax
mov esp, ebp
pop ebp
ret
Function at 0x404518
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xfffffff4
mov edi, edx
mov esi, eax
mov ebp, dword [esi + 0x10]
mov eax, esi
call fcn.004047cc
mov byte [esp], al
cmp byte [esp], 0
jne 0x4046a1
test edi, edi
je 0x4046a1
mov byte [esp + 1], 0
test ebp, ebp
jle 0x4045d8
call sub.kernel32.dll_GetTickCount
mov dword [esp + 4], eax
test ebp, ebp
jle 0x4045b3
cmp edi, 0xffffffff
je 0x404577
call sub.kernel32.dll_GetTickCount
sub eax, dword [esp + 4]
cmp edi, eax
ja 0x404577
mov byte [esp], 0
jmp 0x4046a1
mov ebx, dword [esi]
cmp ebx, 1
jg 0x4045b3
test ebx, ebx
jne 0x4045ac
mov eax, esi
xor ecx, ecx
mov edx, 1
call fcn.004013e8
test eax, eax
jne 0x4045ac
call sub.kernel32.dll_GetCurrentThreadId
mov dword [esi + 8], eax
mov dword [esi + 4], 1
mov byte [esp], 1
jmp 0x4046a1
pause
dec ebp
test ebp, ebp
jg 0x40455c
cmp edi, 0xffffffff
je 0x4045d8
call sub.kernel32.dll_GetTickCount
mov dword [esp + 8], eax
mov eax, dword [esp + 8]
sub eax, dword [esp + 4]
cmp edi, eax
ja 0x4045d6
mov byte [esp], 0
jmp 0x4046a1
sub edi, eax
mov ebx, dword [esi]
test ebx, ebx
je 0x404526
lea edx, [ebx + 2]
mov eax, esi
mov ecx, ebx
call fcn.004013e8
cmp ebx, eax
jne 0x4045d8
call sub.kernel32.dll_GetTickCount
mov dword [esp + 4], eax
mov eax, esi
call fcn.00404714
mov edx, eax
mov ebx, dword [0x5488cc]
mov ecx, edi
xor eax, eax
call dword [ebx + 0x10]
test eax, eax
sete byte [esp]
cmp edi, 0xffffffff
je 0x40463f
call sub.kernel32.dll_GetTickCount
mov dword [esp + 8], eax
mov eax, dword [esp + 8]
sub eax, dword [esp + 4]
cmp edi, eax
jbe 0x40463d
mov eax, dword [esp + 8]
sub eax, dword [esp + 4]
sub edi, eax
jmp 0x40463f
xor edi, edi
cmp byte [esp], 0
je 0x404668
mov ebx, dword [esi]
test bl, 1
jne 0x404681
mov edx, ebx
sub edx, 2
or edx, 1
mov eax, esi
mov ecx, ebx
call fcn.004013e8
cmp ebx, eax
jne 0x404645
mov byte [esp + 1], 1
jmp 0x404681
mov ebx, dword [esi]
mov edx, ebx
sub edx, 2
mov eax, esi
mov ecx, ebx
call fcn.004013e8
cmp ebx, eax
jne 0x404668
mov byte [esp + 1], 1
cmp byte [esp + 1], 0
je 0x4045f2
cmp byte [esp], 0
je 0x4046a1
call sub.kernel32.dll_GetCurrentThreadId
mov dword [esi + 8], eax
mov dword [esi + 4], 1
movzx eax, byte [esp]
add esp, 0xc
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x4052e4
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp byte [0x548054], 0
je 0x405345
cmp word [0x548330], 0xd7b2
jne 0x40530d
cmp dword [0x548338], 0
jbe 0x40530d
mov eax, 0x54832c
call dword [0x548348]
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
push 0x405370
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
pop edx
ret
cmp byte [0x53e030], 0
jne 0x405361
push 0
push 0x53e788
push str.Runtime_error_____at_00000000
push 0
call sub.user32.dll_MessageBoxA
pop edx
ret
Function at 0x4054e4
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov ebx, ecx
mov dword [ebp - 4], edx
mov edi, eax
mov esi, dword [ebp + 0x10]
cmp dword [0x53e034], 0
je 0x40550a
mov edx, esi
mov eax, ebx
call dword [0x53e034]
jmp 0x405519
mov eax, 8
call fcn.0040305c
mov dword [eax], ebx
mov dword [eax + 4], esi
mov byte [0x548055], 1
mov edx, dword [ebp + 8]
push edx
mov edx, dword [ebp + 0xc]
push edx
push eax
mov eax, 0x4054ac
push eax
mov eax, dword [ebp - 4]
push eax
push edi
call sub.kernel32.dll_CreateThread
pop edi
pop esi
pop ebx
pop ecx
pop ebp
ret 0xc
Function at 0x40874c
Capabilities:
Get system information on windows

Disassembly:
add esp, 0xffffffdc
push esp
call sub.kernel32.dll_GetSystemInfo
mov eax, dword [esp + 0x14]
add esp, 0x24
ret

Function at 0x40a334
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
mov esi, 0x54ab30
push 0xa
push 0x40a3c8
mov eax, dword [0x54ab20]
push eax
call sub.kernel32.dll_FindResourceW
mov ebx, eax
test ebx, ebx
jne 0x40a358
call fcn.00415c54
push ebx
mov eax, dword [0x54ab20]
push eax
call sub.kernel32.dll_LoadResource
mov ebx, eax
test ebx, ebx
jne 0x40a36f
call fcn.00415c54
push ebx
call sub.kernel32.dll_LockResource
mov dword [esi], eax
cmp dword [esi], 0
jne 0x40a381
call fcn.00415c54
mov eax, dword [esi]
mov edx, dword [esi]
mov ecx, edx
add ecx, dword [eax]
mov dword [0x54ab34], ecx
mov ecx, edx
add ecx, dword [eax + 4]
mov dword [0x54ab38], ecx
mov ecx, edx
add ecx, dword [eax + 8]
mov dword [0x54ab3c], ecx
mov ecx, edx
add ecx, dword [eax + 0xc]
mov dword [0x54ab40], ecx
mov ecx, edx
add ecx, dword [eax + 0x10]
mov dword [0x54ab44], ecx
add edx, dword [eax + 0x14]
mov dword [0x54ab48], edx
pop esi
pop ebx
ret

Function at 0x40be80
Capabilities:
Encrypt data using rc4 prga

Disassembly:
cmp eax, edx
je 0x40bf29
test eax, edx
je 0x40bf2c
push 0
push 0
cmp word [eax - 0xa], 2
je 0x40bea9
push edx
mov edx, eax
mov eax, esp
call fcn.0040640c
pop edx
mov eax, dword [esp]
cmp word [edx - 0xa], 2
je 0x40bebf
push eax
lea eax, [esp + 8]
call fcn.0040640c
pop eax
mov edx, dword [esp + 4]
movzx ecx, word [edx]
cmp cx, word [eax]
je 0x40bece
movzx eax, word [eax]
sub eax, ecx
jmp 0x40bef5
push ebx
mov ebx, dword [eax - 4]
xor ecx, ecx
sub ebx, dword [edx - 4]
push ebx
adc ecx, 0xffffffff
and ecx, ebx
sub ecx, dword [eax - 4]
shl ecx, 1
sub eax, ecx
sub edx, ecx
mov ebx, dword [ecx + eax]
xor ebx, dword [ecx + edx]
jne 0x40bf0f
add ecx, 4
js 0x40bee6
pop eax
pop ebx
mov ecx, esp
mov edx, dword [ecx]
or edx, dword [ecx + 4]
je 0x40bf0c
push eax
mov eax, ecx
mov edx, 2
call fcn.00405584
pop eax
pop edx
pop edx
ret
bsf ebx, ebx
shr ebx, 4
add ebx, ebx
add ecx, ebx
jns 0x40bef3
movzx eax, word [ecx + eax]
movzx edx, word [ecx + edx]
sub eax, edx
pop ebx
pop ebx
jmp 0x40bef5
xor eax, eax
ret
test eax, eax
je 0x40bf3c
test edx, edx
jne 0x40be90
mov eax, dword [eax - 4]
ret
sub eax, dword [edx - 4]
ret

Function at 0x40d298
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebx
push esi
mov esi, eax
mov eax, esi
call fcn.0040627c
push eax
call sub.kernel32.dll_GetFileAttributesW
cmp eax, 0xffffffff
je 0x40d2b6
test al, 0x10
sete al
pop esi
pop ebx
ret
call sub.kernel32.dll_GetLastError_1
mov ebx, eax
cmp ebx, 2
je 0x40d2d7
cmp ebx, 3
je 0x40d2d7
cmp ebx, 0x7b
je 0x40d2d7
mov eax, esi
call fcn.0040d258
test al, al
jne 0x40d2db
xor eax, eax
jmp 0x40d2dd
mov al, 1
pop esi
pop ebx
ret

Function at 0x40d2e0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebx
mov ebx, eax
mov eax, ebx
call fcn.0040627c
push eax
call sub.kernel32.dll_GetFileAttributesW
cmp eax, 0xffffffff
je 0x40d2f9
test al, 0x10
jne 0x40d2fd
xor eax, eax
pop ebx
ret
mov al, 1
pop ebx
ret
Function at 0x40d418
Capabilities:
Set file attributes

Disassembly:
push ebx
push esi
push edi
mov edi, edx
mov esi, eax
xor ebx, ebx
push edi
mov eax, esi
call fcn.0040627c
push eax
call sub.kernel32.dll_SetFileAttributesW
test eax, eax
jne 0x40d43a
call sub.kernel32.dll_GetLastError_1
mov ebx, eax
mov eax, ebx
pop edi
pop esi
pop ebx
ret

Function at 0x412dc4
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffe00
push ebx
push esi
mov esi, ecx
mov ebx, dword [ebp + 8]
push pe_nt_image_headers32
lea ecx, [ebp - 0x200]
push ecx
push edx
push eax
call sub.kernel32.dll_GetLocaleInfoW_1
test eax, eax
jle 0x412dfd
mov ecx, eax
dec ecx
lea edx, [ebp - 0x200]
mov eax, ebx
call fcn.0040632c
jmp 0x412e06
mov eax, ebx
mov edx, esi
call fcn.004061f0
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x412e10
Capabilities:
Get geographical location

Disassembly:
push ebx
push esi
push edi
push ecx
mov edi, ecx
mov esi, edx
mov ebx, eax
push 2
lea eax, [esp + 4]
push eax
push esi
push ebx
call sub.kernel32.dll_GetLocaleInfoW_1
test eax, eax
jle 0x412e32
movzx eax, word [esp]
jmp 0x412e34
mov eax, edi
pop edx
pop edi
pop esi
pop ebx
ret

Function at 0x4136e4
Capabilities:
Write file on windows

Disassembly:
add esp, 0xfffff004
push eax
add esp, 0xffffff7c
push 0x800
lea ecx, [esp + 0x88]
call fcn.0041351c
mov eax, dword [0x547a8c]
cmp byte [eax], 0
je 0x413776
mov eax, dword [0x547614]
call fcn.004035b8
call fcn.004031c4
lea eax, [esp + 0x884]
push eax
lea eax, [esp + 0x88]
push eax
call sub.user32.dll_CharToOemW
push 0
lea eax, [esp + 4]
push eax
lea eax, [esp + 0x88c]
call fcn.0040da4c
push eax
lea eax, [esp + 0x890]
push eax
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
push 0
lea eax, [esp + 4]
push eax
push 2
push 0x4137c4
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
jmp 0x4137af
push 0x40
lea eax, [esp + 8]
push eax
mov eax, dword [0x54756c]
mov eax, dword [eax + 4]
push eax
mov eax, dword [0x54ab20]
call fcn.00407a60
push eax
call sub.user32.dll_LoadStringW_1
push 0x2010
lea eax, [esp + 8]
push eax
lea eax, [esp + 0x8c]
push eax
push 0
call sub.user32.dll_MessageBoxW
add esp, 0x1084
ret
Function at 0x414404
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 0x4144da
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 8], 0xffffffff
lea eax, [ebp - 4]
mov edx, ebx
call fcn.00406244
lea eax, [ebp - 4]
call fcn.00406b08
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
call fcn.0040627c
push eax
call sub.version.dll_GetFileVersionInfoSizeW
mov ebx, eax
test ebx, ebx
je 0x4144c4
mov eax, ebx
call fcn.0040305c
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x4144bd
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.0040627c
push eax
call sub.version.dll_GetFileVersionInfoW
test eax, eax
je 0x4144a7
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x4144ec
mov eax, dword [ebp - 0x10]
push eax
call sub.version.dll_VerQueryValueW
test eax, eax
je 0x4144a7
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 0x4144c4
mov eax, dword [ebp - 0x10]
call fcn.00403078
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4144e1
lea eax, [ebp - 4]
call fcn.004061e0
ret

Function at 0x415afc
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xfffffdf8
mov ebx, eax
mov eax, ebx
call fcn.00405900
mov ebp, eax
push 0
push 0
push ebp
push ebx
push 0
push 0xfde9
call sub.kernel32.dll_MultiByteToWideChar_1
mov edi, eax
cmp edi, 0x104
jbe 0x415aa6
mov eax, edi
add eax, eax
call fcn.0040305c
mov esi, eax
jmp 0x415aa8
mov esi, esp
push edi
push esi
push ebp
push ebx
push 0
push 0xfde9
call sub.kernel32.dll_MultiByteToWideChar_1
push edi
push esi
call sub.user32.dll_CharUpperBuffW
xor ebx, ebx
mov eax, edi
dec eax
test eax, eax
jl 0x415ae1
inc eax
xor edx, edx
mov ecx, ebx
shl ecx, 5
shr ebx, 0x1b
or ecx, ebx
mov ebx, ecx
movzx ecx, word [esi + edx*2]
xor ebx, ecx
inc edx
dec eax
jne 0x415acb
mov eax, esp
cmp esi, eax
je 0x415aee
mov eax, esi
call fcn.00403078
mov eax, ebx
add esp, 0x208
pop ebp
pop edi
pop esi
pop ebx
ret
push esi
push ebx
mov esi, eax
xor eax, eax
push esi
rol eax, 5
mov bl, byte [esi]
test bl, 0x80
jne 0x415b28
cmp bl, 0
je 0x415b24
cmp bl, 0x41
jl 0x415b1f
cmp bl, 0x5a
jg 0x415b1f
or bl, 0x20
xor al, bl
inc esi
jmp 0x415b03
pop ecx
pop ebx
pop esi
ret
pop eax
pop ebx
pop esi
jmp 0x415a68

Function at 0x42ae88
Capabilities:
Resume thread

Disassembly:
push ebx
push esi
mov ebx, eax
mov eax, dword [ebx + 4]
push eax
call sub.kernel32.dll_ResumeThread
mov esi, eax
test esi, esi
setge dl
mov eax, ebx
call fcn.0042aafc
dec esi
jne 0x42aeaa
mov byte [ebx + 0xe], 0
pop esi
pop ebx
ret
Function at 0x42c054
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, 0x54ce64
cmp dword [edi], 0
jne 0x42c0d0
push 0x40
push 0x1000
push 0x1000
push 0
call sub.kernel32.dll_VirtualAlloc_1
mov esi, eax
mov eax, dword [0x54ce60]
mov dword [esi], eax
lea edx, [esi + 4]
mov eax, 0x53ecf4
mov ecx, 2
call fcn.00403214
mov edx, 0x42c02c
lea eax, [esi + 5]
call fcn.0042c04c
mov dword [esi + 6], eax
lea ebx, [esi + 0xa]
mov byte [ebx], 0xe8
lea edx, [esi + 4]
mov eax, ebx
call fcn.0042c04c
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 0x42c0a5
mov dword [0x54ce60], 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

Function at 0x4320d0
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd4
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 4], ecx
mov dword [ebp - 8], edx
mov edi, eax
xor eax, eax
push ebp
push 0x432188
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 8]
mov edx, dword [eax]
call dword [edx + 0x44]
lea edx, [ebp - 0x28]
mov eax, edi
call fcn.00432068
test al, al
je 0x43216a
mov ecx, dword [ebp - 0x24]
inc ecx
lea eax, [ebp - 4]
xor edx, edx
call fcn.0040632c
mov ebx, dword [ebp - 0x28]
dec ebx
test ebx, ebx
jl 0x43216a
inc ebx
xor esi, esi
mov eax, dword [ebp - 0x24]
inc eax
mov dword [ebp - 0xc], eax
push 0
push 0
push 0
push 0
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
call fcn.0040627c
push eax
push esi
mov eax, dword [edi + 4]
push eax
call sub.advapi32.dll_RegEnumKeyExW
mov eax, dword [ebp - 4]
call fcn.0040627c
mov edx, eax
lea eax, [ebp - 0x2c]
call fcn.0040639c
mov edx, dword [ebp - 0x2c]
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
call dword [ecx + 0x38]
inc esi
dec ebx
jne 0x432123
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x43218f
lea eax, [ebp - 0x2c]
call fcn.004061e0
lea eax, [ebp - 4]
call fcn.004061e0
ret

Function at 0x432500
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov ebx, eax
xor eax, eax
mov dword [ebp - 4], eax
lea eax, [ebp + 0xc]
push eax
push edi
lea eax, [ebp - 4]
push eax
push 0
mov eax, esi
call fcn.0040627c
push eax
mov eax, dword [ebx + 4]
push eax
call sub.advapi32.dll_RegQueryValueExW_1
test eax, eax
je 0x432558
mov dword [ebp - 0xc], esi
mov byte [ebp - 8], 0x11
lea eax, [ebp - 0xc]
push eax
push 0
mov ecx, dword [0x547cd8]
mov dl, 1
mov eax, dword [0x431968]
call fcn.004138f0
call fcn.00404d68
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebp - 4]
call fcn.00431af0
mov edx, dword [ebp + 8]
mov byte [edx], al
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x433914
Capabilities:
Encode data using xor

Disassembly:
mov ecx, edx
mov edx, eax
xor eax, eax
rol ax, 5
xor al, byte [edx]
inc edx
dec ecx
jne 0x43391a
ret