Function at 0x10023a58
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10069848
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
sub esp, 0x198
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
movzx eax, byte [ebp + 0x20]
test eax, eax
je 0x1002409b
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x128], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0xb8], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0xd0], eax
mov eax, dword [ebp + 0x24]
mov dword [ebp - 0xac], eax
mov eax, dword [ebp + 0x60]
mov dword [ebp - 0x158], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0xc8], eax
lea eax, [ebp + 0x4c]
mov dword [ebp - 0xa8], eax
mov eax, dword [ebp + 0x28]
mov dword [ebp - 0xbc], eax
mov eax, dword [ebp + 0x34]
mov dword [ebp - 0x164], eax
mov eax, dword [ebp + 0x2c]
mov dword [ebp - 0xa0], eax
mov eax, dword [ebp + 0x44]
mov dword [ebp - 0xc4], eax
mov eax, dword [ebp + 0x48]
mov dword [ebp - 0xc0], eax
mov eax, dword [ebp + 0x5c]
mov dword [ebp - 0x120], eax
mov eax, dword [ebp + 0x50]
mov dword [ebp - 0xd4], eax
mov eax, dword [ebp + 0x3c]
mov dword [ebp - 0xcc], eax
mov dword [ebp - 0x98], 0xc00
mov dword [ebp - 0x130], 0x100093dc
cmp dword [ebp - 0x98], 0xe6b
jle 0x10023ba7
and dword [ebp - 0x24], 0
jmp 0x10023b3d
mov eax, dword [ebp - 0x24]
inc eax
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0x4cdf
jge 0x10023ba7
and dword [ebp - 0x28], 0
jmp 0x10023b53
mov eax, dword [ebp - 0x28]
inc eax
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0x634
jge 0x10023ba5
and dword [ebp - 0x30], 0
jmp 0x10023b69
mov eax, dword [ebp - 0x30]
inc eax
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0x3eda
jge 0x10023ba3
mov ecx, dword [ebp - 0x28]
imul ecx, dword [ebp - 0x30]
mov eax, dword [ebp - 0x24]
shl eax, cl
cdq
mov dword [ebp - 0x184], eax
mov dword [ebp - 0x180], edx
push dword [ebp - 0x180]
push dword [ebp - 0x184]
mov ecx, 0x10612a38
call fcn.100335a0
jmp 0x10023b62
jmp 0x10023b4c
jmp 0x10023b36
mov eax, dword [ebp + 0x40]
mov dword [ebp - 0x174], eax
and dword [ebp - 4], 0
cmp dword [ebp - 0x98], 0xbe8
jge 0x10023bd0
mov edx, dword [ebp - 0x130]
mov ecx, 0x10612a38
call fcn.1003504a
jmp 0x10023bec
or dword [ebp - 4], 0xffffffff
jmp 0x10023bf6
mov eax, dword [ebp + 0x30]
mov dword [ebp - 0xb0], eax
mov eax, dword [ebp + 0x54]
mov dword [ebp - 0xb4], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0xa4], eax
mov eax, dword [ebp - 0xa8]
movzx eax, byte [eax]
test eax, eax
je 0x10023e66
mov eax, dword [ebp - 0x174]
mov dword [ebp - 0xd8], eax
mov eax, dword [ebp - 0xb0]
mov dword [ebp - 0x160], eax
mov eax, dword [ebp - 0x120]
mov dword [ebp - 0xe0], eax
mov eax, dword [ebp - 0xb8]
mov dword [ebp - 0x138], eax
mov eax, dword [ebp - 0x158]
mov dword [ebp - 0xe8], eax
mov eax, dword [ebp - 0xc0]
mov dword [ebp - 0x170], eax
mov eax, dword [ebp - 0x128]
mov dword [ebp - 0xf0], eax
mov eax, dword [ebp - 0xc8]
mov dword [ebp - 0x140], eax
mov eax, dword [ebp - 0x164]
mov dword [ebp - 0xf8], eax
mov eax, dword [ebp - 0xd0]
mov dword [ebp - 0x178], eax
mov eax, dword [ebp - 0xa0]
mov dword [ebp - 0x100], eax
mov eax, dword [ebp - 0xd8]
mov dword [ebp - 0x118], eax
mov eax, dword [ebp - 0x160]
mov dword [ebp - 0x68], eax
mov eax, dword [ebp - 0xe0]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x138]
mov dword [ebp - 0x60], eax
mov eax, dword [ebp - 0xe8]
mov dword [ebp - 0x188], eax
mov eax, dword [ebp - 0x170]
mov dword [ebp - 0x148], eax
mov eax, dword [ebp - 0xf0]
mov dword [ebp - 0x190], eax
mov eax, dword [ebp - 0x140]
mov dword [ebp - 0x108], eax
mov eax, dword [ebp - 0xf8]
mov dword [ebp - 0x18c], eax
mov eax, dword [ebp - 0x178]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x100]
mov dword [ebp - 0x150], eax
mov eax, dword [ebp - 0x68]
cmp dword [eax], 1
jge 0x10023d2f
mov dword [ebp - 0x78], 1
jmp 0x10023d33
and dword [ebp - 0x78], 0
push 0
mov ecx, dword [ebp - 0x44]
call fcn.10033753
mov ecx, dword [ebp - 0x78]
cmp ecx, dword [eax]
jg 0x10023d4d
mov dword [ebp - 0x58], 1
jmp 0x10023d51
and dword [ebp - 0x58], 0
push 0
mov ecx, dword [ebp - 0x44]
call fcn.10033753
mov ecx, dword [ebp - 0x58]
sub ecx, dword [eax]
mov eax, dword [ebp - 0x148]
mov dword [eax], ecx
mov eax, dword [ebp - 0x108]
cmp dword [eax], 1
jb 0x10023d7c
mov dword [ebp - 0x4c], 1
jmp 0x10023d80
and dword [ebp - 0x4c], 0
mov eax, dword [ebp - 0x4c]
inc eax
mov ecx, dword [ebp - 0x60]
mov dword [ecx], eax
mov eax, dword [ebp - 0x60]
cmp dword [eax], 0x10fbf2b8
je 0x10023d9d
mov dword [ebp - 0x80], 1
jmp 0x10023da1
and dword [ebp - 0x80], 0
mov eax, dword [ebp - 0x34]
mov eax, dword [eax]
mov dword [ebp - 0x17c], eax
mov eax, dword [ebp - 0x80]
mov dword [ebp - 0x110], eax
mov eax, dword [ebp - 0x34]
mov eax, dword [eax]
dec eax
mov ecx, dword [ebp - 0x34]
mov dword [ecx], eax
mov eax, dword [ebp - 0x17c]
cmp eax, dword [ebp - 0x110]
jge 0x10023dd7
mov dword [ebp - 0x3c], 1
jmp 0x10023ddb
and dword [ebp - 0x3c], 0
mov eax, dword [ebp - 0x68]
mov ecx, dword [ebp - 0x3c]
mov dword [eax], ecx
cmp dword [ebp - 0x3c], 0
jne 0x10023dfb
mov eax, 0xfff8
test eax, eax
jne 0x10023dfb
and dword [ebp - 0x90], 0
jmp 0x10023e05
mov dword [ebp - 0x90], 1
mov eax, dword [ebp - 0x150]
mov eax, dword [eax]
cmp dword [ebp - 0x90], eax
je 0x10023e27
mov eax, 0xdf3e
test eax, eax
je 0x10023e27
mov dword [ebp - 0x70], 1
jmp 0x10023e2b
and dword [ebp - 0x70], 0
cmp dword [ebp - 0x70], 1
jne 0x10023e49
push 0
mov ecx, dword [ebp - 0x44]
call fcn.10033753
cmp dword [eax], 0
jne 0x10023e49
and dword [ebp - 0x88], 0
jmp 0x10023e53
mov dword [ebp - 0x88], 1
mov eax, dword [ebp - 0x118]
mov ecx, dword [ebp - 0x88]
mov dword [eax], ecx
jmp 0x10024096
mov eax, dword [ebp - 0xa4]
mov dword [ebp - 0xdc], eax
mov eax, dword [ebp - 0xac]
mov dword [ebp - 0xe4], eax
mov eax, dword [ebp - 0xb4]
mov dword [ebp - 0xec], eax
mov eax, dword [ebp - 0xbc]
mov dword [ebp - 0xf4], eax
mov eax, dword [ebp - 0xc4]
mov dword [ebp - 0xfc], eax
mov eax, dword [ebp - 0xcc]
mov dword [ebp - 0x104], eax
mov eax, dword [ebp - 0xd4]
mov dword [ebp - 0x10c], eax
mov eax, dword [ebp - 0xdc]
mov dword [ebp - 0x134], eax
mov eax, dword [ebp - 0xe4]
mov dword [ebp - 0x12c], eax
mov eax, dword [ebp - 0xec]
mov dword [ebp - 0x124], eax
mov eax, dword [ebp - 0xf4]
mov dword [ebp - 0x11c], eax
mov eax, dword [ebp - 0xfc]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x104]
mov dword [ebp - 0x114], eax
mov eax, dword [ebp - 0x10c]
mov dword [ebp - 0x74], eax
mov eax, dword [ebp - 0x14]
cmp dword [eax], 0xe3b6f9b6
jb 0x10023f1c
mov dword [ebp - 0x50], 1
jmp 0x10023f20
and dword [ebp - 0x50], 0
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x50]
neg edx
sub edx, dword [ecx]
cmp edx, dword [eax]
jle 0x10023f3a
mov dword [ebp - 0x38], 1
jmp 0x10023f3e
and dword [ebp - 0x38], 0
mov eax, dword [ebp - 0x74]
mov ecx, dword [ebp - 0x38]
mov dword [eax], ecx
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
cmp eax, dword [ebp - 0x38]
jge 0x10023f59
mov dword [ebp - 0x54], 1
jmp 0x10023f5d
and dword [ebp - 0x54], 0
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
cmp eax, dword [ebp - 0x54]
je 0x10023f70
mov dword [ebp - 0x40], 1
jmp 0x10023f74
and dword [ebp - 0x40], 0
mov eax, dword [ebp - 0x114]
mov ecx, dword [ebp - 0x40]
mov dword [eax], ecx
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
cmp dword [ebp - 0x40], eax
je 0x10023f92
mov dword [ebp - 0x5c], 1
jmp 0x10023f96
and dword [ebp - 0x5c], 0
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
sub eax, dword [ebp - 0x5c]
jne 0x10023fae
mov eax, dword [ebp - 0x14]
cmp dword [eax], 0
jne 0x10023fae
and dword [ebp - 0x64], 0
jmp 0x10023fb5
mov dword [ebp - 0x64], 1
mov eax, dword [ebp - 0x64]
neg eax
cmp eax, 0xcf5a
jl 0x10023fca
mov dword [ebp - 0x6c], 1
jmp 0x10023fce
and dword [ebp - 0x6c], 0
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
sub eax, dword [ebp - 0x6c]
jne 0x10023fe6
mov eax, dword [ebp - 0x74]
cmp dword [eax], 0
jne 0x10023fe6
and dword [ebp - 0x48], 0
jmp 0x10023fed
mov dword [ebp - 0x48], 1
mov eax, dword [ebp - 0x11c]
mov ecx, dword [ebp - 0x48]
mov dword [eax], ecx
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x48]
neg ecx
cmp ecx, dword [eax]
je 0x1002400d
mov dword [ebp - 0x7c], 1
jmp 0x10024011
and dword [ebp - 0x7c], 0
mov eax, dword [ebp - 0x124]
mov ecx, dword [ebp - 0x7c]
mov dword [eax], ecx
mov eax, dword [ebp - 0x12c]
mov dword [eax], 0xffffffff
mov eax, dword [ebp - 0x14]
cmp dword [eax], 0xffffffff
jne 0x1002403c
mov dword [ebp - 0x84], 1
jmp 0x10024043
and dword [ebp - 0x84], 0
cmp dword [ebp - 0x84], 0xd5fba252
je 0x1002405b
mov dword [ebp - 0x8c], 1
jmp 0x10024062
and dword [ebp - 0x8c], 0
cmp dword [ebp - 0x8c], 0xbf7c
jl 0x1002407a
mov dword [ebp - 0x94], 1
jmp 0x10024081
and dword [ebp - 0x94], 0
push 0
mov ecx, dword [ebp - 0x134]
call fcn.10033753
mov ecx, dword [ebp - 0x94]
mov dword [eax], ecx
jmp 0x10024225
mov eax, dword [ebp + 0x58]
mov dword [ebp - 0x14c], eax
lea eax, [ebp + 0x38]
mov dword [ebp - 0x154], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x144], eax
mov dword [ebp - 0x9c], 0x10fe
mov dword [ebp - 0x15c], 0x10009428
cmp dword [ebp - 0x9c], 0x1346
jle 0x100241b8
push 0x1cea
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
and dword [ebp - 0x18], 0
jmp 0x100240f8
mov eax, dword [ebp - 0x18]
inc eax
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0x223f
jge 0x100241b8
and dword [ebp - 0x1c], 0
jmp 0x10024112
mov eax, dword [ebp - 0x1c]
inc eax
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0x34eb
jge 0x100241b3
and dword [ebp - 0x2c], 0
jmp 0x1002412c
mov eax, dword [ebp - 0x2c]
inc eax
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0x5c41
jge 0x100241ae
and dword [ebp - 0x20], 0
jmp 0x10024142
mov eax, dword [ebp - 0x20]
inc eax
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0x4f9f
jge 0x100241a9
mov esi, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x20]
shl esi, cl
mov eax, dword [ebp - 0x18]
cdq
idiv dword [ebp - 0x1c]
or edx, esi
mov eax, edx
cdq
mov dword [ebp - 0x16c], eax
mov dword [ebp - 0x168], edx
push dword [ebp - 0x168]
push dword [ebp - 0x16c]
lea ecx, [ebp - 0x1a8]
call fcn.1000dd90
pop ecx
pop ecx
mov dword [ebp - 0x13c], eax
mov ecx, dword [ebp - 0x13c]
call fcn.10033580
push eax
call fcn.10053d16
pop ecx
lea ecx, [ebp - 0x1a8]
call fcn.10033576
jmp 0x1002413b
jmp 0x10024125
jmp 0x1002410b
jmp 0x100240f1
push dword [ebp - 0x144]
push 0x5ee9
push dword [ebp - 0x14c]
push 0xf0
mov eax, dword [ebp - 0x154]
push dword [eax]
push 1
call fcn.10012b0c
add esp, 0x18
mov dword [ebp - 4], 2
cmp dword [ebp - 0x9c], 0xfe4
jge 0x100241ff
push dword [ebp - 0x15c]
call fcn.10053d16
pop ecx
jmp 0x1002421b
or dword [ebp - 4], 0xffffffff
jmp 0x10024225
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret