joyce8/EMBER2024-capa huggingface dataset:
Function at 0x41c518
Capabilities:
Get geographical location

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x21c
mov dword [esp + 0x18], edx
mov esi, ecx
mov eax, dword [esi + 4]
lea ebp, [esp + 0x1c]
mov dword [esp + 8], ebp
mov dword [esp], eax
mov dword [esp + 0xc], pe_nt_image_headers32
mov dword [esp + 4], 0x1001
call sub.KERNEL32.DLL_GetLocaleInfoA
sub esp, 0x10
mov dword [esp], ebp
call fcn.004178c4
mov word [esp + eax + 0x1c], 0x5f
mov edi, dword [esi + 4]
mov dword [esp], ebp
call fcn.004178c4
lea ecx, [esp + eax + 0x1c]
mov edx, pe_nt_image_headers32
sub edx, eax
mov dword [esp + 0xc], edx
mov dword [esp + 8], ecx
mov dword [esp], edi
mov dword [esp + 4], 0x1002
call sub.KERNEL32.DLL_GetLocaleInfoA
sub esp, 0x10
mov dword [esp], ebp
call fcn.004178c4
mov word [esp + eax + 0x1c], 0x2e
mov edi, dword [esi]
mov dword [esp], ebp
call fcn.004178c4
lea eax, [esp + eax + 0x1c]
mov dword [esp + 4], eax
mov dword [esp], edi
mov dword [esp + 8], 0xa
call fcn.0041f918
mov edi, dword [esi + 0x24]
test edi, edi
je 0x41c60c
mov dword [esp], edi
call fcn.004178c4
mov ebx, eax
mov eax, dword [esp + 0x18]
mov dword [esp], eax
call fcn.004178c4
mov ecx, ebp
mov ebp, eax
mov dword [esp], ecx
call fcn.004178c4
add ebp, ebx
lea eax, [eax + ebp + 3]
lea ebp, [esp + 0x1c]
mov dword [esp + 4], eax
mov dword [esp], edi
call fcn.00414ca4
mov ebx, eax
mov dword [esi + 0x24], ebx
test ebx, ebx
jne 0x41c661
jmp 0x41c6a9
mov eax, dword [esp + 0x18]
mov dword [esp], eax
call fcn.004178c4
mov ebx, eax
mov edi, ebp
mov dword [esp], ebp
call fcn.004178c4
mov ebp, eax
lea eax, [ebx + ebp + 3]
mov dword [esp], eax
call fcn.00414c8c
mov ebx, eax
mov dword [esi + 0x24], ebx
test ebx, ebx
je 0x41c6a9
mov eax, dword [esp + 0x18]
mov dword [esp], eax
call fcn.004178c4
lea eax, [eax + ebp + 3]
mov dword [esp + 8], eax
mov dword [esp], ebx
mov dword [esp + 4], 0
call fcn.0041775f
mov ebp, edi
mov eax, dword [esp + 0x18]
mov dword [esp + 4], eax
mov dword [esp], ebx
call fcn.00417778
mov edi, dword [esi + 0x24]
mov dword [esp], edi
call fcn.004178c4
mov word [edi + eax], 0x3d
mov eax, dword [esi + 0x24]
mov dword [esp + 4], ebp
mov dword [esp], eax
call fcn.00417778
mov esi, dword [esi + 0x24]
mov dword [esp], esi
call fcn.004178c4
mov word [esi + eax], 0xa
mov eax, 1
jmp 0x41c6ab
xor eax, eax
add esp, 0x21c
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x41e134
Capabilities:
Get geographical location

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0xc
mov edi, dword [esp + 0x24]
mov ebp, dword [esp + 0x20]
push 0
push dword [edi + 4]
push 0xe
push ebp
call sub.KERNEL32.DLL_GetLocaleInfoA
mov esi, eax
inc esi
sub esp, 0xc
push esi
call fcn.00414c8c
add esp, 0x10
mov dword [edi + 4], eax
push esi
push eax
push 0xe
push ebp
call sub.KERNEL32.DLL_GetLocaleInfoA
xor ebx, ebx
test eax, eax
setne bl
push 0
push dword [edi]
push 0xf
push ebp
call sub.KERNEL32.DLL_GetLocaleInfoA
mov esi, eax
inc esi
sub esp, 0xc
push esi
call fcn.00414c8c
add esp, 0x10
mov dword [edi], eax
test edi, edi
je 0x41e1a7
push esi
push eax
push 0xf
push ebp
call sub.KERNEL32.DLL_GetLocaleInfoA
xor ecx, ecx
test eax, eax
setne cl
jmp 0x41e1b6
sub esp, 0xc
push 0xe
call sub.KERNEL32.DLL_SetLastError
add esp, 0xc
xor ecx, ecx
and ecx, ebx
mov dword [esp + 8], ecx
push 0
push dword [edi + 8]
push 0x10
push ebp
call sub.KERNEL32.DLL_GetLocaleInfoA
mov esi, eax
inc esi
sub esp, 0xc
push esi
call fcn.00414c8c
add esp, 0x10
mov dword [edi + 8], eax
push esi
push eax
push 0x10
push ebp
call sub.KERNEL32.DLL_GetLocaleInfoA
xor ebx, ebx
test eax, eax
setne bl
push 0
push dword [edi + 0xc]
push 0x50
push ebp
call sub.KERNEL32.DLL_GetLocaleInfoA
mov esi, eax
inc esi
sub esp, 0xc
push esi
call fcn.00414c8c
add esp, 0x10
mov dword [edi + 0xc], eax
push esi
push eax
push 0x50
push ebp
call sub.KERNEL32.DLL_GetLocaleInfoA
xor ecx, ecx
test eax, eax
setne cl
and ecx, ebx
mov ebx, ebp
mov ebp, ecx
push 0
push dword [edi + 0x10]
push 0x51
push ebx
call sub.KERNEL32.DLL_GetLocaleInfoA
mov esi, eax
inc esi
sub esp, 0xc
push esi
call fcn.00414c8c
add esp, 0x10
mov dword [edi + 0x10], eax
push esi
push eax
push 0x51
push ebx
call sub.KERNEL32.DLL_GetLocaleInfoA
xor ebx, ebx
test eax, eax
setne bl
and ebx, ebp
and ebx, dword [esp + 8]
sub esp, 0xc
push 4
call fcn.00414c8c
add esp, 0x10
mov esi, eax
test esi, esi
je 0x41e2a0
push 4
push esi
push 0x11
push dword [esp + 0x2c]
call sub.KERNEL32.DLL_GetLocaleInfoA
sub esp, 0xc
test eax, eax
je 0x41e2af
push esi
call fcn.0041f2f0
add esp, 0x10
mov word [edi + 0x14], ax
sub esp, 0xc
push esi
call fcn.00414c9c
add esp, 0x10
mov eax, 1
jmp 0x41e2ba
sub esp, 0xc
push 0xe
call sub.KERNEL32.DLL_SetLastError
add esp, 0xc
jmp 0x41e2b8
push esi
call fcn.00414c9c
add esp, 0x10
xor eax, eax
and ebx, eax
mov eax, ebx
add esp, 0xc
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x421dd8
Capabilities:
Write file on windows

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x20
push 0
push 0x80
push 2
push 0
push 0
push 0xc0000000
push dword [esp + 0x4c]
call sub.KERNEL32.DLL_CreateFileA
add esp, 4
mov edi, eax
test edi, edi
je 0x421e9e
sub esp, 0xc
lea eax, [esp + 0x14]
push eax
call sub.KERNEL32.DLL_GetLocalTime
add esp, 0xc
movzx eax, word [esp + 0xa]
mov dword [esp + 0x18], eax
movzx ecx, word [esp + 0xe]
movzx edx, word [esp + 8]
movzx ebp, word [esp + 0x10]
movzx eax, word [esp + 0x12]
movzx esi, word [esp + 0x14]
movzx ebx, word [esp + 0x16]
sub esp, 0xc
push ebx
push esi
push eax
push ebp
push edx
push ecx
push dword [esp + 0x3c]
push str._02d__02d__04d__02d:_02d:_02d._03d
push 0x431a04
call sub.USER32.DLL_wsprintfA
add esp, 0x24
push 0x431a04
call fcn.004178c4
add esp, 4
push 0
lea ebx, [esp + 0x18]
push ebx
push eax
push 0x431a04
push edi
call sub.KERNEL32.DLL_WriteFile
mov esi, dword [esp + 0x40]
push esi
call fcn.004178c4
add esp, 4
push 0
push ebx
push eax
push esi
push edi
call sub.KERNEL32.DLL_WriteFile
push edi
call sub.KERNEL32.DLL_CloseHandle
add esp, 0xc
add esp, 0x1c
pop esi
pop edi
pop ebx
pop ebp
ret

