joyce8/EMBER2024-capa huggingface dataset:
Function at 0x423d95
Capabilities:
Encode data using xor

Disassembly:
mov ecx, dword [ebp + 0xc]
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x18], eax
cmp eax, ecx
ja 0x423da9
mov eax, dword [ebp + 0x10]
mov eax, dword [eax]
rol eax, cl
xor edx, edx
mov ebx, ecx
div ebx
pushal
mov edi, dword [ebp - 0x10]
xor ecx, ecx
xor ebx, ebx
cmp ebx, edx
jne 0x423dc2
cmp dword [edi], 0xffffffff
je 0x423dc2
jmp 0x423dd1
cmp dword [edi], 0xffffffff
je 0x423dc8
inc ebx
add edi, 4
inc ecx
cmp ecx, dword [ebp + 0xc]
jne 0x423db7
mov esi, dword [ebp - 8]
mov ebx, dword [edi]
mov dword [edi], 0xffffffff
mov dword [esi], ebx
add dword [ebp - 8], 4
popal
dec ecx
cmp ecx, 0
jne 0x423d9b
cmp dword [ebp + 0x14], 0
jne 0x423e0c
mov ax, word [ebp - 0x1a]
mov esi, dword [ebp + 8]
add esi, 2
mov ecx, 2
xor word [esi], ax
add esi, 2
add ecx, 2
cmp ecx, dword [ebp + 0xc]
jne 0x423dfe
mov esi, dword [ebp - 0xc]
mov ecx, dword [ebp + 0x10]
mov ecx, dword [ecx]
xor edi, edi
cmp dword [ebp + 0x14], 0
jne 0x423e5b
mov edx, dword [esi]
mov eax, dword [ebp + 8]
add eax, edx
mov al, byte [eax]
mov edx, dword [esi + 4]
mov ebx, dword [ebp + 8]
add ebx, edx
mov bl, byte [ebx]
xor bl, cl
rol ecx, 1
xor al, cl
rol ecx, 1
push ecx
mov edx, dword [esi]
mov ecx, dword [ebp + 8]
add ecx, edx
mov byte [ecx], bl
mov edx, dword [esi + 4]
mov ecx, dword [ebp + 8]
add ecx, edx
mov byte [ecx], al
pop ecx
add esi, 8
add edi, 2
mov eax, dword [ebp + 0xc]
cmp edi, eax
jne 0x423e1c
jmp 0x423eba
mov edx, dword [esi]
mov eax, dword [ebp + 8]
add eax, edx
mov al, byte [eax]
mov edx, dword [esi + 4]
mov ebx, dword [ebp + 8]
add ebx, edx
mov bl, byte [ebx]
xor al, cl
rol ecx, 1
xor bl, cl
rol ecx, 1
push ecx
mov edx, dword [esi]
mov ecx, dword [ebp + 8]
add ecx, edx
mov byte [ecx], bl
mov edx, dword [esi + 4]
mov ecx, dword [ebp + 8]
add ecx, edx
mov byte [ecx], al
pop ecx
add esi, 8
add edi, 2
mov eax, dword [ebp + 0xc]
cmp edi, eax
jne 0x423e5b
cmp dword [ebp + 0x14], 1
jne 0x423eba
mov esi, dword [ebp + 8]
mov ax, word [esi]
add esi, 2
mov ecx, 2
xor word [esi], ax
add esi, 2
add ecx, 2
cmp ecx, dword [ebp + 0xc]
jne 0x423eac
ret
Function at 0x42576b
Capabilities:
Execute anti-debugging instructions

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
rdtsc
xor eax, edx
xor edx, edx
mov ebx, 0x100
div ebx
mov dword [ebp - 8], edx
add dword [ebp - 8], 0x100
push 3
push 0x425db2
call fcn.00404920
cmp eax, 0
jne 0x4257b8
mov dword [0x425db2], 0
push dword [ebp - 8]
call dword [fcn.004294ee]
push 5
push 0x425db2
call fcn.00404920
cmp eax, 0
jne 0x4257cd
push 0x7547
call fcn.00404dad
mov esp, ebp
pop ebp
ret 8
call fcn.004274d5
mov eax, dword [ebp + 8]
add eax, 0x2bc
cmp dword [0x4257ec], 0x582734
je 0x42593d
jmp 0x4257f0
mov ebx, 0xfbc1d404
xor ebx, 0xfef565a8
xor ebx, 0xf86449cd
xor ebx, 0x989511
call fcn.004258c2
xor ebx, 0xfe616c44
xor edx, 0xfd2240a7
xor ebx, 0xff59adbd
mov ebx, 0xfd730ae4
cmp eax, 0xd7bbf582
jne 0x401698
jmp 0x425894
dec ecx
mov edx, 0xf75179c2
jmp 0x4258ee
ret
mov edx, 0x9037a9a1
mov dword [0x4257ec], 0x582734
jmp 0x425909
mov edx, 0xfbb7869b
xor byte [esi], al
inc esi
mov ebx, 0xf7a582b1
jmp 0x42584b
jmp 0x4258d3
ret
cmp ecx, 1
jge 0x4258a5
jmp 0x4258b4
call fcn.004258d4
jmp 0x42593d
cmp ecx, 1
jne 0x4258a5
jmp 0x42587e
imul esp, ebp, 0xf56d2b6f
ja 0x425970
insd dword es:[edi], dx
cmc
mov al, al
cmc
mov ebx, 0x32f582d7
loop 0x425917
lodsb al, byte [esi]
stc
xlatb
inc ebp
invalid
xlatb
xor ch, 0xbb
xlatb
loop 0x4259c2
wait
mov al, al
cmc
in eax, dx
mov bl, 0x7d
sar byte [ebx - 0x200a7d29], 0x5e
cmpsd dword [esi], dword es:[edi]
cmc
mov ebx, 0x8e7e82d7
nop
invalid
mov byte [0x3f831d9e], al
jge 0x4259a5
xor dl, ah
jae 0x425950
mov cl, 0xf9
stc
xlatb
add dword [ebx], esi
mov edi, 0xcff7bc54
rol dword [ebp - 0xd], 1
mov edx, 0x32f582d7
mov esp, 0x45d1cff7
mov edx, 0x32f582d7
xchg ecx, eax
xchg byte [esi - 0x3a], dh
fild word [ebx - 0x6bc05880]
sbb eax, 0xc0092844
dec edx
xchg ebx, eax
sal ch, 0x38
adc dword [esi - 0x92a7a8a], eax
cmc
cmp byte [ecx], dl
xchg byte [esi - 0x7b], dh
aad 0xf6
jl 0x42599e
xor ebp, 0xffffffbb
xlatb
or esi, dword [ebx - 0x200ab41]
mov ecx, 0x4f1d9ea2
xor byte [ebp + 0xa], bh
xor dl, ah
jae 0x425994
stc
xlatb
add dword [ebx], esi
mov edi, 0xcff7bc54
rol dword [ebp - 0xd], 1
mov ecx, 0x32f582d7
xchg ecx, eax
xchg byte [esi - 0x3a], dh
fild word [ecx - 0x51405d80]
hlt
Function at 0x433000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
nop
nop
nop
nop
push 4
nop
nop
pop edi
nop
nop
nop
nop
nop
cmp eax, 0
nop
nop
nop
nop
je 0x433072
nop
nop
nop
mov ebx, 0x40de38
nop
nop
nop
mov ecx, ebx
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
push eax
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
nop
div edi
nop
nop
nop
nop
xchg ecx, eax
nop
pop eax
nop
nop
nop
nop
nop
mov esi, 0x136b220e
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
nop
nop
add eax, edi
nop
nop
nop
nop
loop 0x433060
mov eax, section..data
nop
nop
cmp eax, 0
nop
nop
nop
je 0x4330d2
nop
nop
nop
mov ebx, 0x4304d8
nop
nop
nop
mov ecx, ebx
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
push eax
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
div edi
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
pop eax
mov esi, 0x208403c8
nop
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
add eax, edi
nop
nop
loop 0x4330c0
nop
nop
nop
nop
nop
nop
nop
nop
nop
popal
jmp 0x431219
Function at 0x404548
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.00406838
test esi, esi
jne 0x404580
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.00406974
jmp 0x40459e
call sub.kernel32.dll_GetCommandLineW
mov edi, eax
mov edx, ebx
mov eax, edi
call fcn.0040448c
mov edi, eax
test esi, esi
je 0x40459e
cmp dword [ebx], 0
je 0x40459e
dec esi
jmp 0x404587
add esp, 0x20c
pop edi
pop esi
pop ebx
ret

