joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10025d38
Capabilities:
Create process on windows
Terminate process

Disassembly:
push 0x64
mov eax, 0x10067363
call fcn.1003a5de
lea eax, [ebp - 0x1c]
push eax
call fcn.1004cb7f
pop ecx
mov esi, dword [ebp - 0x1c]
and dword [ebp - 4], 0
mov dword [ebp - 0x14], esi
test esi, esi
je 0x10025d60
lock inc dword [esi + 8]
push 0x1007dffc
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 1
call fcn.1000155e
lea eax, [ebp - 0x10]
mov byte [ebp - 4], 2
push eax
lea ecx, [ebp - 0x14]
call fcn.10001697
mov ecx, dword [ebp - 0x10]
mov byte [ebp - 4], 1
test ecx, ecx
je 0x10025d91
call fcn.100016f0
push 0x1007e014
lea ecx, [ebp - 0x10]
call fcn.1000155e
push 0x1007e018
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 3
call fcn.1000155e
lea eax, [ebp - 0x18]
mov byte [ebp - 4], 4
push eax
lea ecx, [ebp - 0x10]
call fcn.10001697
mov ecx, dword [ebp - 0x18]
mov byte [ebp - 4], 3
test ecx, ecx
je 0x10025dcf
call fcn.100016f0
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp - 0x10]
call fcn.10001697
push 0x1007e01c
lea ecx, [ebp - 0x18]
call fcn.1000155e
lea eax, [ebp - 0x18]
mov byte [ebp - 4], 5
push eax
lea ecx, [ebp - 0x10]
call fcn.10001697
mov ecx, dword [ebp - 0x18]
mov byte [ebp - 4], 3
test ecx, ecx
je 0x10025e08
call fcn.100016f0
push 0x1007e020
lea ecx, [ebp - 0x18]
call fcn.1000155e
lea eax, [ebp - 0x18]
mov byte [ebp - 4], 6
push eax
lea ecx, [ebp - 0x10]
call fcn.10001697
mov ecx, dword [ebp - 0x18]
test ecx, ecx
je 0x10025e31
call fcn.100016f0
push 0x44
pop edi
push edi
lea eax, [ebp - 0x70]
push 0
push eax
call fcn.1003cd40
mov dword [ebp - 0x70], edi
xor eax, eax
lea edi, [ebp - 0x2c]
add esp, 0xc
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
test esi, esi
je 0x10025e57
mov ecx, dword [esi]
jmp 0x10025e59
xor ecx, ecx
mov edi, dword [ebp - 0x10]
test edi, edi
je 0x10025e64
mov edx, dword [edi]
jmp 0x10025e66
xor edx, edx
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x10025e71
mov eax, dword [eax]
jmp 0x10025e73
xor eax, eax
lea ebx, [ebp - 0x2c]
push ebx
lea ebx, [ebp - 0x70]
push ebx
push ecx
xor ecx, ecx
push ecx
push 0x8000000
push ecx
push ecx
push ecx
push edx
push eax
call dword [sym.imp.kernel32.dll_CreateProcessW]
test eax, eax
je 0x10025ec8
push 0x2bf20
push dword [ebp - 0x2c]
call dword [sym.imp.kernel32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x10025eb8
push 1
push dword [ebp - 0x2c]
call dword [sym.imp.kernel32.dll_TerminateProcess]
call fcn.10025c89
push dword [ebp - 0x28]
mov ebx, dword [sym.imp.kernel32.dll_CloseHandle]
call ebx
push dword [ebp - 0x2c]
call ebx
test edi, edi
je 0x10025ed3
mov ecx, edi
call fcn.100016f0
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x10025ee1
mov ecx, eax
call fcn.100016f0
test esi, esi
je 0x10025eec
mov ecx, esi
call fcn.100016f0
call fcn.1003a5b8
ret
Function at 0x10025ef2
Capabilities:
Create process on windows
Terminate process

Disassembly:
push 0x64
mov eax, 0x100673b6
call fcn.1003a5de
lea eax, [ebp - 0x1c]
push eax
call fcn.1004cb7f
pop ecx
mov esi, dword [ebp - 0x1c]
and dword [ebp - 4], 0
mov dword [ebp - 0x14], esi
test esi, esi
je 0x10025f1a
lock inc dword [esi + 8]
push 0x1007e064
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 1
call fcn.1000155e
lea eax, [ebp - 0x10]
mov byte [ebp - 4], 2
push eax
lea ecx, [ebp - 0x14]
call fcn.10001697
mov ecx, dword [ebp - 0x10]
mov byte [ebp - 4], 1
test ecx, ecx
je 0x10025f4b
call fcn.100016f0
push 0x1007e07c
lea ecx, [ebp - 0x10]
call fcn.1000155e
push 0x1007e080
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 3
call fcn.1000155e
lea eax, [ebp - 0x18]
mov byte [ebp - 4], 4
push eax
lea ecx, [ebp - 0x10]
call fcn.10001697
mov ecx, dword [ebp - 0x18]
mov byte [ebp - 4], 3
test ecx, ecx
je 0x10025f89
call fcn.100016f0
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp - 0x10]
call fcn.10001697
push 0x1007e084
lea ecx, [ebp - 0x18]
call fcn.1000155e
lea eax, [ebp - 0x18]
mov byte [ebp - 4], 5
push eax
lea ecx, [ebp - 0x10]
call fcn.10001697
mov ecx, dword [ebp - 0x18]
mov byte [ebp - 4], 3
test ecx, ecx
je 0x10025fc2
call fcn.100016f0
push 0x1007e088
lea ecx, [ebp - 0x18]
call fcn.1000155e
lea eax, [ebp - 0x18]
mov byte [ebp - 4], 6
push eax
lea ecx, [ebp - 0x10]
call fcn.10001697
mov ecx, dword [ebp - 0x18]
test ecx, ecx
je 0x10025feb
call fcn.100016f0
push 0x44
pop edi
push edi
lea eax, [ebp - 0x70]
push 0
push eax
call fcn.1003cd40
mov dword [ebp - 0x70], edi
xor eax, eax
lea edi, [ebp - 0x2c]
add esp, 0xc
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
test esi, esi
je 0x10026011
mov ecx, dword [esi]
jmp 0x10026013
xor ecx, ecx
mov edi, dword [ebp - 0x10]
test edi, edi
je 0x1002601e
mov edx, dword [edi]
jmp 0x10026020
xor edx, edx
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x1002602b
mov eax, dword [eax]
jmp 0x1002602d
xor eax, eax
lea ebx, [ebp - 0x2c]
push ebx
lea ebx, [ebp - 0x70]
push ebx
push ecx
xor ecx, ecx
push ecx
push 0x8000000
push ecx
push ecx
push ecx
push edx
push eax
call dword [sym.imp.kernel32.dll_CreateProcessW]
test eax, eax
je 0x10026082
push 0x2bf20
push dword [ebp - 0x2c]
call dword [sym.imp.kernel32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x10026072
push 1
push dword [ebp - 0x2c]
call dword [sym.imp.kernel32.dll_TerminateProcess]
call fcn.10025c89
push dword [ebp - 0x28]
mov ebx, dword [sym.imp.kernel32.dll_CloseHandle]
call ebx
push dword [ebp - 0x2c]
call ebx
test edi, edi
je 0x1002608d
mov ecx, edi
call fcn.100016f0
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x1002609b
mov ecx, eax
call fcn.100016f0
test esi, esi
je 0x100260a6
mov ecx, esi
call fcn.100016f0
call fcn.1003a5b8
ret
Function at 0x100260ac
Capabilities:
Delete registry value

Disassembly:
push 0x10
mov eax, 0x100673d9
call fcn.1003a5de
xor ebx, ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x14], ebx
push 0x2001f
push str.SOFTWAREOracleJavaFX
xor esi, esi
mov dword [ebp - 4], ebx
push reloc.OLEAUT32.dll_SysReAllocString
lea ecx, [ebp - 0x1c]
inc esi
call fcn.1004cb7f
test eax, eax
jne 0x1002611c
push str.Disabled
push dword [ebp - 0x1c]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
mov edi, eax
test edi, edi
je 0x10026114
cmp edi, 2
je 0x10026114
push ecx
mov ecx, esp
push str.cleanupJavaFXDisabledEntry_error
call fcn.1000155e
push edi
call fcn.100295eb
pop ecx
pop ecx
mov esi, ebx
lea ecx, [ebp - 0x1c]
call fcn.1001ad8c
lea ecx, [ebp - 0x1c]
call fcn.1001ad8c
mov eax, esi
call fcn.1003a5b8
ret