Function at 0x421ed0
Capabilities:
Write file on windows

Disassembly:
push ebx
push edi
push esi
sub esp, 0x90
mov edi, dword [esp + 0xa0]
mov eax, dword [0x431a24]
test eax, eax
mov ecx, dword [0x431a20]
jne 0x421f94
test ecx, ecx
jne 0x421f94
cmp dword [0x42b054], 0
je 0x421fca
sub esp, 4
lea esi, [esp + 0x14]
push 0x80
push esi
push 0
call sub.KERNEL32.DLL_GetModuleFileNameA
sub esp, 4
push 0x5c
push esi
call fcn.0042176c
add esp, 0x10
test eax, eax
jne 0x421f40
sub esp, 8
push 0x3a
push esi
call fcn.0042176c
add esp, 0x10
test eax, eax
je 0x421f43
inc eax
mov esi, eax
mov dword [esp + 0xc], 0
call sub.KERNEL32.DLL_GetVersion
mov ecx, 0x12010
test eax, eax
jns 0x421f85
call sub.KERNEL32.DLL_GetCurrentThreadId
sub esp, 4
lea ecx, [esp + 0x10]
push ecx
push 0x422060
push eax
call sub.USER32.DLL_EnumThreadWindows
add esp, 4
cmp dword [esp + 0xc], 0
mov ecx, 0x11010
je 0x421f85
mov ecx, 0x12010
push ecx
push esi
push edi
push 0
call sub.USER32.DLL_MessageBoxA
jmp 0x422017
cmp ecx, 0xffffffff
je 0x422017
test ecx, ecx
je 0x421fab
sub esp, 0xc
push edi
call ecx
add esp, 0x10
mov eax, dword [0x431a24]
lea ecx, [eax + 1]
cmp ecx, 2
jb 0x422017
cmp byte [eax], 0
je 0x422017
sub esp, 8
push edi
push eax
call fcn.00421dd8
add esp, 0xa0
jmp 0x42201d
sub esp, 0xc
push 0xfffffffffffffff4
call sub.KERNEL32.DLL_GetStdHandle
add esp, 0xc
mov esi, eax
sub esp, 0xc
lea ebx, [esp + 0x1c]
push 0
push ebx
push 2
push 0x42aecc
push esi
call sub.KERNEL32.DLL_WriteFile
push edi
call fcn.004178c4
add esp, 4
push 0
push ebx
push eax
push edi
push esi
call sub.KERNEL32.DLL_WriteFile
push 0
push ebx
push 2
push 0x42aecc
push esi
call sub.KERNEL32.DLL_WriteFile
add esp, 0xc
add esp, 0x90
pop esi
pop edi
pop ebx
ret
Function at 0x422e08
Capabilities:
Query environment variable

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0xc
mov eax, dword [0x435a44]
test eax, eax
je 0x422e3d
mov ecx, dword [eax]
test ecx, ecx
je 0x422ea0
add eax, 4
xor edi, edi
nop
cmp byte [ecx], 1
sbb edi, 0
inc edi
mov ecx, dword [eax]
add eax, 4
test ecx, ecx
jne 0x422e28
jmp 0x422ecc
mov esi, dword [0x435a7c]
test esi, esi
jne 0x422e6a
call sub.KERNEL32.DLL_GetEnvironmentStrings
mov esi, eax
mov dword [0x435a7c], esi
test esi, esi
jne 0x422e6a
mov dword [esp], str.GetEnvironmentStrings_failed
call fcn.00422040
mov esi, dword [0x435a7c]
mov dword [esp], esi
call fcn.004178c4
test eax, eax
je 0x422ea4
xor ebx, ebx
xor edi, edi
mov ebp, esi
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
lea ebx, [eax + ebx + 1]
inc edi
lea ebp, [ebp + eax + 1]
mov dword [esp], ebp
call fcn.004178c4
test eax, eax
jne 0x422e88
inc ebx
jmp 0x422eab
xor edi, edi
jmp 0x422ecc
mov ebx, 1
xor edi, edi
mov dword [esp], ebx
call fcn.00414c8c
mov dword [0x435a40], eax
test eax, eax
je 0x422f25
mov dword [esp + 8], ebx
mov dword [esp + 4], esi
mov dword [esp], eax
call fcn.00417594
lea eax, [edi + 4]
mov dword [0x435a48], eax
add edi, 5
mov dword [esp], edi
mov dword [esp + 4], 4
call fcn.00414c70
mov esi, eax
test esi, esi
je 0x422f25
mov edi, dword [0x435a44]
test edi, edi
je 0x422f29
mov edx, dword [edi]
test edx, edx
je 0x422f62
lea eax, [edi + 4]
xor ecx, ecx
nop
nop
nop
nop
nop
nop
cmp byte [edx], 0
je 0x422f18
mov edx, dword [eax - 4]
mov dword [esi + ecx*4], edx
jmp 0x422f19
dec ecx
inc ecx
mov edx, dword [eax]
add eax, 4
test edx, edx
jne 0x422f08
jmp 0x422f5e
xor eax, eax
jmp 0x422f75
mov ebx, dword [0x435a40]
mov dword [esp], ebx
call fcn.004178c4
test eax, eax
je 0x422f6a
mov ebp, esi
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov dword [ebp], ebx
lea ebx, [ebx + eax + 1]
mov dword [esp], ebx
call fcn.004178c4
add ebp, 4
test eax, eax
jne 0x422f48
test edi, edi
je 0x422f6a
mov dword [esp], edi
call fcn.00414c9c
mov dword [0x435a44], esi
mov eax, 1
add esp, 0xc
pop esi
pop edi
pop ebx
pop ebp
ret

