joyce8/EMBER2024-capa huggingface dataset:
Function at 0x419180
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x50
push ebx
push esi
push edi
lea edi, [ebp - 0x50]
mov ecx, 0x14
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
mov dword [ebp - 8], 0
mov dword [ebp - 0x10], 4
cmp dword [ebp + 8], 0
jne 0x4191c7
lea eax, [ebp + 8]
push eax
call fcn.00418ec0
add esp, 4
test eax, eax
jne 0x4191c0
xor eax, eax
jmp 0x419210
mov dword [ebp - 8], 1
mov esi, esp
lea ecx, [ebp - 0x10]
push ecx
mov edx, dword [ebp + 0x10]
push edx
lea eax, [ebp - 0xc]
push eax
push 0
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
cmp esi, esp
call fcn.0041fa50
neg eax
sbb eax, eax
inc eax
mov dword [ebp - 4], eax
cmp dword [ebp - 8], 0
je 0x41920d
mov esi, esp
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp esi, esp
call fcn.0041fa50
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
add esp, 0x50
cmp ebp, esp
call fcn.0041fa50
mov esp, ebp
pop ebp
ret

Function at 0x4193e0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
push ebx
push esi
push edi
lea edi, [ebp - 0x48]
mov ecx, 0x12
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
mov dword [ebp - 8], 0
cmp dword [ebp + 8], 0
jne 0x419420
lea eax, [ebp + 8]
push eax
call fcn.00418ec0
add esp, 4
test eax, eax
jne 0x419419
xor eax, eax
jmp 0x419465
mov dword [ebp - 8], 1
mov esi, esp
push 4
lea ecx, [ebp + 0x10]
push ecx
push 4
push 0
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
cmp esi, esp
call fcn.0041fa50
neg eax
sbb eax, eax
inc eax
mov dword [ebp - 4], eax
cmp dword [ebp - 8], 0
je 0x419462
mov esi, esp
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp esi, esp
call fcn.0041fa50
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
add esp, 0x48
cmp ebp, esp
call fcn.0041fa50
mov esp, ebp
pop ebp
ret
Function at 0x4194d0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x68
push ebx
push esi
push edi
lea edi, [ebp - 0x68]
mov ecx, 0x1a
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
mov dword [ebp - 8], 0
cmp dword [ebp + 0x10], 0
je 0x419512
mov esi, esp
push 0x1e
lea eax, [ebp - 0x28]
push eax
push 0
mov ecx, dword [ebp + 0x10]
push ecx
call dword [sym.imp.WININET.dll_InternetTimeFromSystemTime]
cmp esi, esp
call fcn.0041fa50
jmp 0x419516
mov byte [ebp - 0x28], 0
cmp dword [ebp + 8], 0
jne 0x419537
lea edx, [ebp + 8]
push edx
call fcn.00418ec0
add esp, 4
test eax, eax
jne 0x419530
xor eax, eax
jmp 0x419587
mov dword [ebp - 8], 1
lea eax, [ebp - 0x28]
push eax
call fcn.00421940
add esp, 4
mov esi, esp
push eax
lea ecx, [ebp - 0x28]
push ecx
push 1
push 0
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
cmp esi, esp
call fcn.0041fa50
neg eax
sbb eax, eax
inc eax
mov dword [ebp - 4], eax
cmp dword [ebp - 8], 0
je 0x419584
mov esi, esp
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp esi, esp
call fcn.0041fa50
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
add esp, 0x68
cmp ebp, esp
call fcn.0041fa50
mov esp, ebp
pop ebp
ret