Function at 0x1002612c
Capabilities:
Query or enumerate registry key

Disassembly:
sub esp, 0x804
mov eax, dword [0x100bc054]
xor eax, esp
mov dword [esp + 0x800], eax
push ebp
push esi
mov ebp, 0x800
lea eax, [esp + 8]
push ebp
push 0
push eax
call fcn.1003cd40
add esp, 0xc
lea eax, [esp + 8]
xor esi, esi
push 0x400
push eax
push esi
jmp 0x100261af
push 0xa
lea eax, [esp + 0xc]
push str.JavaPlugin
push eax
call fcn.1004cb7f
add esp, 0xc
test eax, eax
jne 0x10026193
lea eax, [esp + 8]
push eax
lea ecx, [esp + 0x814]
call fcn.1001b50c
test eax, eax
je 0x10026194
inc esi
push ebp
lea eax, [esp + 0xc]
push 0
push eax
call fcn.1003cd40
add esp, 0xc
lea eax, [esp + 8]
push 0x400
push eax
push esi
push dword [esp + 0x81c]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyW]
test eax, eax
je 0x10026166
lea ecx, [esp + 0x810]
call fcn.1001ad8c
mov ecx, dword [esp + 0x808]
pop esi
pop ebp
xor ecx, esp
call fcn.1003a5a7
add esp, 0x804
ret
Function at 0x100294b3
Capabilities:
Delete registry value