Function at 0x423638
Capabilities:
Query environment variable

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0xc
mov ebp, dword [esp + 0x30]
mov ebx, dword [esp + 0x2c]
mov edi, dword [esp + 0x28]
mov esi, dword [esp + 0x20]
mov dword [esp + 4], 1
mov dword [esp + 8], esi
cmp ebx, 1
jne 0x423699
mov eax, dword [0x435ac0]
lea ecx, [eax + 1]
mov dword [0x435ac0], ecx
test eax, eax
jne 0x423699
call sub.KERNEL32.DLL_GetEnvironmentStringsW
mov dword [0x435a80], eax
sub esp, 0xc
push dword [esi + 0x44]
call fcn.00418654
add esp, 8
lea eax, [esp + 0xc]
push 0
push eax
call fcn.00423400
add esp, 0x10
push ebp
push ebx
push edi
push dword [esi + 0x18]
call fcn.00423c60
mov esi, eax
test ebx, ebx
jne 0x4236ec
dec dword [0x435ac0]
jne 0x4236ec
sub esp, 0xc
push edi
call fcn.00422260
add esp, 8
lea eax, [esp + 0xc]
push 1
push eax
call fcn.00423400
add esp, 0x10
mov eax, dword [0x435a80]
test eax, eax
je 0x4236ec
sub esp, 0xc
push eax
call sub.KERNEL32.DLL_FreeEnvironmentStringsW
add esp, 0xc
mov dword [0x435a80], 0
mov eax, esi
add esp, 0xc
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x423ac4
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push edi
push esi
sub esp, 0x64
mov esi, dword [esp + 0x70]
mov dword [esp], 0x435ad0
call sub.KERNEL32.DLL_EnterCriticalSection
sub esp, 4
mov eax, dword [0x438f80]
cmp eax, 0x232
jl 0x423b2e
mov eax, dword [esp + 0x74]
mov byte [esp + 0x24], 0
mov dword [esp + 0x20], 0x20726f72
mov dword [esp + 0x1c], 0x72652065
mov dword [esp + 0x18], 0x726f6870
mov dword [esp + 0x14], 0x616d6553
mov dword [esp + 4], eax
lea edi, [esp + 0x14]
mov dword [esp], edi
call fcn.00417778
mov dword [esp], edi
call fcn.00422040
mov eax, dword [0x438f80]
lea eax, [eax + eax*2]
lea eax, [eax*8 + 0x435ad0]
mov dword [esp], eax
call sub.KERNEL32.DLL_InitializeCriticalSection
sub esp, 4
mov eax, dword [0x438f80]
lea ecx, [eax + 1]
mov dword [0x438f80], ecx
lea eax, [eax + eax*2]
lea eax, [eax*8 + 0x435ad0]
mov dword [esi], eax
mov dword [esp], 0x435ad0
call sub.KERNEL32.DLL_LeaveCriticalSection
add esp, 0x60
pop esi
pop edi
ret

