joyce8/EMBER2024-capa huggingface dataset:
Function at 0x101a45a0
Capabilities:
Read file on windows

Disassembly:
push ecx
push esi
mov esi, ecx
mov eax, dword [esi + 0x68]
cmp eax, 0xffffffff
je 0x101a4601
mov ecx, dword [esi + 0x48]
test cl, 1
je 0x101a4601
test cl, 2
je 0x101a45c3
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x34]
mov eax, dword [esi + 0x68]
push 0
lea ecx, [esp + 8]
mov dword [esp + 8], 0
push ecx
push dword [esp + 0x18]
push dword [esp + 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x101a45f1
lea eax, [esi + 0x50]
push eax
call fcn.1019d800
add esp, 4
mov eax, dword [esp + 4]
add dword [esi + 0x70], eax
adc dword [esi + 0x74], 0
pop esi
pop ecx
ret 0xc
or eax, 0xffffffff
pop esi
pop ecx
ret 0xc

Function at 0x101a48e0
Capabilities:
Write file on windows

Disassembly:
sub esp, 0xc
push esi
mov esi, ecx
mov eax, dword [esi + 0x68]
cmp eax, 0xffffffff
je 0x101a498c
mov ecx, dword [esi + 0x48]
test cl, 2
je 0x101a498c
test cl, 8
je 0x101a494c
push 2
lea ecx, [esp + 0x10]
xorps xmm0, xmm0
push ecx
push 0
push eax
movlpd qword [esp + 0x18], xmm0
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov dword [esp + 8], eax
cmp eax, 0xffffffff
jne 0x101a493f
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
je 0x101a493b
lea eax, [esi + 0x50]
push eax
call fcn.1019d800
add esp, 4
mov eax, dword [esp + 8]
mov dword [esi + 0x70], eax
mov eax, dword [esp + 0xc]
mov dword [esi + 0x74], eax
mov eax, dword [esi + 0x68]
push 0
lea ecx, [esp + 8]
mov dword [esp + 8], 0
push ecx
push dword [esp + 0x20]
push dword [esp + 0x20]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x101a497a
lea eax, [esi + 0x50]
push eax
call fcn.1019d800
add esp, 4
mov eax, dword [esp + 4]
add dword [esi + 0x70], eax
adc dword [esi + 0x74], 0
pop esi
add esp, 0xc
ret 0xc
or eax, 0xffffffff
pop esi
add esp, 0xc
ret 0xc

Function at 0x101a4c00
Capabilities:
Hash data with md5

Disassembly:
push esi
mov esi, ecx
push 0x40
push 0
lea eax, [esi + 0x1c]
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov dword [esi + 0x18], 0
mov dword [esi + 0x14], 0
mov dword [esi + 4], 0x67452301
mov dword [esi + 8], 0xefcdab89
mov dword [esi + 0xc], 0x98badcfe
mov dword [esi + 0x10], 0x10325476
pop esi
ret

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

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43200c
pop eax
nop
nop
nop
nop
nop
nop
add eax, 0x40729f
sub eax, 0x407245
nop
mov ebx, dword [eax]
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
add ebx, 4
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
jl 0x432030
nop
nop
add eax, 0xc
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
nop
nop
nop
nop
jne 0x43201e
nop
popal
nop
nop
nop
nop
jmp 0x431219
Function at 0x404814
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.00407bc8
test esi, esi
jne 0x40484c
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.00407d04
jmp 0x40486a
call sub.kernel32.dll_GetCommandLineW
mov edi, eax
mov edx, ebx
mov eax, edi
call fcn.00404758
mov edi, eax
test esi, esi
je 0x40486a
cmp dword [ebx], 0
je 0x40486a
dec esi
jmp 0x404853
add esp, 0x20c
pop edi
pop esi
pop ebx
ret

Function at 0x4067e8
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp byte [0x57b054], 0
je 0x406849
cmp word [0x57b330], 0xd7b2
jne 0x406811
cmp dword [0x57b338], 0
jbe 0x406811
mov eax, 0x57b32c
call dword [0x57b348]
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 0x406874
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
pop edx
ret
cmp byte [0x577030], 0
jne 0x406865
push 0
push 0x577798
push str.Runtime_error_____at_00000000
push 0
call sub.user32.dll_MessageBoxA
pop edx
ret

Function at 0x4069f4
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 [0x577038], 0
je 0x406a1a
mov edx, esi
mov eax, ebx
call dword [0x577038]
jmp 0x406a29
mov eax, 8
call fcn.004044a0
mov dword [eax], ebx
mov dword [eax + 4], esi
mov byte [0x57b055], 1
mov edx, dword [ebp + 8]
push edx
mov edx, dword [ebp + 0xc]
push edx
push eax
mov eax, 0x4069bc
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 0x409e80
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 0x409fe7
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 8]
xor edx, edx
call fcn.00407bc8
cmp si, word [0x5777e0]
jb 0x409f1a
cmp si, word [0x5779e0]
ja 0x409f1a
mov edi, 0x40
xor eax, eax
mov dword [ebp - 0xc], eax
cmp edi, dword [ebp - 0xc]
jb 0x409f1a
mov ebx, dword [ebp - 0xc]
add ebx, edi
shr ebx, 1
cmp si, word [ebx*8 + 0x5777e0]
jae 0x409ef4
mov edi, ebx
dec edi
jmp 0x409f15
cmp si, word [ebx*8 + 0x5777e0]
jbe 0x409f04
inc ebx
mov dword [ebp - 0xc], ebx
jmp 0x409f15
mov edx, dword [ebp - 8]
mov eax, dword [ebx*8 + 0x5777e4]
call fcn.00409d90
jmp 0x409f1a
cmp edi, dword [ebp - 0xc]
jae 0x409ede
mov eax, dword [ebp - 8]
cmp dword [eax], 0
jne 0x409fc9
push 2
movzx eax, si
push eax
call sub.kernel32.dll_IsValidLocale
test eax, eax
je 0x409fc9
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.00407dc8
push dword [ebp - 0x164]
push 0x40a004
lea eax, [ebp - 0x168]
lea edx, [ebp - 0x160]
mov ecx, 0x55
call fcn.00407dc8
push dword [ebp - 0x168]
push 0x40a014
lea eax, [ebp - 0x16c]
lea edx, [ebp - 0xb6]
mov ecx, 0x55
call fcn.00407dc8
push dword [ebp - 0x16c]
mov eax, dword [ebp - 8]
mov edx, 5
call fcn.00408180
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x409fee
lea eax, [ebp - 0x16c]
mov edx, 3
call fcn.00407bc0
ret
Function at 0x40a1a0
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 0x40a2a5
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x57db5c
call sub.kernel32.dll_EnterCriticalSection
cmp bx, word [0x57db74]
jne 0x40a1ec
mov eax, esi
mov edx, 0x57db78
mov ecx, 0x55
call fcn.00407dc8
push 0x57db5c
call sub.kernel32.dll_LeaveCriticalSection
jmp 0x40a28f
push 0x57db5c
call sub.kernel32.dll_LeaveCriticalSection
mov eax, esi
xor edx, edx
call fcn.00407bc8
push 2
movzx eax, bx
push eax
call sub.kernel32.dll_IsValidLocale
test eax, eax
je 0x40a25d
cmp byte [0x57db58], 0
je 0x40a222
mov edx, esi
mov eax, ebx
call fcn.0040a080
jmp 0x40a25d
mov edx, esi
mov eax, ebx
call fcn.00409e80
call sub.kernel32.dll_GetSystemDefaultUILanguage
cmp bx, ax
je 0x40a25d
cmp dword [esi], 0
je 0x40a246
mov eax, esi
mov edx, 0x40a2c0
call fcn.00407fdc
call sub.kernel32.dll_GetSystemDefaultUILanguage
lea edx, [ebp - 4]
call fcn.00409e80
mov edx, dword [ebp - 4]
mov eax, esi
call fcn.00407fdc
push 0x57db5c
call sub.kernel32.dll_EnterCriticalSection
mov word [0x57db74], bx
push 0xaa
mov eax, dword [esi]
call fcn.00407c54
push eax
push 0x57db78
call sub.kernel32.dll_lstrcpynW
push 0x57db5c
call sub.kernel32.dll_LeaveCriticalSection
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40a2ac
lea eax, [ebp - 4]
call fcn.00407bb8
ret
Function at 0x40a4e4
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.00407bb0
xor eax, eax
push ebp
push 0x40a6c9
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [ebp - 4], 0
jne 0x40a524
push 0x105
lea eax, [ebp - 0x21a]
push eax
push 0
call sub.kernel32.dll_GetModuleFileNameW
jmp 0x40a53e
push 0x105
mov eax, dword [ebp - 4]
call fcn.00407c54
push eax
lea eax, [ebp - 0x21a]
push eax
call sub.kernel32.dll_lstrcpynW
cmp word [ebp - 0x21a], 0
je 0x40a6b3
xor eax, eax
mov dword [ebp - 8], eax
lea eax, [ebp - 0xc]
push eax
push 0xf0019
push 0
push 0x40a6d8
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExW
test eax, eax
je 0x40a5cd
lea eax, [ebp - 0xc]
push eax
push 0xf0019
push 0
push 0x40a6d8
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExW
test eax, eax
je 0x40a5cd
lea eax, [ebp - 0xc]
push eax
push 0xf0019
push 0
push 0x40a70c
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExW
test eax, eax
je 0x40a5cd
lea eax, [ebp - 0xc]
push eax
push 0xf0019
push 0
push 0x40a740
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExW
test eax, eax
jne 0x40a6b3
xor eax, eax
push ebp
push 0x40a6ac
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x21a]
mov edx, 0x105
call fcn.0040a2e8
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 0x40a63c
mov eax, dword [ebp - 0x10]
call fcn.004044a0
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.00407d74
jmp 0x40a687
lea eax, [ebp - 0x10]
push eax
push 0
push 0
push 0
push 0x40a780
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExW
test eax, eax
jne 0x40a687
mov eax, dword [ebp - 0x10]
call fcn.004044a0
mov dword [ebp - 8], eax
lea eax, [ebp - 0x10]
push eax
mov eax, dword [ebp - 8]
push eax
push 0
push 0
push 0x40a780
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExW
mov eax, ebx
mov edx, dword [ebp - 8]
call fcn.00407d74
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40a6b3
cmp dword [ebp - 8], 0
je 0x40a6a2
mov eax, dword [ebp - 8]
call fcn.004044bc
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 0x40a6d0
lea eax, [ebp - 4]
call fcn.00407bb8
ret
Function at 0x40a994
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.00407bb0
mov eax, dword [ebp - 0x21c]
call fcn.00407bb0
lea edi, [ebp - 0x210]
xor eax, eax
push ebp
push 0x40ab33
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, esi
xor edx, edx
call fcn.00407bc8
xor ebx, ebx
push 0x105
mov eax, dword [ebp - 0x21c]
call fcn.00407c54
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 0x40aa34
sub dword [edi], 2
mov eax, dword [edi]
cmp word [eax], 0x2e
je 0x40aa46
lea eax, [ebp - 0x20a]
cmp eax, dword [edi]
jne 0x40aa31
lea eax, [ebp - 0x20a]
cmp eax, dword [edi]
je 0x40aaff
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 0x40aa6f
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.0040a4e4
cmp dword [ebp - 0x220], 0
je 0x40aaa7
push ebp
mov eax, dword [ebp - 0x220]
call fcn.0040a888
pop ecx
mov ebx, eax
jmp 0x40aaff
push ebp
call sub.kernel32.dll_GetUserDefaultUILanguage
lea edx, [ebp - 0x224]
call fcn.0040a1a0
mov eax, dword [ebp - 0x224]
call fcn.0040a888
pop ecx
mov ebx, eax
test bl, bl
jne 0x40aaf2
cmp byte [0x57db58], 0
jne 0x40aaf2
push ebp
call sub.kernel32.dll_GetSystemDefaultUILanguage
lea edx, [ebp - 0x228]
call fcn.0040a1a0
mov eax, dword [ebp - 0x228]
call fcn.0040a888
pop ecx
mov ebx, eax
test bl, bl
jne 0x40aaff
push ebp
call fcn.0040a938
pop ecx
mov ebx, eax
test bl, bl
je 0x40ab15
mov eax, esi
lea edx, [ebp - 0x20a]
mov ecx, 0x105
call fcn.00407dc8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40ab3a
lea eax, [ebp - 0x228]
mov edx, 5
call fcn.00407bc0
ret

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