Disassembly:
push 0x28
mov eax, 0x10067985
call fcn.1003a5de
xor esi, esi
mov dword [ebp - 0x28], esi
mov dword [ebp - 0x24], esi
mov dword [ebp - 0x20], esi
mov dword [ebp - 4], esi
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x14], esi
mov edi, 0x20019
mov byte [ebp - 4], 1
push edi
push 0x10080e48
mov ebx, reloc.OLEAUT32.dll_SysReAllocString
lea ecx, [ebp - 0x28]
push ebx
call fcn.1004cb7f
test eax, eax
jne 0x100295b4
push edi
push 0x10080e5c
push dword [ebp - 0x28]
lea ecx, [ebp - 0x1c]
call fcn.1004cb7f
test eax, eax
jne 0x100295a4
lea eax, [ebp - 0x1c]
push 0x10080e70
push eax
call fcn.1001fdc8
pop ecx
pop ecx
test eax, eax
je 0x10029585
mov dword [ebp - 0x34], esi
mov dword [ebp - 0x30], esi
mov dword [ebp - 0x2c], esi
push 0x20006
push 0x10080ec8
push ebx
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 2
call fcn.1004cb7f
test eax, eax
je 0x10029558
push str.DeleteEmptyDeploymentKeysInHLKM:_failed_to_open_JRE_key
call fcn.1004cb7f
jmp 0x1002957c
push str.BrowserJavaVersion
push dword [ebp - 0x34]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
push ecx
mov ecx, esp
mov esi, eax
push str.DeleteEmptyDeploymentKeysInHLKM:_Remove_BrowserJavaVersion_value
call fcn.1000155e
push esi
call fcn.100295eb
pop ecx
pop ecx
lea ecx, [ebp - 0x34]
call fcn.1001ad8c
lea eax, [ebp - 0x1c]
push str.Java_Web_Start
push eax
call fcn.1001fdc8
lea eax, [ebp - 0x1c]
push str.Java_Web_Start_Caps
push eax
call fcn.1001fdc8
add esp, 0x10
lea eax, [ebp - 0x28]
push 0x10080eb4
push eax
call fcn.1001fdc8
pop ecx
pop ecx
lea ecx, [ebp - 0x1c]
call fcn.1001ad8c
lea ecx, [ebp - 0x28]
call fcn.1001ad8c
call fcn.1003a5b8
ret
Function at 0x1002a2c0
Capabilities:
Create directory
Query or enumerate registry value

Disassembly:
mov eax, 0x225c
call fcn.1003a680
mov eax, dword [0x100bc054]
xor eax, esp
mov dword [esp + 0x2258], eax
push ebx
mov ebx, dword [esp + 0x2264]
lea eax, [esp + 0x25c]
push ebp
push esi
push edi
mov esi, 0x1000
xor edi, edi
push esi
push edi
push eax
mov dword [esp + 0x1c], edi
call fcn.1003cd40
push esi
lea eax, [esp + 0x1278]
push edi
push eax
call fcn.1003cd40
mov eax, 0x800
push str.SOFTWAREMozillaMozilla_Firefox
push eax
mov dword [esp + 0x34], eax
lea eax, [esp + 0x288]
push eax
call fcn.1004cb7f
mov ebp, dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
lea eax, [esp + 0x34]
add esp, 0x24
push eax
lea eax, [esp + 0x26c]
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call ebp
test eax, eax
jne 0x1002a377
lea eax, [esp + 0x14]
push eax
lea eax, [esp + 0x126c]
push eax
push edi
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push 0x100881fc
push dword [esp + 0x24]
call edi
push dword [esp + 0x10]
test eax, eax
je 0x1002a392
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
mov ecx, dword [esp + 0x2268]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.1003a5a7
add esp, 0x225c
ret
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
call esi
lea eax, [esp + 0x1268]
push eax
lea eax, [esp + 0x26c]
push 0x10088220
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0xc
lea eax, [esp + 0x10]
push eax
lea eax, [esp + 0x26c]
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call ebp
test eax, eax
jne 0x1002a377
lea eax, [esp + 0x14]
mov dword [esp + 0x14], 0x800
push eax
push ebx
xor ebp, ebp
push ebp
push ebp
push 0x10088194
push dword [esp + 0x24]
call edi
push dword [esp + 0x10]
test eax, eax
je 0x1002a3fc
call esi
jmp 0x1002a377
call esi
mov ecx, ebx
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
cmp ax, bp
jne 0x1002a403
sub ecx, edx
sar ecx, 1
cmp word [ebx + ecx*2 - 2], 0x5c
je 0x1002a430
lea edi, [ebx - 2]
mov ax, word [edi + 2]
lea edi, [edi + 2]
cmp ax, bp
jne 0x1002a41d
mov eax, dword [0x1008821c]
mov dword [edi], eax
lea edi, [ebx - 2]
mov ax, word [edi + 2]
add edi, 2
cmp ax, bp
jne 0x1002a433
push 5
pop ecx
mov esi, str.extensions
lea eax, [esp + 0x18]
rep movsd dword es:[edi], dword [esi]
push eax
push ebx
movsw word es:[edi], word [esi]
call dword [sym.imp.kernel32.dll_FindFirstFileW]
cmp eax, 0xffffffff
jne 0x1002a46d
push ebp
push ebx
call dword [sym.imp.kernel32.dll_CreateDirectoryW]
test eax, eax
jne 0x1002a47f
jmp 0x1002a377
push eax
call dword [sym.imp.kernel32.dll_FindClose]
test byte [esp + 0x18], 0x10
je 0x1002a377
xor eax, eax
inc eax
jmp 0x1002a379
Function at 0x1002b4a9
Capabilities:
Get geographical location