Function at 0x423b74
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push esi
sub esp, 0x58
mov eax, dword [esp + 0x60]
mov byte [esp + 0x18], 0
mov dword [esp + 0x14], 0x20726f72
mov dword [esp + 0x10], 0x72652065
mov dword [esp + 0xc], 0x726f6870
mov dword [esp + 8], 0x616d6553
mov dword [esp + 4], eax
lea esi, [esp + 8]
mov dword [esp], esi
call fcn.00417778
mov dword [esp], esi
call fcn.00422040
add esp, 0x58
pop esi
ret
Function at 0x4010ff
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push edi
push str.CreateFileA
push dword [0x40875c]
call esi
push str.WriteFile
push dword [0x40875c]
call esi
xor edi, edi
mov esi, eax
push edi
push edi
push 2
push edi
push 1
push 0x40000000
push dword [ebp + 8]
mov dword [ebp - 4], edi
call dword [sym.imp.KERNEL32.dll_CreateFileA]
cmp eax, 0xffffffff
mov dword [ebp + 8], eax
je 0x40128a
cmp dword [ebp + 0x14], 1
jne 0x401174
lea ecx, [ebp - 4]
push edi
push ecx
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push eax
call esi
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 1
pop eax
pop edi
pop esi
pop ebx
leave
ret
mov ebx, dword [ebp + 0x10]
xor ecx, ecx
cmp ebx, edi
jle 0x40119d
mov eax, ecx
push 2
cdq
pop esi
idiv esi
mov eax, dword [ebp + 0xc]
test edx, edx
je 0x401193
add eax, ecx
add byte [eax], 0xf5
jmp 0x401198
add eax, ecx
add byte [eax], 0x2e
inc ecx
cmp ecx, ebx
jl 0x40117d
push edi
push ebx
push str.o_8_
push dword [ebp + 0xc]
call fcn.00401051
add esp, 0x10
cmp eax, 0xffffffff
mov dword [ebp - 8], eax
push edi
jne 0x4011ce
push 0x408768
push 0x406084
push edi
call dword [sym.imp.USER32.dll_MessageBoxA]
jmp 0x40128a
lea ecx, [ebp - 4]
mov esi, dword [sym.imp.KERNEL32.dll_WriteFile]
push ecx
push eax
push dword [ebp + 0xc]
push dword [ebp + 8]
call esi
test eax, eax
jne 0x4011f2
push edi
push 0x408768
push 0x406064
jmp 0x4011c2
push 0x1e00000
call fcn.0040186a
pop ecx
mov dword [ebp + 0x14], eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, eax
and ecx, 0x3ff
add ecx, 0x400
cmp ecx, 0x2000
jae 0x401251
lea edi, [ecx + 3]
mov eax, ecx
xor edx, edx
mov ebx, 0xff
add ecx, 0x20
div ebx
mov eax, dword [ebp + 0x14]
mov byte [eax + edi - 3], dl
mov eax, edi
xor edx, edx
add edi, 0x20
div ebx
mov eax, dword [ebp + 0x14]
cmp edi, 0x2003
mov byte [eax + ecx - 0x1b], dl
jb 0x40121f
mov ebx, dword [ebp + 0x10]
xor edi, edi
lea eax, [ebp - 4]
push edi
push eax
push 0x1e00000
push dword [ebp + 0x14]
push dword [ebp + 8]
call esi
test eax, eax
je 0x40128a
mov ecx, dword [ebp + 0xc]
lea eax, [ebp - 4]
push edi
push eax
mov eax, dword [ebp - 8]
sub ebx, eax
sub ebx, 4
lea eax, [eax + ecx + 4]
push ebx
push eax
push dword [ebp + 8]
call esi
test eax, eax
jne 0x401163
xor eax, eax
jmp 0x40116f
Function at 0x403320
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
movzx eax, word [0x467020]
mov dword [ebp - 8], eax
lea eax, [ebp - 4]
push eax
push 1
push 0
push 0x4033b8
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
jne 0x403398
xor eax, eax
push ebp
push 0x403391
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0xc], 4
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
push 0
push 0
push 0x4033d4
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegQueryValueExA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x403398
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegCloseKey
ret
mov ax, word [0x467020]
and ax, 0xffc0
mov dx, word [ebp - 8]
and dx, 0x3f
or ax, dx
mov word [0x467020], ax
mov esp, ebp
pop ebp
ret

