joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1b86d10
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.sect_1
lea edi, [esi - 0xff3000]
push edi
jmp 0x1b86d2a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x1b86d31
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x1b86d20
mov eax, 1
add ebx, ebx
jne 0x1b86d43
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x1b86d54
jne 0x1b86d73
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x1b86d73
dec eax
add ebx, ebx
jne 0x1b86d60
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x1b86d38
add ebx, ebx
jne 0x1b86d6f
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x1b86dc5
xor ecx, ecx
sub eax, 3
jb 0x1b86d8b
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x1b86dfa
sar eax, 1
mov ebp, eax
jmp 0x1b86d96
add ebx, ebx
jne 0x1b86d96
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x1b86d64
inc ecx
add ebx, ebx
jne 0x1b86da4
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x1b86d64
add ebx, ebx
jne 0x1b86db1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x1b86da6
jne 0x1b86dc2
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x1b86da6
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x1b86de4
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x1b86dd6
jmp 0x1b86d26
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x1b86de4
add edi, ecx
jmp 0x1b86d26
pop esi
mov edi, esi
mov ecx, 0xaee5
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x1b86e02
cmp byte [edi], 0x2c
jne 0x1b86e02
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x1b86e07
lea edi, [esi + 0x1783000]
mov eax, dword [edi]
or eax, eax
je 0x1b86e7f
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x179ebf4]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x179ed70]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x1b86e34
mov ecx, edi
jns 0x1b86e63
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x179ed78]
or eax, eax
je 0x1b86e79
mov dword [ebx], eax
add ebx, 4
jmp 0x1b86e51
call dword [esi + 0x179ed74]
mov ebp, dword [esi + 0x179ed7c]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x23f]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
lea ebx, [esi - 0x1000]
lea edi, [ebx + 0x1786eda]
push edi
xor eax, eax
stosb byte es:[edi], al
pop ecx
dec ecx
push eax
push 1
push ebx
call ecx
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x1b86ecb
sub esp, 0xffffff80
jmp 0x4e495d
Function at 0x42e006
Capabilities:
Encode data using xor

Disassembly:
call 0x42e00c
nop
nop
nop
pop eax
nop
nop
nop
add eax, 0x403ac5
sub eax, 0x403a6b
nop
mov ebx, dword [eax]
nop
nop
nop
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
nop
add ebx, 4
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
nop
nop
jl 0x42e030
nop
nop
add eax, 0xc
nop
nop
nop
nop
cmp dword [eax], 0
jne 0x42e01e
nop
nop
nop
nop
nop
nop
nop
popal
nop
nop
jmp fcn.00401219
Function at 0x404844
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.00406be4
test esi, esi
jne 0x40487a
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.00406d30
jmp 0x404898
call sub.kernel32.dll_GetCommandLineW
mov edi, eax
mov edx, ebx
mov eax, edi
call fcn.00404788
mov edi, eax
test esi, esi
je 0x404898
cmp dword [ebx], 0
je 0x404898
dec esi
jmp 0x404881
add esp, 0x20c
pop edi
pop esi
pop ebx
ret

