Function at 0x452e94
Capabilities:
Get geographical location

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x21c
mov edi, dword [esp + 0x234]
test edi, edi
je 0x452eb5
mov dword [esp], edi
call fcn.0044c4c8
mov esi, eax
jmp 0x452eb7
xor esi, esi
mov eax, dword [0x48203c]
mov dword [esp], eax
call sub.KERNEL32.DLL_EnterCriticalSection
sub esp, 4
mov eax, dword [0x469ac4]
test eax, eax
je 0x452ed9
xor ebx, ebx
cmp eax, 0x469a98
jne 0x452f0c
xor ebx, ebx
cmp eax, 0x469a98
sete byte [esp + 0x18]
mov dword [esp + 4], 0x2c
mov dword [esp], 1
call fcn.00449dac
mov dword [0x469ac4], eax
test eax, eax
je 0x452fbb
mov cl, byte [esp + 0x18]
mov bl, cl
mov ecx, dword [eax + 0x24]
test ecx, ecx
je 0x452f27
mov dword [esp], ecx
call fcn.00449dd8
mov eax, dword [0x469ac4]
mov dword [eax + 0x24], 0
movzx ebp, word [esp + 0x230]
test esi, esi
je 0x452f5b
cmp byte [esi], 0
je 0x452f6a
mov dword [esp], edi
mov dword [esp + 4], str.en_US
call fcn.0044c568
test eax, eax
je 0x452fd7
mov dword [esi], 0x554e45
jmp 0x4530ba
test ebx, ebx
je 0x452ffa
mov ecx, eax
jmp 0x45328a
call sub.KERNEL32.DLL_GetUserDefaultLCID
mov edi, eax
lea ebp, [esp + 0x11c]
mov dword [esp + 8], ebp
mov dword [esp], edi
mov dword [esp + 0xc], 7
mov dword [esp + 4], 0xb
call sub.KERNEL32.DLL_GetLocaleInfoA
sub esp, 0x10
mov dword [esp], ebp
movzx ebp, word [esp + 0x230]
call fcn.00456634
mov ecx, dword [0x469ac4]
mov dword [ecx], eax
mov dword [ecx + 8], 0
jmp 0x4532ad
mov dword [esp], 0xe
call sub.KERNEL32.DLL_SetLastError
sub esp, 4
mov dword [esp], esi
call fcn.00449dd8
jmp 0x4533b6
mov dword [esp], edi
mov dword [esp + 4], str.en_GB
call fcn.0044c568
test eax, eax
je 0x453084
mov dword [esi], 0x474e45
jmp 0x4530ba
movsx ebx, bp
test bl, 4
jne 0x45301b
test bl, 0x10
jne 0x45302c
test bl, 0x20
jne 0x453041
test bl, 1
jne 0x453056
test bl, 2
jne 0x45306f
jmp 0x45330a
mov edx, str.LC_MONETARY
mov ecx, eax
call fcn.004538b4
test bl, 0x10
je 0x453007
mov ecx, dword [0x469ac4]
mov edx, str.LC_NUMERIC
call fcn.004538b4
test bl, 0x20
je 0x45300c
mov ecx, dword [0x469ac4]
mov edx, str.LC_TIME
call fcn.004538b4
test bl, 1
je 0x453011
mov ecx, dword [0x469ac4]
mov edx, str.LC_COLLATE
call fcn.004538b4
test bl, 2
je 0x45330a
mov ecx, dword [0x469ac4]
mov edx, str.LC_CTYPE
call fcn.004538b4
jmp 0x45330a
mov dword [esp], edi
mov dword [esp + 4], str.fr_FR
call fcn.0044c568
test eax, eax
je 0x4530a0
mov dword [esi], 0x415246
jmp 0x4530ba
mov dword [esp], edi
mov dword [esp + 4], str.de_DE
call fcn.0044c568
test eax, eax
je 0x4530dd
mov dword [esi], 0x554544
mov dword [esp], edi
mov dword [esp + 4], 0x2e
call fcn.0044c9a0
test eax, eax
je 0x4530dd
lea ecx, [esi + 3]
mov dword [esp + 4], eax
mov dword [esp], ecx
call fcn.0044ca40
mov dword [esp], edi
mov dword [esp + 4], 0x469873
call fcn.0044c9f0
test eax, eax
je 0x453284
cmp byte [esi], 0x4c
jne 0x45325e
cmp byte [esi + 1], 0x43
jne 0x45325e
cmp byte [esi + 2], 0x5f
jne 0x45325e
mov dword [esp], esi
call fcn.00449dd8
mov eax, dword [0x48203c]
mov dword [esp], eax
call sub.KERNEL32.DLL_LeaveCriticalSection
sub esp, 4
mov eax, dword [0x469ac4]
mov dword [esp + 0x18], eax
mov eax, dword [0x48203c]
mov dword [esp], eax
call sub.KERNEL32.DLL_EnterCriticalSection
sub esp, 4
lea esi, [esp + 0x1c]
mov dword [esp], esi
mov dword [esp + 8], 0x100
mov dword [esp + 4], 0
call fcn.0044c927
xor eax, eax
xor ebx, ebx
jmp 0x4531b4
mov dword [esp], esi
mov dword [esp + 8], 0x100
mov dword [esp + 4], 0
call fcn.0044c927
xor eax, eax
inc edi
jmp 0x4531b4
mov dword [esp + 4], esi
lea eax, [esp + 0x11c]
mov dword [esp], eax
call fcn.0044ca40
jmp 0x453174
movzx ecx, byte [edi]
cmp cl, 0xa
je 0x453194
cmp cl, 0x3d
je 0x4531d4
test cl, cl
je 0x45343a
mov byte [esp + eax + 0x1c], cl
inc eax
inc edi
jmp 0x4531b4
mov dword [esp], esi
mov dword [esp + 4], str.LC_CTYPE
call fcn.0044c9f0
mov ecx, ebx
or ebx, 2
test eax, eax
cmovne bx, cx
mov dword [esp], esi
mov dword [esp + 4], str.LC_TIME
call fcn.0044c9f0
mov ebp, ebx
or ebp, 0x20
test eax, eax
cmovne bp, bx
mov dword [esp], esi
mov dword [esp + 4], str.LC_NUMERIC
call fcn.0044c9f0
mov ebx, ebp
or ebx, 0x10
test eax, eax
cmovne bx, bp
mov dword [esp], esi
mov dword [esp + 4], str.LC_MONETARY
call fcn.0044c9f0
mov ebp, ebx
or ebp, 4
test eax, eax
cmovne bp, bx
mov dword [esp], esi
mov dword [esp + 4], str.LC_COLLATE
call fcn.0044c9f0
xor ebx, ebx
test eax, eax
sete bl
or ebx, ebp
jmp 0x453174
mov ecx, dword [0x469ac4]
mov dword [ecx + 8], 0
mov edx, esi
call fcn.00453a54
mov edi, eax
test edi, edi
je 0x4533d5
mov ecx, dword [0x469ac4]
jmp 0x4532ad
mov ecx, dword [0x469ac4]
call fcn.004534e4
mov eax, dword [0x469ac4]
mov dword [esp], eax
call fcn.00449dd8
mov dword [0x469ac4], 0x469a98
xor edi, edi
mov ecx, 0x469a98
mov dword [ecx + 4], edi
mov dword [esp], esi
call fcn.00449dd8
mov eax, dword [0x469ac4]
mov eax, dword [eax + 4]
mov dword [esp], eax
mov dword [esp + 4], 1
call sub.KERNEL32.DLL_IsValidLocale
sub esp, 8
test eax, eax
mov eax, dword [0x469ac4]
jne 0x4532e6
cmp dword [eax + 8], 0
je 0x453378
mov eax, dword [eax + 4]
mov dword [esp], eax
call sub.KERNEL32.DLL_SetThreadLocale
sub esp, 4
mov ecx, dword [0x469ac4]
cmp dword [ecx + 8], 0
je 0x45332c
mov dword [0x469824], 1
call fcn.00455648
mov eax, dword [0x469ac4]
mov esi, dword [eax + 0x24]
mov eax, dword [0x48203c]
mov dword [esp], eax
call sub.KERNEL32.DLL_LeaveCriticalSection
sub esp, 4
jmp 0x4533c8
call fcn.004534e4
mov ecx, dword [0x469ac4]
movsx edx, bp
call fcn.00453d24
test eax, eax
je 0x453381
mov eax, dword [0x469ac4]
mov eax, dword [eax]
mov dword [esp], eax
call fcn.00458a78
test eax, eax
je 0x45340a
mov eax, dword [0x48203c]
mov dword [esp], eax
call sub.KERNEL32.DLL_LeaveCriticalSection
sub esp, 4
mov dword [esp], 0x20000106
call sub.KERNEL32.DLL_SetLastError
jmp 0x4533c3
mov dword [esp], 0x20000103
jmp 0x453388
mov dword [esp], 0x20000102
call sub.KERNEL32.DLL_SetLastError
sub esp, 4
test ebx, ebx
je 0x4533b6
mov ecx, dword [0x469ac4]
call fcn.004534e4
mov eax, dword [0x469ac4]
mov dword [esp], eax
call fcn.00449dd8
mov dword [0x469ac4], 0x469a98
mov eax, dword [0x48203c]
mov dword [esp], eax
call sub.KERNEL32.DLL_LeaveCriticalSection
sub esp, 4
xor esi, esi
mov eax, esi
add esp, 0x21c
pop esi
pop edi
pop ebx
pop ebp
ret
test ebx, ebx
je 0x4533f0
mov eax, dword [0x469ac4]
mov dword [esp], eax
call fcn.00449dd8
mov dword [0x469ac4], 0x469a98
mov eax, dword [0x48203c]
mov dword [esp], eax
call sub.KERNEL32.DLL_LeaveCriticalSection
sub esp, 4
mov dword [esp], esi
call fcn.00449dd8
jmp 0x4533c6
mov eax, dword [0x469ac4]
mov eax, dword [eax]
lea ecx, [esp + 0x1c]
mov dword [esp + 4], ecx
mov dword [esp], eax
call sub.KERNEL32.DLL_GetCPInfo
sub esp, 8
test eax, eax
je 0x45335a
mov eax, dword [esp + 0x1c]
mov dword [0x469824], eax
jmp 0x45330a
lea edx, [esp + 0x11c]
mov esi, dword [esp + 0x18]
mov ecx, esi
call fcn.00453a54
mov dword [esi + 4], eax
mov dword [esp], eax
mov dword [esp + 4], 1
call sub.KERNEL32.DLL_IsValidLocale
sub esp, 8
test eax, eax
jne 0x45346c
cmp dword [esi + 8], 0
je 0x4534a9
mov eax, dword [0x469ac4]
mov eax, dword [eax + 4]
mov dword [esp], eax
call sub.KERNEL32.DLL_SetThreadLocale
sub esp, 4
mov ecx, dword [0x469ac4]
call fcn.004534e4
mov ecx, dword [0x469ac4]
movsx edx, bx
call fcn.00453d24
test eax, eax
jne 0x45330a
mov dword [esp], 0x20000102
jmp 0x4534b0
mov dword [esp], 0x20000103
call sub.KERNEL32.DLL_SetLastError
sub esp, 4
jmp 0x4533b6