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

Disassembly:
push 0x18
push 0x41a9e0
call fcn.0040b068
xor esi, esi
cmp dword [0x42cbac], esi
jne 0x415edd
push esi
push esi
xor edi, edi
inc edi
push edi
push esi
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x415ec8
mov dword [0x42cbac], edi
jmp 0x415edd
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x78
jne 0x415edd
mov dword [0x42cbac], 2
mov eax, dword [0x42cbac]
cmp eax, 2
je 0x415fbe
cmp eax, esi
je 0x415fbe
cmp eax, 1
jne 0x415f22
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x20], esi
cmp dword [ebp + 0x18], esi
jne 0x415f0b
mov eax, dword [0x42ca1c]
mov dword [ebp + 0x18], eax
push esi
push esi
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
mov ebx, eax
mov dword [ebp - 0x24], ebx
cmp ebx, esi
jne 0x415f29
xor eax, eax
jmp 0x415fd0
mov dword [ebp - 4], esi
lea eax, [ebx + ebx]
add eax, 3
and eax, 0xfffffffc
call fcn.00408010
mov dword [ebp - 0x18], esp
mov edi, esp
mov dword [ebp - 0x28], edi
or dword [ebp - 4], 0xffffffff
jmp 0x415f5f
cmp edi, esi
jne 0x415f7a
lea eax, [ebx + ebx]
push eax
call fcn.0040b982
pop ecx
mov edi, eax
cmp edi, esi
je 0x415f22
mov dword [ebp - 0x20], 1
push ebx
push edi
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x415fad
push esi
push esi
cmp dword [ebp + 0x14], esi
jne 0x415f97
push esi
push esi
jmp 0x415f9d
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push 0xffffffffffffffff
push edi
push esi
push dword [ebp + 0x18]
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x20], esi
je 0x415fb9
push edi
call fcn.0040ab8e
pop ecx
mov eax, dword [ebp - 0x1c]
jmp 0x415fd0
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
lea esp, [ebp - 0x34]
call fcn.0040b0a3
ret
Function at 0x416968
Capabilities:
Set environment variable

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [ebp + 8]
push ebx
xor ebx, ebx
cmp eax, ebx
push edi
mov dword [ebp - 0x10], ebx
jne 0x416981
or eax, 0xffffffff
jmp 0x4169e2
push esi
mov esi, dword [eax]
cmp esi, ebx
mov dword [ebp - 4], esi
je 0x4169de
push 0x3d
push esi
call fcn.00416b68
cmp eax, ebx
pop ecx
pop ecx
mov dword [ebp - 0xc], eax
je 0x4169de
cmp esi, eax
je 0x4169de
xor ecx, ecx
cmp byte [eax + 1], bl
mov eax, dword [0x42c748]
sete cl
cmp eax, dword [0x42c74c]
mov dword [ebp - 8], ecx
jne 0x4169c4
mov edi, eax
call fcn.00416907
mov dword [0x42c748], eax
cmp eax, ebx
jne 0x416a1d
cmp dword [ebp + 0xc], ebx
je 0x4169e6
cmp dword [0x42c750], ebx
je 0x4169e6
call fcn.0041648a
test eax, eax
je 0x416a1d
or eax, 0xffffffff
pop esi
pop edi
pop ebx
leave
ret
cmp dword [ebp - 8], ebx
je 0x4169ef
xor eax, eax
jmp 0x4169e1
push 4
call fcn.0040b982
cmp eax, ebx
pop ecx
mov dword [0x42c748], eax
je 0x4169de
mov dword [eax], ebx
cmp dword [0x42c750], ebx
jne 0x416a1d
push 4
call fcn.0040b982
cmp eax, ebx
pop ecx
mov dword [0x42c750], eax
je 0x4169de
mov dword [eax], ebx
mov edi, dword [ebp - 0xc]
sub edi, dword [ebp - 4]
push dword [ebp - 4]
mov esi, dword [0x42c748]
call fcn.004168ba
mov edi, eax
cmp edi, ebx
pop ecx
jl 0x416a7e
cmp dword [esi], ebx
je 0x416a7e
lea esi, [esi + edi*4]
push dword [esi]
call fcn.0040ab8e
cmp dword [ebp - 8], ebx
pop ecx
jne 0x416a61
mov eax, dword [ebp - 4]
mov dword [esi], eax
mov eax, dword [ebp + 8]
mov dword [eax], ebx
jmp 0x416abf
mov eax, dword [esi + 4]
mov dword [esi], eax
inc edi
add esi, 4
cmp dword [esi], ebx
jne 0x416a58
mov eax, edi
shl eax, 2
push eax
push dword [0x42c748]
call fcn.0040b4d3
cmp eax, ebx
pop ecx
pop ecx
je 0x416abf
jmp 0x416aba
cmp dword [ebp - 8], ebx
jne 0x416b2a
cmp edi, ebx
jge 0x416a8d
neg edi
lea eax, [edi*4 + 8]
push eax
push dword [0x42c748]
call fcn.0040b4d3
cmp eax, ebx
pop ecx
pop ecx
je 0x4169de
mov edx, dword [ebp - 4]
lea ecx, [eax + edi*4]
mov dword [ecx], edx
mov dword [ecx + 4], ebx
mov ecx, dword [ebp + 8]
mov dword [ecx], ebx
mov dword [0x42c748], eax
cmp dword [ebp + 0xc], ebx
je 0x416b14
push dword [ebp - 4]
call fcn.0040f310
inc eax
inc eax
push eax
call fcn.0040b982
mov esi, eax
cmp esi, ebx
pop ecx
pop ecx
je 0x416b14
push dword [ebp - 4]
push esi
call fcn.0040e1c0
mov eax, esi
sub eax, dword [ebp - 4]
pop ecx
add eax, dword [ebp - 0xc]
pop ecx
mov ecx, dword [ebp - 8]
mov byte [eax], bl
inc eax
neg ecx
sbb ecx, ecx
not ecx
and ecx, eax
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_SetEnvironmentVariableA]
test eax, eax
jne 0x416b0d
or dword [ebp - 0x10], 0xffffffff
push esi
call fcn.0040ab8e
pop ecx
cmp dword [ebp - 8], ebx
je 0x416b22
push dword [ebp - 4]
call fcn.0040ab8e
pop ecx
mov eax, dword [ebp - 0x10]
jmp 0x4169e1
push dword [ebp - 4]
call fcn.0040ab8e
mov eax, dword [ebp + 8]
pop ecx
mov dword [eax], ebx
jmp 0x4169eb
Function at 0x1001e75
Capabilities:
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x10040b0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x18]
push eax
xor ebx, ebx
push 0x20019
push ebx
push 0x1001150
push 0x80000002
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x20], ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x1001ebc
xor eax, eax
inc eax
jmp 0x1001f1b
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push edi
lea eax, [ebp - 0x20]
push eax
push ebx
lea eax, [ebp - 0x24]
push eax
push ebx
mov edi, 0x10011cc
push edi
push dword [ebp - 0x18]
mov dword [ebp - 0x24], 1
mov dword [ebp - 0x20], ebx
call esi
test eax, eax
jne 0x1001f0d
mov eax, dword [ebp - 0x20]
push 0x10040e8
xor ecx, ecx
push 2
inc eax
pop edx
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.01002b89
pop ecx
pop ecx
mov dword [ebp - 0x1c], eax
cmp eax, ebx
jne 0x1001f2a
push dword [ebp - 0x18]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
inc eax
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop ebx
call fcn.01002add
leave
ret 4
lea ecx, [ebp - 0x20]
push ecx
push eax
lea eax, [ebp - 0x24]
push eax
push ebx
push edi
push dword [ebp - 0x18]
call esi
test eax, eax
je 0x1001f57
xor ebx, ebx
inc ebx
push dword [ebp - 0x1c]
call fcn.01002734
pop ecx
push dword [ebp - 0x18]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, ebx
jmp 0x1001f19
mov eax, dword [ebp - 0x1c]
mov edi, dword [sym.imp.msvcrt.dll_wcschr]
xor esi, esi
inc esi
push 0x2c
push eax
call edi
pop ecx
pop ecx
cmp eax, ebx
je 0x1001f75
inc eax
inc eax
inc esi
cmp eax, ebx
jne 0x1001f63
cmp esi, ebx
je 0x1001f41
mov ebx, dword [ebp - 0x1c]
mov eax, ebx
push 0x2c
push eax
call edi
mov esi, eax
pop ecx
pop ecx
test esi, esi
je 0x1001f90
xor eax, eax
mov word [esi], ax
lea eax, [ebp - 0x14]
push eax
push ebx
call dword [sym.imp.ole32.dll_CLSIDFromString]
test eax, eax
jne 0x1001fbc
mov ecx, dword [ebp - 0x28]
mov eax, dword [ecx + 4]
lea edx, [ebp - 0x14]
push edx
push eax
call fcn.01001e3c
test esi, esi
je 0x1001fbc
lea ebx, [esi + 2]
mov eax, ebx
test eax, eax
jne 0x1001f7e
xor ebx, ebx
jmp 0x1001f41
Function at 0x1002a48
Capabilities:
Terminate process