Function at 0x405ab4
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.00405f74
mov byte [esp], al
cmp byte [esp], 0
jne 0x405c3d
test edi, edi
je 0x405c3d
mov byte [esp + 1], 0
test ebp, ebp
jle 0x405b7d
call sub.kernel32.dll_GetTickCount
mov dword [esp + 4], eax
xor eax, eax
mov dword [esp + 0xc], eax
test ebp, ebp
jle 0x405b58
cmp edi, 0xffffffff
je 0x405b19
call sub.kernel32.dll_GetTickCount
sub eax, dword [esp + 4]
cmp edi, eax
ja 0x405b19
mov byte [esp], 0
jmp 0x405c3d
cmp dword [esi], 1
jg 0x405b58
cmp dword [esi], 0
jne 0x405b4a
xor eax, eax
mov edx, 1
lock cmpxchg dword [esi], edx
test eax, eax
jne 0x405b4a
call sub.kernel32.dll_GetCurrentThreadId
mov dword [esi + 8], eax
mov dword [esi + 4], 1
mov byte [esp], 1
jmp 0x405c3d
lea eax, [esp + 0xc]
call fcn.00405770
dec ebp
test ebp, ebp
jg 0x405afe
cmp edi, 0xffffffff
je 0x405b7d
call sub.kernel32.dll_GetTickCount
mov dword [esp + 8], eax
mov eax, dword [esp + 8]
sub eax, dword [esp + 4]
cmp edi, eax
ja 0x405b7b
mov byte [esp], 0
jmp 0x405c3d
sub edi, eax
mov ebx, dword [esi]
test ebx, ebx
je 0x405ac2
lea edx, [ebx + 2]
mov eax, ebx
lock cmpxchg dword [esi], edx
cmp ebx, eax
jne 0x405b7d
call sub.kernel32.dll_GetTickCount
mov dword [esp + 4], eax
mov eax, esi
call fcn.00405cb8
mov edx, eax
mov ebx, dword [0x47e8f4]
mov ecx, edi
xor eax, eax
call dword [ebx + 0x10]
test eax, eax
sete byte [esp]
cmp edi, 0xffffffff
je 0x405be1
call sub.kernel32.dll_GetTickCount
mov dword [esp + 8], eax
mov eax, dword [esp + 8]
sub eax, dword [esp + 4]
cmp edi, eax
jbe 0x405bdf
mov eax, dword [esp + 8]
sub eax, dword [esp + 4]
sub edi, eax
jmp 0x405be1
xor edi, edi
cmp byte [esp], 0
je 0x405c07
mov ebx, dword [esi]
test bl, 1
jne 0x405c1d
mov edx, ebx
sub edx, 2
or edx, 1
mov eax, ebx
lock cmpxchg dword [esi], edx
cmp ebx, eax
jne 0x405be7
mov byte [esp + 1], 1
jmp 0x405c1d
mov ebx, dword [esi]
mov edx, ebx
sub edx, 2
mov eax, ebx
lock cmpxchg dword [esi], edx
cmp ebx, eax
jne 0x405c07
mov byte [esp + 1], 1
cmp byte [esp + 1], 0
je 0x405b94
cmp byte [esp], 0
je 0x405c3d
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 0x406960
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp byte [0x47e054], 0
je 0x4069c7
cmp word [0x47e340], 0xd7b2
jne 0x406989
cmp dword [0x47e348], 0
jbe 0x406989
mov eax, 0x47e33c
call dword [0x47e358]
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, 0x4069f4
call fcn.004071c8
push eax
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
pop edx
ret
cmp byte [0x426022], 0
jne 0x4069e3
push 0
push str.Error
push str.Runtime_error_____at_00000000
push 0
call sub.user32.dll_MessageBoxA
pop edx
ret