Function at 0x4196d0
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xd8
push ebx
push esi
push edi
lea edi, [ebp - 0xd8]
mov ecx, 0x36
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
mov dword [ebp - 4], 0
push 0x94
push 0
lea eax, [ebp - 0x98]
push eax
call fcn.004210a0
add esp, 0xc
mov dword [ebp - 0x98], 0x94
mov esi, esp
lea ecx, [ebp - 0x98]
push ecx
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
cmp esi, esp
call fcn.0041fa50
cmp dword [ebp - 0x88], 2
jne 0x4197b9
cmp dword [ebp - 0x94], 5
jne 0x4197b9
cmp dword [ebp - 0x90], 1
jb 0x419751
mov eax, 1
jmp 0x4197bb
lea edx, [ebp - 0x84]
test edx, edx
je 0x4197a3
lea eax, [ebp - 0x84]
push eax
call fcn.00421940
add esp, 4
test eax, eax
jbe 0x4197a3
lea ecx, [ebp - 0x84]
test ecx, ecx
je 0x4197a3
lea edx, [ebp - 0x84]
push edx
call fcn.00421940
add esp, 4
test eax, eax
jbe 0x4197a3
lea eax, [ebp - 4]
push eax
push str.Service_Pack__d
lea ecx, [ebp - 0x84]
push ecx
call fcn.004219c0
add esp, 0xc
cmp dword [ebp - 0x90], 0
jne 0x4197b9
cmp dword [ebp - 4], 2
jb 0x4197b9
mov eax, 1
jmp 0x4197bb
xor eax, eax
pop edi
pop esi
pop ebx
add esp, 0xd8
cmp ebp, esp
call fcn.0041fa50
mov esp, ebp
pop ebp
ret

Function at 0x4197d0
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xd4
push ebx
push esi
push edi
lea edi, [ebp - 0xd4]
mov ecx, 0x35
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
push 0x94
push 0
lea eax, [ebp - 0x94]
push eax
call fcn.004210a0
add esp, 0xc
mov dword [ebp - 0x94], 0x94
mov esi, esp
lea ecx, [ebp - 0x94]
push ecx
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
cmp esi, esp
call fcn.0041fa50
cmp dword [ebp - 0x84], 2
jne 0x419846
cmp dword [ebp - 0x90], 5
jne 0x419846
cmp dword [ebp - 0x8c], 1
jne 0x419846
mov eax, 1
jmp 0x419848
xor eax, eax
pop edi
pop esi
pop ebx
add esp, 0xd4
cmp ebp, esp
call fcn.0041fa50
mov esp, ebp
pop ebp
ret
Function at 0x41bb10
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xe0
push ebx
push esi
push edi
lea edi, [ebp - 0xe0]
mov ecx, 0x38
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
push 0x9c
push 0
lea eax, [ebp - 0x9c]
push eax
call fcn.004210a0
add esp, 0xc
mov dword [ebp - 0x9c], 0x9c
mov esi, esp
lea ecx, [ebp - 0x9c]
push ecx
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
cmp esi, esp
call fcn.0041fa50
mov dword [ebp - 0xa0], eax
cmp dword [ebp - 0xa0], 0
jne 0x41bb9b
mov dword [ebp - 0x9c], 0x94
mov esi, esp
lea edx, [ebp - 0x9c]
push edx
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
cmp esi, esp
call fcn.0041fa50
test eax, eax
jne 0x41bb9b
xor eax, eax
jmp 0x41bbdb
cmp dword [ebp - 0x8c], 2
jne 0x41bbbd
cmp dword [ebp - 0x98], 6
jb 0x41bbbd
cmp dword [ebp - 0x94], 0
jb 0x41bbbd
mov eax, 1
jmp 0x41bbdb
cmp dword [ebp - 0x8c], 2
jne 0x41bbd6
cmp dword [ebp - 0x98], 4
jb 0x41bbd6
call fcn.0041b900
jmp 0x41bbdb
mov eax, 1
pop edi
pop esi
pop ebx
add esp, 0xe0
cmp ebp, esp
call fcn.0041fa50
mov esp, ebp
pop ebp
ret

