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

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x42e00c
nop
pop eax
nop
nop
nop
nop
add eax, 0x403ac5
nop
sub eax, 0x403a6b
nop
nop
mov ebx, dword [eax]
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
xor dword [ebx], edx
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
nop
nop
nop
cmp dword [eax], 0
nop
jne 0x42e01e
nop
nop
nop
nop
popal
nop
nop
nop
nop
jmp loc.00401219

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx
Function at 0x406699
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x23c
push esi
mov esi, 0x104
lea eax, [ebp - 0x23c]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
cmp eax, esi
pop esi
jbe 0x4066bd
xor eax, eax
test eax, eax
je 0x4066d0
cmp word [ebp + eax*2 - 0x23e], 0x5c
je 0x4066d0
xor ecx, ecx
jmp 0x4066d3
xor ecx, ecx
inc ecx
push dword [ebp + 8]
lea ecx, [ecx*2 + 0x40a014]
lea eax, [ebp + eax*2 - 0x23c]
push ecx
push str._s_S.dll
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x10
lea eax, [ebp - 0x23c]
push 8
push 0
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
leave
ret 4

Function at 0x4067fc
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
cmp dword [0x4698ec], 0
push esi
jne 0x406833
xor ecx, ecx
push 8
mov eax, ecx
pop esi
mov edx, eax
and dl, 1
neg dl
sbb edx, edx
and edx, 0xedb88320
shr eax, 1
xor eax, edx
dec esi
jne 0x40680d
mov dword [ecx*4 + 0x4698e8], eax
inc ecx
cmp ecx, 0x100
jl 0x406808
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 8]
test edx, edx
not eax
jbe 0x406864
mov ecx, dword [esp + 0xc]
push edi
movzx edi, byte [ecx]
mov esi, eax
and esi, 0xff
xor esi, edi
shr eax, 8
mov esi, dword [esi*4 + 0x4698e8]
xor eax, esi
inc ecx
dec edx
jne 0x406846
pop edi
not eax
pop esi
ret 0xc

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

Disassembly:
pushal
nop
nop
nop
mov eax, section..text
nop
nop
push 4
nop
nop
nop
nop
nop
nop
nop
nop
pop edi
nop
nop
nop
cmp eax, 0
je 0x432072
nop
nop
nop
nop
mov ebx, 0x40c7d0
nop
mov ecx, ebx
nop
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
nop
nop
push eax
nop
nop
mov eax, ecx
nop
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, 0x76e26cc0
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
add eax, edi
nop
nop
nop
nop
nop
nop
loop 0x432060
nop
mov eax, section..data_1
nop
nop
nop
cmp eax, 0
nop
nop
je 0x4320d2
nop
nop
nop
nop
mov ebx, 0x42f314
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
push eax
nop
mov eax, ecx
nop
nop
nop
nop
nop
nop
nop
nop
div edi
nop
nop
nop
nop
nop
xchg ecx, eax
nop
pop eax
nop
nop
nop
nop
mov esi, 0x60554ea5
nop
nop
nop
xor dword [eax], esi
nop
nop
add eax, edi
nop
nop
nop
nop
nop
nop
nop
loop 0x4320c0
nop
nop
nop
popal
nop
nop
nop
jmp 0x431219
Function at 0x4049b8
Capabilities:
Accept command line arguments

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffffdf4
mov ebx, edx
mov esi, eax
mov eax, ebx
call fcn.00407334
test esi, esi
jne 0x4049ee
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.004074bc
jmp 0x404a0c
call sub.kernel32.dll_GetCommandLineW
mov edi, eax
mov edx, ebx
mov eax, edi
call fcn.0040489c
mov edi, eax
test esi, esi
je 0x404a0c
cmp dword [ebx], 0
je 0x404a0c
dec esi
jmp 0x4049f5
add esp, 0x20c
pop edi
pop esi
pop ebx
ret

Function at 0x405fec
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.004063e4
mov byte [esp], al
cmp byte [esp], 0
jne 0x406178
test edi, edi
je 0x406178
mov byte [esp + 1], 0
test ebp, ebp
jle 0x4060af
call sub.kernel32.dll_GetTickCount
mov dword [esp + 4], eax
test ebp, ebp
jle 0x40608a
cmp edi, 0xffffffff
je 0x40604b
call sub.kernel32.dll_GetTickCount
sub eax, dword [esp + 4]
cmp edi, eax
ja 0x40604b
mov byte [esp], 0
jmp 0x406178
mov ebx, dword [esi]
cmp ebx, 1
jg 0x40608a
test ebx, ebx
jne 0x406080
mov eax, esi
xor ecx, ecx
mov edx, 1
call fcn.004027f4
test eax, eax
jne 0x406080
call sub.kernel32.dll_GetCurrentThreadId
mov dword [esi + 8], eax
mov dword [esi + 4], 1
mov byte [esp], 1
jmp 0x406178
call 0x406508
dec ebp
test ebp, ebp
jg 0x406030
cmp edi, 0xffffffff
je 0x4060af
call sub.kernel32.dll_GetTickCount
mov dword [esp + 8], eax
mov eax, dword [esp + 8]
sub eax, dword [esp + 4]
cmp edi, eax
ja 0x4060ad
mov byte [esp], 0
jmp 0x406178
sub edi, eax
mov ebx, dword [esi]
test ebx, ebx
je 0x405ffa
lea edx, [ebx + 2]
mov eax, esi
mov ecx, ebx
call fcn.004027f4
cmp ebx, eax
jne 0x4060af
call sub.kernel32.dll_GetTickCount
mov dword [esp + 4], eax
mov eax, esi
call fcn.004061e8
mov edx, eax
mov ebx, dword [0x6148f8]
mov ecx, edi
xor eax, eax
call dword [ebx + 0x10]
test eax, eax
sete byte [esp]
cmp edi, 0xffffffff
je 0x406116
call sub.kernel32.dll_GetTickCount
mov dword [esp + 8], eax
mov eax, dword [esp + 8]
sub eax, dword [esp + 4]
cmp edi, eax
jbe 0x406114
mov eax, dword [esp + 8]
sub eax, dword [esp + 4]
sub edi, eax
jmp 0x406116
xor edi, edi
cmp byte [esp], 0
je 0x40613f
mov ebx, dword [esi]
test bl, 1
jne 0x406158
mov edx, ebx
sub edx, 2
or edx, 1
mov eax, esi
mov ecx, ebx
call fcn.004027f4
cmp ebx, eax
jne 0x40611c
mov byte [esp + 1], 1
jmp 0x406158
mov ebx, dword [esi]
mov edx, ebx
sub edx, 2
mov eax, esi
mov ecx, ebx
call fcn.004027f4
cmp ebx, eax
jne 0x40613f
mov byte [esp + 1], 1
cmp byte [esp + 1], 0
je 0x4060c9
cmp byte [esp], 0
je 0x406178
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 0x406fcc
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp byte [0x614058], 0
je 0x407033
cmp word [0x614344], 0xd7b2
jne 0x406ff5
cmp dword [0x61434c], 0
jbe 0x406ff5
mov eax, 0x614340
call dword [0x61435c]
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, 0x407060
call fcn.00407c98
push eax
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
pop edx
ret
cmp byte [0x607032], 0
jne 0x40704f
push 0
push 0x6079e2
push str.Runtime_error_____at_00000000
push 0
call sub.user32.dll_MessageBoxA
pop edx
ret