Disassembly:
push ebx
push esi
mov esi, 0x57dc50
push 0xa
push 0x40e5a0
mov eax, dword [0x57dc40]
push eax
call sub.kernel32.dll_FindResourceW
mov ebx, eax
test ebx, ebx
jne 0x40e530
call fcn.0041bc38
push ebx
mov eax, dword [0x57dc40]
push eax
call sub.kernel32.dll_LoadResource
mov ebx, eax
test ebx, ebx
jne 0x40e547
call fcn.0041bc38
push ebx
call sub.kernel32.dll_LockResource
mov dword [esi], eax
cmp dword [esi], 0
jne 0x40e559
call fcn.0041bc38
mov eax, dword [esi]
mov edx, dword [esi]
mov ecx, edx
add ecx, dword [eax]
mov dword [0x57dc54], ecx
mov ecx, edx
add ecx, dword [eax + 4]
mov dword [0x57dc58], ecx
mov ecx, edx
add ecx, dword [eax + 8]
mov dword [0x57dc5c], ecx
mov ecx, edx
add ecx, dword [eax + 0xc]
mov dword [0x57dc60], ecx
mov ecx, edx
add ecx, dword [eax + 0x10]
mov dword [0x57dc64], ecx
add edx, dword [eax + 0x14]
mov dword [0x57dc68], edx
pop esi
pop ebx
ret