Function at 0x41bc90
Capabilities:
Delete registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
push ebx
push esi
push edi
push ecx
lea edi, [ebp - 0x44]
mov ecx, 0x11
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
pop ecx
mov dword [ebp - 4], ecx
mov eax, dword [ebp - 4]
cmp dword [eax], 0
jne 0x41bcd6
push str.m_hKey___0
push 0
push 0x12b1
push str.d:progra2micros1_vc98_atlinclude_atlbase.h
push 2
call fcn.00420070
add esp, 0x14
cmp eax, 1
jne 0x41bcd6
int3
xor ecx, ecx
test ecx, ecx
jne 0x41bcad
mov esi, esp
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
cmp esi, esp
call fcn.0041fa50
pop edi
pop esi
pop ebx
add esp, 0x44
cmp ebp, esp
call fcn.0041fa50
mov esp, ebp
pop ebp
ret 4
Function at 0x41bf30
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
push ebx
push esi
push edi
push ecx
lea edi, [ebp - 0x4c]
mov ecx, 0x13
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
pop ecx
mov dword [ebp - 4], ecx
cmp dword [ebp + 0x10], 0
jne 0x41bf74
push str.pdwCount___0
push 0
push 0x12ee
push str.d:progra2micros1_vc98_atlinclude_atlbase.h
push 2
call fcn.00420070
add esp, 0x14
cmp eax, 1
jne 0x41bf74
int3
xor eax, eax
test eax, eax
jne 0x41bf4d
mov dword [ebp - 8], 0
mov esi, esp
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp + 8]
push edx
lea eax, [ebp - 8]
push eax
push 0
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp - 4]
mov eax, dword [edx]
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
cmp esi, esp
call fcn.0041fa50
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x41bfe4
cmp dword [ebp - 8], 1
je 0x41bfe4
cmp dword [ebp - 8], 7
je 0x41bfe4
cmp dword [ebp - 8], 2
je 0x41bfe4
push str._lRes_0L____dwType____1______dwType____7______dwType____2___
push 0
push 0x12f3
push str.d:progra2micros1_vc98_atlinclude_atlbase.h
push 2
call fcn.00420070
add esp, 0x14
cmp eax, 1
jne 0x41bfe4
int3
xor ecx, ecx
test ecx, ecx
jne 0x41bfab
mov eax, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
add esp, 0x4c
cmp ebp, esp
call fcn.0041fa50
mov esp, ebp
pop ebp
ret 0xc

Function at 0x41c000
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
push ebx
push esi
push edi
push ecx
lea edi, [ebp - 0x44]
mov ecx, 0x11
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
pop ecx
mov dword [ebp - 4], ecx
cmp dword [ebp + 8], 0
jne 0x41c044
push str.lpszValue___0
push 0
push 0x1314
push str.d:progra2micros1_vc98_atlinclude_atlbase.h
push 2
call fcn.00420070
add esp, 0x14
cmp eax, 1
jne 0x41c044
int3
xor eax, eax
test eax, eax
jne 0x41c01d
mov ecx, dword [ebp - 4]
cmp dword [ecx], 0
jne 0x41c073
push str.m_hKey___0
push 0
push 0x1315
push str.d:progra2micros1_vc98_atlinclude_atlbase.h
push 2
call fcn.00420070
add esp, 0x14
cmp eax, 1
jne 0x41c073
int3
xor edx, edx
test edx, edx
jne 0x41c04a
mov esi, esp
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
cmp esi, esp
call fcn.0041fa50
add eax, 1
mov esi, esp
push eax
mov ecx, dword [ebp + 8]
push ecx
push 1
push 0
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
cmp esi, esp
call fcn.0041fa50
pop edi
pop esi
pop ebx
add esp, 0x44
cmp ebp, esp
call fcn.0041fa50
mov esp, ebp
pop ebp
ret 8
Function at 0x41cd30
Capabilities:
Get common file path
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc4c
push ebx
push esi
push edi
lea edi, [ebp - 0xc4c]
mov ecx, 0x313
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x804]
push eax
call fcn.004217b0
add esp, 4
mov ecx, dword [ebp + 8]
push ecx
lea edx, [ebp - 0x804]
push edx
call fcn.00423ee0
add esp, 4
push eax
call fcn.00423ce0
add esp, 4
push eax
push str._s::__s_n
lea eax, [ebp - 0xc04]
push eax
call fcn.00423be0
add esp, 0x10
mov esi, esp
lea ecx, [ebp - 0x800]
push ecx
push 0x800
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
cmp esi, esp
call fcn.0041fa50
mov esi, esp
push str.jusched.log
lea edx, [ebp - 0x800]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcatA]
cmp esi, esp
call fcn.0041fa50
mov esi, esp
push 0
push 0x80
push 4
push 0
push 0
push 0x40000000
lea eax, [ebp - 0x800]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
cmp esi, esp
call fcn.0041fa50
mov dword [ebp - 0xc0c], eax
cmp dword [ebp - 0xc0c], 0xffffffff
je 0x41ce63
mov esi, esp
push 2
push 0
push 0
mov ecx, dword [ebp - 0xc0c]
push ecx
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
cmp esi, esp
call fcn.0041fa50
mov esi, esp
push 0
lea edx, [ebp - 0xc08]
push edx
lea eax, [ebp - 0xc04]
push eax
call fcn.00421940
add esp, 4
push eax
lea ecx, [ebp - 0xc04]
push ecx
mov edx, dword [ebp - 0xc0c]
push edx
call dword [sym.imp.KERNEL32.dll_WriteFile]
cmp esi, esp
call fcn.0041fa50
mov esi, esp
mov eax, dword [ebp - 0xc0c]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp esi, esp
call fcn.0041fa50
pop edi
pop esi
pop ebx
add esp, 0xc4c
cmp ebp, esp
call fcn.0041fa50
mov esp, ebp
pop ebp
ret
Function at 0x401308
Capabilities:
Accept command line arguments
Query environment variable