Function at 0x4040b4
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp byte [0x469048], 0
je 0x404115
cmp word [0x46921c], 0xd7b2
jne 0x4040dd
cmp dword [0x469224], 0
jbe 0x4040dd
mov eax, 0x469218
call dword [0x469234]
push 0
lea eax, [esp + 4]
push eax
push 0x1e
push 0x46706c
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 0x40413c
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
pop edx
ret
cmp byte [0x467030], 0
jne 0x404131
push 0
push 0x467064
push 0x46706c
push 0
call sub.user32.dll_MessageBoxA
pop edx
ret

Function at 0x404270
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov ebx, eax
mov eax, 8
call fcn.00402a38
mov dword [eax], edi
mov edx, dword [ebp + 0x10]
mov dword [eax + 4], edx
mov byte [0x469049], 1
mov edx, dword [ebp + 8]
push edx
mov edx, dword [ebp + 0xc]
push edx
push eax
mov eax, 0x404238
push eax
push esi
push ebx
call sub.kernel32.dll_CreateThread
pop edi
pop esi
pop ebx
pop ebp
ret 0xc
Function at 0x406160
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
xor edx, edx
mov dword [ebp - 0x10], edx
xor edx, edx
push ebp
push 0x4061c6
push dword fs:[edx]
mov dword fs:[edx], esp
push 7
lea edx, [ebp - 0xb]
push edx
push 0x1004
push eax
call sub.kernel32.dll_GetLocaleInfoA
lea eax, [ebp - 0x10]
lea edx, [ebp - 0xb]
mov ecx, 7
call fcn.0040452c
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 4]
call fcn.00402ee4
mov ebx, eax
cmp dword [ebp - 4], 0
je 0x4061b0
xor ebx, ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4061cd
lea eax, [ebp - 0x10]
call fcn.004042bc
ret