Disassembly:
mov eax, 0x1074
call fcn.1003a680
mov eax, dword [0x100bc054]
xor eax, esp
mov dword [esp + 0x1070], eax
push esi
mov esi, dword [esp + 0x107c]
push edi
mov edi, dword [esp + 0x1084]
push esi
mov dword [esp + 0x1c], esi
call dword [sym.imp.GDI32.dll_SaveDC]
push 2
push esi
mov dword [esp + 0x18], eax
call dword [sym.imp.GDI32.dll_SetGraphicsMode]
push 1
push 0
push esi
call dword [sym.imp.GDI32.dll_ModifyWorldTransform]
xor eax, eax
push eax
push eax
push eax
push esi
call dword [sym.imp.GDI32.dll_SetViewportOrgEx]
xor eax, eax
push eax
push eax
push eax
push esi
call dword [sym.imp.GDI32.dll_SetWindowOrgEx]
push 0x58
push esi
mov esi, dword [sym.imp.GDI32.dll_GetDeviceCaps]
call esi
push 0x5a
push dword [esp + 0x1c]
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [esp + 0x1c], xmm0
call esi
movss xmm0, dword [esp + 0x14]
mulss xmm0, dword [0x10070dcc]
push 1
movd xmm2, eax
cvtdq2ps xmm2, xmm2
divss xmm0, dword [0x10070df0]
cvttss2si eax, xmm0
mov dword [esp + 0xc], eax
imul eax, dword [esp + 0x108c], 0xa
movd xmm0, eax
cvtdq2ps xmm0, xmm0
mulss xmm0, xmm2
divss xmm0, dword [0x10070df0]
cvttss2si eax, xmm0
mov dword [esp + 0x10], eax
lea eax, [esp + 0xc]
push eax
push dword [esp + 0x20]
call dword [sym.imp.GDI32.dll_DPtoLP]
movd xmm0, dword [esp + 0xc]
mov ecx, 0x800
cvtdq2pd xmm0, xmm0
push ecx
andps xmm0, xmmword [0x10070e10]
divsd xmm0, qword [0x10070dd8]
addsd xmm0, qword [0x10070dd0]
cvttsd2si eax, xmm0
neg eax
mov dword [esp + 0x20], eax
xor eax, eax
cmp dword [esp + 0x1090], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
setne byte [esp + 0x35]
mov dword [esp + 0x2c], eax
mov byte [esp + 0x34], al
mov dword [esp + 0x36], eax
mov word [esp + 0x3a], ax
mov eax, dword [esp + 0x1094]
neg eax
sbb eax, eax
and eax, 0x2bc
mov dword [esp + 0x30], eax
lea eax, [esp + 0x7c]
push eax
push 0x1002
push ecx
call dword [sym.imp.kernel32.dll_GetLocaleInfoW]
push 5
lea eax, [esp + 0x7c]
push 0x1008b664
push eax
call fcn.1004cb7f
test eax, eax
mov ecx, 0x1008b670
lea eax, [esp + 0x44]
cmovne ecx, edi
push ecx
push 0x20
push eax
call fcn.1004cb7f
add esp, 0x18
lea eax, [esp + 0x1c]
push eax
call dword [sym.imp.GDI32.dll_CreateFontIndirectW]
push dword [esp + 0x10]
mov esi, eax
push dword [esp + 0x1c]
call dword [sym.imp.GDI32.dll_RestoreDC]
mov ecx, dword [esp + 0x1078]
mov eax, esi
pop edi
pop esi
xor ecx, esp
call fcn.1003a5a7
add esp, 0x1074
ret 0x14
Function at 0x1002befe
Capabilities:
Parse url

