Function at 0x7e0010
Capabilities:
Get geographical location

Disassembly:
push ebp
lea ebp, [esp - 0x274]
sub esp, 0x274
push 0xffffffffffffffff
push 0x8807f6
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0xa5e224]
xor eax, ebp
mov dword [ebp + 0x270], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 0x27c]
lea eax, [ebp + 0x70]
push 0x100
push eax
push dword [ebp + 0x280]
mov dword [ebp - 0x2c], edi
xor ebx, ebx
mov dword [ebp - 0x28], ebx
push dword [ecx + 8]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
jne 0x7e03dc
xor al, al
nop dword [eax]
test al, al
jne 0x7e00dc
lea eax, [ebp]
push 0x8a7570
push eax
call fcn.007373c0
add esp, 8
mov esi, eax
or ebx, 1
mov dword [ebp - 4], 0
cmp dword [0xea5818], 0
mov dword [ebp - 0x28], ebx
je 0x7e00c1
call sub.KERNEL32.dll_GetCurrentThreadId
cmp eax, dword [0xea5818]
je 0x7e00c1
call fcn.007423b0
jmp 0x7e00c6
mov al, byte [0xa5d794]
test al, al
je 0x7e00dc
push esi
call fcn.00741e40
add esp, 4
mov byte [ebp - 0xd], 1
cmp eax, 6
jae 0x7e00e0
mov byte [ebp - 0xd], 0
mov dword [ebp - 4], 0xffffffff
test bl, 1
je 0x7e0134
push dword [ebp + 0x18]
and ebx, 0xfffffffe
call fcn.00805aaa
mov edx, dword [ebp + 0x14]
add esp, 4
cmp edx, 8
jb 0x7e0134
mov ecx, dword [ebp]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x7e012a
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x7e0414
push edx
push ecx
call fcn.00800125
add esp, 8
cmp byte [ebp - 0xd], 0
je 0x7e03bb
call fcn.00737c40
mov dword [ebp - 0x24], eax
mov dword [ebp - 4], 1
call fcn.00737c40
mov dword [ebp - 0x20], eax
push 0xffffffffffffffff
lea eax, [ebp - 0x1c]
mov byte [ebp - 4], 2
push str._s__d_:__s_failed_with_error_0x_08lx___s_.
push eax
call fcn.004d2bd0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
sub esp, 0x14
mov dword [ebp - 4], 3
mov esi, esp
mov dword [ebp - 0x2c], esp
call sub.KERNEL32.dll_GetLastError
push eax
push esi
call fcn.007434e0
add esp, 8
xorps xmm0, xmm0
mov byte [ebp - 4], 4
mov dword [ebp + 0x20], 6
mov dword [ebp + 0x28], str.C:_vcpkg_buildtreeswxwidgets_src_v3.2.3_90b1eb06ca.clean_srcmswuilocale.cpp
mov dword [ebp + 0x30], str.wxUILocaleImplLCID::DoGetInfo
mov dword [ebp + 0x2c], 0x1b7
mov dword [ebp + 0x34], 0x8a7570
movlpd qword [ebp + 0x38], xmm0
movlpd qword [ebp + 0x40], xmm0
call sub.KERNEL32.dll_GetCurrentThreadId
mov dword [ebp + 0x48], eax
xor eax, eax
mov dword [ebp + 0x50], 0
mov dword [ebp + 0x4c], 0
mov dword [ebp + 0x60], 0
mov dword [ebp + 0x64], 7
mov word [ebp + 0x50], ax
mov dword [ebp + 0x68], eax
mov dword [ebp + 0x6c], eax
mov byte [ebp - 4], 5
call sub.KERNEL32.dll_GetLastError
push eax
push str.GetLocaleInfo
push 0x1b7
push str.C:_vcpkg_buildtreeswxwidgets_src_v3.2.3_90b1eb06ca.clean_srcmswuilocale.cpp
lea eax, [ebp - 0x24]
mov byte [ebp - 4], 6
push eax
lea ecx, [ebp + 0x20]
call fcn.004d0600
push dword [ebp + 0x68]
mov byte [ebp - 4], 3
call fcn.00805aaa
mov edx, dword [ebp + 0x64]
add esp, 4
cmp edx, 8
jb 0x7e026b
mov ecx, dword [ebp + 0x50]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x7e0261
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x7e0414
push edx
push ecx
call fcn.00800125
add esp, 8
mov esi, dword [ebp + 0x4c]
xor eax, eax
mov dword [ebp + 0x60], 0
mov dword [ebp + 0x64], 7
mov word [ebp + 0x50], ax
test esi, esi
je 0x7e02d5
push 0x4cc690
push dword [esi + 0x10]
mov byte [ebp - 4], 7
push dword [esi + 0x14]
call fcn.007610f0
push dword [esi + 0x10]
mov dword [esi + 0x18], 0
call fcn.00805aaa
push 0x4cc670
push dword [esi]
mov byte [ebp - 4], 8
push dword [esi + 4]
call fcn.007610f0
push dword [esi]
mov dword [esi + 8], 0
call fcn.00805aaa
push 0x20
push esi
call fcn.00800125
add esp, 0x28
mov dword [ebp - 4], 9
call fcn.00737c40
mov ecx, dword [ebp - 0x1c]
cmp ecx, eax
je 0x7e031d
mov eax, 0xffff
add word [ecx + 8], ax
jne 0x7e0315
mov esi, dword [ebp - 0x1c]
test esi, esi
je 0x7e0315
cmp byte [esi + 0xa], 0
je 0x7e030a
push dword [esi]
call fcn.00805aaa
add esp, 4
push 0xc
push esi
call fcn.00800125
add esp, 8
call fcn.00737c40
mov dword [ebp - 0x1c], eax
mov dword [ebp - 4], 0xa
call fcn.00737c40
mov ecx, dword [ebp - 0x20]
cmp ecx, eax
je 0x7e0365
mov eax, 0xffff
add word [ecx + 8], ax
jne 0x7e035d
mov esi, dword [ebp - 0x20]
test esi, esi
je 0x7e035d
cmp byte [esi + 0xa], 0
je 0x7e0352
push dword [esi]
call fcn.00805aaa
add esp, 4
push 0xc
push esi
call fcn.00800125
add esp, 8
call fcn.00737c40
mov dword [ebp - 0x20], eax
mov dword [ebp - 4], 0xb
call fcn.00737c40
mov ecx, dword [ebp - 0x24]
cmp ecx, eax
je 0x7e03ad
mov eax, 0xffff
add word [ecx + 8], ax
jne 0x7e03a5
mov esi, dword [ebp - 0x24]
test esi, esi
je 0x7e03a5
cmp byte [esi + 0xa], 0
je 0x7e039a
push dword [esi]
call fcn.00805aaa
add esp, 4
push 0xc
push esi
call fcn.00800125
add esp, 8
call fcn.00737c40
mov dword [ebp - 0x24], eax
mov dword [ebp - 4], 0xffffffff
mov al, 1
jmp 0x7e0080
xor eax, eax
mov dword [edi], 0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 7
mov word [edi], ax
mov dword [edi + 0x18], eax
mov dword [edi + 0x1c], eax
jmp 0x7e03ed
lea eax, [ebp + 0x70]
mov ecx, edi
push eax
call fcn.00451580
mov dword [edi + 0x18], ebx
mov dword [edi + 0x1c], ebx
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 + 0x270]
xor ecx, ebp
call fcn.00800392
lea esp, [ebp + 0x274]
pop ebp
ret 8
call fcn.00805a59
int3