Function at 0x409374
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 0x4094d9
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.00406be4
cmp si, word [0x4269f0]
jb 0x40940c
cmp si, word [0x426bf0]
ja 0x40940c
mov edi, 0x40
xor eax, eax
mov dword [ebp - 8], eax
cmp edi, dword [ebp - 8]
jb 0x40940c
mov ebx, edi
add ebx, dword [ebp - 8]
shr ebx, 1
cmp si, word [ebx*8 + 0x4269f0]
jae 0x4093e6
mov edi, ebx
dec edi
jmp 0x409407
cmp si, word [ebx*8 + 0x4269f0]
jbe 0x4093f6
inc ebx
mov dword [ebp - 8], ebx
jmp 0x409407
mov edx, dword [ebp - 4]
mov eax, dword [ebx*8 + 0x4269f4]
call fcn.00409294
jmp 0x40940c
cmp edi, dword [ebp - 8]
jae 0x4093d0
mov eax, dword [ebp - 4]
cmp dword [eax], 0
jne 0x4094bb
push 2
movzx eax, si
push eax
call sub.kernel32.dll_IsValidLocale
test eax, eax
je 0x4094bb
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.004072fc
push dword [ebp - 0x160]
push 0x4094f4
lea eax, [ebp - 0x164]
lea edx, [ebp - 0x15c]
mov ecx, 0x55
call fcn.004072fc
push dword [ebp - 0x164]
push 0x409504
lea eax, [ebp - 0x168]
lea edx, [ebp - 0xb2]
mov ecx, 0x55
call fcn.004072fc
push dword [ebp - 0x168]
mov eax, dword [ebp - 4]
mov edx, 5
call fcn.004074b4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4094e0
lea eax, [ebp - 0x168]
mov edx, 3
call fcn.00406c44
ret
Function at 0x40968c
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 0x409790
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x480c0c
call sub.kernel32.dll_EnterCriticalSection
cmp bx, word [0x480c24]
jne 0x4096d8
mov eax, esi
mov edx, 0x480c26
mov ecx, 0x55
call fcn.004072fc
push 0x480c0c
call sub.kernel32.dll_LeaveCriticalSection
jmp 0x40977a
push 0x480c0c
call sub.kernel32.dll_LeaveCriticalSection
mov eax, esi
call fcn.00406be4
push 2
movzx eax, bx
push eax
call sub.kernel32.dll_IsValidLocale
test eax, eax
je 0x409747
cmp byte [0x480c08], 0
je 0x40970c
mov edx, esi
mov eax, ebx
call fcn.00409570
jmp 0x409747
mov edx, esi
mov eax, ebx
call fcn.00409374
call sub.kernel32.dll_GetSystemDefaultUILanguage
cmp bx, ax
je 0x409747
cmp dword [esi], 0
je 0x409730
mov eax, esi
mov edx, 0x4097a8
call fcn.004073d4
call sub.kernel32.dll_GetSystemDefaultUILanguage
lea edx, [ebp - 4]
call fcn.00409374
mov edx, dword [ebp - 4]
mov eax, esi
call fcn.004073d4
push 0x480c0c
call sub.kernel32.dll_EnterCriticalSection
mov word [0x480c24], bx
mov eax, dword [esi]
call fcn.0040726c
mov ecx, eax
mov eax, 0x480c26
mov edx, 0xaa
call fcn.004091f4
push 0x480c0c
call sub.kernel32.dll_LeaveCriticalSection
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x409797
lea eax, [ebp - 4]
call fcn.00406be4
ret
Function at 0x4099c0
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.00406cc8
xor eax, eax
push ebp
push 0x409be5
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [ebp - 4], 0
jne 0x409a00
push 0x105
lea eax, [ebp - 0x21a]
push eax
push 0
call sub.kernel32.dll_GetModuleFileNameW
jmp 0x409a1a
mov eax, dword [ebp - 4]
call fcn.0040726c
mov ecx, eax
lea eax, [ebp - 0x21a]
mov edx, 0x105
call fcn.004091f4
cmp word [ebp - 0x21a], 0
je 0x409bcf
xor eax, eax
mov dword [ebp - 8], eax
lea eax, [ebp - 0xc]
push eax
push 0xf0019
push 0
push 0x409bf4
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExW
test eax, eax
je 0x409ae9
lea eax, [ebp - 0xc]
push eax
push 0xf0019
push 0
push 0x409bf4
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExW
test eax, eax
je 0x409ae9
lea eax, [ebp - 0xc]
push eax
push 0xf0019
push 0
push 0x409c30
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExW
test eax, eax
je 0x409ae9
lea eax, [ebp - 0xc]
push eax
push 0xf0019
push 0
push 0x409c30
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExW
test eax, eax
je 0x409ae9
lea eax, [ebp - 0xc]
push eax
push 0xf0019
push 0
push 0x409c64
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExW
test eax, eax
je 0x409ae9
lea eax, [ebp - 0xc]
push eax
push 0xf0019
push 0
push 0x409c98
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExW
test eax, eax
jne 0x409bcf
xor eax, eax
push ebp
push 0x409bc8
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x21a]
mov edx, 0x105
call fcn.004097d0
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 0x409b58
mov eax, dword [ebp - 0x10]
call fcn.004044e0
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.004072c0
jmp 0x409ba3
lea eax, [ebp - 0x10]
push eax
push 0
push 0
push 0
push 0x409cd8
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExW
test eax, eax
jne 0x409ba3
mov eax, dword [ebp - 0x10]
call fcn.004044e0
mov dword [ebp - 8], eax
lea eax, [ebp - 0x10]
push eax
mov eax, dword [ebp - 8]
push eax
push 0
push 0
push 0x409cd8
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExW
mov eax, ebx
mov edx, dword [ebp - 8]
call fcn.004072c0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x409bcf
cmp dword [ebp - 8], 0
je 0x409bbe
mov eax, dword [ebp - 8]
call fcn.004044fc
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 0x409bec
lea eax, [ebp - 4]
call fcn.00406be4
ret
Function at 0x409eec
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.00406cc8
xor eax, eax
push ebp
push 0x409fac
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.004072fc
mov ecx, dword [ebp - 0x10]
mov eax, ebx
mov edx, dword [ebp - 4]
call fcn.0040742c
mov eax, dword [ebx]
call fcn.00409d9c
test al, al
jne 0x409f89
mov word [ebp - 8], 0
lea eax, [ebp - 0x14]
lea edx, [ebp - 0xc]
mov ecx, 4
call fcn.004072fc
mov ecx, dword [ebp - 0x14]
mov eax, ebx
mov edx, dword [ebp - 4]
call fcn.0040742c
mov eax, dword [ebx]
call fcn.00409d9c
test al, al
jne 0x409f89
mov eax, ebx
call fcn.00406be4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x409fb3
lea eax, [ebp - 0x14]
mov edx, 2
call fcn.00406c44
lea eax, [ebp - 4]
call fcn.00406be4
ret

