joyce8/EMBER2024-capa huggingface dataset:
Function at 0x42e000
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
nop
nop
nop
pop edi
nop
nop
nop
nop
cmp eax, 0
nop
nop
je 0x42e072
nop
nop
mov ebx, 0x407ef8
nop
nop
mov ecx, ebx
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
nop
push eax
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
div edi
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
pop eax
nop
mov esi, 0x56d79a6
nop
xor dword [eax], esi
nop
nop
nop
nop
add eax, edi
nop
nop
nop
nop
nop
loop 0x42e060
nop
nop
nop
mov eax, section..data
nop
nop
nop
cmp eax, 0
nop
je 0x42e0d2
nop
nop
nop
nop
mov ebx, 0x42cd70
mov ecx, ebx
nop
nop
nop
nop
nop
nop
nop
sub ecx, eax
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
nop
nop
nop
push eax
nop
nop
nop
mov eax, ecx
nop
div edi
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
pop eax
nop
nop
nop
nop
mov esi, 0x2b1a7b21
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
nop
add eax, edi
nop
nop
loop 0x42e0c0
nop
nop
nop
popal
nop
nop
nop
nop
nop
jmp 0x401219

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

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43200c
nop
nop
nop
nop
nop
pop eax
add eax, 0x40729f
nop
nop
sub eax, 0x407245
nop
nop
mov ebx, dword [eax]
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
xor dword [ebx], edx
nop
nop
nop
add ebx, 4
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
nop
jl 0x432030
nop
nop
nop
nop
add eax, 0xc
nop
cmp dword [eax], 0
nop
nop
nop
nop
nop
jne 0x43201e
nop
popal
nop
nop
nop
nop
nop
jmp 0x431219
Function at 0x404630
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.004075cc
test esi, esi
jne 0x404668
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.00407708
jmp 0x404686
call sub.kernel32.dll_GetCommandLineW
mov edi, eax
mov edx, ebx
mov eax, edi
call fcn.00404514
mov edi, eax
test esi, esi
je 0x404686
cmp dword [ebx], 0
je 0x404686
dec esi
jmp 0x40466f
add esp, 0x20c
pop edi
pop esi
pop ebx
ret

Function at 0x4066f4
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp byte [0x4cd054], 0
je 0x406755
cmp word [0x4cd330], 0xd7b2
jne 0x40671d
cmp dword [0x4cd338], 0
jbe 0x40671d
mov eax, 0x4cd32c
call dword [0x4cd348]
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 0x406780
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
pop edx
ret
cmp byte [0x4c9030], 0
jne 0x406771
push 0
push str.Error
push str.Runtime_error_____at_00000000
push 0
call sub.user32.dll_MessageBoxA
pop edx
ret

Function at 0x4068e0
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 [0x4c9038], 0
je 0x406906
mov edx, esi
mov eax, ebx
call dword [0x4c9038]
jmp 0x406915
mov eax, 8
call fcn.0040425c
mov dword [eax], ebx
mov dword [eax + 4], esi
mov byte [0x4cd055], 1
mov edx, dword [ebp + 8]
push edx
mov edx, dword [ebp + 0xc]
push edx
push eax
mov eax, 0x4068a8
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 0x408198
Capabilities:
Get common file path
Set current directory

