Function at 0x40da90
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x43f828
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x84
push esi
push str.U3_ENV_LANGUAGE
mov esi, 0x400
call fcn.00423789
add esp, 4
test eax, eax
je 0x40dad9
push eax
call fcn.004242ff
mov esi, eax
add esp, 4
test esi, esi
jne 0x40dad9
mov esi, 0x400
push 0x3c
push 0x3c
mov ecx, 0x484974
call fcn.00436e70
push eax
push 3
push esi
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
push 0xffffffffffffffff
mov ecx, 0x484974
call fcn.00436ef0
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
mov eax, dword [ecx - 8]
test eax, eax
jne 0x40dd8d
push ebx
push edi
mov dword [ebp - 0x90], 0x47a1ec
mov dword [ebp - 0x8c], 0x47a1f0
mov dword [ebp - 0x88], 0x47a1f4
mov dword [ebp - 0x84], 0x47a1f8
mov dword [ebp - 0x80], 0x47a1fc
mov dword [ebp - 0x7c], 0x47a200
mov dword [ebp - 0x78], 0x47a204
mov dword [ebp - 0x74], 0x47a208
mov dword [ebp - 0x70], 0x47a20c
mov dword [ebp - 0x6c], 0x47a210
mov dword [ebp - 0x68], 0x47a214
mov dword [ebp - 0x64], 0x47a218
mov dword [ebp - 0x60], 0x47a21c
mov dword [ebp - 0x5c], 0x47a220
mov dword [ebp - 0x58], 0x47a224
mov dword [ebp - 0x54], 0x47a228
mov dword [ebp - 0x50], 0x47a22c
mov dword [ebp - 0x4c], 0x47a230
mov dword [ebp - 0x48], 0x47a234
mov dword [ebp - 0x44], 0x47a238
mov dword [ebp - 0x40], 0x47a23c
mov dword [ebp - 0x3c], 0x47a240
mov dword [ebp - 0x1c], 0
lea edi, [ebp - 0x8c]
mov edx, dword [edi]
lea ecx, [ebp - 0x14]
push edx
call fcn.00436970
mov eax, dword [ebp - 0x14]
mov dword [ebp - 4], 0
mov esi, eax
mov ecx, dword [eax - 8]
lea eax, [ebp - 0x18]
push ecx
push eax
mov ecx, 0x484974
call fcn.0042ffe0
mov eax, dword [eax]
push esi
push eax
call fcn.00423978
add esp, 8
lea ecx, [ebp - 0x18]
test eax, eax
sete bl
call fcn.004368f0
test bl, bl
jne 0x40dc28
lea ecx, [ebp - 0x14]
mov dword [ebp - 4], 0xffffffff
call fcn.004368f0
mov eax, dword [ebp - 0x1c]
add edi, 8
inc eax
cmp eax, 0xb
mov dword [ebp - 0x1c], eax
jl 0x40dbc2
jmp 0x40dc4c
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp + ecx*8 - 0x90]
mov ecx, 0x484974
push edx
call fcn.00436ae0
lea ecx, [ebp - 0x14]
mov dword [ebp - 4], 0xffffffff
call fcn.004368f0
mov eax, dword [ebp + 0xc]
lea ecx, [ebp - 0x10]
push eax
call fcn.00436750
mov ecx, dword [ebp - 0x10]
mov dword [ebp - 4], 1
mov eax, dword [ecx - 8]
test eax, eax
je 0x40dc7b
mov al, byte [eax + ecx - 1]
cmp al, 0x5c
je 0x40dc7b
push 0x5c
lea ecx, [ebp - 0x10]
call fcn.00436e30
mov ebx, 2
lea ecx, [ebp - 0x14]
push ebx
push ecx
mov ecx, 0x484974
call fcn.0042ffe0
push 0x47a24c
lea edx, [ebp - 0x18]
push eax
push edx
mov byte [ebp - 4], bl
call fcn.00436c50
push str..rfi
push eax
lea eax, [ebp + 0xc]
mov byte [ebp - 4], 3
push eax
call fcn.00436c50
push eax
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 4
call fcn.00436e50
lea ecx, [ebp + 0xc]
mov byte [ebp - 4], 3
call fcn.004368f0
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], bl
call fcn.004368f0
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 1
call fcn.004368f0
lea ecx, [ebp - 0x10]
call fcn.00436ff0
lea ecx, [ebp - 0x38]
call fcn.004221e0
mov ecx, dword [ebp - 0x10]
push 0
mov bl, 5
push ecx
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], bl
call fcn.004222f0
test eax, eax
je 0x40dd5a
lea ecx, [ebp - 0x38]
call fcn.004225d0
lea ecx, [ebp - 0x38]
mov esi, eax
call fcn.00422590
test eax, eax
jne 0x40dd30
mov edx, dword [ebp - 0x38]
push 0x10
lea ecx, [ebp - 0x38]
call dword [edx + 0x38]
test eax, eax
je 0x40dd36
test esi, esi
jne 0x40dd0b
jmp 0x40dd5a
lea eax, [ebp + 0xc]
lea ecx, [ebp - 0x38]
push eax
call fcn.00422790
mov ecx, dword [ebp + 8]
push eax
mov byte [ebp - 4], 6
call fcn.00436a80
lea ecx, [ebp + 0xc]
mov byte [ebp - 4], bl
call fcn.004368f0
mov ecx, dword [ebp + 8]
pop edi
pop ebx
mov edx, dword [ecx]
mov eax, dword [edx - 8]
test eax, eax
jne 0x40dd72
push str.en_English
call fcn.00436ae0
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 1
call fcn.00422240
lea ecx, [ebp - 0x10]
mov dword [ebp - 4], 0xffffffff
call fcn.004368f0
mov ecx, dword [ebp - 0xc]
pop esi
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret