joyce8/EMBER2024-capa huggingface dataset:
Function at 0x100143cf
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push esi
lea eax, [ebp - 0xc]
push eax
xor esi, esi
mov byte [ebp - 5], 0x73
mov byte [ebp - 3], 0
mov byte [ebp - 0xc], 0x46
mov byte [ebp - 4], 0x65
mov byte [ebp - 7], 0x6c
mov byte [ebp - 8], 0x43
mov byte [ebp - 9], 0x64
mov byte [ebp - 0xa], 0x6e
mov byte [ebp - 6], 0x6f
mov byte [ebp - 0xb], 0x69
call fcn.10014dc3
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x1001441b
push dword [ebp + 8]
call eax
mov esi, eax
mov eax, esi
pop esi
leave
ret

Function at 0x10014420
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push esi
push edi
xor edi, edi
call fcn.10014531
mov esi, eax
test esi, esi
je 0x10014489
lea eax, [ebp - 0x10]
push eax
push esi
mov byte [ebp - 8], 0x61
mov byte [ebp - 9], 0x4e
mov byte [ebp - 6], 0x65
mov byte [ebp - 0xf], 0x65
mov byte [ebp - 4], 0
mov byte [ebp - 7], 0x6d
mov byte [ebp - 0xc], 0x73
mov byte [ebp - 0xe], 0x74
mov byte [ebp - 0xa], 0x72
mov byte [ebp - 0xb], 0x65
mov byte [ebp - 0x10], 0x47
mov byte [ebp - 5], 0x41
mov byte [ebp - 0xd], 0x55
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x10014482
push dword [ebp + 0xc]
push dword [ebp + 8]
call eax
mov edi, eax
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov eax, edi
pop edi
pop esi
leave
ret

Function at 0x100144cd
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push esi
lea eax, [ebp - 0x10]
push eax
xor esi, esi
mov byte [ebp - 6], 0x6c
mov byte [ebp - 5], 0x65
mov byte [ebp - 0xc], 0x4e
mov byte [ebp - 0xd], 0x64
mov byte [ebp - 0x10], 0x46
mov byte [ebp - 9], 0x74
mov byte [ebp - 0xa], 0x78
mov byte [ebp - 7], 0x69
mov byte [ebp - 0xf], 0x69
mov byte [ebp - 4], 0x41
mov byte [ebp - 0xb], 0x65
mov byte [ebp - 3], 0
mov byte [ebp - 8], 0x46
mov byte [ebp - 0xe], 0x6e
call fcn.10014dc3
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x1001452c
push dword [ebp + 0xc]
push dword [ebp + 8]
call eax
mov esi, eax
mov eax, esi
pop esi
leave
ret