Function at 0x405dc8
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp byte [0x4ae050], 0
je 0x405e29
cmp word [0x4ae32c], 0xd7b2
jne 0x405df1
cmp dword [0x4ae334], 0
jbe 0x405df1
mov eax, 0x4ae328
call dword [0x4ae344]
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 0x405e54
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
pop edx
ret
cmp byte [0x4ab030], 0
jne 0x405e45
push 0
push str.Error
push str.Runtime_error_____at_00000000
push 0
call sub.user32.dll_MessageBoxA
pop edx
ret

Function at 0x405fb4
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 [0x4ab034], 0
je 0x405fda
mov edx, esi
mov eax, ebx
call dword [0x4ab034]
jmp 0x405fe9
mov eax, 8
call fcn.004041d4
mov dword [eax], ebx
mov dword [eax + 4], esi
mov byte [0x4ae051], 1
mov edx, dword [ebp + 8]
push edx
mov edx, dword [ebp + 0xc]
push edx
push eax
mov eax, 0x405f7c
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 0x408600
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffe94
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x164], ecx
mov dword [ebp - 0x168], ecx
mov dword [ebp - 0x16c], ecx
mov dword [ebp - 8], edx
mov esi, eax
xor eax, eax
push ebp
push 0x408767
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 8]
xor edx, edx
call fcn.00406838
cmp si, word [0x4ab7dc]
jb 0x40869a
cmp si, word [0x4ab9dc]
ja 0x40869a
mov edi, 0x40
xor eax, eax
mov dword [ebp - 0xc], eax
cmp edi, dword [ebp - 0xc]
jb 0x40869a
mov ebx, dword [ebp - 0xc]
add ebx, edi
shr ebx, 1
cmp si, word [ebx*8 + 0x4ab7dc]
jae 0x408674
mov edi, ebx
dec edi
jmp 0x408695
cmp si, word [ebx*8 + 0x4ab7dc]
jbe 0x408684
inc ebx
mov dword [ebp - 0xc], ebx
jmp 0x408695
mov edx, dword [ebp - 8]
mov eax, dword [ebx*8 + 0x4ab7e0]
call fcn.00408510
jmp 0x40869a
cmp edi, dword [ebp - 0xc]
jae 0x40865e
mov eax, dword [ebp - 8]
cmp dword [eax], 0
jne 0x408749
push 2
movzx eax, si
push eax
call sub.kernel32.dll_IsValidLocale
test eax, eax
je 0x408749
push 0x55
lea eax, [ebp - 0xb6]
push eax
push 0x59
movzx ebx, si
push ebx
call sub.kernel32.dll_GetLocaleInfoW
push 0x55
lea eax, [ebp - 0x160]
push eax
push 0x5a
push ebx
call sub.kernel32.dll_GetLocaleInfoW
lea eax, [ebp - 0x164]
lea edx, [ebp - 0xb6]
mov ecx, 0x55
call fcn.00406a20
push dword [ebp - 0x164]
push 0x408784
lea eax, [ebp - 0x168]
lea edx, [ebp - 0x160]
mov ecx, 0x55
call fcn.00406a20
push dword [ebp - 0x168]
push 0x408794
lea eax, [ebp - 0x16c]
lea edx, [ebp - 0xb6]
mov ecx, 0x55
call fcn.00406a20
push dword [ebp - 0x16c]
mov eax, dword [ebp - 8]
mov edx, 5
call fcn.00406dd8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40876e
lea eax, [ebp - 0x16c]
mov edx, 3
call fcn.00406830
ret
Function at 0x408920
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 0x408a25
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x4b0b58
call sub.kernel32.dll_EnterCriticalSection
cmp bx, word [0x4b0b70]
jne 0x40896c
mov eax, esi
mov edx, 0x4b0b74
mov ecx, 0x55
call fcn.00406a20
push 0x4b0b58
call sub.kernel32.dll_LeaveCriticalSection
jmp 0x408a0f
push 0x4b0b58
call sub.kernel32.dll_LeaveCriticalSection
mov eax, esi
xor edx, edx
call fcn.00406838
push 2
movzx eax, bx
push eax
call sub.kernel32.dll_IsValidLocale
test eax, eax
je 0x4089dd
cmp byte [0x4b0b54], 0
je 0x4089a2
mov edx, esi
mov eax, ebx
call fcn.00408800
jmp 0x4089dd
mov edx, esi
mov eax, ebx
call fcn.00408600
call sub.kernel32.dll_GetSystemDefaultUILanguage
cmp bx, ax
je 0x4089dd
cmp dword [esi], 0
je 0x4089c6
mov eax, esi
mov edx, 0x408a40
call fcn.00406c34
call sub.kernel32.dll_GetSystemDefaultUILanguage
lea edx, [ebp - 4]
call fcn.00408600
mov edx, dword [ebp - 4]
mov eax, esi
call fcn.00406c34
push 0x4b0b58
call sub.kernel32.dll_EnterCriticalSection
mov word [0x4b0b70], bx
push 0xaa
mov eax, dword [esi]
call fcn.004068c4
push eax
push 0x4b0b74
call sub.kernel32.dll_lstrcpynW
push 0x4b0b58
call sub.kernel32.dll_LeaveCriticalSection
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x408a2c
lea eax, [ebp - 4]
call fcn.00406828
ret
Function at 0x409114
Capabilities:
Identify system language via api

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffdd8
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x228], ebx
mov dword [ebp - 0x224], ebx
mov dword [ebp - 0x220], ebx
mov esi, ecx
mov dword [ebp - 0x21c], edx
mov dword [ebp - 0x218], eax
mov eax, dword [ebp - 0x218]
call fcn.00406820
mov eax, dword [ebp - 0x21c]
call fcn.00406820
lea edi, [ebp - 0x210]
xor eax, eax
push ebp
push 0x4092b3
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, esi
xor edx, edx
call fcn.00406838
xor ebx, ebx
push 0x105
mov eax, dword [ebp - 0x21c]
call fcn.004068c4
push eax
lea eax, [ebp - 0x20a]
push eax
call sub.kernel32.dll_lstrcpynW
lea eax, [ebp - 0x20a]
push eax
call sub.kernel32.dll_lstrlenW
add eax, eax
lea edx, [ebp - 0x20a]
add eax, edx
sub eax, 2
mov dword [edi], eax
jmp 0x4091b4
sub dword [edi], 2
mov eax, dword [edi]
cmp word [eax], 0x2e
je 0x4091c6
lea eax, [ebp - 0x20a]
cmp eax, dword [edi]
jne 0x4091b1
lea eax, [ebp - 0x20a]
cmp eax, dword [edi]
je 0x40927f
add dword [edi], 2
mov eax, dword [edi]
mov word [eax], 0
lea eax, [ebp - 0x20a]
mov edx, dword [edi]
sub edx, eax
sar edx, 1
jns 0x4091ef
adc edx, 0
mov eax, 0x105
sub eax, edx
mov dword [ebp - 0x214], eax
lea edx, [ebp - 0x220]
mov eax, dword [ebp - 0x218]
call fcn.00408c64
cmp dword [ebp - 0x220], 0
je 0x409227
push ebp
mov eax, dword [ebp - 0x220]
call fcn.00409008
pop ecx
mov ebx, eax
jmp 0x40927f
push ebp
call sub.kernel32.dll_GetUserDefaultUILanguage
lea edx, [ebp - 0x224]
call fcn.00408920
mov eax, dword [ebp - 0x224]
call fcn.00409008
pop ecx
mov ebx, eax
test bl, bl
jne 0x409272
cmp byte [0x4b0b54], 0
jne 0x409272
push ebp
call sub.kernel32.dll_GetSystemDefaultUILanguage
lea edx, [ebp - 0x228]
call fcn.00408920
mov eax, dword [ebp - 0x228]
call fcn.00409008
pop ecx
mov ebx, eax
test bl, bl
jne 0x40927f
push ebp
call fcn.004090b8
pop ecx
mov ebx, eax
test bl, bl
je 0x409295
mov eax, esi
lea edx, [ebp - 0x20a]
mov ecx, 0x105
call fcn.00406a20
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4092ba
lea eax, [ebp - 0x228]
mov edx, 5
call fcn.00406830
ret

