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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
pushal
call 0x40611c
pop dword [ebp - 0x2c]
mov eax, 0x12e7613a
sub eax, 0x12a7001e
sub dword [ebp - 0x2c], eax
mov dword [ebp - 0x3c], 0xeaaedbdd
sub dword [ebp - 0x3c], 0x9c5c9692
mov dword [ebp - 0x38], 0x90546ba8
sub dword [ebp - 0x38], 0x5e211f63
mov dword [ebp - 0x34], 0xe9150d24
sub dword [ebp - 0x34], 0x9cc8c8f6
mov dword [ebp - 0x30], 0x2d4d21a4
sub dword [ebp - 0x30], 0x2d4d21a4
lea eax, [ebp - 0x3c]
push eax
mov eax, 0x365020b8
add eax, 0xc9f04fa8
add eax, dword [ebp - 0x2c]
call dword [eax]
mov dword [ebp - 0x3c], 0x7e69f27e
sub dword [ebp - 0x3c], 0x9f78928
mov dword [ebp - 0x38], 0x3046acbb
add dword [ebp - 0x38], 0x1125b4ba
mov dword [ebp - 0x34], 0xaa5df649
sub dword [ebp - 0x34], 0x46ee89dd
mov dword [ebp - 0x30], 0x2d2a34c4
add dword [ebp - 0x30], 0xd2d5cb3c
lea ebx, [ebp - 0x3c]
push ebx
push eax
mov eax, 0x76f4dae6
sub eax, 0x76b469e6
add eax, dword [ebp - 0x2c]
call dword [eax]
push 0x40
push 0x1000
push 0x35fd3
push 0
call eax
mov ecx, 0x4586
xor ebx, ebx
add ebx, eax
mov edi, 0xdcc960bc
add edi, 0x23779f44
add edi, dword [ebp - 0x2c]
mov edx, 0x854b1138
mov esi, dword [edi]
sub dword [ebp - 0xc], edx
sub esi, edx
xor dword [ebp - 0xc], 0xeefc17f4
mov dword [ebx], esi
xor dword [ebp - 0x18], 0xc70f4bf8
add ebx, 4
add edi, 0xcc7845a0
sub edi, 0xcc78459c
loop 0x406234
add eax, 0x108eb
mov ebx, eax
add eax, 5
mov ecx, 0x2f8bcfed
add ecx, 0xd0b43013
add ecx, dword [ebp - 0x2c]
call ebx
leave
ret