Disassembly:
jmp 0x40131a
mov eax, dword [0x48208b]
shl eax, 2
mov dword [0x48208f], eax
push edx
push 0
call sub.KERNEL32.DLL_GetModuleHandleA
mov edx, eax
call fcn.004725dc
pop edx
call fcn.00472540
call fcn.0047261c
push 0
call fcn.00473b28
pop ecx
push 0x482034
push 0
call sub.KERNEL32.DLL_GetModuleHandleA
mov dword [0x482093], eax
push 0
jmp fcn.0047c474
Function at 0x404948
Capabilities:
Capture webcam image

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffb0
mov eax, 0x482f08
call fcn.00472e88
mov dword [ebp - 0x38], 0x32
mov dword [ebp - 0x3c], 0xfa
mov dword [ebp - 0x40], 0x64
mov dword [ebp - 0x44], 0xc8
mov dl, 1
mov eax, dword [0x4480cc]
call fcn.0044df64
mov dword [0x48a388], eax
xor edx, edx
mov dword [ebp - 0x4c], edx
push dword [0x48218c]
call sub.USER32.DLL_IsWindow
test eax, eax
je 0x4049b0
push 0x4823b4
push 0
push 0x419
push dword [0x48218c]
call sub.USER32.DLL_SendMessageA
mov word [ebp - 0x18], 8
mov edx, str.t1.bmp
lea eax, [ebp - 4]
call fcn.00480660
inc dword [ebp - 0xc]
mov edx, dword [eax]
mov eax, dword [sym.PScale.exe__Form1]
mov ecx, dword [eax + 0x2f4]
mov eax, dword [ecx + 0x168]
call fcn.0044c01c
dec dword [ebp - 0xc]
lea eax, [ebp - 4]
mov edx, 2
call fcn.00480718
xor ecx, ecx
mov dword [0x48a4d0], ecx
mov eax, dword [sym.PScale.exe__Form1]
mov edx, dword [eax + 0x2f4]
mov eax, dword [edx + 0x168]
call fcn.0044bf3c
mov dword [0x48a388], eax
xor edx, edx
mov dword [ebp - 0x48], edx
push 0x280
call fcn.00472450
pop ecx
mov ecx, dword [ebp - 0x48]
mov dword [ecx*4 + 0x48a4e0], eax
mov eax, dword [ebp - 0x48]
cmp dword [eax*4 + 0x48a4e0], 0
jne 0x404a40
push 0
call fcn.0047b70c
pop ecx
inc dword [ebp - 0x48]
cmp dword [ebp - 0x48], 0x1e0
jl 0x404a16
xor edx, edx
mov dword [ebp - 0x30], edx
mov edx, dword [ebp - 0x30]
mov eax, dword [0x48a388]
call fcn.0044e618
mov dword [ebp - 0x50], eax
xor ecx, ecx
mov dword [ebp - 0x2c], ecx
mov eax, dword [ebp - 0x50]
mov dl, byte [eax + 1]
mov ecx, dword [ebp - 0x30]
mov eax, dword [ecx*4 + 0x48a4e0]
mov ecx, dword [ebp - 0x2c]
mov byte [eax + ecx], dl
add dword [ebp - 0x50], 3
inc dword [ebp - 0x2c]
cmp dword [ebp - 0x2c], 0x280
jl 0x404a66
inc dword [ebp - 0x30]
cmp dword [ebp - 0x30], 0x1e0
jl 0x404a51
xor edx, edx
mov dword [ebp - 0x34], edx
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x30], eax
mov edx, dword [ebp - 0x30]
cmp edx, dword [ebp - 0x44]
jge 0x404ae5
mov ecx, dword [ebp - 0x38]
mov dword [ebp - 0x2c], ecx
mov eax, dword [ebp - 0x2c]
cmp eax, dword [ebp - 0x3c]
jge 0x404ada
mov edx, dword [ebp - 0x30]
mov ecx, dword [edx*4 + 0x48a4e0]
mov eax, dword [ebp - 0x2c]
cmp byte [ecx + eax], 0x50
jae 0x404acf
inc dword [ebp - 0x34]
inc dword [ebp - 0x2c]
mov edx, dword [ebp - 0x2c]
cmp edx, dword [ebp - 0x3c]
jl 0x404ab9
inc dword [ebp - 0x30]
mov ecx, dword [ebp - 0x30]
cmp ecx, dword [ebp - 0x44]
jl 0x404aab
cmp dword [ebp - 0x34], 0x4e20
jge 0x404b06
mov eax, dword [0x48218c]
mov dword [0x482194], eax
mov edx, dword [0x482190]
mov dword [0x482198], edx
jmp 0x404b1c
mov ecx, dword [0x482190]
mov dword [0x482194], ecx
mov eax, dword [0x48218c]
mov dword [0x482198], eax
xor edx, edx
mov dword [ebp - 0x48], edx
mov ecx, dword [ebp - 0x48]
push dword [ecx*4 + 0x48a4e0]
call fcn.00472460
pop ecx
inc dword [ebp - 0x48]
cmp dword [ebp - 0x48], 0x1e0
jl 0x404b21
mov eax, dword [ebp - 0x28]
mov dword fs:[0], eax
mov esp, ebp
pop ebp
ret
Function at 0x424c90
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, 0x48b698
cmp dword [edi], 0
jne 0x424d0c
push 0x40
push 0x1000
push 0x1000
push 0
call sub.KERNEL32.DLL_VirtualAlloc
mov esi, eax
mov eax, dword [0x48b694]
mov dword [esi], eax
lea edx, [esi + 4]
mov eax, 0x485b4c
mov ecx, 2
call fcn.00435d70
mov edx, 0x424c68
lea eax, [esi + 5]
call fcn.00424c88
mov dword [esi + 6], eax
lea ebx, [esi + 0xa]
mov byte [ebx], 0xe8
lea edx, [esi + 4]
mov eax, ebx
call fcn.00424c88
mov dword [ebx + 1], eax
mov eax, dword [edi]
mov dword [ebx + 5], eax
mov dword [edi], ebx
add ebx, 0xd
mov eax, ebx
sub eax, esi
cmp eax, 0xffc
jl 0x424ce1
mov dword [0x48b694], esi
mov eax, dword [edi]
mov ebx, dword [edi]
mov edx, dword [ebx + 5]
mov dword [edi], edx
mov edx, dword [ebp + 8]
mov dword [ebx + 5], edx
mov edx, dword [ebp + 0xc]
mov dword [ebx + 9], edx
pop edi
pop esi
pop ebx
pop ebp
ret 8