Function at 0x409a2c
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 0x40ca08
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
mov esi, 0x4b0c4c
push 0xa
push 0x40ca9c
mov eax, dword [0x4b0c3c]
push eax
call sub.kernel32.dll_FindResourceW
mov ebx, eax
test ebx, ebx
jne 0x40ca2c
call fcn.004175ac
push ebx
mov eax, dword [0x4b0c3c]
push eax
call sub.kernel32.dll_LoadResource
mov ebx, eax
test ebx, ebx
jne 0x40ca43
call fcn.004175ac
push ebx
call sub.kernel32.dll_LockResource
mov dword [esi], eax
cmp dword [esi], 0
jne 0x40ca55
call fcn.004175ac
mov eax, dword [esi]
mov edx, dword [esi]
mov ecx, edx
add ecx, dword [eax]
mov dword [0x4b0c50], ecx
mov ecx, edx
add ecx, dword [eax + 4]
mov dword [0x4b0c54], ecx
mov ecx, edx
add ecx, dword [eax + 8]
mov dword [0x4b0c58], ecx
mov ecx, edx
add ecx, dword [eax + 0xc]
mov dword [0x4b0c5c], ecx
mov ecx, edx
add ecx, dword [eax + 0x10]
mov dword [0x4b0c60], ecx
add edx, dword [eax + 0x14]
mov dword [0x4b0c64], edx
pop esi
pop ebx
ret