Function at 0x412258
Capabilities:
Encrypt data using rc4 prga

Disassembly:
cmp eax, edx
je 0x412301
test eax, edx
je 0x412304
push 0
push 0
cmp word [eax - 0xa], 2
je 0x412281
push edx
mov edx, eax
mov eax, esp
call fcn.00407de4
pop edx
mov eax, dword [esp]
cmp word [edx - 0xa], 2
je 0x412297
push eax
lea eax, [esp + 8]
call fcn.00407de4
pop eax
mov edx, dword [esp + 4]
movzx ecx, word [edx]
cmp cx, word [eax]
je 0x4122a6
movzx eax, word [eax]
sub eax, ecx
jmp 0x4122cd
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 0x4122e7
add ecx, 4
js 0x4122be
pop eax
pop ebx
mov ecx, esp
mov edx, dword [ecx]
or edx, dword [ecx + 4]
je 0x4122e4
push eax
mov eax, ecx
mov edx, 2
call fcn.00406a94
pop eax
pop edx
pop edx
ret
bsf ebx, ebx
shr ebx, 4
add ebx, ebx
add ecx, ebx
jns 0x4122cb
movzx eax, word [ecx + eax]
movzx edx, word [ecx + edx]
sub eax, edx
pop ebx
pop ebx
jmp 0x4122cd
xor eax, eax
ret
test eax, eax
je 0x412314
test edx, edx
jne 0x412268
mov eax, dword [eax - 4]
ret
sub eax, dword [edx - 4]
ret

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

