joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4039a0
Capabilities:
Clear file content
Write file on windows

Disassembly:
sub esp, 0x28
push esi
push edi
push 0x5c
mov ecx, 0x41
mov esi, 0x45ff70
mov edi, 0x4605c0
push 0x4605c0
rep movsd dword es:[edi], dword [esi]
call fcn.00415170
add esp, 8
test eax, eax
mov dword [0x460074], eax
je 0x403b8e
push 0x13
add eax, 1
push str.Armageddon_log.txt
push eax
mov dword [0x460074], eax
call fcn.00415aa0
add esp, 0xc
push 0
push 0x80
push 4
push 0
push 3
push 0x40000000
push 0x4605c0
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov edi, eax
cmp edi, 0xffffffff
jne 0x403a42
push 0x4605c0
push str.CreateFile_error_logfile:_n_s
push 0x4610a8
call fcn.00415641
add esp, 0xc
push 0x1010
push 0x448c14
push 0x4610a8
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
pop edi
pop esi
add esp, 0x28
ret
mov eax, dword [0x45fb58]
push ebx
mov ebx, dword [sym.imp.USER32.dll_SendMessageA]
push ebp
push 0
push 0
push 0x1004
push eax
call ebx
mov edx, dword [0x45fb58]
mov ecx, dword [0x45fbac]
push 0x462620
push 0
push 0x1007
push edx
mov ebp, eax
mov dword [0x462634], 0x448ca0
mov dword [0x462624], ecx
call ebx
add dword [0x45fbac], 1
test ebp, ebp
jle 0x403b47
xor esi, esi
test ebp, ebp
mov dword [0x45362c], esi
jle 0x403b47
push 0x50
push 0
push 0x45fbb0
call fcn.00415c90
push 0x50
push 0
push 0x45fc00
call fcn.00415c90
mov ecx, dword [0x45fb58]
add esp, 0x18
lea eax, [esp + 0x10]
push eax
push esi
push 0x102d
push ecx
mov dword [esp + 0x28], 0
mov dword [esp + 0x38], 0x50
mov dword [esp + 0x34], 0x45fbb0
call ebx
push 0x45fbb0
push str._s_r_n
push 0x45fc00
call fcn.00415641
mov eax, 0x45fc00
add esp, 0xc
lea ecx, [eax + 1]
mov dl, byte [eax]
add eax, 1
test dl, dl
jne 0x403b11
push 0
push 0x460f20
sub eax, ecx
push eax
push 0x45fc00
push edi
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov esi, dword [0x45362c]
add esi, 1
cmp esi, ebp
mov dword [0x45362c], esi
jl 0x403aa7
push edi
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [0x45fb58]
mov edx, dword [0x45fbac]
push 0x462620
push 0
push 0x1007
push eax
mov dword [0x462634], 0x448cbc
mov dword [0x462624], edx
call ebx
add dword [0x45fbac], 1
pop ebp
pop ebx
pop edi
pop esi
add esp, 0x28
ret
push str.Cannot_save_log_file_to_target_folder_nNo_target_file_selected_
push 0x4610a8
call fcn.00415641
add esp, 8
push 0x1040
push 0x448c20
push 0x4610a8
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
pop edi
pop esi
add esp, 0x28
ret
Function at 0x403bc0
Capabilities:
Clear file content
Write file on windows