Function at 0x10014531
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
lea eax, [ebp - 0x10]
push eax
mov byte [ebp - 5], 0x6c
mov byte [ebp - 0xa], 0x33
mov byte [ebp - 0xf], 0x64
mov byte [ebp - 9], 0x32
mov byte [ebp - 0xb], 0x69
mov byte [ebp - 0x10], 0x41
mov byte [ebp - 6], 0x6c
mov byte [ebp - 0xc], 0x70
mov byte [ebp - 8], 0x2e
mov byte [ebp - 0xe], 0x76
mov byte [ebp - 7], 0x64
mov byte [ebp - 4], 0
mov byte [ebp - 0xd], 0x61
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
leave
ret
Function at 0x10014ac2
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push esi
lea eax, [ebp - 0x10]
push eax
or esi, 0xffffffff
mov byte [ebp - 0xb], 0x69
mov byte [ebp - 6], 0x69
mov byte [ebp - 2], 0
mov byte [ebp - 4], 0x65
mov byte [ebp - 0xc], 0x46
mov byte [ebp - 8], 0x74
mov byte [ebp - 0xe], 0x6e
mov byte [ebp - 7], 0x46
mov byte [ebp - 0xd], 0x64
mov byte [ebp - 0x10], 0x46
mov byte [ebp - 9], 0x73
mov byte [ebp - 0xa], 0x72
mov byte [ebp - 3], 0x41
mov byte [ebp - 5], 0x6c
mov byte [ebp - 0xf], 0x69
call fcn.10014dc3
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x10014b26
push dword [ebp + 0xc]
push dword [ebp + 8]
call eax
mov esi, eax
mov eax, esi
pop esi
leave
ret
Function at 0x10014b31
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x54
push ebx
push edi
lea eax, [ebp - 0x30]
xor ebx, ebx
push eax
mov byte [ebp - 0x27], 0x64
mov byte [ebp - 0x25], 0x6c
mov byte [ebp - 0x26], 0x6c
mov byte [ebp - 0x2e], 0x76
mov byte [ebp - 0x2c], 0x70
mov byte [ebp - 0x24], bl
mov byte [ebp - 0x2a], 0x33
mov byte [ebp - 0x30], 0x41
mov byte [ebp - 0x2b], 0x69
mov byte [ebp - 0x29], 0x32
mov byte [ebp - 0x2d], 0x61
mov byte [ebp - 0x2f], 0x64
mov byte [ebp - 0x28], 0x2e
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
cmp edi, ebx
je 0x10014c51
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
lea eax, [ebp - 0x40]
push eax
push edi
mov byte [ebp - 0x3e], 0x67
mov byte [ebp - 0x3b], 0x65
mov byte [ebp - 0x33], bl
mov byte [ebp - 0x3a], 0x6e
mov byte [ebp - 0x3d], 0x4f
mov byte [ebp - 0x34], 0x41
mov byte [ebp - 0x37], 0x79
mov byte [ebp - 0x38], 0x65
mov byte [ebp - 0x40], 0x52
mov byte [ebp - 0x39], 0x4b
mov byte [ebp - 0x36], 0x45
mov byte [ebp - 0x35], 0x78
mov byte [ebp - 0x3c], 0x70
mov byte [ebp - 0x3f], 0x65
call esi
mov dword [ebp - 8], eax
lea eax, [ebp - 0x54]
push eax
push edi
mov byte [ebp - 0x4b], 0x61
mov byte [ebp - 0x4c], 0x56
mov byte [ebp - 0x4e], 0x72
mov byte [ebp - 0x46], 0x78
mov byte [ebp - 0x51], 0x51
mov byte [ebp - 0x48], 0x65
mov byte [ebp - 0x4f], 0x65
mov byte [ebp - 0x52], 0x67
mov byte [ebp - 0x4a], 0x6c
mov byte [ebp - 0x4d], 0x79
mov byte [ebp - 0x45], 0x41
mov byte [ebp - 0x44], bl
mov byte [ebp - 0x47], 0x45
mov byte [ebp - 0x54], 0x52
mov byte [ebp - 0x50], 0x75
mov byte [ebp - 0x53], 0x65
mov byte [ebp - 0x49], 0x75
call esi
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0x20]
push eax
push edi
mov byte [ebp - 0x1f], 0x65
mov byte [ebp - 0x20], 0x52
mov byte [ebp - 0x18], 0x4b
mov byte [ebp - 0x19], 0x65
mov byte [ebp - 0x1c], 0x6c
mov byte [ebp - 0x1a], 0x73
mov byte [ebp - 0x17], 0x65
mov byte [ebp - 0x16], 0x79
mov byte [ebp - 0x1d], 0x43
mov byte [ebp - 0x1b], 0x6f
mov byte [ebp - 0x1e], 0x67
mov byte [ebp - 0x15], bl
call esi
mov dword [ebp - 0x10], eax
pop esi
lea eax, [ebp - 4]
push eax
push 0xf013f
push ebx
push dword [ebp + 8]
push 0x80000002
call dword [ebp - 8]
test eax, eax
jne 0x10014c8c
lea eax, [ebp - 8]
push eax
push dword [ebp + 0x10]
lea eax, [ebp - 0x14]
push eax
push ebx
push dword [ebp + 0xc]
mov dword [ebp - 8], 0x190
push dword [ebp - 4]
call dword [ebp - 0xc]
push dword [ebp - 4]
call dword [ebp - 0x10]
pop edi
mov al, 1
pop ebx
leave
ret