Function at 0x41034c
Capabilities:
Encrypt data using rc4 prga

Disassembly:
cmp eax, edx
je 0x4103f5
test eax, edx
je 0x4103f8
push 0
push 0
cmp word [eax - 0xa], 2
je 0x410375
push edx
mov edx, eax
mov eax, esp
call fcn.00406a3c
pop edx
mov eax, dword [esp]
cmp word [edx - 0xa], 2
je 0x41038b
push eax
lea eax, [esp + 8]
call fcn.00406a3c
pop eax
mov edx, dword [esp + 4]
movzx ecx, word [edx]
cmp cx, word [eax]
je 0x41039a
movzx eax, word [eax]
sub eax, ecx
jmp 0x4103c1
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 0x4103db
add ecx, 4
js 0x4103b2
pop eax
pop ebx
mov ecx, esp
mov edx, dword [ecx]
or edx, dword [ecx + 4]
je 0x4103d8
push eax
mov eax, ecx
mov edx, 2
call fcn.00406054
pop eax
pop edx
pop edx
ret
bsf ebx, ebx
shr ebx, 4
add ebx, ebx
add ecx, ebx
jns 0x4103bf
movzx eax, word [ecx + eax]
movzx edx, word [ecx + edx]
sub eax, edx
pop ebx
pop ebx
jmp 0x4103c1
xor eax, eax
ret
test eax, eax
je 0x410408
test edx, edx
jne 0x41035c
mov eax, dword [eax - 4]
ret
sub eax, dword [edx - 4]
ret