Function at 0x4071f0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov esi, ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov edi, dword [ebp + 0x10]
cmp dword [0x607034], 0
je 0x40721b
mov edx, edi
mov eax, esi
call dword [0x607034]
mov ebx, eax
jmp 0x40722c
mov eax, 8
call fcn.004045cc
mov ebx, eax
mov dword [ebx], esi
mov dword [ebx + 4], edi
mov byte [0x614059], 1
mov eax, dword [ebp + 8]
push eax
mov eax, dword [ebp + 0xc]
push eax
push ebx
mov eax, 0x4071b8
push eax
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_CreateThread
mov esi, eax
test esi, esi
jne 0x407261
mov edx, 8
mov eax, ebx
call fcn.004045e8
mov eax, esi
pop edi
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret 0xc
Function at 0x409aec
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 0x409c51
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.00407334
cmp si, word [0x607a20]
jb 0x409b84
cmp si, word [0x607c20]
ja 0x409b84
mov edi, 0x40
xor eax, eax
mov dword [ebp - 8], eax
cmp edi, dword [ebp - 8]
jb 0x409b84
mov ebx, edi
add ebx, dword [ebp - 8]
shr ebx, 1
cmp si, word [ebx*8 + 0x607a20]
jae 0x409b5e
mov edi, ebx
dec edi
jmp 0x409b7f
cmp si, word [ebx*8 + 0x607a20]
jbe 0x409b6e
inc ebx
mov dword [ebp - 8], ebx
jmp 0x409b7f
mov edx, dword [ebp - 4]
mov eax, dword [ebx*8 + 0x607a24]
call fcn.004099fc
jmp 0x409b84
cmp edi, dword [ebp - 8]
jae 0x409b48
mov eax, dword [ebp - 4]
cmp dword [eax], 0
jne 0x409c33
push 2
movzx eax, si
push eax
call sub.kernel32.dll_IsValidLocale
test eax, eax
je 0x409c33
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.004080ec
push dword [ebp - 0x160]
push 0x409c6c
lea eax, [ebp - 0x164]
lea edx, [ebp - 0x15c]
mov ecx, 0x55
call fcn.004080ec
push dword [ebp - 0x164]
push 0x409c7c
lea eax, [ebp - 0x168]
lea edx, [ebp - 0xb2]
mov ecx, 0x55
call fcn.004080ec
push dword [ebp - 0x168]
mov eax, dword [ebp - 4]
mov edx, 5
call fcn.00408324
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x409c58
lea eax, [ebp - 0x168]
mov edx, 3
call fcn.00407394
ret
Function at 0x409e04
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 0x409f07
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x616b88
call sub.kernel32.dll_EnterCriticalSection
cmp bx, word [0x616ba0]
jne 0x409e50
mov eax, esi
mov edx, 0x616ba2
mov ecx, 0x55
call fcn.004080ec
push 0x616b88
call sub.kernel32.dll_LeaveCriticalSection
jmp 0x409ef1
push 0x616b88
call sub.kernel32.dll_LeaveCriticalSection
mov eax, esi
call fcn.00407334
push 2
movzx eax, bx
push eax
call sub.kernel32.dll_IsValidLocale
test eax, eax
je 0x409ebf
cmp byte [0x616b84], 0
je 0x409e84
mov edx, esi
mov eax, ebx
call fcn.00409ce8
jmp 0x409ebf
mov edx, esi
mov eax, ebx
call fcn.00409aec
call sub.kernel32.dll_GetSystemDefaultUILanguage
cmp bx, ax
je 0x409ebf
cmp dword [esi], 0
je 0x409ea8
mov eax, esi
mov edx, 0x409f20
call fcn.00408244
call sub.kernel32.dll_GetSystemDefaultUILanguage
lea edx, [ebp - 4]
call fcn.00409aec
mov edx, dword [ebp - 4]
mov eax, esi
call fcn.00408244
push 0x616b88
call sub.kernel32.dll_EnterCriticalSection
mov word [0x616ba0], bx
push 0xaa
mov eax, dword [esi]
call fcn.00408030
push eax
push 0x616ba2
call sub.kernel32.dll_lstrcpynW
push 0x616b88
call sub.kernel32.dll_LeaveCriticalSection
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x409f0e
lea eax, [ebp - 4]
call fcn.00407334
ret
Function at 0x40a13c
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.00407418
xor eax, eax
push ebp
push 0x40a361
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [ebp - 4], 0
jne 0x40a17c
push 0x105
lea eax, [ebp - 0x21a]
push eax
push 0
call sub.kernel32.dll_GetModuleFileNameW
jmp 0x40a196
push 0x105
mov eax, dword [ebp - 4]
call fcn.00408030
push eax
lea eax, [ebp - 0x21a]
push eax
call sub.kernel32.dll_lstrcpynW
cmp word [ebp - 0x21a], 0
je 0x40a34b
xor eax, eax
mov dword [ebp - 8], eax
lea eax, [ebp - 0xc]
push eax
push 0xf0019
push 0
push 0x40a370
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExW
test eax, eax
je 0x40a265
lea eax, [ebp - 0xc]
push eax
push 0xf0019
push 0
push 0x40a370
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExW
test eax, eax
je 0x40a265
lea eax, [ebp - 0xc]
push eax
push 0xf0019
push 0
push 0x40a3ac
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExW
test eax, eax
je 0x40a265
lea eax, [ebp - 0xc]
push eax
push 0xf0019
push 0
push 0x40a3ac
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExW
test eax, eax
je 0x40a265
lea eax, [ebp - 0xc]
push eax
push 0xf0019
push 0
push 0x40a3e0
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExW
test eax, eax
je 0x40a265
lea eax, [ebp - 0xc]
push eax
push 0xf0019
push 0
push 0x40a414
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExW
test eax, eax
jne 0x40a34b
xor eax, eax
push ebp
push 0x40a344
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x21a]
mov edx, 0x105
call fcn.00409f48
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 0x40a2d4
mov eax, dword [ebp - 0x10]
call fcn.004045cc
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.00408098
jmp 0x40a31f
lea eax, [ebp - 0x10]
push eax
push 0
push 0
push 0
push 0x40a454
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExW
test eax, eax
jne 0x40a31f
mov eax, dword [ebp - 0x10]
call fcn.004045cc
mov dword [ebp - 8], eax
lea eax, [ebp - 0x10]
push eax
mov eax, dword [ebp - 8]
push eax
push 0
push 0
push 0x40a454
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExW
mov eax, ebx
mov edx, dword [ebp - 8]
call fcn.00408098
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40a34b
cmp dword [ebp - 8], 0
je 0x40a33a
mov eax, dword [ebp - 8]
call fcn.004045e8
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 0x40a368
lea eax, [ebp - 4]
call fcn.00407334
ret
Function at 0x40a644
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.00407418
xor eax, eax
push ebp
push 0x40a704
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.004080ec
mov ecx, dword [ebp - 0x10]
mov eax, ebx
mov edx, dword [ebp - 4]
call fcn.0040829c
mov eax, dword [ebx]
call fcn.0040a50c
test al, al
jne 0x40a6e1
mov word [ebp - 8], 0
lea eax, [ebp - 0x14]
lea edx, [ebp - 0xc]
mov ecx, 4
call fcn.004080ec
mov ecx, dword [ebp - 0x14]
mov eax, ebx
mov edx, dword [ebp - 4]
call fcn.0040829c
mov eax, dword [ebx]
call fcn.0040a50c
test al, al
jne 0x40a6e1
mov eax, ebx
call fcn.00407334
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40a70b
lea eax, [ebp - 0x14]
mov edx, 2
call fcn.00407394
lea eax, [ebp - 4]
call fcn.00407334
ret