Function at 0x10014dc3
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
lea eax, [ebp - 0x10]
push eax
mov byte [ebp - 8], 0x2e
mov byte [ebp - 6], 0x6c
mov byte [ebp - 4], 0
mov byte [ebp - 0xe], 0x72
mov byte [ebp - 0xa], 0x33
mov byte [ebp - 7], 0x64
mov byte [ebp - 5], 0x6c
mov byte [ebp - 0xf], 0x65
mov byte [ebp - 0xb], 0x6c
mov byte [ebp - 0x10], 0x4b
mov byte [ebp - 0xc], 0x65
mov byte [ebp - 9], 0x32
mov byte [ebp - 0xd], 0x6e
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
leave
ret
Function at 0x10015138
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov eax, 0x100154bc
call fcn.10004d80
sub esp, 0x128
push ebx
lea ecx, [ebp - 0x34]
xor ebx, ebx
call fcn.10014577
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x134]
push eax
mov dword [ebp - 4], ebx
mov dword [ebp - 0x1c], 0x100
call fcn.10014420
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x134]
push eax
mov byte [ebp - 0x13], 0x6e
mov byte [ebp - 0xe], 0x72
mov byte [ebp - 0x11], 0x75
mov byte [ebp - 0x18], 0x63
mov byte [ebp - 0xf], 0x65
mov byte [ebp - 0xd], bl
mov byte [ebp - 0x16], 0x72
mov byte [ebp - 0x17], 0x75
mov byte [ebp - 0x10], 0x73
mov byte [ebp - 0x14], 0x65
mov byte [ebp - 0x12], 0x74
mov byte [ebp - 0x15], 0x72
call fcn.100152a9
add esp, 0x10
test eax, eax
jne 0x100151b5
mov bl, 1
push 0xd
lea ecx, [ebp - 0x34]
call fcn.10013562
push eax
lea eax, [ebp - 0x134]
push eax
call fcn.100152a9
pop ecx
pop ecx
test eax, eax
jne 0x100151d4
mov bl, 1
push 0xe
lea ecx, [ebp - 0x34]
call fcn.10013562
push eax
lea eax, [ebp - 0x134]
push eax
call fcn.100152a9
pop ecx
pop ecx
test eax, eax
jne 0x100151f3
mov bl, 1
push 0xf
lea ecx, [ebp - 0x34]
call fcn.10013562
push eax
lea eax, [ebp - 0x134]
push eax
call fcn.100152a9
pop ecx
pop ecx
test eax, eax
jne 0x10015212
mov bl, 1
push 0x10
lea ecx, [ebp - 0x34]
call fcn.10013562
push eax
lea eax, [ebp - 0x134]
push eax
call fcn.100152a9
pop ecx
pop ecx
test eax, eax
jne 0x10015231
mov bl, 1
push 0x11
lea ecx, [ebp - 0x34]
call fcn.10013562
push eax
lea eax, [ebp - 0x134]
push eax
call fcn.100152a9
pop ecx
pop ecx
test eax, eax
jne 0x10015250
mov bl, 1
push 0x12
lea ecx, [ebp - 0x34]
call fcn.10013562
push eax
lea eax, [ebp - 0x134]
push eax
call fcn.100152a9
pop ecx
pop ecx
test eax, eax
jne 0x1001526f
mov bl, 1
push 0x13
lea ecx, [ebp - 0x34]
call fcn.10013562
push eax
lea eax, [ebp - 0x134]
push eax
call fcn.100152a9
pop ecx
pop ecx
test eax, eax
jne 0x1001528e
mov bl, 1
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x34]
call fcn.100148cb
mov ecx, dword [ebp - 0xc]
mov al, bl
pop ebx
mov dword fs:[0], ecx
leave
ret
Function at 0x100152c8
Capabilities:
Get common file path