Function at 0x4065b0
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x40c17c]
jne 0x4065ba
repz ret
jmp fcn.00406941
Function at 0x40509c
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xfffffff0
mov edi, edx
mov esi, eax
mov ebp, dword [esi + 0x10]
mov eax, esi
call fcn.00405338
mov byte [esp], al
cmp byte [esp], 0
jne 0x405225
test edi, edi
je 0x405225
mov byte [esp + 1], 0
test ebp, ebp
jle 0x405165
call sub.kernel32.dll_GetTickCount
mov dword [esp + 4], eax
xor eax, eax
mov dword [esp + 0xc], eax
test ebp, ebp
jle 0x405140
cmp edi, 0xffffffff
je 0x405101
call sub.kernel32.dll_GetTickCount
sub eax, dword [esp + 4]
cmp edi, eax
ja 0x405101
mov byte [esp], 0
jmp 0x405225
cmp dword [esi], 1
jg 0x405140
cmp dword [esi], 0
jne 0x405132
xor eax, eax
mov edx, 1
lock cmpxchg dword [esi], edx
test eax, eax
jne 0x405132
call sub.kernel32.dll_GetCurrentThreadId
mov dword [esi + 8], eax
mov dword [esi + 4], 1
mov byte [esp], 1
jmp 0x405225
lea eax, [esp + 0xc]
call fcn.00404e4c
dec ebp
test ebp, ebp
jg 0x4050e6
cmp edi, 0xffffffff
je 0x405165
call sub.kernel32.dll_GetTickCount
mov dword [esp + 8], eax
mov eax, dword [esp + 8]
sub eax, dword [esp + 4]
cmp edi, eax
ja 0x405163
mov byte [esp], 0
jmp 0x405225
sub edi, eax
mov ebx, dword [esi]
test ebx, ebx
je 0x4050aa
lea edx, [ebx + 2]
mov eax, ebx
lock cmpxchg dword [esi], edx
cmp ebx, eax
jne 0x405165
call sub.kernel32.dll_GetTickCount
mov dword [esp + 4], eax
mov eax, esi
call fcn.00405294
mov edx, eax
mov ebx, dword [0x45b8f4]
mov ecx, edi
xor eax, eax
call dword [ebx + 0x10]
test eax, eax
sete byte [esp]
cmp edi, 0xffffffff
je 0x4051c9
call sub.kernel32.dll_GetTickCount
mov dword [esp + 8], eax
mov eax, dword [esp + 8]
sub eax, dword [esp + 4]
cmp edi, eax
jbe 0x4051c7
mov eax, dword [esp + 8]
sub eax, dword [esp + 4]
sub edi, eax
jmp 0x4051c9
xor edi, edi
cmp byte [esp], 0
je 0x4051ef
mov ebx, dword [esi]
test bl, 1
jne 0x405205
mov edx, ebx
sub edx, 2
or edx, 1
mov eax, ebx
lock cmpxchg dword [esi], edx
cmp ebx, eax
jne 0x4051cf
mov byte [esp + 1], 1
jmp 0x405205
mov ebx, dword [esi]
mov edx, ebx
sub edx, 2
mov eax, ebx
lock cmpxchg dword [esi], edx
cmp ebx, eax
jne 0x4051ef
mov byte [esp + 1], 1
cmp byte [esp + 1], 0
je 0x40517c
cmp byte [esp], 0
je 0x405225
call sub.kernel32.dll_GetCurrentThreadId
mov dword [esi + 8], eax
mov dword [esi + 4], 1
movzx eax, byte [esp]
add esp, 0x10
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x405c08
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp byte [0x45b054], 0
je 0x405c6f
cmp word [0x45b340], 0xd7b2
jne 0x405c31
cmp dword [0x45b348], 0
jbe 0x405c31
mov eax, 0x45b33c
call dword [0x45b358]
push 0
lea eax, [esp + 4]
push eax
push 0x1d
push str.Runtime_error_____at_00000000
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
push 0
lea eax, [esp + 4]
push eax
push 2
mov eax, 0x405c9c
call fcn.0040647c
push eax
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
pop edx
ret
cmp byte [0x41f022], 0
jne 0x405c8b
push 0
push 0x41f9aa
push str.Runtime_error_____at_00000000
push 0
call sub.user32.dll_MessageBoxA
pop edx
ret
Function at 0x407b20
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffe98
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x160], ecx
mov dword [ebp - 0x164], ecx
mov dword [ebp - 0x168], ecx
mov dword [ebp - 4], edx
mov esi, eax
xor eax, eax
push ebp
push 0x407c85
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.00405e8c
cmp si, word [0x41f9e8]
jb 0x407bb8
cmp si, word [0x41fbe8]
ja 0x407bb8
mov edi, 0x40
xor eax, eax
mov dword [ebp - 8], eax
cmp edi, dword [ebp - 8]
jb 0x407bb8
mov ebx, edi
add ebx, dword [ebp - 8]
shr ebx, 1
cmp si, word [ebx*8 + 0x41f9e8]
jae 0x407b92
mov edi, ebx
dec edi
jmp 0x407bb3
cmp si, word [ebx*8 + 0x41f9e8]
jbe 0x407ba2
inc ebx
mov dword [ebp - 8], ebx
jmp 0x407bb3
mov edx, dword [ebp - 4]
mov eax, dword [ebx*8 + 0x41f9ec]
call fcn.00407a40
jmp 0x407bb8
cmp edi, dword [ebp - 8]
jae 0x407b7c
mov eax, dword [ebp - 4]
cmp dword [eax], 0
jne 0x407c67
push 2
movzx eax, si
push eax
call sub.kernel32.dll_IsValidLocale
test eax, eax
je 0x407c67
push 0x55
lea eax, [ebp - 0xb2]
push eax
push 0x59
movzx ebx, si
push ebx
call sub.kernel32.dll_GetLocaleInfoW
push 0x55
lea eax, [ebp - 0x15c]
push eax
push 0x5a
push ebx
call sub.kernel32.dll_GetLocaleInfoW
lea eax, [ebp - 0x160]
lea edx, [ebp - 0xb2]
mov ecx, 0x55
call fcn.004065d0
push dword [ebp - 0x160]
push 0x407ca0
lea eax, [ebp - 0x164]
lea edx, [ebp - 0x15c]
mov ecx, 0x55
call fcn.004065d0
push dword [ebp - 0x164]
push 0x407cb0
lea eax, [ebp - 0x168]
lea edx, [ebp - 0xb2]
mov ecx, 0x55
call fcn.004065d0
push dword [ebp - 0x168]
mov eax, dword [ebp - 4]
mov edx, 5
call fcn.00406788
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x407c8c
lea eax, [ebp - 0x168]
mov edx, 3
call fcn.00405eec
ret
Function at 0x407e38
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 0x407f3c
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x45db84
call sub.kernel32.dll_EnterCriticalSection
cmp bx, word [0x45db9c]
jne 0x407e84
mov eax, esi
mov edx, 0x45db9e
mov ecx, 0x55
call fcn.004065d0
push 0x45db84
call sub.kernel32.dll_LeaveCriticalSection
jmp 0x407f26
push 0x45db84
call sub.kernel32.dll_LeaveCriticalSection
mov eax, esi
call fcn.00405e8c
push 2
movzx eax, bx
push eax
call sub.kernel32.dll_IsValidLocale
test eax, eax
je 0x407ef3
cmp byte [0x45db80], 0
je 0x407eb8
mov edx, esi
mov eax, ebx
call fcn.00407d1c
jmp 0x407ef3
mov edx, esi
mov eax, ebx
call fcn.00407b20
call sub.kernel32.dll_GetSystemDefaultUILanguage
cmp bx, ax
je 0x407ef3
cmp dword [esi], 0
je 0x407edc
mov eax, esi
mov edx, 0x407f54
call fcn.004066a8
call sub.kernel32.dll_GetSystemDefaultUILanguage
lea edx, [ebp - 4]
call fcn.00407b20
mov edx, dword [ebp - 4]
mov eax, esi
call fcn.004066a8
push 0x45db84
call sub.kernel32.dll_EnterCriticalSection
mov word [0x45db9c], bx
mov eax, dword [esi]
call fcn.00406524
mov ecx, eax
mov eax, 0x45db9e
mov edx, 0xaa
call fcn.004079a0
push 0x45db84
call sub.kernel32.dll_LeaveCriticalSection
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x407f43
lea eax, [ebp - 4]
call fcn.00405e8c
ret
Function at 0x40816c
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.00405f70
xor eax, eax
push ebp
push 0x408391
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [ebp - 4], 0
jne 0x4081ac
push 0x105
lea eax, [ebp - 0x21a]
push eax
push 0
call sub.kernel32.dll_GetModuleFileNameW
jmp 0x4081c6
mov eax, dword [ebp - 4]
call fcn.00406524
mov ecx, eax
lea eax, [ebp - 0x21a]
mov edx, 0x105
call fcn.004079a0
cmp word [ebp - 0x21a], 0
je 0x40837b
xor eax, eax
mov dword [ebp - 8], eax
lea eax, [ebp - 0xc]
push eax
push 0xf0019
push 0
push 0x4083a0
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExW
test eax, eax
je 0x408295
lea eax, [ebp - 0xc]
push eax
push 0xf0019
push 0
push 0x4083a0
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExW
test eax, eax
je 0x408295
lea eax, [ebp - 0xc]
push eax
push 0xf0019
push 0
push 0x4083dc
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExW
test eax, eax
je 0x408295
lea eax, [ebp - 0xc]
push eax
push 0xf0019
push 0
push 0x4083dc
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExW
test eax, eax
je 0x408295
lea eax, [ebp - 0xc]
push eax
push 0xf0019
push 0
push 0x408410
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExW
test eax, eax
je 0x408295
lea eax, [ebp - 0xc]
push eax
push 0xf0019
push 0
push 0x408444
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExW
test eax, eax
jne 0x40837b
xor eax, eax
push ebp
push 0x408374
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x21a]
mov edx, 0x105
call fcn.00407f7c
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 0x408304
mov eax, dword [ebp - 0x10]
call fcn.00404498
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.0040657c
jmp 0x40834f
lea eax, [ebp - 0x10]
push eax
push 0
push 0
push 0
push 0x408484
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExW
test eax, eax
jne 0x40834f
mov eax, dword [ebp - 0x10]
call fcn.00404498
mov dword [ebp - 8], eax
lea eax, [ebp - 0x10]
push eax
mov eax, dword [ebp - 8]
push eax
push 0
push 0
push 0x408484
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExW
mov eax, ebx
mov edx, dword [ebp - 8]
call fcn.0040657c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40837b
cmp dword [ebp - 8], 0
je 0x40836a
mov eax, dword [ebp - 8]
call fcn.004044b4
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 0x408398
lea eax, [ebp - 4]
call fcn.00405e8c
ret
Function at 0x408680
Capabilities:
Get geographical location
Identify system language via api

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
xor ecx, ecx
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x10], ecx
mov ebx, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00405f70
xor eax, eax
push ebp
push 0x408740
push dword fs:[eax]
mov dword fs:[eax], esp
push 4
lea eax, [ebp - 0xc]
push eax
push 3
call sub.kernel32.dll_GetUserDefaultUILanguage
movzx eax, ax
push eax
call sub.kernel32.dll_GetLocaleInfoW
lea eax, [ebp - 0x10]
lea edx, [ebp - 0xc]
mov ecx, 4
call fcn.004065d0
mov ecx, dword [ebp - 0x10]
mov eax, ebx
mov edx, dword [ebp - 4]
call fcn.00406700
mov eax, dword [ebx]
call fcn.00408548
test al, al
jne 0x40871d
mov word [ebp - 8], 0
lea eax, [ebp - 0x14]
lea edx, [ebp - 0xc]
mov ecx, 4
call fcn.004065d0
mov ecx, dword [ebp - 0x14]
mov eax, ebx
mov edx, dword [ebp - 4]
call fcn.00406700
mov eax, dword [ebx]
call fcn.00408548
test al, al
jne 0x40871d
mov eax, ebx
call fcn.00405e8c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x408747
lea eax, [ebp - 0x14]
mov edx, 2
call fcn.00405eec
lea eax, [ebp - 4]
call fcn.00405e8c
ret