Disassembly:
push ebx
push esi
add esp, 0xfffffbe4
mov esi, edx
mov ebx, eax
test bl, bl
je 0x4081da
movzx eax, bl
add ax, 0x41
dec eax
mov word [esp], ax
mov word [esp + 2], 0x3a
mov word [esp + 4], 0
lea eax, [esp + 0x212]
push eax
push 0x105
call sub.kernel32.dll_GetCurrentDirectoryW
push esp
call sub.kernel32.dll_SetCurrentDirectoryW
lea eax, [esp + 8]
push eax
push 0x105
call sub.kernel32.dll_GetCurrentDirectoryW
test bl, bl
je 0x4081fa
lea eax, [esp + 0x212]
push eax
call sub.kernel32.dll_SetCurrentDirectoryW
mov eax, esi
lea edx, [esp + 8]
mov ecx, 0x105
call fcn.004077b4
add esp, 0x41c
pop esi
pop ebx
ret
Function at 0x409798
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 0x4098ff
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 8]
xor edx, edx
call fcn.004075cc
cmp si, word [0x4c97e0]
jb 0x409832
cmp si, word [0x4c99e0]
ja 0x409832
mov edi, 0x40
xor eax, eax
mov dword [ebp - 0xc], eax
cmp edi, dword [ebp - 0xc]
jb 0x409832
mov ebx, dword [ebp - 0xc]
add ebx, edi
shr ebx, 1
cmp si, word [ebx*8 + 0x4c97e0]
jae 0x40980c
mov edi, ebx
dec edi
jmp 0x40982d
cmp si, word [ebx*8 + 0x4c97e0]
jbe 0x40981c
inc ebx
mov dword [ebp - 0xc], ebx
jmp 0x40982d
mov edx, dword [ebp - 8]
mov eax, dword [ebx*8 + 0x4c97e4]
call fcn.004096a8
jmp 0x409832
cmp edi, dword [ebp - 0xc]
jae 0x4097f6
mov eax, dword [ebp - 8]
cmp dword [eax], 0
jne 0x4098e1
push 2
movzx eax, si
push eax
call sub.kernel32.dll_IsValidLocale
test eax, eax
je 0x4098e1
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.004077b4
push dword [ebp - 0x164]
push 0x40991c
lea eax, [ebp - 0x168]
lea edx, [ebp - 0x160]
mov ecx, 0x55
call fcn.004077b4
push dword [ebp - 0x168]
push 0x40992c
lea eax, [ebp - 0x16c]
lea edx, [ebp - 0xb6]
mov ecx, 0x55
call fcn.004077b4
push dword [ebp - 0x16c]
mov eax, dword [ebp - 8]
mov edx, 5
call fcn.00407b6c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x409906
lea eax, [ebp - 0x16c]
mov edx, 3
call fcn.004075c4
ret
Function at 0x409ab8
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 0x409bbd
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x4cfb5c
call sub.kernel32.dll_EnterCriticalSection
cmp bx, word [0x4cfb74]
jne 0x409b04
mov eax, esi
mov edx, 0x4cfb78
mov ecx, 0x55
call fcn.004077b4
push 0x4cfb5c
call sub.kernel32.dll_LeaveCriticalSection
jmp 0x409ba7
push 0x4cfb5c
call sub.kernel32.dll_LeaveCriticalSection
mov eax, esi
xor edx, edx
call fcn.004075cc
push 2
movzx eax, bx
push eax
call sub.kernel32.dll_IsValidLocale
test eax, eax
je 0x409b75
cmp byte [0x4cfb58], 0
je 0x409b3a
mov edx, esi
mov eax, ebx
call fcn.00409998
jmp 0x409b75
mov edx, esi
mov eax, ebx
call fcn.00409798
call sub.kernel32.dll_GetSystemDefaultUILanguage
cmp bx, ax
je 0x409b75
cmp dword [esi], 0
je 0x409b5e
mov eax, esi
mov edx, 0x409bd8
call fcn.004079c8
call sub.kernel32.dll_GetSystemDefaultUILanguage
lea edx, [ebp - 4]
call fcn.00409798
mov edx, dword [ebp - 4]
mov eax, esi
call fcn.004079c8
push 0x4cfb5c
call sub.kernel32.dll_EnterCriticalSection
mov word [0x4cfb74], bx
push 0xaa
mov eax, dword [esi]
call fcn.00407658
push eax
push 0x4cfb78
call sub.kernel32.dll_lstrcpynW
push 0x4cfb5c
call sub.kernel32.dll_LeaveCriticalSection
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x409bc4
lea eax, [ebp - 4]
call fcn.004075bc
ret
Function at 0x409dfc
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffde4
push ebx
mov ebx, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.004075b4
xor eax, eax
push ebp
push 0x409fe1
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [ebp - 4], 0
jne 0x409e3c
push 0x105
lea eax, [ebp - 0x21a]
push eax
push 0
call sub.kernel32.dll_GetModuleFileNameW
jmp 0x409e56
push 0x105
mov eax, dword [ebp - 4]
call fcn.00407658
push eax
lea eax, [ebp - 0x21a]
push eax
call sub.kernel32.dll_lstrcpynW
cmp word [ebp - 0x21a], 0
je 0x409fcb
xor eax, eax
mov dword [ebp - 8], eax
lea eax, [ebp - 0xc]
push eax
push 0xf0019
push 0
push 0x409ff0
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExW
test eax, eax
je 0x409ee5
lea eax, [ebp - 0xc]
push eax
push 0xf0019
push 0
push 0x409ff0
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExW
test eax, eax
je 0x409ee5
lea eax, [ebp - 0xc]
push eax
push 0xf0019
push 0
push 0x40a024
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExW
test eax, eax
je 0x409ee5
lea eax, [ebp - 0xc]
push eax
push 0xf0019
push 0
push 0x40a058
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExW
test eax, eax
jne 0x409fcb
xor eax, eax
push ebp
push 0x409fc4
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x21a]
mov edx, 0x105
call fcn.00409c00
lea eax, [ebp - 0x10]
push eax
push 0
push 0
push 0
lea eax, [ebp - 0x21a]
push eax
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExW
test eax, eax
jne 0x409f54
mov eax, dword [ebp - 0x10]
call fcn.0040425c
mov dword [ebp - 8], eax
lea eax, [ebp - 0x10]
push eax
mov eax, dword [ebp - 8]
push eax
push 0
push 0
lea eax, [ebp - 0x21a]
push eax
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExW
mov eax, ebx
mov edx, dword [ebp - 8]
call fcn.00407778
jmp 0x409f9f
lea eax, [ebp - 0x10]
push eax
push 0
push 0
push 0
push 0x40a098
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExW
test eax, eax
jne 0x409f9f
mov eax, dword [ebp - 0x10]
call fcn.0040425c
mov dword [ebp - 8], eax
lea eax, [ebp - 0x10]
push eax
mov eax, dword [ebp - 8]
push eax
push 0
push 0
push 0x40a098
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExW
mov eax, ebx
mov edx, dword [ebp - 8]
call fcn.00407778
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x409fcb
cmp dword [ebp - 8], 0
je 0x409fba
mov eax, dword [ebp - 8]
call fcn.00404278
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x409fe8
lea eax, [ebp - 4]
call fcn.004075bc
ret
Function at 0x40a2ac
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.004075b4
mov eax, dword [ebp - 0x21c]
call fcn.004075b4
lea edi, [ebp - 0x210]
xor eax, eax
push ebp
push 0x40a44b
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, esi
xor edx, edx
call fcn.004075cc
xor ebx, ebx
push 0x105
mov eax, dword [ebp - 0x21c]
call fcn.00407658
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 0x40a34c
sub dword [edi], 2
mov eax, dword [edi]
cmp word [eax], 0x2e
je 0x40a35e
lea eax, [ebp - 0x20a]
cmp eax, dword [edi]
jne 0x40a349
lea eax, [ebp - 0x20a]
cmp eax, dword [edi]
je 0x40a417
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 0x40a387
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.00409dfc
cmp dword [ebp - 0x220], 0
je 0x40a3bf
push ebp
mov eax, dword [ebp - 0x220]
call fcn.0040a1a0
pop ecx
mov ebx, eax
jmp 0x40a417
push ebp
call sub.kernel32.dll_GetUserDefaultUILanguage
lea edx, [ebp - 0x224]
call fcn.00409ab8
mov eax, dword [ebp - 0x224]
call fcn.0040a1a0
pop ecx
mov ebx, eax
test bl, bl
jne 0x40a40a
cmp byte [0x4cfb58], 0
jne 0x40a40a
push ebp
call sub.kernel32.dll_GetSystemDefaultUILanguage
lea edx, [ebp - 0x228]
call fcn.00409ab8
mov eax, dword [ebp - 0x228]
call fcn.0040a1a0
pop ecx
mov ebx, eax
test bl, bl
jne 0x40a417
push ebp
call fcn.0040a250
pop ecx
mov ebx, eax
test bl, bl
je 0x40a42d
mov eax, esi
lea edx, [ebp - 0x20a]
mov ecx, 0x105
call fcn.004077b4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40a452
lea eax, [ebp - 0x228]
mov edx, 5
call fcn.004075c4
ret

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