Disassembly:
mov eax, 0x100155d7
call fcn.10004d80
sub esp, 0x278
push ebx
push esi
lea ecx, [ebp - 0x24]
xor bl, bl
call fcn.10014577
and dword [ebp - 4], 0
push 0
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x28], 0xf
call fcn.10001ad6
push 0x104
lea eax, [ebp - 0x284]
push eax
mov byte [ebp - 4], 1
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
lea eax, [ebp - 0x284]
push eax
lea ecx, [ebp - 0x40]
call fcn.100026ef
push 0x100162f8
lea ecx, [ebp - 0x40]
call fcn.100026ef
push 6
lea ecx, [ebp - 0x24]
call fcn.10013562
push eax
lea ecx, [ebp - 0x40]
call fcn.100026ef
cmp dword [ebp - 0x28], 0x10
mov eax, dword [ebp - 0x3c]
jae 0x1001534a
lea eax, [ebp - 0x3c]
lea ecx, [ebp - 0x180]
push ecx
push eax
call fcn.10014ac2
mov esi, eax
pop ecx
pop ecx
cmp esi, 0xffffffff
jne 0x10015448
xor bl, bl
push 0
push 1
lea ecx, [ebp - 0x40]
call fcn.10001f07
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x24]
call fcn.100148cb
mov ecx, dword [ebp - 0xc]
pop esi
mov al, bl
pop ebx
mov dword fs:[0], ecx
leave
ret
push 7
lea ecx, [ebp - 0x24]
call fcn.10013562
push eax
lea eax, [ebp - 0x154]
push eax
call fcn.100152a9
pop ecx
pop ecx
test eax, eax
jne 0x100153ad
mov bl, 1
push 8
lea ecx, [ebp - 0x24]
call fcn.10013562
push eax
lea eax, [ebp - 0x154]
push eax
call fcn.100152a9
pop ecx
pop ecx
test eax, eax
jne 0x100153cc
mov bl, 1
push 9
lea ecx, [ebp - 0x24]
call fcn.10013562
push eax
lea eax, [ebp - 0x154]
push eax
call fcn.100152a9
pop ecx
pop ecx
test eax, eax
jne 0x100153eb
mov bl, 1
push 0xa
lea ecx, [ebp - 0x24]
call fcn.10013562
push eax
lea eax, [ebp - 0x154]
push eax
call fcn.100152a9
pop ecx
pop ecx
test eax, eax
jne 0x1001540a
mov bl, 1
push 0xb
lea ecx, [ebp - 0x24]
call fcn.10013562
push eax
lea eax, [ebp - 0x154]
push eax
call fcn.100152a9
pop ecx
pop ecx
test eax, eax
jne 0x10015429
mov bl, 1
push 0xc
lea ecx, [ebp - 0x24]
call fcn.10013562
push eax
lea eax, [ebp - 0x154]
push eax
call fcn.100152a9
pop ecx
pop ecx
test eax, eax
jne 0x10015448
mov bl, 1
lea eax, [ebp - 0x180]
push eax
push esi
call fcn.100144cd
pop ecx
pop ecx
test eax, eax
jne 0x1001538e
push esi
call fcn.100143cf
pop ecx
jmp 0x10015366

Function at 0x1001546b
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov eax, dword [esp + 8]
mov dword [0x1001e014], eax
mov eax, dword [esp + 0x10]
mov dword [0x1001df0c], eax
mov eax, dword [esp + 0xc]
mov dword [0x1001e11c], eax
call fcn.100152c8
jmp fcn.100145bc
Function at 0x1019d5c
Capabilities:
Clear file content

