joyce8/EMBER2024-capa huggingface dataset:
Function at 0x41b780
Capabilities:
Set registry value

Disassembly:
push ecx
push ebx
push ebp
mov ebp, dword [esp + 0x10]
push esi
xor esi, esi
xor bl, bl
mov eax, dword [ebp + 8]
push edi
mov edi, dword [esp + 0x20]
cmp eax, esi
mov dword [esp + 0x10], esi
jne 0x41b7c3
push str.sPath.empty__
push str.Error______s
push 0x92
push str.....includehpzgluehpzglue_registry.cpp
push esi
push 0x4321c8
call fcn.00418600
add esp, 0x18
jmp 0x41b8c6
mov eax, dword [esp + 0x1c]
cmp dword [eax + 8], esi
jne 0x41b7dd
push str.sValueName.empty__
push str.Error______s
push 0x93
jmp 0x41b7ab
cmp dword [edi + 8], esi
jne 0x41b7f3
push str.sValueData.empty__
push str.Error______s
push 0x94
jmp 0x41b7ab
mov ecx, dword [esp + 0x28]
cmp ecx, esi
jne 0x41b80c
push str.hkRoot__0
push str.Error______s
push 0x95
jmp 0x41b7ab
mov eax, dword [ebp + 4]
cmp eax, esi
jne 0x41b818
mov eax, 0x42b144
lea edx, [esp + 0x10]
push esi
push edx
push esi
push 0x20006
push esi
push esi
push esi
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
mov esi, eax
test esi, esi
je 0x41b85a
push str.lResult___ERROR_SUCCESS
push str.Error______s
push 0x98
push str.....includehpzgluehpzglue_registry.cpp
push 0
push 0x4321c8
call fcn.00418600
add esp, 0x18
jmp 0x41b8c6
mov eax, dword [edi + 4]
mov edx, dword [edi + 8]
test eax, eax
mov ecx, 0x42b144
je 0x41b86b
mov ecx, eax
mov eax, dword [esp + 0x1c]
mov eax, dword [eax + 4]
test eax, eax
jne 0x41b87b
mov eax, 0x42b144
inc edx
push edx
push ecx
mov ecx, dword [esp + 0x18]
push 1
push 0
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov esi, eax
test esi, esi
je 0x41b8b9
push str.lResult___ERROR_SUCCESS
push str.Error______s
push 0x9b
push str.....includehpzgluehpzglue_registry.cpp
push 0
push 0x4321c8
call fcn.00418600
add esp, 0x18
jmp 0x41b8c6
mov edx, dword [esp + 0x10]
push edx
call dword [sym.imp.ADVAPI32.dll_RegFlushKey]
mov bl, 1
mov eax, dword [esp + 0x10]
test eax, eax
je 0x41b8d5
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
je 0x41b924
cmp byte [esp + 0x24], 1
jne 0x41b924
mov eax, dword [edi + 4]
mov edx, 0x42b144
test eax, eax
je 0x41b8ee
mov edx, eax
mov eax, dword [esp + 0x1c]
mov ecx, 0x42b144
mov eax, dword [eax + 4]
test eax, eax
je 0x41b900
mov ecx, eax
mov eax, dword [ebp + 4]
test eax, eax
jne 0x41b90c
mov eax, 0x42b144
push esi
push edx
push ecx
push eax
push str.RegSetStringValue___s___s___s__Failed__lResult___d
push 0
push 0x4321c8
call fcn.004183b0
add esp, 0x1c
pop edi
pop esi
mov al, bl
pop ebp
pop ebx
pop ecx
ret
Function at 0x41b930
Capabilities:
Set registry value