Function at 0x414a7c
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 0x414ab5
mov ecx, eax
dec ecx
lea edx, [ebp - 0x200]
mov eax, ebx
call fcn.00406974
jmp 0x414abe
mov eax, ebx
mov edx, esi
call fcn.00406838
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x414ac8
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 0x414aea
movzx eax, word [esp]
jmp 0x414aec
mov eax, edi
pop edx
pop edi
pop esi
pop ebx
ret
Function at 0x41527c
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 0x4153a1
push dword fs:[ecx]
mov dword fs:[ecx], esp
push 0x400
lea ecx, [ebp - 0x888]
call fcn.0041508c
mov esi, eax
mov eax, dword [0x4ad1e0]
cmp byte [eax], 0
je 0x415349
mov eax, dword [0x4acfa4]
call fcn.0040467c
call fcn.0040433c
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 [0x415254]
call fcn.00407ffc
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 0x4153bc
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
jmp 0x415385
push 0x40
lea eax, [ebp - 0x88]
push eax
mov eax, dword [0x4acf40]
mov eax, dword [eax + 4]
push eax
mov eax, dword [0x4b0c3c]
call fcn.004080f0
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 0x4153a8
lea eax, [ebp - 4]
mov edx, dword [0x415254]
call fcn.00408008
ret