Disassembly:
push ebx
push esi
mov esi, eax
mov eax, esi
call fcn.00407c54
push eax
call sub.kernel32.dll_GetFileAttributesW
cmp eax, 0xffffffff
je 0x413a0e
test al, 0x10
sete al
pop esi
pop ebx
ret
call sub.kernel32.dll_GetLastError_1
mov ebx, eax
cmp ebx, 2
je 0x413a2f
cmp ebx, 3
je 0x413a2f
cmp ebx, 0x7b
je 0x413a2f
mov eax, esi
call fcn.004139b0
test al, al
jne 0x413a33
xor eax, eax
jmp 0x413a35
mov al, 1
pop esi
pop ebx
ret

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

Disassembly:
push ebx
mov ebx, eax
mov eax, ebx
call fcn.00407c54
push eax
call sub.kernel32.dll_GetFileAttributesW
cmp eax, 0xffffffff
je 0x413a51
test al, 0x10
jne 0x413a55
xor eax, eax
pop ebx
ret
mov al, 1
pop ebx
ret
Function at 0x418d48
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 0x418d81
mov ecx, eax
dec ecx
lea edx, [ebp - 0x200]
mov eax, ebx
call fcn.00407d04
jmp 0x418d8a
mov eax, ebx
mov edx, esi
call fcn.00407bc8
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

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