Function at 0x40b6d0
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff00
push ebx
push esi
mov esi, ecx
mov ebx, dword [ebp + 8]
push pe_nt_image_headers32
lea ecx, [ebp - 0x100]
push ecx
push edx
push eax
call sub.kernel32.dll_GetLocaleInfoA_1
test eax, eax
jle 0x40b709
mov ecx, eax
dec ecx
lea edx, [ebp - 0x100]
mov eax, ebx
call fcn.004043ac
jmp 0x40b712
mov eax, ebx
mov edx, esi
call fcn.00404310
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x40b71c
Capabilities:
Get geographical location

Disassembly:
push ebx
push esi
push edi
push ecx
mov ebx, ecx
mov esi, edx
mov edi, eax
push 2
lea eax, [esp + 4]
push eax
push esi
push edi
call sub.kernel32.dll_GetLocaleInfoA_1
test eax, eax
jle 0x40b73d
mov al, byte [esp]
jmp 0x40b73f
mov eax, ebx
pop edx
pop edi
pop esi
pop ebx
ret

Function at 0x40bdd4
Capabilities:
Write file on windows

Disassembly:
add esp, 0xfffffbbc
push 0x400
lea ecx, [esp + 0x48]
call 0x40bc3c
mov eax, dword [0x4688bc]
cmp byte [eax], 0
je 0x40be50
mov eax, dword [0x4685e8]
call fcn.00402d50
call fcn.00402bc4
lea eax, [esp + 0x44]
push eax
lea eax, [esp + 0x48]
push eax
call sub.user32.dll_CharToOemA
push 0
lea eax, [esp + 4]
push eax
lea eax, [esp + 0x4c]
call fcn.00408e20
push eax
lea eax, [esp + 0x50]
push eax
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
push 0
lea eax, [esp + 4]
push eax
push 2
push 0x40be98
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
jmp 0x40be86
push 0x40
lea eax, [esp + 8]
push eax
mov eax, dword [0x46857c]
mov eax, dword [eax + 4]
push eax
mov eax, dword [0x469664]
call fcn.004055cc
push eax
call sub.user32.dll_LoadStringA_1
push 0x2010
lea eax, [esp + 8]
push eax
lea eax, [esp + 0x4c]
push eax
push 0
call sub.user32.dll_MessageBoxA_1
add esp, 0x444
ret
Function at 0x40c6f4
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
xor edx, edx
mov dword [ebp - 8], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x40c7ca
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 4], 0xffffffff
lea eax, [ebp - 8]
mov edx, ebx
call fcn.00404354
lea eax, [ebp - 8]
call fcn.004047cc
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 8]
call fcn.0040477c
push eax
call sub.version.dll_GetFileVersionInfoSizeA
mov ebx, eax
test ebx, ebx
je 0x40c7b4
mov eax, ebx
call fcn.00402a38
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x40c7ad
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 - 8]
call fcn.0040477c
push eax
call sub.version.dll_GetFileVersionInfoA
test eax, eax
je 0x40c797
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x40c7dc
mov eax, dword [ebp - 0x10]
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x40c797
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 8]
mov dword [ebp - 4], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40c7b4
mov eax, dword [ebp - 0x10]
call fcn.00402a68
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40c7d1
lea eax, [ebp - 8]
call fcn.004042bc
ret

Function at 0x40cdf0
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
xor edx, edx
mov dword [ebp - 0xc], edx
xor edx, edx
push ebp
push 0x40ce54
push dword fs:[edx]
mov dword fs:[edx], esp
push 7
lea edx, [ebp - 7]
push edx
push 0x1004
push eax
call sub.kernel32.dll_GetLocaleInfoA_1
lea eax, [ebp - 0xc]
lea edx, [ebp - 7]
mov ecx, 7
call fcn.0040452c
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_GetACP
mov edx, eax
pop eax
call fcn.004088a8
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40ce5b
lea eax, [ebp - 0xc]
call fcn.004042bc
ret

Function at 0x41b168
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]
mov al, byte [eax + 0xe]
mov byte [ebp - 5], al
xor eax, eax
push ebp
push 0x41b1b5
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.0041af94
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x41b1cd
pop edi
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret

Function at 0x41b1d4
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.0041af94
dec esi
jne 0x41b1f6
mov byte [ebx + 0xe], 0
pop esi
pop ebx
ret