Function at 0x416558
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 0x41662e
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 8], 0xffffffff
lea eax, [ebp - 4]
mov edx, ebx
call fcn.0040688c
lea eax, [ebp - 4]
call fcn.00407224
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
call fcn.004068c4
push eax
call sub.version.dll_GetFileVersionInfoSizeW
mov ebx, eax
test ebx, ebx
je 0x416618
mov eax, ebx
call fcn.004041d4
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x416611
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.004068c4
push eax
call sub.version.dll_GetFileVersionInfoW
test eax, eax
je 0x4165fb
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x416640
mov eax, dword [ebp - 0x10]
push eax
call sub.version.dll_VerQueryValueW
test eax, eax
je 0x4165fb
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 0x416618
mov eax, dword [ebp - 0x10]
call fcn.004041f0
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x416635
lea eax, [ebp - 4]
call fcn.00406828
ret
Function at 0x417454
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.00406364
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 0x4173fe
mov eax, edi
add eax, eax
call fcn.004041d4
mov esi, eax
jmp 0x417400
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 0x417439
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 0x417423
mov eax, esp
cmp esi, eax
je 0x417446
mov eax, esi
call fcn.004041f0
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 0x417480
cmp bl, 0
je 0x41747c
cmp bl, 0x41
jl 0x417477
cmp bl, 0x5a
jg 0x417477
or bl, 0x20
xor al, bl
inc esi
jmp 0x41745b
pop ecx
pop ebx
pop esi
ret
pop eax
pop ebx
pop esi
jmp 0x4173c0

Function at 0x43a334
Capabilities:
Resume thread

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push ebx
mov ebx, eax
xor eax, eax
push ebp
push 0x43a3d2
push dword fs:[eax]
mov dword fs:[eax], esp
or dl, byte [ebx + 0xc]
je 0x43a396
cmp byte [ebx + 0x10], 0
jne 0x43a396
cmp byte [ebx + 0x3c], 0
jne 0x43a396
mov byte [ebx + 0xe], 0
mov byte [ebx + 0xc], 0
mov eax, dword [ebx + 4]
push eax
call sub.kernel32.dll_ResumeThread
cmp eax, 1
je 0x43a3b7
lea edx, [ebp - 4]
mov eax, dword [0x4ad18c]
call fcn.004099b8
mov ecx, dword [ebp - 4]
mov dl, 1
mov eax, dword [0x42b060]
call fcn.004153c0
call fcn.00405868
jmp 0x43a3b7
lea edx, [ebp - 8]
mov eax, dword [0x4ad18c]
call fcn.004099b8
mov ecx, dword [ebp - 8]
mov dl, 1
mov eax, dword [0x42b060]
call fcn.004153c0
call fcn.00405868
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x43a3d9
lea eax, [ebp - 8]
mov edx, 2
call fcn.00406830
ret

Function at 0x43ac50
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 + 0xe]
mov byte [ebp - 5], al
xor eax, eax
push ebp
push 0x43ac9e
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov byte [eax + 0xe], 1
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
push eax
call sub.kernel32.dll_SuspendThread
test eax, eax
setge dl
mov eax, dword [ebp - 4]
call fcn.0043a2b8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x43acb7
pop edi
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret

Function at 0x43acc0
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.0043a2b8
dec esi
jne 0x43ace2
mov byte [ebx + 0xe], 0
pop esi
pop ebx
ret
Function at 0x43c4fc
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, 0x4b2f8c
cmp dword [edi], 0
jne 0x43c578
push 0x40
push 0x1000
push 0x1000
push 0
call sub.kernel32.dll_VirtualAlloc_1
mov esi, eax
mov eax, dword [0x4b2f88]
mov dword [esi], eax
lea edx, [esi + 4]
mov eax, 0x4abfe4
mov ecx, 2
call fcn.0040438c
mov edx, 0x43c4d4
lea eax, [esi + 5]
call fcn.0043c4f4
mov dword [esi + 6], eax
lea ebx, [esi + 0xa]
mov byte [ebx], 0xe8
lea edx, [esi + 4]
mov eax, ebx
call fcn.0043c4f4
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 0x43c54d
mov dword [0x4b2f88], 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