Disassembly:
push ecx
push ebp
push esi
push edi
mov edi, dword [esp + 0x14]
xor esi, esi
cmp edi, dword [0x101f268]
jae 0x1019eb8
mov eax, edi
sar eax, 5
mov eax, dword [eax*4 + 0x101f280]
mov ecx, edi
and ecx, 0x1f
test byte [eax + ecx*8 + 4], 1
je 0x1019eb8
push 1
push esi
push edi
call fcn.0101743b
or ebp, 0xffffffff
add esp, 0xc
cmp eax, ebp
mov dword [esp + 0xc], eax
je 0x1019eb4
push 2
push esi
push edi
call fcn.0101743b
add esp, 0xc
cmp eax, ebp
je 0x1019eb4
push ebx
mov ebx, dword [esp + 0x1c]
sub ebx, eax
test ebx, ebx
jle 0x1019e60
push 0x1000
push 8
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov ebp, eax
test ebp, ebp
jne 0x1019df8
mov dword [0x101d76c], 0xc
or esi, 0xffffffff
jmp 0x1019ea0
push 0x8000
push edi
call fcn.0101a367
pop ecx
pop ecx
mov dword [esp + 0x18], eax
mov eax, 0x1000
cmp ebx, eax
jge 0x1019e14
mov eax, ebx
push eax
push ebp
push edi
call fcn.010174c7
add esp, 0xc
cmp eax, 0xffffffff
je 0x1019e2c
sub ebx, eax
test ebx, ebx
jg 0x1019e09
jmp 0x1019e42
cmp dword [0x101d770], 5
jne 0x1019e3f
mov dword [0x101d76c], 0xd
or esi, 0xffffffff
push dword [esp + 0x18]
push edi
call fcn.0101a367
pop ecx
pop ecx
push ebp
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
jmp 0x1019ea0
jge 0x1019ea0
push 0
push dword [esp + 0x20]
push edi
call fcn.0101743b
push edi
call fcn.01018659
add esp, 0x10
push eax
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
mov esi, eax
neg esi
sbb esi, esi
neg esi
dec esi
cmp esi, ebp
jne 0x1019ea0
mov dword [0x101d76c], 0xd
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [0x101d770], eax
push 0
push dword [esp + 0x14]
push edi
call fcn.0101743b
add esp, 0xc
mov eax, esi
pop ebx
jmp 0x1019ec5
mov eax, ebp
jmp 0x1019ec5
mov dword [0x101d76c], 9
or eax, 0xffffffff
pop edi
pop esi
pop ebp
pop ecx
ret
Function at 0x402ee8
Capabilities:
Accept command line arguments

Disassembly:
push ebx
push esi
add esp, 0xfffffef4
mov ebx, edx
mov esi, eax
mov eax, ebx
call fcn.00404d60
test esi, esi
jne 0x402f1f
push 0x105
lea eax, [esp + 8]
push eax
push 0
call sub.kernel32.dll_GetModuleFileNameA
mov ecx, eax
lea edx, [esp + 4]
mov eax, ebx
call fcn.00404e50
jmp 0x402f40
call sub.kernel32.dll_GetCommandLineA
mov dword [esp], eax
mov edx, ebx
mov eax, dword [esp]
call fcn.00402d84
mov dword [esp], eax
test esi, esi
je 0x402f40
cmp dword [ebx], 0
je 0x402f40
dec esi
jmp 0x402f27
add esp, 0x10c
pop esi
pop ebx
ret

Function at 0x403630
Capabilities:
Generate random numbers using the delphi lcg

Disassembly:
push ebx
xor ebx, ebx
imul edx, dword [ebx + 0x502008], 0x8088405
inc edx
mov dword [ebx + 0x502008], edx
mul edx
mov eax, edx
pop ebx
ret