Disassembly:
push 0x10
push 0x1003540
call fcn.01002dd4
xor ebx, ebx
mov dword [ebp - 4], ebx
mov eax, dword fs:[0x18]
mov esi, dword [eax + 4]
mov dword [ebp - 0x1c], ebx
mov edi, 0x1004440
push ebx
push esi
push edi
call dword [sym.imp.KERNEL32.dll_InterlockedCompareExchange]
cmp eax, ebx
je 0x100285d
cmp eax, esi
jne 0x1002850
xor esi, esi
inc esi
mov dword [ebp - 0x1c], esi
jmp 0x1002860
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x1002837
xor esi, esi
inc esi
mov eax, dword [0x100443c]
cmp eax, esi
jne 0x1002873
push 0x1f
call sub.msvcrt.dll__amsg_exit
pop ecx
jmp 0x10028ae
mov eax, dword [0x100443c]
test eax, eax
jne 0x10028a8
mov dword [0x100443c], esi
push 0x1001110
push 0x1001104
call fcn.010027b4
pop ecx
pop ecx
test eax, eax
je 0x10028ae
mov dword [ebp - 4], 0xfffffffe
mov eax, 0xff
jmp 0x1002978
mov dword [0x1004108], esi
mov eax, dword [0x100443c]
cmp eax, esi
jne 0x10028d2
push 0x1001100
push 0x10010f8
call sub.msvcrt.dll__initterm
pop ecx
pop ecx
mov dword [0x100443c], 2
cmp dword [ebp - 0x1c], ebx
jne 0x10028df
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
cmp dword [0x100444c], ebx
je 0x1002900
push 0x100444c
call fcn.01002d49
pop ecx
test eax, eax
je 0x1002900
push ebx
push 2
push ebx
call dword [0x100444c]
push dword [0x10040f0]
push dword [0x10040f4]
push dword [0x10040ec]
call fcn.01001fc5
add esp, 0xc
mov dword [0x1004104], eax
cmp dword [0x10040f8], ebx
jne 0x100295e
push eax
call dword [sym.imp.msvcrt.dll_exit]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
mov ecx, dword [ecx]
mov dword [ebp - 0x20], ecx
push eax
push ecx
call sub.msvcrt.dll__XcptFilter
pop ecx
pop ecx
ret
cmp dword [0x1004108], ebx
jne 0x100296c
call dword [sym.imp.msvcrt.dll__cexit]
mov dword [ebp - 4], 0xfffffffe
mov eax, dword [0x1004104]
call fcn.01002e19
ret
call fcn.01002f21
jmp 0x1002815
Function at 0x4032ac
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
movzx eax, word [0x41f020]
mov dword [ebp - 8], eax
lea eax, [ebp - 4]
push eax
push 1
push 0
push 0x403344
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
jne 0x403324
xor eax, eax
push ebp
push 0x40331d
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 0x403360
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 0x403324
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegCloseKey
ret
mov ax, word [0x41f020]
and ax, 0xffc0
mov dx, word [ebp - 8]
and dx, 0x3f
or ax, dx
mov word [0x41f020], ax
mov esp, ebp
pop ebp
ret

Function at 0x403f70
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp byte [0x420044], 0
je 0x403fd1
cmp word [0x420218], 0xd7b2
jne 0x403f99
cmp dword [0x420220], 0
jbe 0x403f99
mov eax, 0x420214
call dword [0x420230]
push 0
lea eax, [esp + 4]
push eax
push 0x1e
push 0x41f06c
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 0x403ff8
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
pop edx
ret
cmp byte [0x41f02c], 0
jne 0x403fed
push 0
push 0x41f064
push 0x41f06c
push 0
call sub.user32.dll_MessageBoxA
pop edx
ret

Function at 0x404144
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.00402678
mov dword [eax], edi
mov edx, dword [ebp + 0x10]
mov dword [eax + 4], edx
mov byte [0x420045], 1
mov edx, dword [ebp + 8]
push edx
mov edx, dword [ebp + 0xc]
push edx
push eax
mov eax, 0x40410c
push eax
push esi
push ebx
call sub.kernel32.dll_CreateThread
pop edi
pop esi
pop ebx
pop ebp
ret 0xc
Function at 0x40527c
Capabilities:
Get geographical location
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffee0
push ebx
push esi
mov dword [ebp - 4], eax
push 0x105
lea eax, [ebp - 0x11d]
push eax
push 0
call sub.kernel32.dll_GetModuleFileNameA
mov byte [ebp - 0x12], 0
lea eax, [ebp - 8]
push eax
push 0xf0019
push 0
push 0x4054ac
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
je 0x4052ff
lea eax, [ebp - 8]
push eax
push 0xf0019
push 0
push 0x4054ac
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
je 0x4052ff
lea eax, [ebp - 8]
push eax
push 0xf0019
push 0
push 0x4054c8
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
jne 0x405388
xor eax, eax
push ebp
push 0x405381
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0x18], 5
lea eax, [ebp - 0x11d]
mov edx, 0x105
call fcn.004050c4
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x12]
push eax
push 0
push 0
lea eax, [ebp - 0x11d]
push eax
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegQueryValueExA
test eax, eax
je 0x405366
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x12]
push eax
push 0
push 0
push 0x4054e8
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegQueryValueExA
test eax, eax
je 0x405366
mov byte [ebp - 0x12], 0
mov byte [ebp - 0xe], 0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x405388
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegCloseKey
ret
push 0x105
mov eax, dword [ebp - 4]
push eax
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_lstrcpynA
push 5
lea eax, [ebp - 0xd]
push eax
push 3
call sub.kernel32.dll_GetThreadLocale
push eax
call sub.kernel32.dll_GetLocaleInfoA
xor esi, esi
cmp byte [ebp - 0x11d], 0
je 0x4054a2
cmp byte [ebp - 0xd], 0
jne 0x4053cf
cmp byte [ebp - 0x12], 0
je 0x4054a2
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_lstrlenA
mov ebx, eax
lea eax, [ebp - 0x11d]
add ebx, eax
jmp 0x4053e8
dec ebx
cmp byte [ebx], 0x2e
je 0x4053f7
lea eax, [ebp - 0x11d]
cmp ebx, eax
jne 0x4053e7
lea eax, [ebp - 0x11d]
cmp ebx, eax
je 0x4054a2
inc ebx
cmp byte [ebp - 0x12], 0
je 0x405434
mov edx, ebx
sub edx, eax
mov eax, 0x105
sub eax, edx
push eax
lea eax, [ebp - 0x12]
push eax
push ebx
call sub.kernel32.dll_lstrcpynA
push 2
push 0
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_LoadLibraryExA
mov esi, eax
test esi, esi
jne 0x4054a2
cmp byte [ebp - 0xd], 0
je 0x4054a2
lea eax, [ebp - 0x11d]
mov edx, ebx
sub edx, eax
mov eax, 0x105
sub eax, edx
push eax
lea eax, [ebp - 0xd]
push eax
push ebx
call sub.kernel32.dll_lstrcpynA
push 2
push 0
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_LoadLibraryExA
mov esi, eax
test esi, esi
jne 0x4054a2
mov byte [ebp - 0xb], 0
lea eax, [ebp - 0x11d]
mov edx, ebx
sub edx, eax
mov eax, 0x105
sub eax, edx
push eax
lea eax, [ebp - 0xd]
push eax
push ebx
call sub.kernel32.dll_lstrcpynA
push 2
push 0
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_LoadLibraryExA
mov esi, eax
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x405b38
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 0x405b9e
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.00404400
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 4]
call fcn.00402d20
mov ebx, eax
cmp dword [ebp - 4], 0
je 0x405b88
xor ebx, ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x405ba5
lea eax, [ebp - 0x10]
call fcn.00404190
ret

Function at 0x409f5c
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 0x409f95
mov ecx, eax
dec ecx
lea edx, [ebp - 0x100]
mov eax, ebx
call fcn.00404280
jmp 0x409f9e
mov eax, ebx
mov edx, esi
call fcn.004041e4
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x409fa8
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 0x409fc9
mov al, byte [esp]
jmp 0x409fcb
mov eax, ebx
pop edx
pop edi
pop esi
pop ebx
ret

Function at 0x40a650
Capabilities:
Write file on windows

Disassembly:
add esp, 0xfffffbbc
push 0x400
lea ecx, [esp + 0x48]
call 0x40a4c8
mov eax, dword [0x41fae8]
cmp byte [eax], 0
je 0x40a6cc
mov eax, dword [0x41f9ec]
call fcn.00402c20
call fcn.004027a0
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.00407828
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 0x40a714
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
jmp 0x40a702
push 0x40
lea eax, [esp + 8]
push eax
mov eax, dword [0x41f9c4]
mov eax, dword [eax + 4]
push eax
mov eax, dword [0x420660]
call fcn.00405088
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 0x40b3b0
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 0x40b414
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.00404400
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_GetACP
mov edx, eax
pop eax
call fcn.004073b4
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40b41b
lea eax, [ebp - 0xc]
call fcn.00404190
ret

Function at 0x413a0c
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.00413864
dec esi
jne 0x413a2e
mov byte [ebx + 0xe], 0
pop esi
pop ebx
ret

Function at 0x414ac0
Capabilities:
Create pipe

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push edi
test dl, dl
je 0x414ad5
add esp, 0xfffffff0
call fcn.0040365c
mov edi, ecx
mov byte [ebp - 1], dl
mov ebx, eax
mov cl, 1
xor edx, edx
mov eax, ebx
call fcn.004136a4
mov esi, edi
mov dword [ebx + 0x40], esi
mov dword [ebp - 0x10], 0xc
xor eax, eax
mov dword [ebp - 0xc], eax
xor eax, eax
mov dword [ebp - 8], eax
lea eax, [ebp - 0x10]
push eax
push 0xffffffffffffffff
push 0
push 0
push 1
push 0
push 1
mov eax, dword [esi + 8]
call fcn.0040462c
push eax
call sub.kernel32.dll_CreateNamedPipeA
mov dword [ebx + 0x44], eax
mov eax, ebx
call fcn.00413a0c
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x414b3c
call fcn.004036b4
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x414de8
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe4
push ebx
push esi
mov dword [ebp - 8], ecx
mov byte [ebp - 1], dl
mov ebx, eax
mov esi, dword [ebp + 8]
push 0
mov eax, dword [ebx + 0xc]
call fcn.0040462c
push eax
call sub.kernel32.dll_WaitNamedPipeA
test eax, eax
je 0x414ec3
mov dword [ebp - 0x1c], 0xc
xor eax, eax
mov dword [ebp - 0x18], eax
xor eax, eax
mov dword [ebp - 0x14], eax
push 0
push 0x80
push 3
lea eax, [ebp - 0x1c]
push eax
push 0
push 0x40000000
mov eax, dword [ebx + 0xc]
call fcn.0040462c
push eax
call sub.kernel32.dll_CreateFileA_1
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0xffffffff
je 0x414ec3
xor eax, eax
push ebp
push 0x414ebc
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
lea eax, [ebp - 0x10]
push eax
push 1
lea eax, [ebp - 1]
push eax
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_WriteFile_1
push 0
lea eax, [ebp - 0x10]
push eax
push 4
lea eax, [ebp - 8]
push eax
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_WriteFile_1
test esi, esi
je 0x414ea5
cmp dword [ebp - 8], 0
jle 0x414ea5
push 0
lea eax, [ebp - 0x10]
push eax
mov eax, dword [ebp - 8]
push eax
push esi
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_WriteFile_1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x414ec3
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_CloseHandle_1
ret
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x41d9f0
Capabilities:
Create thread

Disassembly:
push ecx
push 1
call sub.kernel32.dll_GetCurrentProcessId
mov ecx, eax
mov dl, 1
mov eax, dword [0x41d28c]
call fcn.00414c78
mov dword [0x42091c], eax
push esp
push 0
push 0
push 0x41d958
push 0
push 0
call sub.kernel32.dll_CreateThread_1
pop edx
ret
Function at 0x41da20
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd8
xor eax, eax
mov dword [ebp - 0x28], eax
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x41db48
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 4]
mov ecx, 0x41db5c
mov edx, dword [0x42094c]
call fcn.00404478
mov byte [ebp - 5], 0
mov eax, dword [ebp - 4]
call fcn.0040462c
push eax
push 2
lea eax, [ebp - 6]
push eax
push 0x41db6c
push 0x41db70
push 0x41db7c
call sub.kernel32.dll_GetPrivateProfileStringA
lea eax, [ebp - 0xc]
lea edx, [ebp - 6]
mov ecx, 2
call fcn.00402f50
lea eax, [ebp - 0xc]
mov edx, 0x41db88
xor ecx, ecx
mov cl, byte [eax]
inc ecx
call fcn.00402c90
jne 0x41daaa
mov al, byte [0x41db88]
or al, byte [0x420948]
mov byte [0x420948], al
test byte [0x420948], 1
je 0x41db20
lea eax, [ebp - 4]
push eax
mov eax, dword [0x42094c]
mov dword [ebp - 0x24], eax
mov byte [ebp - 0x20], 0xb
mov eax, dword [0x420b1c]
mov dword [ebp - 0x1c], eax
mov byte [ebp - 0x18], 0xb
call fcn.004089f8
add esp, 0xfffffff8
fstp qword [esp]
wait
lea edx, [ebp - 0x28]
mov eax, 0x41db94
call fcn.00409644
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x14], eax
mov byte [ebp - 0x10], 0xb
lea edx, [ebp - 0x24]
mov ecx, 2
mov eax, 0x41dbb0
call fcn.00407dc4
mov edx, dword [ebp - 4]
mov eax, 0x420950
call fcn.00402b70
mov eax, 0x420950
call fcn.0040290c
call fcn.004027a0
mov eax, 0x41dbc8
call fcn.0041d340
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x41db4f
lea eax, [ebp - 0x28]
call fcn.00404190
lea eax, [ebp - 4]
call fcn.00404190
ret
Function at 0x401070
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x424
mov eax, dword [0x41c004]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
push 0x400
mov dword [ebp - 0x420], eax
mov edi, edx
lea eax, [ebp - 0x408]
mov esi, ecx
push 0
push eax
call fcn.00403a60
add esp, 0xc
sub esi, 0
je 0x4010df
sub esi, 1
je 0x4010d8
sub esi, 1
je 0x4010d1
mov eax, 0xffffd8c7
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004025ad
mov esp, ebp
pop ebp
ret
mov esi, 0x4196d0
jmp 0x4010e4
mov esi, 0x4196cc
jmp 0x4010e4
mov esi, 0x4196c8
lea eax, [ebp - 0x418]
push eax
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
movzx eax, word [ebp - 0x40a]
push 0x4196d4
push dword [ebp - 0x420]
push ebx
push edi
push esi
push eax
movzx eax, word [ebp - 0x40c]
push eax
movzx eax, word [ebp - 0x40e]
push eax
movzx eax, word [ebp - 0x410]
push eax
movzx eax, word [ebp - 0x412]
push eax
movzx eax, word [ebp - 0x416]
push eax
movzx eax, word [ebp - 0x418]
push eax
push str._4.4d__2.2d__2.2d__2.2d:_2.2d:_2.2d._3.3d__s__5d__s__s_s
lea eax, [ebp - 0x408]
push 0x400
push eax
call fcn.00401050
lea eax, [ebp - 0x408]
add esp, 0x3c
lea edx, [eax + 1]
nop dword [eax]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x401160
push 0
lea ecx, [ebp - 0x41c]
sub eax, edx
push ecx
push eax
lea eax, [ebp - 0x408]
push eax
push dword [0x41d334]
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004025ad
mov esp, ebp
pop ebp
ret