Disassembly:
push ebx
push esi
mov esi, 0x4cfc50
push 0xa
push 0x40dc7c
mov eax, dword [0x4cfc40]
push eax
call sub.kernel32.dll_FindResourceW
mov ebx, eax
test ebx, ebx
jne 0x40dc0c
call fcn.004194f8
push ebx
mov eax, dword [0x4cfc40]
push eax
call sub.kernel32.dll_LoadResource
mov ebx, eax
test ebx, ebx
jne 0x40dc23
call fcn.004194f8
push ebx
call sub.kernel32.dll_LockResource
mov dword [esi], eax
cmp dword [esi], 0
jne 0x40dc35
call fcn.004194f8
mov eax, dword [esi]
mov edx, dword [esi]
mov ecx, edx
add ecx, dword [eax]
mov dword [0x4cfc54], ecx
mov ecx, edx
add ecx, dword [eax + 4]
mov dword [0x4cfc58], ecx
mov ecx, edx
add ecx, dword [eax + 8]
mov dword [0x4cfc5c], ecx
mov ecx, edx
add ecx, dword [eax + 0xc]
mov dword [0x4cfc60], ecx
mov ecx, edx
add ecx, dword [eax + 0x10]
mov dword [0x4cfc64], ecx
add edx, dword [eax + 0x14]
mov dword [0x4cfc68], edx
pop esi
pop ebx
ret

Function at 0x4118f4
Capabilities:
Encrypt data using rc4 prga

Disassembly:
cmp eax, edx
je 0x41199d
test eax, edx
je 0x4119a0
push 0
push 0
cmp word [eax - 0xa], 2
je 0x41191d
push edx
mov edx, eax
mov eax, esp
call fcn.004077d0
pop edx
mov eax, dword [esp]
cmp word [edx - 0xa], 2
je 0x411933
push eax
lea eax, [esp + 8]
call fcn.004077d0
pop eax
mov edx, dword [esp + 4]
movzx ecx, word [edx]
cmp cx, word [eax]
je 0x411942
movzx eax, word [eax]
sub eax, ecx
jmp 0x411969
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 0x411983
add ecx, 4
js 0x41195a
pop eax
pop ebx
mov ecx, esp
mov edx, dword [ecx]
or edx, dword [ecx + 4]
je 0x411980
push eax
mov eax, ecx
mov edx, 2
call fcn.00406980
pop eax
pop edx
pop edx
ret
bsf ebx, ebx
shr ebx, 4
add ebx, ebx
add ecx, ebx
jns 0x411967
movzx eax, word [ecx + eax]
movzx edx, word [ecx + edx]
sub eax, edx
pop ebx
pop ebx
jmp 0x411969
xor eax, eax
ret
test eax, eax
je 0x4119b0
test edx, edx
jne 0x411904
mov eax, dword [eax - 4]
ret
sub eax, dword [edx - 4]
ret

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

Disassembly:
push ebx
push esi
mov esi, eax
mov eax, esi
call fcn.00407658
push eax
call sub.kernel32.dll_GetFileAttributesW
cmp eax, 0xffffffff
je 0x412c0a
test al, 0x10
sete al
pop esi
pop ebx
ret
call sub.kernel32.dll_GetLastError_1
mov ebx, eax
cmp ebx, 2
je 0x412c2b
cmp ebx, 3
je 0x412c2b
cmp ebx, 0x7b
je 0x412c2b
mov eax, esi
call fcn.00412bac
test al, al
jne 0x412c2f
xor eax, eax
jmp 0x412c31
mov al, 1
pop esi
pop ebx
ret

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

Disassembly:
push ebx
mov ebx, eax
mov eax, ebx
call fcn.00407658
push eax
call sub.kernel32.dll_GetFileAttributesW
cmp eax, 0xffffffff
je 0x412c4d
test al, 0x10
jne 0x412c51
xor eax, eax
pop ebx
ret
mov al, 1
pop ebx
ret
Function at 0x4164d4
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 0x41650d
mov ecx, eax
dec ecx
lea edx, [ebp - 0x200]
mov eax, ebx
call fcn.00407708
jmp 0x416516
mov eax, ebx
mov edx, esi
call fcn.004075cc
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x416520
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 0x416542
movzx eax, word [esp]
jmp 0x416544
mov eax, edi
pop edx
pop edi
pop esi
pop ebx
ret

Function at 0x416cd4
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 0x416df9
push dword fs:[ecx]
mov dword fs:[ecx], esp
push 0x400
lea ecx, [ebp - 0x888]
call fcn.00416ae4
mov esi, eax
mov eax, dword [0x4cc79c]
cmp byte [eax], 0
je 0x416da1
mov eax, dword [0x4cc530]
call fcn.00404a38
call fcn.004043c4
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 [0x416cac]
call fcn.00409194
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 0x416e14
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
jmp 0x416ddd
push 0x40
lea eax, [ebp - 0x88]
push eax
mov eax, dword [0x4cc4c8]
mov eax, dword [eax + 4]
push eax
mov eax, dword [0x4cfc40]
call fcn.00409288
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 0x416e00
lea eax, [ebp - 4]
mov edx, dword [0x416cac]
call fcn.004091a0
ret
Function at 0x417fbc
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 0x418092
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 8], 0xffffffff
lea eax, [ebp - 4]
mov edx, ebx
call fcn.00407620
lea eax, [ebp - 4]
call fcn.00408100
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
call fcn.00407658
push eax
call sub.version.dll_GetFileVersionInfoSizeW
mov ebx, eax
test ebx, ebx
je 0x41807c
mov eax, ebx
call fcn.0040425c
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x418075
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.00407658
push eax
call sub.version.dll_GetFileVersionInfoW
test eax, eax
je 0x41805f
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x4180a4
mov eax, dword [ebp - 0x10]
push eax
call sub.version.dll_VerQueryValueW
test eax, eax
je 0x41805f
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 0x41807c
mov eax, dword [ebp - 0x10]
call fcn.00404278
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x418099
lea eax, [ebp - 4]
call fcn.004075bc
ret

Function at 0x4193a0
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.00406cc4
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 0x41934a
mov eax, edi
add eax, eax
call fcn.0040425c
mov esi, eax
jmp 0x41934c
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 0x419385
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 0x41936f
mov eax, esp
cmp esi, eax
je 0x419392
mov eax, esi
call fcn.00404278
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 0x4193cc
cmp bl, 0
je 0x4193c8
cmp bl, 0x41
jl 0x4193c3
cmp bl, 0x5a
jg 0x4193c3
or bl, 0x20
xor al, bl
inc esi
jmp 0x4193a7
pop ecx
pop ebx
pop esi
ret
pop eax
pop ebx
pop esi
jmp 0x41930c
Function at 0x43cbb0
Capabilities:
Resume thread

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push ebx
mov ebx, eax
xor eax, eax
push ebp
push 0x43cc4e
push dword fs:[eax]
mov dword fs:[eax], esp
or dl, byte [ebx + 0xc]
je 0x43cc12
cmp byte [ebx + 0x10], 0
jne 0x43cc12
cmp byte [ebx + 0x3c], 0
jne 0x43cc12
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 0x43cc33
lea edx, [ebp - 4]
mov eax, dword [0x4cc73c]
call fcn.0040ab78
mov ecx, dword [ebp - 4]
mov dl, 1
mov eax, dword [0x42d810]
call fcn.00416e24
call fcn.00406194
jmp 0x43cc33
lea edx, [ebp - 8]
mov eax, dword [0x4cc73c]
call fcn.0040ab78
mov ecx, dword [ebp - 8]
mov dl, 1
mov eax, dword [0x42d810]
call fcn.00416e24
call fcn.00406194
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x43cc55
lea eax, [ebp - 8]
mov edx, 2
call fcn.004075c4
ret

Function at 0x43d4cc
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 0x43d51a
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.0043cb34
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x43d533
pop edi
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret

Function at 0x43d53c
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.0043cb34
dec esi
jne 0x43d55e
mov byte [ebx + 0xe], 0
pop esi
pop ebx
ret

Function at 0x43ed78
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, 0x4d1f90
cmp dword [edi], 0
jne 0x43edf4
push 0x40
push 0x1000
push 0x1000
push 0
call sub.kernel32.dll_VirtualAlloc_1
mov esi, eax
mov eax, dword [0x4d1f8c]
mov dword [esi], eax
lea edx, [esi + 4]
mov eax, 0x4ca08c
mov ecx, 2
call fcn.00404414
mov edx, 0x43ed50
lea eax, [esi + 5]
call fcn.0043ed70
mov dword [esi + 6], eax
lea ebx, [esi + 0xa]
mov byte [ebx], 0xe8
lea edx, [esi + 4]
mov eax, ebx
call fcn.0043ed70
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 0x43edc9
mov dword [0x4d1f8c], 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