Disassembly:
push ecx
push ebx
push ebp
push esi
mov ebp, dword [esp + 0x18]
push edi
mov edi, dword [esp + 0x18]
xor esi, esi
xor bl, bl
mov eax, dword [edi + 8]
mov dword [esp + 0x10], esi
cmp eax, esi
jne 0x41b973
push str.sPath.empty__
push str.Error______s
push 0x168
push str.....includehpzgluehpzglue_registry.cpp
push esi
push 0x4321c8
call fcn.00418600
add esp, 0x18
jmp 0x41ba4b
cmp dword [ebp + 8], esi
jne 0x41b989
push str.sValueName.empty__
push str.Error______s
push 0x169
jmp 0x41b95b
mov ecx, dword [esp + 0x28]
cmp ecx, esi
jne 0x41b9a2
push str.hkRoot__0
push str.Error______s
push 0x16a
jmp 0x41b95b
mov eax, dword [edi + 4]
cmp eax, esi
jne 0x41b9ae
mov eax, 0x42b144
lea edx, [esp + 0x10]
push esi
push edx
push esi
push 0x20006
push esi
push esi
push esi
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
mov esi, eax
test esi, esi
je 0x41b9f0
push str.lResult___ERROR_SUCCESS
push str.Error______s
push 0x16d
push str.....includehpzgluehpzglue_registry.cpp
push 0
push 0x4321c8
call fcn.00418600
add esp, 0x18
jmp 0x41ba4b
mov eax, dword [ebp + 4]
test eax, eax
jne 0x41b9fc
mov eax, 0x42b144
mov edx, dword [esp + 0x10]
lea ecx, [esp + 0x20]
push 4
push ecx
push 4
push 0
push eax
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov esi, eax
test esi, esi
je 0x41ba3e
push str.lResult___ERROR_SUCCESS
push str.Error______s
push 0x170
push str.....includehpzgluehpzglue_registry.cpp
push 0
push 0x4321c8
call fcn.00418600
add esp, 0x18
jmp 0x41ba4b
mov eax, dword [esp + 0x10]
push eax
call dword [sym.imp.ADVAPI32.dll_RegFlushKey]
mov bl, 1
mov eax, dword [esp + 0x10]
test eax, eax
je 0x41ba5a
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
je 0x41ba9b
cmp byte [esp + 0x24], 1
jne 0x41ba9b
mov eax, dword [ebp + 4]
mov ecx, 0x42b144
test eax, eax
je 0x41ba73
mov ecx, eax
mov eax, dword [edi + 4]
test eax, eax
jne 0x41ba7f
mov eax, 0x42b144
mov edx, dword [esp + 0x20]
push esi
push edx
push ecx
push eax
push str.RegSetDwordValue___s___s__0x_.8x__Failed__lResult___d
push 0
push 0x4321c8
call fcn.004183b0
add esp, 0x1c
pop edi
pop esi
mov al, bl
pop ebp
pop ebx
pop ecx
ret
Function at 0x41c320
Capabilities:
Query or enumerate registry key

Disassembly:
sub esp, 0x10
mov eax, dword [esp + 0x14]
push ebx
xor ebx, ebx
mov ecx, dword [eax + 8]
mov byte [esp + 7], bl
cmp ecx, ebx
mov dword [esp + 8], ebx
mov dword [esp + 0xc], ebx
mov dword [esp + 0x10], ebx
jne 0x41c368
push str.sPath.empty__
push str.Error______s
push 0x2f3
push str.....includehpzgluehpzglue_registry.cpp
push ebx
push 0x4321c8
call fcn.00418600
add esp, 0x18
jmp 0x41c3f4
mov ecx, dword [esp + 0x20]
cmp ecx, ebx
jne 0x41c381
push str.hkRoot__0
push str.Error______s
push 0x2f4
jmp 0x41c350
mov eax, dword [eax + 4]
cmp eax, ebx
jne 0x41c38d
mov eax, 0x42b144
lea edx, [esp + 8]
push edx
push 0x20019
push ebx
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x41c3f4
push ebx
push ebx
mov edx, dword [esp + 0x10]
push ebx
lea eax, [esp + 0x1c]
push ebx
push eax
push ebx
lea ecx, [esp + 0x24]
push ebx
push ecx
push ebx
push ebx
push ebx
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyA]
test eax, eax
je 0x41c3da
push str._lResult__RegQueryInfoKey__hRegKey__0__0__0__nSubkeys__0__0__nValues__0__0__0__0______ERROR_SUCCESS
push str.Error______s
push 0x2f8
jmp 0x41c350
cmp dword [esp + 0xc], ebx
jne 0x41c3f4
mov cl, byte [esp + 0x1c]
mov al, 1
cmp cl, al
jne 0x41c3f0
cmp dword [esp + 0x10], ebx
jne 0x41c3f4
mov byte [esp + 7], al
mov eax, dword [esp + 8]
cmp eax, ebx
pop ebx
je 0x41c404
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov al, byte [esp + 3]
add esp, 0x10
ret
Function at 0x41da50
Capabilities:
Check os version