Function at 0x409c48
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 0x40b114
Capabilities:
Accept command line arguments

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffffdf4
mov edi, edx
mov esi, eax
test esi, esi
jne 0x40b143
push 0x20a
lea eax, [esp + 4]
push eax
push 0
call sub.kernel32.dll_GetModuleFileNameW_2
mov ecx, eax
mov edx, esp
mov eax, edi
call fcn.00405fd8
jmp 0x40b196
call sub.kernel32.dll_GetCommandLineW_1
call fcn.0040b0c4
mov ebx, eax
mov eax, ebx
call fcn.0040b0d8
dec esi
test esi, esi
jge 0x40b148
mov edx, eax
sub edx, ebx
sar edx, 1
jns 0x40b166
adc edx, 0
cmp edx, 2
jl 0x40b182
cmp word [ebx], 0x22
jne 0x40b182
mov edx, eax
sub edx, 2
cmp word [edx], 0x22
jne 0x40b182
add ebx, 2
sub eax, 2
mov ecx, eax
sub ecx, ebx
sar ecx, 1
jns 0x40b18d
adc ecx, 0
mov eax, edi
mov edx, ebx
call fcn.00405fd8
add esp, 0x20c
pop edi
pop esi
pop ebx
ret

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

Disassembly:
push ebx
mov ebx, eax
mov eax, ebx
call fcn.00406524
push eax
call sub.kernel32.dll_GetFileAttributesW
cmp eax, 0xffffffff
je 0x40b245
test al, 0x10
je 0x40b249
xor eax, eax
pop ebx
ret
mov al, 1
pop ebx
ret