Function at 0x41e9dc
Capabilities:
Encrypt data using rc4 prga

Disassembly:
cmp eax, edx
je 0x41ea35
test eax, edx
je 0x41ea38
movzx ecx, word [edx]
cmp cx, word [eax]
je 0x41e9f3
movzx eax, word [eax]
sub eax, ecx
jmp 0x41ea1a
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 0x41ea1b
add ecx, 4
js 0x41ea0b
pop eax
pop ebx
ret
bsf ebx, ebx
shr ebx, 4
add ebx, ebx
add ecx, ebx
jns 0x41ea18
movzx eax, word [ecx + eax]
movzx edx, word [ecx + edx]
sub eax, edx
pop ebx
pop ebx
jmp 0x41ea1a
xor eax, eax
ret
test eax, eax
je 0x41ea44
test edx, edx
jne 0x41e9e4
mov eax, dword [eax - 4]
ret
sub eax, dword [edx - 4]
ret
Function at 0x41f2a0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebx
push esi
push edi
push ebp
push ecx
mov ebx, edx
mov ebp, eax
mov byte [esp], 0
mov eax, ebp
test eax, eax
je 0x41f2b8
sub eax, 4
mov eax, dword [eax]
test eax, eax
jne 0x41f2c0
mov al, 1
jmp 0x41f2dd
movzx esi, word [ebp]
mov eax, esi
call fcn.00410094
test al, al
jne 0x41f2d9
cmp si, 0x5f
je 0x41f2d9
xor eax, eax
jmp 0x41f2db
mov al, 1
xor al, 1
test al, al
jne 0x41f36d
test bl, bl
je 0x41f32d
mov eax, ebp
test eax, eax
je 0x41f2f4
sub eax, 4
mov eax, dword [eax]
mov ebx, eax
sub ebx, 2
jl 0x41f369
inc ebx
mov esi, 2
movzx edi, word [ebp + esi*2 - 2]
mov eax, edi
call fcn.00410120
test al, al
jne 0x41f321
cmp di, 0x5f
je 0x41f321
cmp di, 0x2e
je 0x41f321
xor eax, eax
jmp 0x41f323
mov al, 1
test al, al
je 0x41f36d
inc esi
dec ebx
jne 0x41f301
jmp 0x41f369
mov eax, ebp
test eax, eax
je 0x41f338
sub eax, 4
mov eax, dword [eax]
mov ebx, eax
sub ebx, 2
jl 0x41f369
inc ebx
mov esi, 2
movzx edi, word [ebp + esi*2 - 2]
mov eax, edi
call fcn.00410120
test al, al
jne 0x41f35f
cmp di, 0x5f
je 0x41f35f
xor eax, eax
jmp 0x41f361
mov al, 1
test al, al
je 0x41f36d
inc esi
dec ebx
jne 0x41f345
mov byte [esp], 1
movzx eax, byte [esp]
pop edx
pop ebp
pop edi
pop esi
pop ebx
ret

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