Function at 0x419548
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 0x41966d
push dword fs:[ecx]
mov dword fs:[ecx], esp
push 0x400
lea ecx, [ebp - 0x888]
call fcn.00419358
mov esi, eax
mov eax, dword [0x57a95c]
cmp byte [eax], 0
je 0x419615
mov eax, dword [0x57a3f8]
call fcn.00404c7c
call fcn.00404608
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 [0x419520]
call fcn.00409768
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 0x419688
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
jmp 0x419651
push 0x40
lea eax, [ebp - 0x88]
push eax
mov eax, dword [0x57a338]
mov eax, dword [eax + 4]
push eax
mov eax, dword [0x57dc40]
call fcn.00409970
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 0x419674
lea eax, [ebp - 4]
mov edx, dword [0x419520]
call fcn.00409888
ret
Function at 0x41a84c
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 0x41a922
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 8], 0xffffffff
lea eax, [ebp - 4]
mov edx, ebx
call fcn.00407c1c
lea eax, [ebp - 4]
call fcn.00408674
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
call fcn.00407c54
push eax
call sub.version.dll_GetFileVersionInfoSizeW
mov ebx, eax
test ebx, ebx
je 0x41a90c
mov eax, ebx
call fcn.004044a0
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x41a905
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.00407c54
push eax
call sub.version.dll_GetFileVersionInfoW
test eax, eax
je 0x41a8ef
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x41a934
mov eax, dword [ebp - 0x10]
push eax
call sub.version.dll_VerQueryValueW
test eax, eax
je 0x41a8ef
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 0x41a90c
mov eax, dword [ebp - 0x10]
call fcn.004044bc
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x41a929
lea eax, [ebp - 4]
call fcn.00407bb8
ret

Function at 0x41bae0
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.00406e34
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 0x41ba8a
mov eax, edi
add eax, eax
call fcn.004044a0
mov esi, eax
jmp 0x41ba8c
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 0x41bac5
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 0x41baaf
mov eax, esp
cmp esi, eax
je 0x41bad2
mov eax, esi
call fcn.004044bc
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 0x41bb0c
cmp bl, 0
je 0x41bb08
cmp bl, 0x41
jl 0x41bb03
cmp bl, 0x5a
jg 0x41bb03
or bl, 0x20
xor al, bl
inc esi
jmp 0x41bae7
pop ecx
pop ebx
pop esi
ret
pop eax
pop ebx
pop esi
jmp 0x41ba4c
Function at 0x443b58
Capabilities:
Resume thread

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push ebx
mov ebx, eax
xor eax, eax
push ebp
push 0x443bf6
push dword fs:[eax]
mov dword fs:[eax], esp
or dl, byte [ebx + 0xc]
je 0x443bba
cmp byte [ebx + 0x10], 0
jne 0x443bba
cmp byte [ebx + 0x3c], 0
jne 0x443bba
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 0x443bdb
lea edx, [ebp - 4]
mov eax, dword [0x57a890]
call fcn.0040b254
mov ecx, dword [ebp - 4]
mov dl, 1
mov eax, dword [0x4341b8]
call fcn.004196b4
call fcn.0040626c
jmp 0x443bdb
lea edx, [ebp - 8]
mov eax, dword [0x57a890]
call fcn.0040b254
mov ecx, dword [ebp - 8]
mov dl, 1
mov eax, dword [0x4341b8]
call fcn.004196b4
call fcn.0040626c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x443bfd
lea eax, [ebp - 8]
mov edx, 2
call fcn.00407bc0
ret

Function at 0x444474
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 0x4444c2
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.00443adc
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4444db
pop edi
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret

Function at 0x4444e4
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.00443adc
dec esi
jne 0x444506
mov byte [ebx + 0xe], 0
pop esi
pop ebx
ret

Function at 0x446370
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, 0x57ff90
cmp dword [edi], 0
jne 0x4463ec
push 0x40
push 0x1000
push 0x1000
push 0
call sub.kernel32.dll_VirtualAlloc_1
mov esi, eax
mov eax, dword [0x57ff8c]
mov dword [esi], eax
lea edx, [esi + 4]
mov eax, 0x5781b4
mov ecx, 2
call fcn.00404658
mov edx, 0x446348
lea eax, [esi + 5]
call fcn.00446368
mov dword [esi + 6], eax
lea ebx, [esi + 0xa]
mov byte [ebx], 0xe8
lea edx, [esi + 4]
mov eax, ebx
call fcn.00446368
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 0x4463c1
mov dword [0x57ff8c], 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