Function at 0x40b444
Capabilities:
Query or enumerate registry value

Disassembly:
push ebx
push esi
add esp, 0xfffffff4
mov esi, edx
mov ebx, eax
mov dword [esp + 8], 4
xor eax, eax
mov dword [esp], eax
test ebx, ebx
je 0x40b488
lea eax, [esp + 8]
push eax
lea eax, [esp + 4]
push eax
lea eax, [esp + 0xc]
push eax
push 0
mov eax, esi
call fcn.00406524
push eax
push ebx
call sub.advapi32.dll_RegQueryValueExW_1
test eax, eax
jne 0x40b488
cmp dword [esp + 4], 4
je 0x40b48d
xor eax, eax
mov dword [esp], eax
mov eax, dword [esp]
add esp, 0xc
pop esi
pop ebx
ret
Function at 0x40b498
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
add eax, 0xfffffff8
push eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x14]
push eax
mov eax, dword [ebp + 8]
add eax, 0xfffffffc
push eax
push 0
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x10]
call fcn.00406524
push eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExW_1
test eax, eax
sete al
pop ebp
ret

Function at 0x40b7d0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov esi, edx
mov dword [ebp - 4], eax
xor edi, edi
mov eax, dword [ebp + 8]
push eax
push ecx
push esi
call sub.kernel32.dll_FindResourceW
mov ebx, eax
test ebx, ebx
je 0x40b839
push ebx
push esi
call sub.kernel32.dll_SizeofResource
mov dword [ebp - 8], eax
push ebx
push esi
call sub.kernel32.dll_LoadResource
mov ebx, eax
test ebx, ebx
je 0x40b839
push ebx
call sub.kernel32.dll_GlobalLock
mov esi, eax
test esi, esi
jne 0x40b820
call sub.kernel32.dll_GetLastError_2
cmp eax, 6
jne 0x40b839
mov esi, ebx
mov edx, esi
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 8]
call fcn.0040b5c4
mov edi, eax
cmp esi, ebx
je 0x40b839
push ebx
call sub.kernel32.dll_GlobalUnlock
mov eax, edi
pop edi
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret 4