Disassembly:
mov eax, 0x4040
call fcn.1003a680
mov eax, dword [0x100bc054]
xor eax, esp
mov dword [esp + 0x403c], eax
push ebx
push ebp
mov ebp, dword [sym.imp.USER32.dll_GetDlgItem]
mov ebx, ecx
push esi
push edi
xor eax, eax
push 0xd7
push dword [ebx + 4]
mov dword [ebx + 0x48], eax
mov dword [ebx + 0x4c], eax
mov dword [ebx + 0x50], eax
mov dword [ebx + 0x54], eax
mov dword [ebx + 0x74], eax
call ebp
push dword [ebx + 0x28]
mov edi, dword [sym.imp.USER32.dll_SetWindowTextW]
push eax
call edi
push 0x3c
pop esi
push esi
lea eax, [esp + 0x14]
push 0
push eax
call fcn.1003cd40
mov ecx, 0x800
mov dword [esp + 0x1c], esi
lea eax, [esp + 0x2058]
mov dword [esp + 0x24], ecx
mov dword [esp + 0x30], ecx
add esp, 0xc
mov ecx, dword [ebx + 0x2c]
xor esi, esi
mov dword [esp + 0x14], eax
lea eax, [esp + 0x104c]
mov dword [esp + 0x20], eax
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
cmp ax, si
jne 0x1002bf8b
lea eax, [esp + 0x10]
sub ecx, edx
push eax
push esi
sar ecx, 1
push ecx
push dword [ebx + 0x2c]
call dword [sym.imp.wininet.dll_InternetCrackUrlW]
lea eax, [esp + 0x104c]
push eax
lea eax, [esp + 0x2050]
push eax
push str._s:___s
lea eax, [esp + 0x3058]
push 0x800
push eax
call fcn.1004cb7f
add esp, 0x14
push 0xd2
push dword [ebx + 4]
call ebp
lea ecx, [esp + 0x304c]
push ecx
push eax
call edi
push 0xd0
push dword [ebx + 4]
call ebp
push dword [ebx + 0x30]
mov esi, eax
lea eax, [esp + 0x50]
push 0x800
push eax
call fcn.1004cb7f
add esp, 0xc
lea eax, [esp + 0x4c]
push eax
push esi
call edi
push 0xd3
push dword [ebx + 4]
call ebp
mov edi, dword [sym.imp.USER32.dll_LoadStringW]
mov esi, eax
push 0x800
lea eax, [esp + 0x50]
push eax
push dword [ebx + 0x40]
push dword [0x100bf194]
call edi
lea eax, [esp + 0x4c]
push eax
push esi
call dword [sym.imp.USER32.dll_SetWindowTextW]
push 0xd4
push dword [ebx + 4]
call ebp
push 0x800
mov esi, eax
lea eax, [esp + 0x50]
push eax
push dword [ebx + 0x44]
push dword [0x100bf194]
call edi
lea eax, [esp + 0x4c]
push eax
push esi
call dword [sym.imp.USER32.dll_SetWindowTextW]
push 0xd5
push dword [ebx + 4]
call ebp
mov esi, eax
push 0xfffffffffffffff0
push esi
call dword [sym.imp.USER32.dll_GetWindowLongW]
or eax, 0x100
push eax
push 0xfffffffffffffff0
push esi
call dword [sym.imp.USER32.dll_SetWindowLongW]
push 0xcb
push dword [ebx + 4]
call ebp
push 0x800
mov esi, eax
lea eax, [esp + 0x50]
push eax
push dword [ebx + 0x38]
push dword [0x100bf194]
call edi
lea eax, [esp + 0x4c]
push eax
push esi
call dword [sym.imp.USER32.dll_SetWindowTextW]
push 0xcc
push dword [ebx + 4]
call ebp
push 0x800
mov esi, eax
lea eax, [esp + 0x50]
push eax
push dword [ebx + 0x3c]
push dword [0x100bf194]
call edi
lea eax, [esp + 0x4c]
push eax
push esi
call dword [sym.imp.USER32.dll_SetWindowTextW]
mov ecx, dword [esp + 0x404c]
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
inc eax
call fcn.1003a5a7
add esp, 0x4040
ret 0x10
Function at 0x1002c406
Capabilities:
Get geographical location

Disassembly:
mov eax, 0x1074
call fcn.1003a680
mov eax, dword [0x100bc054]
xor eax, esp
mov dword [esp + 0x1070], eax
push esi
mov esi, dword [esp + 0x107c]
push edi
mov edi, dword [esp + 0x1084]
push esi
mov dword [esp + 0x1c], esi
call dword [sym.imp.GDI32.dll_SaveDC]
push 2
push esi
mov dword [esp + 0x18], eax
call dword [sym.imp.GDI32.dll_SetGraphicsMode]
push 1
push 0
push esi
call dword [sym.imp.GDI32.dll_ModifyWorldTransform]
xor eax, eax
push eax
push eax
push eax
push esi
call dword [sym.imp.GDI32.dll_SetViewportOrgEx]
xor eax, eax
push eax
push eax
push eax
push esi
call dword [sym.imp.GDI32.dll_SetWindowOrgEx]
push 0x58
push esi
mov esi, dword [sym.imp.GDI32.dll_GetDeviceCaps]
call esi
push 0x5a
push dword [esp + 0x1c]
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [esp + 0x1c], xmm0
call esi
movss xmm0, dword [esp + 0x14]
mulss xmm0, dword [0x10070dcc]
push 1
movd xmm2, eax
cvtdq2ps xmm2, xmm2
divss xmm0, dword [0x10070df0]
cvttss2si eax, xmm0
mov dword [esp + 0xc], eax
imul eax, dword [esp + 0x108c], 0xa
movd xmm0, eax
cvtdq2ps xmm0, xmm0
mulss xmm0, xmm2
divss xmm0, dword [0x10070df0]
cvttss2si eax, xmm0
mov dword [esp + 0x10], eax
lea eax, [esp + 0xc]
push eax
push dword [esp + 0x20]
call dword [sym.imp.GDI32.dll_DPtoLP]
movd xmm0, dword [esp + 0xc]
mov ecx, 0x800
cvtdq2pd xmm0, xmm0
push ecx
andps xmm0, xmmword [0x10070e10]
divsd xmm0, qword [0x10070dd8]
addsd xmm0, qword [0x10070dd0]
cvttsd2si eax, xmm0
xorps xmm0, xmm0
neg eax
mov dword [esp + 0x20], eax
xor eax, eax
cmp dword [esp + 0x1090], eax
mov byte [esp + 0x34], al
mov dword [esp + 0x36], eax
setne byte [esp + 0x35]
mov word [esp + 0x3a], ax
lea eax, [esp + 0x7c]
push eax
push 0x1002
push ecx
movups xmmword [esp + 0x30], xmm0
call dword [sym.imp.kernel32.dll_GetLocaleInfoW]
push 5
push str.Japan
lea eax, [esp + 0x80]
push eax
call fcn.1004cb7f
test eax, eax
mov ecx, 0x1008ccd0
lea eax, [esp + 0x44]
cmovne ecx, edi
push ecx
push 0x20
push eax
call fcn.1004cb7f
add esp, 0x18
lea eax, [esp + 0x1c]
push eax
call dword [sym.imp.GDI32.dll_CreateFontIndirectW]
push dword [esp + 0x10]
mov esi, eax
push dword [esp + 0x1c]
call dword [sym.imp.GDI32.dll_RestoreDC]
mov ecx, dword [esp + 0x1078]
mov eax, esi
pop edi
pop esi
xor ecx, esp
call fcn.1003a5a7
add esp, 0x1074
ret 0x10
Function at 0x1002cea1
Capabilities:
Check if file exists
Query or enumerate registry value

Disassembly:
push ebp
lea ebp, [esp - 0x1414]
mov eax, 0x1414
call fcn.1003a680
push 0xffffffffffffffff
push 0x10067d40
mov eax, dword fs:[0]
push eax
sub esp, 0x14
mov eax, dword [0x100bc054]
xor eax, ebp
mov dword [ebp + 0x1410], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 0x141c]
mov dword [ebp - 0x20], edi
and dword [ebp - 0x1c], 0
and dword [ebp - 0x14], 0
xor ebx, ebx
mov ecx, edi
inc ebx
push 0x100917d0
mov dword [ebp - 4], ebx
call fcn.1000155e
mov esi, 0x208
mov dword [ebp - 0x1c], ebx
push esi
lea eax, [ebp + 0x1208]
push 0
push eax
call fcn.1003cd40
push esi
lea eax, [ebp + 0x1000]
push 0
push eax
call fcn.1003cd40
mov ebx, dword [sym.imp.ADVAPI32.dll_RegQueryValueW]
lea eax, [ebp - 0x18]
add esp, 0x18
mov esi, 0x104
mov dword [ebp - 0x18], esi
push eax
lea eax, [ebp + 0x1208]
push eax
push str.CLSID08B0E5C0_4FCB_11CF_AAA5_00401C608501TreatAs
push SysReAllocString
call ebx
test eax, eax
jne 0x1002d0b8
push 0x100917d4
lea ecx, [ebp - 0x10]
call fcn.1000155e
push eax
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 2
call fcn.10001697
mov ecx, dword [ebp - 0x10]
mov byte [ebp - 4], 1
test ecx, ecx
je 0x1002cf81
call fcn.100016f0
push 0x1009184c
lea ecx, [ebp - 0x10]
call fcn.1000155e
lea eax, [ebp - 0x10]
mov byte [ebp - 4], 3
push eax
lea ecx, [ebp - 0x14]
call fcn.10001697
mov ecx, dword [ebp - 0x10]
mov byte [ebp - 4], 1
test ecx, ecx
je 0x1002cfae
call fcn.100016f0
lea eax, [ebp + 0x1208]
push eax
lea ecx, [ebp - 0x10]
call fcn.1000155e
lea eax, [ebp - 0x10]
mov byte [ebp - 4], 4
push eax
lea ecx, [ebp - 0x14]
call fcn.10001697
mov ecx, dword [ebp - 0x10]
mov byte [ebp - 4], 1
test ecx, ecx
je 0x1002cfdd
call fcn.100016f0
push 0x10091850
lea ecx, [ebp - 0x10]
call fcn.1000155e
lea eax, [ebp - 0x10]
mov byte [ebp - 4], 5
push eax
lea ecx, [ebp - 0x14]
call fcn.10001697
mov ecx, dword [ebp - 0x10]
mov byte [ebp - 4], 1
test ecx, ecx
je 0x1002d00a
call fcn.100016f0
push 0x10091854
lea ecx, [ebp - 0x10]
call fcn.1000155e
push eax
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 6
call fcn.10001697
mov ecx, dword [ebp - 0x10]
mov byte [ebp - 4], 1
test ecx, ecx
je 0x1002d034
call fcn.100016f0
mov dword [ebp - 0x18], esi
mov esi, dword [ebp - 0x14]
test esi, esi
je 0x1002d042
mov eax, dword [esi]
jmp 0x1002d044
xor eax, eax
lea ecx, [ebp - 0x18]
push ecx
lea ecx, [ebp + 0x1000]
push ecx
push eax
push SysReAllocString
call ebx
test eax, eax
jne 0x1002d0ad
lea eax, [ebp + 0x1000]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x1002d0ad
push 0x1000
lea eax, [ebp]
push 0
push eax
call fcn.1003cd40
lea eax, [ebp]
push 0x800
push eax
call fcn.10036bf4
add esp, 0x14
lea eax, [ebp]
lea ecx, [ebp - 0x10]
push eax
call fcn.1000155e
push eax
mov ecx, edi
call fcn.100015bc
mov ecx, dword [ebp - 0x10]
test ecx, ecx
je 0x1002d0ad
call fcn.100016f0
test esi, esi
je 0x1002d0b8
mov ecx, esi
call fcn.100016f0
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x1410]
xor ecx, ebp
call fcn.1003a5a7
add ebp, 0x1414
leave
ret