Disassembly:
sub esp, 0x94
lea eax, [esp]
push esi
push eax
mov esi, 6
mov dword [esp + 8], 0x94
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
test eax, eax
jne 0x41da9f
push str.GetVersionEx__tOsVersion____0
push str.Error______s
push 0x25d
push str.....includehpzgluehpzglue_utils.cpp
push eax
push 0x4321c8
call fcn.00418600
add esp, 0x18
mov eax, esi
pop esi
add esp, 0x94
ret
mov ecx, dword [esp + 0x14]
mov eax, ecx
dec eax
je 0x41db54
dec eax
je 0x41daee
cmp ecx, 1
je 0x41db86
cmp ecx, 2
je 0x41db86
push str._tOsVersion.dwPlatformId___VER_PLATFORM_WIN32_WINDOWS____tOsVersion.dwPlatformId___VER_PLATFORM_WIN32_NT_
push str.Error______s
push 0x27f
push str.....includehpzgluehpzglue_utils.cpp
push 0
push 0x4321c8
call fcn.00418600
add esp, 0x18
mov eax, esi
pop esi
add esp, 0x94
ret
mov eax, dword [esp + 8]
cmp eax, 4
jne 0x41db06
mov esi, 3
mov eax, esi
pop esi
add esp, 0x94
ret
jbe 0x41db22
mov edx, dword [esp + 0xc]
xor ecx, ecx
test edx, edx
setne cl
add ecx, 4
mov esi, ecx
mov eax, esi
pop esi
add esp, 0x94
ret
cmp eax, 4
jae 0x41db86
push str.tOsVersion.dwMajorVersion___4
push str.Error______s
push 0x27b
push str.....includehpzgluehpzglue_utils.cpp
push 0
push 0x4321c8
call fcn.00418600
add esp, 0x18
mov eax, esi
pop esi
add esp, 0x94
ret
mov eax, dword [esp + 0xc]
test eax, eax
je 0x41db84
cmp eax, 0xa
je 0x41db75
cmp eax, 0x5a
jne 0x41db86
mov esi, 2
mov eax, esi
pop esi
add esp, 0x94
ret
mov esi, 1
mov eax, esi
pop esi
add esp, 0x94
ret
xor esi, esi
mov eax, esi
pop esi
add esp, 0x94
ret
Function at 0x588be0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x118000]
push edi
or ebp, 0xffffffff
jmp 0x588c02
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x588c09
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x588bf8
mov eax, 1
add ebx, ebx
jne 0x588c1b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x588c2c
jne 0x588c4b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x588c4b
dec eax
add ebx, ebx
jne 0x588c38
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x588c10
add ebx, ebx
jne 0x588c47
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x588c9d
xor ecx, ecx
sub eax, 3
jb 0x588c63
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x588cd2
sar eax, 1
mov ebp, eax
jmp 0x588c6e
add ebx, ebx
jne 0x588c6e
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x588c3c
inc ecx
add ebx, ebx
jne 0x588c7c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x588c3c
add ebx, ebx
jne 0x588c89
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x588c7e
jne 0x588c9a
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x588c7e
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x588cbc
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x588cae
jmp 0x588bfe
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x588cbc
add edi, ecx
jmp 0x588bfe
pop esi
mov edi, esi
mov ecx, 0x56a2
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x588cda
cmp byte [edi], 0x12
jne 0x588cda
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x588cdf
lea edi, [esi + 0x179000]
mov eax, dword [edi]
or eax, eax
je 0x588d57
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x18d204]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x18d358]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x588d0c
mov ecx, edi
jns 0x588d3b
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x18d35c]
or eax, eax
je 0x588d51
mov dword [ebx], eax
add ebx, 4
jmp 0x588d29
call dword [esi + 0x18d36c]
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0x588d88
cmp al, 0xef
ja 0x588d7b
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0x588d5d
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
jmp 0x588d6a
mov ebp, dword [esi + 0x18d360]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x22f]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x588dbc
sub esp, 0xffffff80
jmp 0x50292c
Function at 0x42bf40
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x580c0e
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push esi
push edi
mov edi, ecx
mov dword [esp + 8], edi
mov dword [edi], 0x5b5fa8
mov dword [esp + 0x18], 0
mov esi, dword [edi + 0x30]
test esi, esi
mov dword [esp + 0xc], esi
je 0x42bf90
mov byte [esp + 0x18], 0
mov eax, dword [esi + 0x20]
push eax
call fcn.0056c3bc
push esi
call fcn.0056c3bc
add esp, 8
mov esi, dword [edi + 0x34]
test esi, esi
mov dword [esp + 0xc], esi
je 0x42bfb2
mov byte [esp + 0x18], 0
mov eax, dword [esi + 0x20]
push eax
call fcn.0056c3bc
push esi
call fcn.0056c3bc
add esp, 8
mov dword [esp + 0x18], 0xffffffff
mov ecx, edi
call fcn.004c24f0
mov ecx, dword [esp + 0x10]
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x14
ret
Function at 0x43bc00
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x583dda
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x190
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
mov esi, ecx
mov dword [ebp - 4], 0
mov eax, dword [esi]
call dword [eax + 0xb0]
push eax
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x40]
push eax
call fcn.0041ad30
add esp, 8
mov edi, eax
mov dword [ebp - 0x24], edi
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0xb0]
push eax
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x40]
push eax
call fcn.00401200
mov dword [ebp - 0x18], eax
push eax
push edi
lea eax, [ebp + 0xc]
push eax
call fcn.0042b630
add esp, 0x14
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
mov ecx, esi
call fcn.004bbc90
mov eax, dword [esi]
sub esp, 0x10
mov ecx, esp
mov edx, dword [0x641250]
mov dword [ecx], edx
mov edx, dword [0x641254]
mov dword [ecx + 4], edx
mov edx, dword [0x641258]
mov dword [ecx + 8], edx
mov edx, dword [0x64125c]
mov dword [ecx + 0xc], edx
mov ecx, dword [esi + 0x30]
push ecx
mov ecx, esi
call dword [eax + 0x8c]
mov edx, dword [esi]
sub esp, 0x10
mov eax, esp
mov ecx, dword [0x6411f0]
mov dword [eax], ecx
mov ecx, dword [0x6411f4]
mov dword [eax + 4], ecx
mov ecx, dword [0x6411f8]
mov dword [eax + 8], ecx
mov ecx, dword [0x6411fc]
mov dword [eax + 0xc], ecx
mov eax, dword [esi + 0x34]
push eax
mov ecx, esi
call dword [edx + 0x8c]
mov edx, dword [esi]
sub esp, 0x10
mov eax, esp
mov ecx, dword [0x64119c]
mov dword [eax], ecx
mov ecx, dword [0x6411a0]
mov dword [eax + 4], ecx
mov ecx, dword [0x6411a4]
mov dword [eax + 8], ecx
mov ecx, dword [0x6411a8]
mov dword [eax + 0xc], ecx
mov eax, dword [esi + 0x38]
push eax
mov ecx, esi
call dword [edx + 0x8c]
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x48]
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x43f8e0
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x584a9d
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1ac
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
mov esi, ecx
xor ebx, ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 0x34], 0x10
mov eax, dword [esi + 0x34]
mov ecx, dword [eax + 0x2c]
mov eax, dword [ecx + 0x30]
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x14], eax
push 0x64
push ebx
lea edx, [ebp - 0x14]
push edx
call fcn.0042b630
mov edi, dword [ebp - 0x14]
push edi
push 0x5b6294
push 0x10
lea eax, [ebp - 0x30]
push eax
call fcn.005514f0
add esp, 0x1c
mov ecx, dword [esi + 0x3c]
mov edx, dword [ecx]
push ebx
lea eax, [ebp - 0x30]
push eax
call dword [edx + 0x84]
mov dword [ebp - 0x18], 0x14
mov eax, dword [esi + 0x144]
cmp eax, ebx
jle 0x43f97b
push 5
push eax
call fcn.004fc2b0
add esp, 8
test al, al
je 0x43f97b
mov dword [ebp - 0x18], 0x7d0
mov dword [ebp - 0x1c], ebx
mov al, byte [esi + 0x120]
test al, al
je 0x43f9a4
call fcn.00508080
test al, al
je 0x43f9a4
mov ecx, dword [ebp - 0x18]
lea eax, [ecx + edi - 1]
cdq
idiv ecx
lea ebx, [eax + eax*4]
shl ebx, 2
mov dword [ebp - 0x1c], ebx
mov ecx, dword [esi + 0x14c]
imul ecx, edi
add ecx, ebx
push ecx
push 0x5b6294
push 0x10
lea edx, [ebp - 0x30]
push edx
call fcn.005514f0
add esp, 0x10
mov ecx, dword [esi + 0x44]
mov eax, dword [ecx]
push 0
lea edx, [ebp - 0x30]
push edx
call dword [eax + 0x84]
mov eax, dword [esi + 0x11c]
push eax
push 0x5b6294
push 0x10
lea ecx, [ebp - 0x30]
push ecx
call fcn.005514f0
add esp, 0x10
mov ecx, dword [esi + 0x4c]
mov edx, dword [ecx]
push 0
lea eax, [ebp - 0x30]
push eax
call dword [edx + 0x84]
mov eax, dword [esi + 0x144]
test eax, eax
jle 0x43fa4e
test edi, edi
jle 0x43fa4e
mov al, byte [esi + 0x120]
test al, al
mov eax, 0x5b6bf0
jne 0x43fa21
mov eax, str.Sell
mov ecx, dword [esi + 0x14c]
imul ecx, edi
add ecx, ebx
push ecx
lea edx, [esi + 0x121]
push edx
push edi
push eax
push str._s__dx__s_for__d_gold
push 0xc8
add esi, 0x54
push esi
call fcn.005514f0
add esp, 0x1c
jmp 0x43fa79
mov al, byte [esi + 0x120]
test al, al
mov eax, 0x5b6e40
jne 0x43fa62
mov eax, str.sell
push eax
push str.Please_select_an_item_you_want_to__s
push 0xc8
add esi, 0x54
push esi
call fcn.005514f0
add esp, 0x10
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x448760
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x58643e
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1a4
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
mov esi, ecx
mov dword [ebp - 0x3c], esi
call fcn.004b2cf0
mov dword [ebp - 4], 0
mov dword [esi], 0x5b5b48
mov byte [esi + 0x2c], 0
mov dword [ebp - 4], 1
mov dword [esi], 0x5b6b30
mov bl, 2
mov byte [ebp - 4], bl
push 0x4c
call fcn.0056c38c
add esp, 4
mov dword [ebp - 0x20], eax
mov byte [ebp - 4], 3
test eax, eax
je 0x4487cf
mov ecx, eax
call fcn.0043a980
jmp 0x4487d1
xor eax, eax
mov dword [ebp - 0x30], eax
mov byte [ebp - 4], bl
mov dword [esi + 0x30], eax
push 0x34
call fcn.0056c38c
add esp, 4
mov dword [ebp - 0x28], eax
mov byte [ebp - 4], 4
test eax, eax
je 0x4487f8
mov ecx, eax
call fcn.00438750
jmp 0x4487fa
xor eax, eax
mov dword [ebp - 0x38], eax
mov byte [ebp - 4], bl
mov dword [esi + 0x34], eax
push 0x38
call fcn.0056c38c
add esp, 4
mov dword [ebp - 0x1c], eax
mov byte [ebp - 4], 5
test eax, eax
je 0x448821
mov ecx, eax
call fcn.00439e40
jmp 0x448823
xor eax, eax
mov dword [ebp - 0x24], eax
mov byte [ebp - 4], bl
mov dword [esi + 0x38], eax
mov eax, dword [esi + 0x30]
push eax
mov ecx, esi
call fcn.004bbf10
mov ecx, dword [esi + 0x34]
push ecx
mov ecx, esi
call fcn.004bbf10
mov edx, dword [esi + 0x38]
push edx
mov ecx, esi
call fcn.004bbf10
push 0x64
push 0xaa
mov ecx, esi
call fcn.0043bc00
mov dword [ebp - 4], 0xffffffff
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4552d0
Capabilities:
Get geographical location

Disassembly:
mov ecx, 0x633bc0
jmp 0x54eb50
push 0xffffffffffffffff
push 0x5afdf8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1c
push ebx
push esi
xor ebx, ebx
push edi
mov esi, ecx
mov dword [esp + 0x24], 0xf
mov dword [esp + 0x20], ebx
mov byte [esp + 0x10], bl
mov dword [esp + 0x30], ebx
push esi
call fcn.0054c090
lea edi, [esi + 4]
add esp, 4
cmp edi, ebx
je 0x54ebb0
push 4
push edi
push 7
push 0x800
mov dword [edi], ebx
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
test eax, eax
jne 0x54ebad
mov dword [edi], ebx
jmp 0x54ebb0
mov byte [edi + 3], bl
lea eax, [esi + 8]
push eax
call fcn.0054c710
lea ecx, [esp + 0x10]
push ecx
lea edx, [esi + 0x10]
push edx
lea eax, [esi + 0xc]
push eax
call fcn.0054df60
lea ecx, [esp + 0x1c]
push ecx
lea edx, [esi + 0x18]
push edx
lea eax, [esi + 0x14]
push eax
call fcn.0054e250
lea ecx, [esi + 0x30]
push ecx
lea edx, [esi + 0x2c]
push edx
lea eax, [esi + 0x28]
push eax
lea ecx, [esi + 0x24]
push ecx
call fcn.0054d040
lea edx, [esi + 0x38]
push edx
lea eax, [esi + 0x34]
push eax
call fcn.0054d1a0
lea ecx, [esi + 0x58]
push ecx
lea edx, [esi + 0x54]
push edx
lea eax, [esi + 0x50]
push eax
lea ecx, [esi + 0x40]
push ecx
lea edx, [esi + 0x3c]
push edx
call fcn.0054e690
add esp, 0x48
add esi, 0x4c
push esi
call fcn.0054d2d0
add esp, 4
mov dword [esp + 0x30], 0xffffffff
cmp dword [esp + 0x24], 0x10
jb 0x54ec43
mov eax, dword [esp + 0x10]
push eax
call fcn.0056c3bc
add esp, 4
mov ecx, dword [esp + 0x28]
pop edi
pop esi
mov dword [esp + 0x18], ebx
mov byte [esp + 8], bl
mov dword [esp + 0x1c], 0xf
pop ebx
mov dword fs:[0], ecx
add esp, 0x28
ret
Function at 0x46a7a0
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x58fba1
push eax
mov eax, dword [esp + 0x10]
mov dword fs:[0], esp
sub esp, 0xc8
push ebx
xor ebx, ebx
cmp eax, ebx
jne 0x46a8cb
push esi
mov esi, 0xf
push esi
push str.ColorData_NULL
lea ecx, [esp + 0x80]
mov dword [esp + 0x98], esi
mov dword [esp + 0x94], ebx
mov byte [esp + 0x84], bl
call fcn.004031a0
mov dword [esp + 0xd8], ebx
push ebx
push 0x5b45eb
lea ecx, [esp + 0x48]
mov dword [esp + 0x60], esi
mov dword [esp + 0x5c], ebx
mov byte [esp + 0x4c], bl
call fcn.004031a0
mov byte [esp + 0xd8], 1
push ebx
push 0x5b45eb
lea ecx, [esp + 0x10]
mov dword [esp + 0x28], esi
mov dword [esp + 0x24], ebx
mov byte [esp + 0x14], bl
call fcn.004031a0
mov byte [esp + 0xd8], 2
push 0x10
push str.assertion_failed
lea ecx, [esp + 0x2c]
mov dword [esp + 0x44], esi
mov dword [esp + 0x40], ebx
mov byte [esp + 0x30], bl
call fcn.004031a0
mov byte [esp + 0xd8], 3
push 0x14
push str..DialogElements.cpp
lea ecx, [esp + 0x64]
mov dword [esp + 0x7c], esi
mov dword [esp + 0x78], ebx
mov byte [esp + 0x68], bl
call fcn.004031a0
mov byte [esp + 0xd8], 4
lea eax, [esp + 0x78]
push eax
push ebx
lea ecx, [esp + 0x48]
push ecx
push ebx
lea edx, [esp + 0x18]
push edx
lea eax, [esp + 0x38]
push eax
push 0x3f9
lea ecx, [esp + 0x78]
push ecx
lea ecx, [esp + 0xb4]
call fcn.0054a580
push 0x5d7834
lea edx, [esp + 0x98]
push edx
call fcn.0055a7d2
pop esi
mov edx, dword [eax]
mov dword [ecx + 0x28], edx
mov edx, dword [eax + 4]
mov dword [ecx + 0x2c], edx
mov edx, dword [eax + 8]
mov dword [ecx + 0x30], edx
mov eax, dword [eax + 0xc]
mov dword [ecx + 0x34], eax
mov ecx, dword [esp + 0xcc]
pop ebx
mov dword fs:[0], ecx
add esp, 0xd4
ret 4

Function at 0x47baf0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x58f5b2
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x18c
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
mov esi, ecx
mov dword [ebp - 0x20], esi
call fcn.004b2db0
xor ebx, ebx
mov dword [ebp - 4], ebx
mov dword [esi], 0x5b9df8
lea edi, [esi + 0x30]
push ebx
push ebx
mov ecx, edi
call fcn.004b2e60
mov byte [ebp - 4], 1
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
mov ecx, esi
call fcn.004b2cd0
mov edx, dword [ebp + 0x10]
shl edx, 4
mov eax, dword [0x792d14]
add eax, edx
mov ecx, dword [eax + 0xc]
push ecx
mov edx, dword [eax + 8]
push edx
mov ecx, esi
call fcn.004bbc90
mov eax, dword [ebp + 0x14]
push eax
mov ecx, dword [ebp + 0x10]
push ecx
mov ecx, esi
call fcn.0046c9c0
mov byte [esi + 0x2c], bl
mov byte [esi + 0x2d], bl
mov dword [esi + 0x38], ebx
mov edx, dword [ebp + 0x18]
mov dword [edi], edx
mov eax, dword [ebp + 0x1c]
mov dword [edi + 4], eax
mov ecx, dword [ebp + 0x20]
mov dword [esi + 0x3c], ecx
mov dl, byte [ebp + 0x24]
mov byte [esi + 0x2e], dl
mov byte [esi + 0x40], 1
mov dword [esi + 0x44], ebx
mov dword [ebp - 4], 0xffffffff
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x20