Function at 0x40dd8c
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, eax
mov eax, ecx
test edx, edx
jle 0x40ddb3
mov ecx, eax
and cl, 0xff
xor cl, byte [esi]
movzx ecx, cl
mov ecx, dword [ecx*4 + 0x45e5cc]
shr eax, 8
xor ecx, eax
mov eax, ecx
inc esi
dec edx
test edx, edx
jg 0x40dd95
pop esi
ret

Function at 0x417504
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 0x41753d
mov ecx, eax
dec ecx
lea edx, [ebp - 0x200]
mov eax, ebx
call fcn.00405fd8
jmp 0x417546
mov eax, ebx
mov edx, esi
call fcn.00406154
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x417550
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 0x417572
movzx eax, word [esp]
jmp 0x417574
mov eax, edi
pop edx
pop edi
pop esi
pop ebx
ret
Function at 0x4184fc
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 0x418621
push dword fs:[ecx]
mov dword fs:[ecx], esp
push 0x400
lea ecx, [ebp - 0x888]
call fcn.00418304
mov esi, eax
mov eax, dword [0x45ac10]
cmp byte [eax], 0
je 0x4185c9
mov eax, dword [0x45ab28]
call fcn.004047d4
call fcn.004045ec
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 [0x4184cc]
call fcn.00407458
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 0x41863c
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
jmp 0x418605
push 0x40
lea eax, [ebp - 0x88]
push eax
mov eax, dword [0x45ab04]
mov eax, dword [eax + 4]
push eax
mov eax, dword [0x45e598]
call fcn.00407644
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 0x418628
lea eax, [ebp - 4]
mov edx, dword [0x4184cc]
call fcn.0040757c
ret
Function at 0x419288
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 4], ebx
mov edi, ecx
mov esi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x419388
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 5], 0
lea eax, [ebp - 4]
mov edx, ebx
call fcn.0040619c
lea eax, [ebp - 4]
call fcn.00406310
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
call fcn.00406524
push eax
call sub.version.dll_GetFileVersionInfoSizeW
mov ebx, eax
test ebx, ebx
je 0x419372
mov eax, ebx
call fcn.00404498
mov dword [ebp - 0x10], eax
xor edx, edx
push ebp
push 0x41936b
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, dword [ebp - 0x10]
push eax
push ebx
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
call fcn.00406524
push eax
call sub.version.dll_GetFileVersionInfoW
test eax, eax
je 0x419355
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x41939c
mov eax, dword [ebp - 0x10]
push eax
call sub.version.dll_VerQueryValueW
test eax, eax
je 0x419355
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 0x10]
shr eax, 0x10
movzx eax, ax
mov dword [esi], eax
mov eax, dword [ebp - 0x14]
movzx eax, word [eax + 0x10]
mov dword [edi], eax
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 0x14]
shr eax, 0x10
movzx eax, ax
mov edx, dword [ebp + 8]
mov dword [edx], eax
mov byte [ebp - 5], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x419372
mov eax, dword [ebp - 0x10]
call fcn.004044b4
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x41938f
lea eax, [ebp - 4]
call fcn.00405e8c
ret
Function at 0x41a4ac
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xffffffec
mov dword [esp], edx
mov ebx, eax
xor eax, eax
mov dword [esp + 4], eax
test ebx, ebx
je 0x41a550
mov eax, ebx
mov edx, dword [eax + 0x3c]
add edx, eax
mov eax, edx
mov esi, eax
mov edx, dword [esi + 0x78]
mov eax, ebx
call fcn.0041a178
mov esi, eax
mov ebp, dword [esi + 0x18]
dec ebp
test ebp, ebp
jb 0x41a550
inc ebp
xor edi, edi
mov edx, dword [esi + 0x20]
mov eax, ebx
call fcn.0041a178
mov eax, dword [eax + edi*4]
mov dword [esp + 8], eax
mov edx, dword [esp + 8]
mov eax, ebx
call fcn.0041a178
mov dword [esp + 0xc], eax
mov eax, dword [esp]
push eax
mov eax, dword [esp + 0x10]
push eax
call sub.kernel32.dll_lstrcmpA
test eax, eax
jne 0x41a54c
mov edx, dword [esi + 0x24]
mov eax, ebx
call fcn.0041a178
movzx eax, word [eax + edi*2]
mov word [esp + 0x10], ax
mov edx, dword [esi + 0x1c]
mov eax, ebx
call fcn.0041a178
movzx edx, word [esp + 0x10]
mov eax, dword [eax + edx*4]
mov edx, eax
mov eax, ebx
call fcn.0041a178
mov dword [esp + 4], eax
inc edi
dec ebp
jne 0x41a4e8
mov eax, dword [esp + 4]
add esp, 0x14
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x433000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43300c
pop eax
nop
nop
nop
nop
nop
add eax, 0x40a063
nop
nop
sub eax, 0x40a009
nop
nop
nop
mov ebx, dword [eax]
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
nop
mov edx, dword [eax + 8]
nop
xor dword [ebx], edx
nop
nop
nop
nop
nop
nop
add ebx, 4
nop
cmp ebx, ecx
nop
nop
nop
nop
jl 0x433030
nop
nop
nop
nop
nop
nop
add eax, 0xc
nop
nop
cmp dword [eax], 0
nop
nop
nop
nop
nop
nop
jne 0x43301e
nop
nop
nop
nop
nop
popal
jmp 0x431219