Function at 0x40ba44
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 0x415970
Capabilities:
Encrypt data using rc4 prga

Disassembly:
cmp eax, edx
je 0x4159c9
test eax, edx
je 0x4159cc
movzx ecx, word [edx]
cmp cx, word [eax]
je 0x415987
movzx eax, word [eax]
sub eax, ecx
jmp 0x4159ae
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 0x4159af
add ecx, 4
js 0x41599f
pop eax
pop ebx
ret
bsf ebx, ebx
shr ebx, 4
add ebx, ebx
add ecx, ebx
jns 0x4159ac
movzx eax, word [ecx + eax]
movzx edx, word [ecx + edx]
sub eax, edx
pop ebx
pop ebx
jmp 0x4159ae
xor eax, eax
ret
test eax, eax
je 0x4159d8
test edx, edx
jne 0x415978
mov eax, dword [eax - 4]
ret
sub eax, dword [edx - 4]
ret

Function at 0x416594
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.0040726c
mov edi, eax
push edi
call sub.kernel32.dll_GetFileAttributesW
cmp eax, 0xffffffff
je 0x4165fe
test ah, 4
je 0x4165f7
test bl, bl
jne 0x4165bc
mov al, 1
jmp 0x416625
test al, 0x10
je 0x4165c4
xor eax, eax
jmp 0x416625
push 0
push 0
push 3
push 0
push 1
push 0x80000000
push edi
call sub.kernel32.dll_CreateFileW
cmp eax, 0xffffffff
je 0x4165e8
push eax
call sub.kernel32.dll_CloseHandle
mov al, 1
jmp 0x416625
call sub.kernel32.dll_GetLastError
mov ebx, eax
cmp ebx, 0x20
sete al
jmp 0x416625
test al, 0x10
sete al
jmp 0x416625
call sub.kernel32.dll_GetLastError
mov ebx, eax
cmp ebx, 2
je 0x41661f
cmp ebx, 3
je 0x41661f
cmp ebx, 0x7b
je 0x41661f
mov eax, esi
call fcn.00416554
test al, al
jne 0x416623
xor eax, eax
jmp 0x416625
mov al, 1
pop edi
pop esi
pop ebx
ret
Function at 0x4180b4
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
test eax, eax
jle 0x4180ed
mov ecx, eax
dec ecx
lea edx, [ebp - 0x200]
mov eax, ebx
call fcn.00406d30
jmp 0x4180f6
mov eax, ebx
mov edx, esi
call fcn.00406eac
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x418100
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
test eax, eax
jle 0x418122
movzx eax, word [esp]
jmp 0x418124
mov eax, edi
pop edx
pop edi
pop esi
pop ebx
ret

Function at 0x41940c
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 0x419531
push dword fs:[ecx]
mov dword fs:[ecx], esp
push 0x400
lea ecx, [ebp - 0x888]
call fcn.00419214
mov esi, eax
mov eax, dword [0x47d458]
cmp byte [eax], 0
je 0x4194d9
mov eax, dword [0x47d360]
call fcn.00404a54
call fcn.00404634
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
mov ebx, eax
push ebx
lea eax, [ebp - 4]
mov ecx, 1
mov edx, dword [0x4193dc]
call fcn.00408cac
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
push 0
lea eax, [ebp - 8]
push eax
push ebx
mov eax, dword [ebp - 4]
push eax
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
push 0
lea eax, [ebp - 8]
push eax
push 2
push 0x41954c
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
jmp 0x419515
push 0x40
lea eax, [ebp - 0x88]
push eax
mov eax, dword [0x47d338]
mov eax, dword [eax + 4]
push eax
mov eax, dword [0x48162c]
call fcn.00408e98
push eax
call sub.user32.dll_LoadStringW
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 0x419538
lea eax, [ebp - 4]
mov edx, dword [0x4193dc]
call fcn.00408dd0
ret
Function at 0x41a720
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 0x41a820
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 5], 0
lea eax, [ebp - 4]
mov edx, ebx
call fcn.00406ef4
lea eax, [ebp - 4]
call fcn.0040705c
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
call fcn.0040726c
push eax
call sub.version.dll_GetFileVersionInfoSizeW
mov ebx, eax
test ebx, ebx
je 0x41a80a
mov eax, ebx
call fcn.004044e0
mov dword [ebp - 0x10], eax
xor edx, edx
push ebp
push 0x41a803
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.0040726c
push eax
call sub.version.dll_GetFileVersionInfoW
test eax, eax
je 0x41a7ed
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x41a834
mov eax, dword [ebp - 0x10]
push eax
call sub.version.dll_VerQueryValueW
test eax, eax
je 0x41a7ed
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 0x41a80a
mov eax, dword [ebp - 0x10]
call fcn.004044fc
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x41a827
lea eax, [ebp - 4]
call fcn.00406be4
ret