Disassembly:
push ebx
push esi
push edi
mov ebx, edx
mov esi, eax
mov eax, esi
call fcn.00408030
mov edi, eax
push edi
call sub.kernel32.dll_GetFileAttributesW
cmp eax, 0xffffffff
je 0x41ffb6
test ah, 4
je 0x41ffaf
test bl, bl
jne 0x41ff74
mov al, 1
jmp 0x41ffdd
test al, 0x10
je 0x41ff7c
xor eax, eax
jmp 0x41ffdd
push 0
push 0
push 3
push 0
push 1
push 0x80000000
push edi
call sub.kernel32.dll_CreateFileW_1
cmp eax, 0xffffffff
je 0x41ffa0
push eax
call sub.kernel32.dll_CloseHandle_1
mov al, 1
jmp 0x41ffdd
call sub.kernel32.dll_GetLastError_2
mov ebx, eax
cmp ebx, 0x20
sete al
jmp 0x41ffdd
test al, 0x10
sete al
jmp 0x41ffdd
call sub.kernel32.dll_GetLastError_2
mov ebx, eax
cmp ebx, 2
je 0x41ffd7
cmp ebx, 3
je 0x41ffd7
cmp ebx, 0x7b
je 0x41ffd7
mov eax, esi
call fcn.0041ff0c
test al, al
jne 0x41ffdb
xor eax, eax
jmp 0x41ffdd
mov al, 1
pop edi
pop esi
pop ebx
ret
Function at 0x41ffe4
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebx
push esi
push edi
push ebp
push ecx
mov byte [esp], dl
mov edi, eax
xor ebx, ebx
mov eax, edi
call fcn.00408030
mov ebp, eax
push ebp
call sub.kernel32.dll_GetFileAttributesW
mov esi, eax
cmp esi, 0xffffffff
je 0x42008b
test esi, 0x400
jne 0x420020
test esi, 0x10
setne bl
jmp 0x4200aa
cmp byte [esp], 0
je 0x420054
push 0
push 0x2000000
push 3
push 0
push 1
push 0x80000000
push ebp
call sub.kernel32.dll_CreateFileW_1
cmp eax, 0xffffffff
je 0x4200aa
push eax
call sub.kernel32.dll_CloseHandle_1
test esi, 0x10
setne bl
jmp 0x4200aa
test esi, 0x10
je 0x420060
mov bl, 1
jmp 0x4200aa
push 0
push 0x2000000
push 3
push 0
push 1
push 0x80000000
push ebp
call sub.kernel32.dll_CreateFileW_1
cmp eax, 0xffffffff
je 0x420087
push eax
call sub.kernel32.dll_CloseHandle_1
xor ebx, ebx
jmp 0x4200aa
mov bl, 1
jmp 0x4200aa
call sub.kernel32.dll_GetLastError_2
cmp eax, 2
je 0x4200a4
cmp eax, 3
je 0x4200a4
cmp eax, 0x7b
je 0x4200a4
cmp eax, 0x35
jne 0x4200a8
xor ebx, ebx
jmp 0x4200aa
mov bl, 1
mov eax, ebx
pop edx
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x4201b0
Capabilities:
Check if file exists
Delete directory
Delete file
Get file attributes