Disassembly:
push 0x460180
call fcn.00403760
add esp, 4
test eax, eax
je 0x403d39
mov ecx, dword [0x45fb58]
mov eax, dword [0x45fbac]
push esi
push edi
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
push 0x462620
push 0
push 0x1007
push ecx
mov dword [0x462634], 0x448cc4
mov dword [0x462624], eax
call edi
add dword [0x45fbac], 1
push 0
push 0x80
push 4
push 0
push 3
push 0x40000000
push 0x460180
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
cmp esi, 0xffffffff
jne 0x403c64
push 0x460180
push 0x448ce0
push 0x4610a8
call fcn.00415641
add esp, 0xc
push 0x1010
push 0x448c14
push 0x4610a8
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
pop edi
xor eax, eax
pop esi
ret
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_WriteFile]
push 0
push 0x460f20
push 4
push 0x461af4
push esi
call ebx
mov edx, dword [0x461af4]
mov eax, dword [0x4619dc]
push 0
push 0x460f20
shl edx, 4
push edx
push eax
push esi
call ebx
push esi
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [0x461af4]
push 0xa
push 0x4612a8
push ecx
call fcn.004231b8
push 0x4612a8
push str._s_nanomites_saved...
push 0x45fbb0
call fcn.00415641
mov eax, dword [0x45fb58]
mov edx, dword [0x45fbac]
add esp, 0x18
push 0x462620
push 0
push 0x1007
push eax
mov dword [0x462634], 0x45fbb0
mov dword [0x462624], edx
call edi
mov eax, dword [0x45fbac]
mov ecx, dword [0x45fb58]
push 0x462620
push 0
add eax, 1
push 0x1007
push ecx
mov dword [0x45fbac], eax
mov dword [0x462634], 0x448d1c
mov dword [0x462624], eax
call edi
add dword [0x45fbac], 1
pop ebx
pop edi
mov eax, 1
pop esi
ret
mov dword [0x460180], 0
xor eax, eax
ret
Function at 0x403d50
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4231fb
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x4522d0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
push 0x460180
call fcn.004037e0
add esp, 4
test eax, eax
je 0x403f8c
cmp dword [0x4615e4], 0
je 0x403da0
add dword [0x45fbac], 1
mov ecx, dword [0x45fb58]
mov eax, dword [0x45fbac]
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
push 0x462620
push 0
push 0x1007
push ecx
mov dword [0x462634], 0x448d24
mov dword [0x462624], eax
call edi
add dword [0x45fbac], 1
push 0
push 0x80
push 4
push 0
push 3
push SysReAllocStringLen
push 0x460180
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
cmp esi, 0xffffffff
jne 0x403e3c
push 0x460180
push str.CreateFile_error_nanomite_file:_n_s
push 0x4610a8
call fcn.00415641
add esp, 0xc
push 0x1010
push 0x448c14
push 0x4610a8
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [0x4619dc]
test eax, eax
je 0x403e58
push eax
call fcn.00415d0a
add esp, 4
mov dword [0x4619dc], 0
mov ebx, dword [sym.imp.KERNEL32.dll_ReadFile]
push 0
push 0x460f1c
push 4
push 0x461af4
push esi
call ebx
mov eax, dword [0x461af4]
xor ecx, ecx
add eax, 1
mov edx, 0x10
mul edx
seto cl
mov dword [ebp - 4], 0
neg ecx
or ecx, eax
push ecx
call fcn.0041501c
mov ecx, dword [0x461af4]
add esp, 4
push 0
push 0x460f1c
shl ecx, 4
push ecx
push eax
push esi
mov dword [0x4619dc], eax
call ebx
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, dword [0x461af4]
push 0xa
push 0x4612a8
push edx
call fcn.004231b8
push 0x4612a8
push str._s_nanomites_loaded...
push 0x45fbb0
call fcn.00415641
mov ecx, dword [0x45fb58]
mov eax, dword [0x45fbac]
add esp, 0x18
push 0x462620
push 0
push 0x1007
push ecx
mov dword [0x462634], 0x45fbb0
mov dword [0x462624], eax
call edi
mov eax, dword [0x45fbac]
mov edx, dword [0x45fb58]
push 0x462620
push 0
add eax, 1
push 0x1007
push edx
mov dword [0x45fbac], eax
mov dword [0x462634], 0x448db8
mov dword [0x462624], eax
call edi
add dword [0x45fbac], 1
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov dword [0x460180], 0
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x403fb0
Capabilities:
Clear file content
Write file on windows

Disassembly:
push 0x460288
call fcn.00403860
add esp, 4
test eax, eax
je 0x40412d
mov ecx, dword [0x45fb58]
mov eax, dword [0x45fbac]
push esi
push edi
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
push 0x462620
push 0
push 0x1007
push ecx
mov dword [0x462634], 0x448dc0
mov dword [0x462624], eax
call edi
add dword [0x45fbac], 1
push 0
push 0x80
push 4
push 0
push 3
push 0x40000000
push 0x460288
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
cmp esi, 0xffffffff
jne 0x404054
push 0x460288
push 0x448de0
push 0x4610a8
call fcn.00415641
add esp, 0xc
push 0x1010
push 0x448c14
push 0x4610a8
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
pop edi
xor eax, eax
pop esi
ret
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_WriteFile]
push 0
push 0x460f20
push 4
push 0x461afc
push esi
call ebx
mov edx, dword [0x461afc]
mov ecx, dword [0x461ae8]
push 0
push 0x460f20
lea eax, [edx*4]
push eax
push ecx
push esi
call ebx
push esi
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, dword [0x461afc]
push 0xa
push 0x4612a8
push edx
call fcn.004231b8
push 0x4612a8
push str._s_logged_nanomites_saved...
push 0x45fbb0
call fcn.00415641
mov ecx, dword [0x45fb58]
mov eax, dword [0x45fbac]
add esp, 0x18
push 0x462620
push 0
push 0x1007
push ecx
mov dword [0x462634], 0x45fbb0
mov dword [0x462624], eax
call edi
mov eax, dword [0x45fbac]
mov edx, dword [0x45fb58]
push 0x462620
push 0
add eax, 1
push 0x1007
push edx
mov dword [0x45fbac], eax
mov dword [0x462634], 0x448e28
mov dword [0x462624], eax
call edi
add dword [0x45fbac], 1
pop ebx
pop edi
mov eax, 1
pop esi
ret
mov dword [0x460288], 0
xor eax, eax
ret
Function at 0x406f40
Capabilities:
Acquire debug privileges

Disassembly:
sub esp, 0x1c
lea eax, [esp]
push eax
push 0x28
mov dword [esp + 8], 0
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
jne 0x406f6c
call dword [sym.imp.KERNEL32.dll_GetLastError]
add esp, 0x1c
ret
lea ecx, [esp + 4]
push ecx
push str.SeDebugPrivilege
push 0
call dword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueA]
test eax, eax
je 0x406f62
mov edx, dword [esp + 4]
mov eax, dword [esp + 8]
push 0
push 0
push 0x10
lea ecx, [esp + 0x18]
push ecx
mov dword [esp + 0x20], edx
mov edx, dword [esp + 0x10]
push 0
push edx
mov dword [esp + 0x24], 1
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], 2
call dword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
test eax, eax
je 0x406f62
mov eax, dword [esp]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, 1
add esp, 0x1c
ret
Function at 0x40c580
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x423294
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push esi
push edi
mov eax, dword [0x4522d0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
push 0x460288
call fcn.004038e0
add esp, 4
test eax, eax
je 0x40c81e
cmp dword [0x4615e4], 0
je 0x40c5d0
add dword [0x45fbac], 1
mov ecx, dword [0x45fb58]
mov eax, dword [0x45fbac]
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
push 0x462620
push 0
push 0x1007
push ecx
mov dword [0x462634], 0x448e30
mov dword [0x462624], eax
call edi
add dword [0x45fbac], 1
push 0
push 0x80
push 4
push 0
push 3
push SysReAllocStringLen
push 0x460288
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
cmp esi, 0xffffffff
jne 0x40c66c
push 0x460288
push str.CreateFile_error_nanomite_log_file:_n_s
push 0x4610a8
call fcn.00415641
add esp, 0xc
push 0x1010
push 0x448c14
push 0x4610a8
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [0x461ae8]
test eax, eax
je 0x40c688
push eax
call fcn.00415d0a
add esp, 4
mov dword [0x461ae8], 0
mov ebx, dword [sym.imp.KERNEL32.dll_ReadFile]
push 0
push 0x460f1c
push 4
push 0x461afc
push esi
call ebx
mov eax, dword [0x461afc]
xor ecx, ecx
add eax, 1
mov edx, 4
mul edx
seto cl
mov dword [ebp - 4], 0
neg ecx
or ecx, eax
push ecx
call fcn.0041501c
mov ecx, dword [0x461afc]
add esp, 4
push 0
push 0x460f1c
lea edx, [ecx*4]
push edx
push eax
push esi
mov dword [0x461ae8], eax
mov dword [ebp - 4], 0xffffffff
call ebx
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [0x4628c4], 0
je 0x40c706
mov ecx, 0x4628bc
call fcn.004143d0
mov ecx, dword [0x461afc]
xor eax, eax
test ecx, ecx
mov dword [0x4535c4], eax
jle 0x40c74f
jmp 0x40c720
mov ecx, dword [0x461ae8]
lea edx, [ecx + eax*4]
push edx
lea eax, [ebp - 0x20]
push eax
mov ecx, 0x4628bc
call fcn.00414e60
mov eax, dword [0x4535c4]
mov ecx, dword [0x461afc]
add eax, 1
cmp eax, ecx
mov dword [0x4535c4], eax
jl 0x40c720
push 0xa
push 0x4612a8
push ecx
call fcn.004231b8
push 0x4612a8
push str._s_logged_nanomites_loaded...
push 0x45fbb0
call fcn.00415641
mov edx, dword [0x45fb58]
mov ecx, dword [0x45fbac]
add esp, 0x18
push 0x462620
push 0
push 0x1007
push edx
mov dword [0x462634], 0x45fbb0
mov dword [0x462624], ecx
call edi
mov eax, dword [0x45fbac]
push 0x462620
add eax, 1
push 0
mov dword [0x45fbac], eax
mov dword [0x462624], eax
mov eax, dword [0x45fb58]
push 0x1007
push eax
mov dword [0x462634], 0x448ed8
call edi
add dword [0x45fbac], 1
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov dword [0x460288], 0
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x415a83
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x4522d0]
jne 0x415a8d
repz ret
jmp fcn.0041a1cc
Function at 0x4206ab
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
push edi
call fcn.00419b7b
xor ebx, ebx
cmp dword [0x4632d8], ebx
mov dword [ebp - 0x10], eax
mov dword [ebp - 4], ebx
mov dword [ebp - 8], ebx
mov dword [ebp - 0xc], ebx
jne 0x420780
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
cmp edi, ebx
jne 0x4206eb
xor eax, eax
jmp 0x420844
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x44f10c
push edi
call esi
cmp eax, ebx
je 0x4206e4
push eax
call fcn.00419b18
mov dword [esp], 0x44f0fc
push edi
mov dword [0x4632d8], eax
call esi
push eax
call fcn.00419b18
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x4632dc], eax
call esi
push eax
call fcn.00419b18
mov dword [0x4632e0], eax
lea eax, [ebp - 8]
push eax
call fcn.0041b6f2
test eax, eax
pop ecx
pop ecx
je 0x42074e
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.00416355
add esp, 0x14
cmp dword [ebp - 8], 2
jne 0x420780
push str.GetUserObjectInformationA
push edi
call esi
push eax
call fcn.00419b18
cmp eax, ebx
pop ecx
mov dword [0x4632e8], eax
je 0x420780
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.00419b18
pop ecx
mov dword [0x4632e4], eax
mov eax, dword [0x4632e4]
mov esi, dword [ebp - 0x10]
cmp eax, esi
je 0x4207f9
cmp dword [0x4632e8], esi
je 0x4207f9
push eax
call fcn.00419b84
pop ecx
call eax
cmp eax, ebx
je 0x4207c6
lea ecx, [ebp - 0x14]
push ecx
push 0xc
lea ecx, [ebp - 0x20]
push ecx
push 1
push eax
push dword [0x4632e8]
call fcn.00419b84
pop ecx
call eax
test eax, eax
je 0x4207c6
test byte [ebp - 0x18], 1
jne 0x4207f9
lea eax, [ebp - 0xc]
push eax
call fcn.0041b729
test eax, eax
pop ecx
je 0x4207e1
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.00416355
add esp, 0x14
cmp dword [ebp - 0xc], 4
jb 0x4207f0
or dword [ebp + 0x10], 0x200000
jmp 0x42082a
or dword [ebp + 0x10], 0x40000
jmp 0x42082a
mov eax, dword [0x4632dc]
cmp eax, esi
je 0x42082a
push eax
call fcn.00419b84
pop ecx
call eax
cmp eax, ebx
mov dword [ebp - 4], eax
je 0x42082a
mov eax, dword [0x4632e0]
cmp eax, esi
je 0x42082a
push dword [ebp - 4]
push eax
call fcn.00419b84
pop ecx
call eax
mov dword [ebp - 4], eax
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
push dword [0x4632d8]
call fcn.00419b84
pop ecx
call eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x425d64
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
movzx eax, word [0x465020]
mov dword [ebp - 8], eax
lea eax, [ebp - 4]
push eax
push 1
push 0
push 0x425dfc
push SysReAllocStringLen
call sub.ADVAPI32.dll_RegOpenKeyExA
test eax, eax
jne 0x425ddc
xor eax, eax
push ebp
push 0x425dd5
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 0x425e18
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 0x425ddc
mov eax, dword [ebp - 4]
push eax
call sub.ADVAPI32.dll_RegCloseKey
ret
mov ax, word [0x465020]
and ax, 0xffc0
mov dx, word [ebp - 8]
and dx, 0x3f
or ax, dx
mov word [0x465020], ax
mov esp, ebp
pop ebp
ret

Function at 0x426884
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp byte [0x469044], 0
je 0x4268e5
cmp word [0x469218], 0xd7b2
jne 0x4268ad
cmp dword [0x469220], 0
jbe 0x4268ad
mov eax, 0x469214
call dword [0x469230]
push 0
lea eax, [esp + 4]
push eax
push 0x1e
push 0x46506c
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 0x42690c
push 0xfffffffffffffff5
call sub.KERNEL32.dll_GetStdHandle
push eax
call sub.KERNEL32.dll_WriteFile
pop edx
ret
cmp byte [0x465030], 0
jne 0x426901
push 0
push 0x465064
push 0x46506c
push 0
call sub.USER32.dll_MessageBoxA
pop edx
ret
Function at 0x427e2c
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 0x42805c
push SysReAllocStringLen
call sub.ADVAPI32.dll_RegOpenKeyExA
test eax, eax
je 0x427eaf
lea eax, [ebp - 8]
push eax
push 0xf0019
push 0
push 0x42805c
push SysReAllocStringLen
call sub.ADVAPI32.dll_RegOpenKeyExA
test eax, eax
je 0x427eaf
lea eax, [ebp - 8]
push eax
push 0xf0019
push 0
push 0x428078
push SysReAllocStringLen
call sub.ADVAPI32.dll_RegOpenKeyExA
test eax, eax
jne 0x427f38
xor eax, eax
push ebp
push 0x427f31
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0x18], 5
lea eax, [ebp - 0x11d]
mov edx, 0x105
call fcn.00427c74
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 0x427f16
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x12]
push eax
push 0
push 0
push 0x428098
mov eax, dword [ebp - 8]
push eax
call sub.ADVAPI32.dll_RegQueryValueExA
test eax, eax
je 0x427f16
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 0x427f38
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 0x428052
cmp byte [ebp - 0xd], 0
jne 0x427f7f
cmp byte [ebp - 0x12], 0
je 0x428052
lea eax, [ebp - 0x11d]
push eax
call sub.KERNEL32.dll_lstrlenA
mov ebx, eax
lea eax, [ebp - 0x11d]
add ebx, eax
jmp 0x427f98
dec ebx
cmp byte [ebx], 0x2e
je 0x427fa7
lea eax, [ebp - 0x11d]
cmp ebx, eax
jne 0x427f97
lea eax, [ebp - 0x11d]
cmp ebx, eax
je 0x428052
inc ebx
cmp byte [ebp - 0x12], 0
je 0x427fe4
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 0x428052
cmp byte [ebp - 0xd], 0
je 0x428052
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 0x428052
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 0x4286f4
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 0x42875a
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.00426c70
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 4]
call fcn.00425958
mov ebx, eax
cmp dword [ebp - 4], 0
je 0x428744
xor ebx, ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x428761
lea eax, [ebp - 0x10]
call fcn.00426a00
ret

Function at 0x42cba4
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 0x100
lea ecx, [ebp - 0x100]
push ecx
push edx
push eax
call sub.KERNEL32.dll_GetLocaleInfoA
test eax, eax
jle 0x42cbdd
mov ecx, eax
dec ecx
lea edx, [ebp - 0x100]
mov eax, ebx
call fcn.00426af0
jmp 0x42cbe6
mov eax, ebx
mov edx, esi
call fcn.00426a54
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x42cbf0
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
test eax, eax
jle 0x42cc11
mov al, byte [esp]
jmp 0x42cc13
mov eax, ebx
pop edx
pop edi
pop esi
pop ebx
ret

Function at 0x42dff8
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 0x42e05c
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
lea eax, [ebp - 0xc]
lea edx, [ebp - 7]
mov ecx, 7
call fcn.00426c70
mov eax, dword [ebp - 0xc]
push eax
call sub.KERNEL32.dll_GetACP
mov edx, eax
pop eax
call fcn.00429ff4
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x42e063
lea eax, [ebp - 0xc]
call fcn.00426a00
ret
Function at 0x43963c
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xfffffff8
mov edi, ecx
mov ebx, edx
mov esi, eax
push esp
push 0x40
push 4
mov ebp, edi
push ebp
push esi
call sub.KERNEL32.dll_VirtualProtectEx
test eax, eax
jne 0x439661
xor eax, eax
mov dword [ebx], eax
jmp 0x43967b
lea eax, [esp + 4]
push eax
push 4
push ebx
push ebp
push esi
call sub.KERNEL32.dll_ReadProcessMemory
cmp dword [esp + 4], 4
jae 0x43967b
xor eax, eax
mov dword [ebx], eax
pop ecx
pop edx
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x439684
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
mov ebx, edx
mov edi, eax
mov esi, dword [ebp + 8]
push 0
mov eax, ebx
mov ecx, 1
mov edx, dword [0x439224]
call fcn.00427a58
add esp, 4
push esi
mov eax, ebx
mov ecx, 1
mov edx, dword [0x439224]
call fcn.00427a58
add esp, 4
lea eax, [ebp - 0xc]
push eax
push 0x40
push esi
mov eax, dword [ebp - 4]
push eax
push edi
call sub.KERNEL32.dll_VirtualProtectEx
test eax, eax
jne 0x439708
push 0
mov eax, ebx
mov ecx, 1
mov edx, dword [0x439224]
call fcn.00427a58
add esp, 4
push esi
mov eax, ebx
mov ecx, 1
mov edx, dword [0x439224]
call fcn.00427a58
add esp, 4
jmp 0x439752
lea eax, [ebp - 0x10]
push eax
push esi
mov eax, dword [ebx]
push eax
mov eax, dword [ebp - 4]
push eax
push edi
call sub.KERNEL32.dll_ReadProcessMemory
cmp esi, dword [ebp - 0x10]
jbe 0x43974e
push 0
mov eax, ebx
mov ecx, 1
mov edx, dword [0x439224]
call fcn.00427a58
add esp, 4
push esi
mov eax, ebx
mov ecx, 1
mov edx, dword [0x439224]
call fcn.00427a58
add esp, 4
jmp 0x439752
mov byte [ebp - 5], 1
mov al, byte [ebp - 5]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4