Function at 0x455c50
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x5b00cc]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
test edi, edi
mov dword [ebp - 0x24], edi
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x18], edx
je 0x455d5e
call fcn.0041a360
test al, al
push 4
je 0x455ca8
lea eax, [ebp - 0xc]
push eax
push 0xf
push 0x400
call dword [sym.imp.KERNEL32.DLL_GetLocaleInfoW]
add eax, 0xffffffff
lea ecx, [ebp - 0xc]
mov edx, edi
call fcn.004ab9d0
jmp 0x455d10
lea ecx, [ebp - 0x14]
push ecx
push 0xf
push 0x400
call dword [sym.imp.KERNEL32.DLL_GetLocaleInfoA]
lea eax, [ebp - 0x14]
mov dword [ebp - 0x10], 0
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x455cc6
sub eax, edx
mov edi, eax
lea esi, [ebp - 0x14]
lea eax, [ebp - 0x10]
call fcn.004ab970
mov esi, dword [ebp - 0x10]
test esi, esi
je 0x455cec
mov dword [esi + 0x10], 0x600
mov edi, dword [ebp - 0x24]
lea ebx, [ebp - 0x10]
call fcn.004abdf0
test esi, esi
je 0x455d00
call fcn.004ab850
call fcn.005293c0
mov edx, edi
mov ecx, dword [edx]
test ecx, ecx
je 0x455d41
mov dword [ecx + 0x10], eax
mov ecx, dword [edi]
test ecx, ecx
je 0x455d41
cmp dword [ecx + 0x10], 0x8000100
je 0x455d41
test ecx, ecx
push 0x8000100
push ecx
mov eax, esp
mov dword [eax], ecx
je 0x455d30
add dword [ecx], 1
lea eax, [ebp - 0x10]
push eax
call fcn.00529150
mov esi, dword [ebp - 0x10]
add esp, 0xc
jmp 0x455d4d
mov esi, ecx
test esi, esi
mov dword [ebp - 0x10], esi
je 0x455d4d
add dword [esi], 1
lea ebx, [ebp - 0x10]
call fcn.004abdf0
test esi, esi
je 0x455d5e
call fcn.004ab850
mov esi, dword [ebp - 0x20]
test esi, esi
je 0x455e50
call fcn.0041a360
test al, al
push 4
je 0x455d94
lea ecx, [ebp - 0xc]
push ecx
push 0xe
push 0x400
call dword [sym.imp.KERNEL32.DLL_GetLocaleInfoW]
add eax, 0xffffffff
lea ecx, [ebp - 0xc]
mov edx, esi
call fcn.004ab9d0
jmp 0x455dfc
lea edx, [ebp - 0x14]
push edx
push 0xe
push 0x400
call dword [sym.imp.KERNEL32.DLL_GetLocaleInfoA]
lea eax, [ebp - 0x14]
mov dword [ebp - 0x10], 0
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x455db2
sub eax, edx
mov edi, eax
lea esi, [ebp - 0x14]
lea eax, [ebp - 0x10]
call fcn.004ab970
mov esi, dword [ebp - 0x10]
test esi, esi
je 0x455dd8
mov dword [esi + 0x10], 0x600
mov edi, dword [ebp - 0x20]
lea ebx, [ebp - 0x10]
call fcn.004abdf0
test esi, esi
je 0x455dec
call fcn.004ab850
call fcn.005293c0
mov ecx, edi
mov ecx, dword [ecx]
test ecx, ecx
je 0x455e30
mov dword [ecx + 0x10], eax
mov edx, dword [ebp - 0x20]
mov ecx, dword [edx]
test ecx, ecx
je 0x455e30
cmp dword [ecx + 0x10], 0x8000100
je 0x455e30
test ecx, ecx
push 0x8000100
push ecx
mov eax, esp
mov dword [eax], ecx
je 0x455e1f
add dword [ecx], 1
lea eax, [ebp - 0x10]
push eax
call fcn.00529150
mov esi, dword [ebp - 0x10]
add esp, 0xc
jmp 0x455e3c
mov esi, ecx
test esi, esi
mov dword [ebp - 0x10], esi
je 0x455e3c
add dword [esi], 1
mov edi, dword [ebp - 0x20]
lea ebx, [ebp - 0x10]
call fcn.004abdf0
test esi, esi
je 0x455e50
call fcn.004ab850
mov esi, dword [ebp - 0x1c]
test esi, esi
je 0x455f42
call fcn.0041a360
test al, al
push 4
je 0x455e86
lea ecx, [ebp - 0xc]
push ecx
push 0x1d
push 0x400
call dword [sym.imp.KERNEL32.DLL_GetLocaleInfoW]
add eax, 0xffffffff
lea ecx, [ebp - 0xc]
mov edx, esi
call fcn.004ab9d0
jmp 0x455eee
lea edx, [ebp - 0x14]
push edx
push 0x1d
push 0x400
call dword [sym.imp.KERNEL32.DLL_GetLocaleInfoA]
lea eax, [ebp - 0x14]
mov dword [ebp - 0x10], 0
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x455ea4
sub eax, edx
mov edi, eax
lea esi, [ebp - 0x14]
lea eax, [ebp - 0x10]
call fcn.004ab970
mov esi, dword [ebp - 0x10]
test esi, esi
je 0x455eca
mov dword [esi + 0x10], 0x600
mov edi, dword [ebp - 0x1c]
lea ebx, [ebp - 0x10]
call fcn.004abdf0
test esi, esi
je 0x455ede
call fcn.004ab850
call fcn.005293c0
mov ecx, edi
mov ecx, dword [ecx]
test ecx, ecx
je 0x455f22
mov dword [ecx + 0x10], eax
mov edx, dword [ebp - 0x1c]
mov ecx, dword [edx]
test ecx, ecx
je 0x455f22
cmp dword [ecx + 0x10], 0x8000100
je 0x455f22
test ecx, ecx
push 0x8000100
push ecx
mov eax, esp
mov dword [eax], ecx
je 0x455f11
add dword [ecx], 1
lea eax, [ebp - 0x10]
push eax
call fcn.00529150
mov esi, dword [ebp - 0x10]
add esp, 0xc
jmp 0x455f2e
mov esi, ecx
test esi, esi
mov dword [ebp - 0x10], esi
je 0x455f2e
add dword [esi], 1
mov edi, dword [ebp - 0x1c]
lea ebx, [ebp - 0x10]
call fcn.004abdf0
test esi, esi
je 0x455f42
call fcn.004ab850
mov esi, dword [ebp - 0x18]
test esi, esi
je 0x456034
call fcn.0041a360
test al, al
push 4
je 0x455f78
lea ecx, [ebp - 0xc]
push ecx
push 0x1e
push 0x400
call dword [sym.imp.KERNEL32.DLL_GetLocaleInfoW]
add eax, 0xffffffff
lea ecx, [ebp - 0xc]
mov edx, esi
call fcn.004ab9d0
jmp 0x455fe0
lea edx, [ebp - 0x14]
push edx
push 0x1e
push 0x400
call dword [sym.imp.KERNEL32.DLL_GetLocaleInfoA]
lea eax, [ebp - 0x14]
mov dword [ebp - 0x10], 0
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x455f96
sub eax, edx
mov edi, eax
lea esi, [ebp - 0x14]
lea eax, [ebp - 0x10]
call fcn.004ab970
mov esi, dword [ebp - 0x10]
test esi, esi
je 0x455fbc
mov dword [esi + 0x10], 0x600
mov edi, dword [ebp - 0x18]
lea ebx, [ebp - 0x10]
call fcn.004abdf0
test esi, esi
je 0x455fd0
call fcn.004ab850
call fcn.005293c0
mov ecx, edi
mov ecx, dword [ecx]
test ecx, ecx
je 0x456014
mov dword [ecx + 0x10], eax
mov edx, dword [ebp - 0x18]
mov ecx, dword [edx]
test ecx, ecx
je 0x456014
cmp dword [ecx + 0x10], 0x8000100
je 0x456014
test ecx, ecx
push 0x8000100
push ecx
mov eax, esp
mov dword [eax], ecx
je 0x456003
add dword [ecx], 1
lea eax, [ebp - 0x10]
push eax
call fcn.00529150
mov esi, dword [ebp - 0x10]
add esp, 0xc
jmp 0x456020
mov esi, ecx
test esi, esi
mov dword [ebp - 0x10], esi
je 0x456020
add dword [esi], 1
mov edi, dword [ebp - 0x18]
lea ebx, [ebp - 0x10]
call fcn.004abdf0
test esi, esi
je 0x456034
call fcn.004ab850
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00566120
mov esp, ebp
pop ebp
ret