Function at 0x428f48
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 0x428f81
mov ecx, eax
dec ecx
lea edx, [ebp - 0x100]
mov eax, ebx
call fcn.004375d4
jmp 0x428f8a
mov eax, ebx
mov edx, esi
call fcn.00437538
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

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

Function at 0x42963c
Capabilities:
Write file on windows

Disassembly:
add esp, 0xfffffbbc
push 0x400
lea ecx, [esp + 0x48]
call 0x4294b4
mov eax, dword [0x48a1c8]
cmp byte [eax], 0
je 0x4296a9
mov eax, dword [0x48a1cc]
call fcn.0043612c
call fcn.00435cdc
push 0
lea eax, [esp + 4]
push eax
lea eax, [esp + 0x4c]
call fcn.004277c0
push eax
lea eax, [esp + 0x50]
push eax
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 0x4296f0
push 0xfffffffffffffff5
call sub.KERNEL32.DLL_GetStdHandle
push eax
call sub.KERNEL32.DLL_WriteFile
jmp 0x4296df
push 0x40
lea eax, [esp + 8]
push eax
mov eax, dword [0x48a088]
mov eax, dword [eax + 4]
push eax
mov eax, dword [0x48a370]
call fcn.00438c5c
push eax
call sub.USER32.DLL_LoadStringA
push 0x2010
lea eax, [esp + 8]
push eax
lea eax, [esp + 0x4c]
push eax
push 0
call sub.USER32.DLL_MessageBoxA
add esp, 0x444
ret
Function at 0x42a238
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 0x42a29c
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.0043774c
mov eax, dword [ebp - 0xc]
push eax
call sub.KERNEL32.DLL_GetACP
mov edx, eax
pop eax
call fcn.00427498
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x42a2a3
lea eax, [ebp - 0xc]
call fcn.004374e4
ret

Function at 0x436808
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
movzx eax, word [0x486074]
mov dword [ebp - 8], eax
lea eax, [ebp - 4]
push eax
push 1
push 0
push 0x4368a0
push SysReAllocStringLen
call sub.ADVAPI32.DLL_RegOpenKeyExA
test eax, eax
jne 0x436880
xor eax, eax
push ebp
push 0x436879
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 0x4368bc
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 0x436880
mov eax, dword [ebp - 4]
push eax
call sub.ADVAPI32.DLL_RegCloseKey
ret
mov ax, word [0x486074]
and ax, 0xffc0
mov dx, word [ebp - 8]
and dx, 0x3f
or ax, dx
mov word [0x486074], ax
mov esp, ebp
pop ebp
ret

Function at 0x437368
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp byte [0x48b9b4], 0
je 0x4373c9
cmp word [0x48bb88], 0xd7b2
jne 0x437391
cmp dword [0x48bb90], 0
jbe 0x437391
mov eax, 0x48bb84
call dword [0x48bba0]
push 0
lea eax, [esp + 4]
push eax
push 0x1e
push str.Runtime_error_____at_00000000
push 0xfffffffffffffff5
call sub.KERNEL32.DLL_GetStdHandle
push eax
call sub.KERNEL32.DLL_WriteFile
push 0
lea eax, [esp + 4]
push eax
push 2
push 0x4373f0
push 0xfffffffffffffff5
call sub.KERNEL32.DLL_GetStdHandle
push eax
call sub.KERNEL32.DLL_WriteFile
pop edx
ret
cmp byte [0x486084], 0
jne 0x4373e5
push 0
push 0x4860dc
push str.Runtime_error_____at_00000000
push 0
call sub.USER32.DLL_MessageBoxA
pop edx
ret
Function at 0x438e50
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 0x439080
push SysReAllocStringLen
call sub.ADVAPI32.DLL_RegOpenKeyExA
test eax, eax
je 0x438ed3
lea eax, [ebp - 8]
push eax
push 0xf0019
push 0
push 0x439080
push SysReAllocStringLen
call sub.ADVAPI32.DLL_RegOpenKeyExA
test eax, eax
je 0x438ed3
lea eax, [ebp - 8]
push eax
push 0xf0019
push 0
push 0x43909c
push SysReAllocStringLen
call sub.ADVAPI32.DLL_RegOpenKeyExA
test eax, eax
jne 0x438f5c
xor eax, eax
push ebp
push 0x438f55
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0x18], 5
lea eax, [ebp - 0x11d]
mov edx, 0x105
call fcn.00438c98
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 0x438f3a
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x12]
push eax
push 0
push 0
push 0x4390bc
mov eax, dword [ebp - 8]
push eax
call sub.ADVAPI32.DLL_RegQueryValueExA
test eax, eax
je 0x438f3a
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 0x438f5c
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 0x439076
cmp byte [ebp - 0xd], 0
jne 0x438fa3
cmp byte [ebp - 0x12], 0
je 0x439076
lea eax, [ebp - 0x11d]
push eax
call sub.KERNEL32.DLL_lstrlenA
mov ebx, eax
lea eax, [ebp - 0x11d]
add ebx, eax
jmp 0x438fbc
dec ebx
cmp byte [ebx], 0x2e
je 0x438fcb
lea eax, [ebp - 0x11d]
cmp ebx, eax
jne 0x438fbb
lea eax, [ebp - 0x11d]
cmp ebx, eax
je 0x439076
inc ebx
cmp byte [ebp - 0x12], 0
je 0x439008
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 0x439076
cmp byte [ebp - 0xd], 0
je 0x439076
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 0x439076
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