Function at 0x41b8e0
Capabilities:
Get geographical location

Disassembly:
push ebx
add esp, 0xfffff800
mov ebx, ecx
mov word [esp], 0
push 0x400
lea ecx, [esp + 4]
push ecx
push edx
push eax
call sub.kernel32.dll_GetLocaleInfoW
mov eax, ebx
mov edx, esp
mov ecx, 0x400
call fcn.004072fc
add esp, 0x800
pop ebx
ret

Function at 0x41e580
Capabilities:
Hash data with md5

Disassembly:
push ebx
mov ebx, eax
mov eax, ebx
xor ecx, ecx
mov edx, 0x58
call fcn.00404ab8
mov dword [ebx], 0x67452301
mov dword [ebx + 4], 0xefcdab89
mov dword [ebx + 8], 0x98badcfe
mov dword [ebx + 0xc], 0x10325476
pop ebx
ret
Function at 0x4211a0
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 0x421244
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.00420e70
mov esi, eax
mov ebp, dword [esi + 0x18]
dec ebp
test ebp, ebp
jb 0x421244
inc ebp
xor edi, edi
mov edx, dword [esi + 0x20]
mov eax, ebx
call fcn.00420e70
mov eax, dword [eax + edi*4]
mov dword [esp + 8], eax
mov edx, dword [esp + 8]
mov eax, ebx
call fcn.00420e70
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 0x421240
mov edx, dword [esi + 0x24]
mov eax, ebx
call fcn.00420e70
movzx eax, word [eax + edi*2]
mov word [esp + 0x10], ax
mov edx, dword [esi + 0x1c]
mov eax, ebx
call fcn.00420e70
movzx edx, word [esp + 0x10]
mov eax, dword [eax + edx*4]
mov edx, eax
mov eax, ebx
call fcn.00420e70
mov dword [esp + 4], eax
inc edi
dec ebp
jne 0x4211dc
mov eax, dword [esp + 4]
add esp, 0x14
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x421488
Capabilities:
Read file via mapping

Disassembly:
push ebx
push esi
push edi
push 0
push 0
push 0
push 2
push 0
mov eax, dword [eax + 4]
push eax
call sub.kernel32.dll_CreateFileMappingW
mov edi, eax
cmp edi, 0xffffffff
jne 0x4214aa
call fcn.0041b6d4
push 0
push 0
push 0
push 4
push edi
call sub.kernel32.dll_MapViewOfFile
mov ebx, eax
test ebx, ebx
jne 0x4214c3
call fcn.0041b6d4
xor esi, esi
mov eax, dword [ebx + 0x3c]
add eax, 4
add ebx, eax
movzx eax, word [ebx + 2]
add ebx, 0xf4
mov edx, eax
test edx, edx
jle 0x4214f5
mov eax, ebx
mov ecx, dword [eax + 0x14]
add ecx, dword [eax + 0x10]
cmp esi, ecx
jae 0x4214ef
mov esi, dword [eax + 0x14]
add esi, dword [eax + 0x10]
add ebx, 0x28
dec edx
jne 0x4214dd
test ebx, ebx
je 0x4214ff
push ebx
call sub.kernel32.dll_UnmapViewOfFile
test edi, edi
je 0x421509
push edi
call sub.kernel32.dll_CloseHandle
mov eax, esi
pop edi
pop esi
pop ebx
ret