Disassembly:
push ebx
push esi
push edi
push ebp
mov esi, eax
mov eax, esi
call fcn.00408030
mov ebp, eax
push ebp
call sub.kernel32.dll_DeleteFileW
cmp eax, 1
sbb ebx, ebx
inc ebx
test bl, bl
jne 0x420205
call sub.kernel32.dll_GetLastError_2
mov edi, eax
push ebp
call sub.kernel32.dll_GetFileAttributesW
cmp eax, 0xffffffff
je 0x4201ff
test ah, 4
je 0x4201ff
test al, 0x10
je 0x4201ff
mov eax, esi
call fcn.00408030
push eax
call sub.kernel32.dll_RemoveDirectoryW
cmp eax, 1
sbb ebx, ebx
inc ebx
jmp 0x420205
push edi
call sub.kernel32.dll_SetLastError
mov eax, ebx
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x424268
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 0x4242a1
mov ecx, eax
dec ecx
lea edx, [ebp - 0x200]
mov eax, ebx
call fcn.004074bc
jmp 0x4242aa
mov eax, ebx
mov edx, esi
call fcn.00407714
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x4242b4
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 0x4242d6
movzx eax, word [esp]
jmp 0x4242d8
mov eax, edi
pop edx
pop edi
pop esi
pop ebx
ret
Function at 0x424fac
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 0x4250d1
push dword fs:[ecx]
mov dword fs:[ecx], esp
push 0x400
lea ecx, [ebp - 0x888]
call fcn.00424db4
mov esi, eax
mov eax, dword [0x6132e4]
cmp byte [eax], 0
je 0x425079
mov eax, dword [0x612c5c]
call fcn.00404ef4
call fcn.00404740
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 [0x424f7c]
call fcn.0040953c
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 0x4250ec
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
jmp 0x4250b5
push 0x40
lea eax, [ebp - 0x88]
push eax
mov eax, dword [0x612b7c]
mov eax, dword [eax + 4]
push eax
mov eax, dword [0x616c50]
call fcn.00409630
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 0x4250d8
lea eax, [ebp - 4]
mov edx, dword [0x424f7c]
call fcn.00409548
ret

Function at 0x426150
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 0x426226
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 8], 0xffffffff
lea eax, [ebp - 4]
mov edx, ebx
call fcn.0040775c
lea eax, [ebp - 4]
call fcn.004078f0
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
call fcn.00408030
push eax
call sub.version.dll_GetFileVersionInfoSizeW
mov ebx, eax
test ebx, ebx
je 0x426210
mov eax, ebx
call fcn.004045cc
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x426209
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.00408030
push eax
call sub.version.dll_GetFileVersionInfoW
test eax, eax
je 0x4261f3
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x426238
mov eax, dword [ebp - 0x10]
push eax
call sub.version.dll_VerQueryValueW
test eax, eax
je 0x4261f3
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 0x426210
mov eax, dword [ebp - 0x10]
call fcn.004045e8
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x42622d
lea eax, [ebp - 4]
call fcn.00407334
ret