Function at 0x403da0
Capabilities:
Query or enumerate registry value

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

Function at 0x404b58
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp byte [0x51204c], 0
je 0x404bb9
cmp word [0x512220], 0xd7b2
jne 0x404b81
cmp dword [0x512228], 0
jbe 0x404b81
mov eax, 0x51221c
call dword [0x512238]
push 0
lea eax, [esp + 4]
push eax
push 0x1e
push 0x502094
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 0x404be0
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
pop edx
ret
cmp byte [0x502034], 0
jne 0x404bd5
push 0
push 0x50208c
push 0x502094
push 0
call sub.user32.dll_MessageBoxA
pop edx
ret

Function at 0x404d14
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.00402b18
mov dword [eax], edi
mov edx, dword [ebp + 0x10]
mov dword [eax + 4], edx
mov byte [0x51204d], 1
mov edx, dword [ebp + 8]
push edx
mov edx, dword [ebp + 0xc]
push edx
push eax
mov eax, 0x404cdc
push eax
push esi
push ebx
call sub.kernel32.dll_CreateThread
pop edi
pop esi
pop ebx
pop ebp
ret 0xc
Function at 0x406f98
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 0x406ffe
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.00404fe0
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 4]
call fcn.004037cc
mov ebx, eax
cmp dword [ebp - 4], 0
je 0x406fe8
xor ebx, ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x407005
lea eax, [ebp - 0x10]
call fcn.00404d60
ret

Function at 0x40a36c
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
push 0
lea eax, [ebp - 0x10]
push eax
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_ReadFile_1
test eax, eax
jne 0x40a39d
mov dword [ebp - 0x10], 0xffffffff
mov eax, dword [ebp - 0x10]
mov esp, ebp
pop ebp
ret

Function at 0x40a3a4
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
push 0
lea eax, [ebp - 0x10]
push eax
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_WriteFile_1
test eax, eax
jne 0x40a3d5
mov dword [ebp - 0x10], 0xffffffff
mov eax, dword [ebp - 0x10]
mov esp, ebp
pop ebp
ret

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

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00405230
push eax
call sub.kernel32.dll_GetFileAttributesA
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0xffffffff
je 0x40a4e2
test byte [ebp - 0xc], 0x10
jne 0x40a4e6
xor eax, eax
jmp 0x40a4e8
mov al, 1
mov byte [ebp - 5], al
mov al, byte [ebp - 5]
mov esp, ebp
pop ebp
ret

Function at 0x40a4f4
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00405230
push eax
call sub.kernel32.dll_DeleteFileA
cmp eax, 1
sbb eax, eax
inc eax
mov byte [ebp - 5], al
mov al, byte [ebp - 5]
pop ecx
pop ecx
pop ebp
ret

Function at 0x40a51c
Capabilities:
Move file

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 8]
call fcn.00405230
push eax
mov eax, dword [ebp - 4]
call fcn.00405230
push eax
call sub.kernel32.dll_MoveFileA
cmp eax, 1
sbb eax, eax
inc eax
mov byte [ebp - 9], al
mov al, byte [ebp - 9]
mov esp, ebp
pop ebp
ret

Function at 0x40a8c0
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
mov dword [ebp - 4], eax
push 0
mov eax, dword [ebp - 4]
call fcn.00405230
push eax
call sub.kernel32.dll_CreateDirectoryA
cmp eax, 1
sbb eax, eax
inc eax
mov byte [ebp - 5], al
mov al, byte [ebp - 5]
pop ecx
pop ecx
pop ebp
ret
Function at 0x40d964
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffef0
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
push pe_nt_image_headers32
lea eax, [ebp - 0x110]
push eax
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_GetLocaleInfoA_1
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jle 0x40d9ac
mov ecx, dword [ebp - 0x10]
dec ecx
lea edx, [ebp - 0x110]
mov eax, dword [ebp + 8]
call fcn.00404e50
jmp 0x40d9b7
mov eax, dword [ebp + 8]
mov edx, dword [ebp - 0xc]
call fcn.00404db4
mov esp, ebp
pop ebp
ret 4

Function at 0x40d9c0
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
mov byte [ebp - 9], cl
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
push 2
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_GetLocaleInfoA_1
test eax, eax
jle 0x40d9ee
mov al, byte [ebp - 0xc]
mov byte [ebp - 0xa], al
jmp 0x40d9f4
mov al, byte [ebp - 9]
mov byte [ebp - 0xa], al
mov al, byte [ebp - 0xa]
mov esp, ebp
pop ebp
ret

Function at 0x40e17c
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffbb4
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
push 0x400
lea ecx, [ebp - 0x44c]
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.0040dfc4
mov eax, dword [0x510ec0]
cmp byte [eax], 0
je 0x40e20f
mov eax, dword [0x510bb0]
call fcn.004033a0
call fcn.00402ca4
lea eax, [ebp - 0x44c]
push eax
lea eax, [ebp - 0x44c]
push eax
call sub.user32.dll_CharToOemA
push 0
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x44c]
call fcn.0040a8ec
push eax
lea eax, [ebp - 0x44c]
push eax
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
push 0
lea eax, [ebp - 0xc]
push eax
push 2
push 0x40e254
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
jmp 0x40e245
push 0x40
lea eax, [ebp - 0x4c]
push eax
mov eax, dword [0x510b3c]
mov eax, dword [eax + 4]
push eax
mov eax, dword [0x512668]
call fcn.00406404
push eax
call sub.user32.dll_LoadStringA_1
push 0x2010
lea eax, [ebp - 0x4c]
push eax
lea eax, [ebp - 0x44c]
push eax
push 0
call sub.user32.dll_MessageBoxA_1
mov esp, ebp
pop ebp
ret
Function at 0x40ec70
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe0
xor edx, edx
mov dword [ebp - 0xc], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x40ed4e
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 8], 0xffffffff
lea eax, [ebp - 0xc]
mov edx, dword [ebp - 4]
call fcn.00404df8
lea eax, [ebp - 0xc]
call fcn.00405280
lea eax, [ebp - 0x14]
push eax
mov eax, dword [ebp - 0xc]
call fcn.00405230
push eax
call sub.version.dll_GetFileVersionInfoSizeA
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x40ed38
mov eax, dword [ebp - 0x10]
call fcn.00402b18
mov dword [ebp - 0x18], eax
xor eax, eax
push ebp
push 0x40ed31
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0x18]
push eax
mov eax, dword [ebp - 0x10]
push eax
mov eax, dword [ebp - 0x14]
push eax
mov eax, dword [ebp - 0xc]
call fcn.00405230
push eax
call sub.version.dll_GetFileVersionInfoA
test eax, eax
je 0x40ed1b
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x1c]
push eax
push 0x40ed5c
mov eax, dword [ebp - 0x18]
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x40ed1b
mov eax, dword [ebp - 0x1c]
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 0x40ed38
mov eax, dword [ebp - 0x18]
call fcn.00402b48
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40ed55
lea eax, [ebp - 0xc]
call fcn.00404d60
ret

Function at 0x40f564
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
xor edx, edx
mov dword [ebp - 0x14], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x40f5ce
push dword fs:[eax]
mov dword fs:[eax], esp
push 7
lea eax, [ebp - 0xf]
push eax
push 0x1004
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_GetLocaleInfoA_1
lea eax, [ebp - 0x14]
lea edx, [ebp - 0xf]
mov ecx, 7
call fcn.00404fe0
mov eax, dword [ebp - 0x14]
push eax
call sub.kernel32.dll_GetACP
mov edx, eax
pop eax
call fcn.00409fec
mov dword [ebp - 8], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40f5d5
lea eax, [ebp - 0x14]
call fcn.00404d60
ret