Function at 0x42be60
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
push ebx
sub esp, 0x48
push ecx
push edi
lea edi, [esp + 8]
mov eax, 0xcccccccc
mov ecx, 0x12
rep stosd dword es:[edi], eax
pop edi
pop ecx
mov dword [ebp - 0x4c], ecx
push dword [ebp + 0x18]
push dword [ebp + 0x14]
mov ecx, dword [ebp - 0x4c]
call fcn.0042f280
mov dword [ebp - 0x38], eax
push dword [ebp + 0x18]
push dword [ebp + 0x14]
mov ecx, dword [ebp - 0x4c]
call fcn.0042f200
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp + 0xc]
movsx ebx, word [eax + 2]
mov eax, dword [ebp + 0xc]
movsx edx, word [eax + 6]
sub edx, ebx
add edx, 0xfffffffc
mov dword [ebp - 0x44], edx
mov edx, dword [ebp - 0x3c]
cmp edx, 4
ja case.0x42bebe.0
jmp dword [edx*4 + 0x4fd3f0]
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x40], eax
jmp 0x42c19b
mov eax, dword [ebp + 0x10]
mov edx, dword [eax + 8]
mov dword [ebp - 0x10], edx
cmp dword [ebp - 0x10], 0
je 0x42bee7
mov ecx, dword [ebp - 0x10]
call fcn.0040c350
lea eax, [ebp - 0x10]
push eax
mov ecx, dword [ebp + 8]
call fcn.004834a0
mov edx, dword [ebp - 0x44]
sub edx, eax
cmp edx, 0x80000000
sbb edx, 0xffffffff
sar edx, 1
add edx, dword [ebp - 0x38]
mov dword [ebp - 0x40], edx
cmp dword [ebp - 0x10], 0
je 0x42c19b
mov ecx, dword [ebp - 0x10]
call fcn.0040c380
jmp 0x42c19b
mov eax, dword [ebp + 0x10]
mov edx, dword [eax + 8]
mov dword [ebp - 0x14], edx
cmp dword [ebp - 0x14], 0
je 0x42bf37
mov ecx, dword [ebp - 0x14]
call fcn.0040c350
lea eax, [ebp - 0x14]
push eax
mov ecx, dword [ebp + 8]
call fcn.004834a0
mov edx, dword [ebp - 0x38]
add edx, dword [ebp - 0x44]
sub edx, eax
mov dword [ebp - 0x40], edx
cmp dword [ebp - 0x14], 0
je 0x42c19b
mov ecx, dword [ebp - 0x14]
call fcn.0040c380
jmp 0x42c19b
cmp byte [0x5483d8], 0
jne 0x42bf92
push 1
lea eax, [ebp - 5]
push eax
push 0xe
push 0x400
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
mov byte [0x5483d8], 1
movzx edx, byte [ebp - 5]
mov byte [0x5483d9], dl
mov dword [ebp - 0xc], 0
push 1
push 0x5483d9
lea ecx, [ebp - 0xc]
call fcn.0040c560
mov eax, dword [ebp + 0x10]
mov edx, dword [eax + 8]
mov dword [ebp - 0x18], edx
cmp dword [ebp - 0x18], 0
je 0x42bfbf
mov ecx, dword [ebp - 0x18]
call fcn.0040c350
mov edx, dword [ebp - 0xc]
mov dword [ebp - 0x1c], edx
cmp dword [ebp - 0x1c], 0
je 0x42bfd3
mov ecx, dword [ebp - 0x1c]
call fcn.0040c350
push 1
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x18]
push eax
push 0
call fcn.0046aa60
add esp, 0x10
mov dword [ebp - 0x48], eax
cmp dword [ebp - 0x1c], 0
je 0x42bff8
mov ecx, dword [ebp - 0x1c]
call fcn.0040c380
cmp dword [ebp - 0x18], 0
je 0x42c006
mov ecx, dword [ebp - 0x18]
call fcn.0040c380
cmp dword [ebp - 0x48], 0
jl 0x42c151
mov eax, dword [ebp + 0x10]
mov edx, dword [eax + 8]
mov dword [ebp - 0x20], edx
cmp dword [ebp - 0x20], 0
je 0x42c027
mov ecx, dword [ebp - 0x20]
call fcn.0040c350
push dword [ebp - 0x48]
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x24]
push eax
call fcn.0040cff0
add esp, 0xc
lea eax, [ebp - 0x24]
push eax
mov ecx, dword [ebp + 8]
call fcn.004834a0
mov edx, dword [ebp - 0x38]
add edx, dword [ebp - 0x44]
sub edx, eax
mov dword [ebp - 0x40], edx
cmp dword [ebp - 0x24], 0
je 0x42c05f
mov ecx, dword [ebp - 0x24]
call fcn.0040c380
cmp dword [ebp - 0x20], 0
je 0x42c06d
mov ecx, dword [ebp - 0x20]
call fcn.0040c380
cmp dword [ebp - 0x38], 0
jle 0x42c078
mov edx, dword [ebp - 0x38]
jmp 0x42c07d
mov edx, 0
cmp dword [ebp - 0x40], edx
jge 0x42c095
cmp dword [ebp - 0x38], 0
jle 0x42c08d
mov edx, dword [ebp - 0x38]
jmp 0x42c092
mov edx, 0
mov dword [ebp - 0x40], edx
mov eax, dword [ebp + 0x10]
mov edx, dword [eax + 8]
mov dword [ebp - 0x28], edx
cmp dword [ebp - 0x28], 0
je 0x42c0ac
mov ecx, dword [ebp - 0x28]
call fcn.0040c350
mov eax, dword [ebp - 0x48]
add eax, 0xffffffff
push eax
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x2c]
push eax
call fcn.0040cff0
add esp, 0xc
lea eax, [ebp - 0x2c]
push eax
mov ecx, dword [ebp + 8]
call fcn.004834a0
add eax, dword [ebp - 0x40]
mov ecx, dword [ebp + 0xc]
movsx edx, word [ecx + 6]
cmp eax, edx
setle bl
cmp dword [ebp - 0x2c], 0
je 0x42c0ec
mov ecx, dword [ebp - 0x2c]
call fcn.0040c380
cmp dword [ebp - 0x28], 0
je 0x42c0fa
mov ecx, dword [ebp - 0x28]
call fcn.0040c380
cmp bl, 0
je 0x42c18d
mov dword [ebp - 0x30], 0
push 0x511c3c
call fcn.0040dc70
pop ecx
push eax
push 0x511c3c
lea ecx, [ebp - 0x30]
call fcn.0040c560
cmp dword [ebp - 0x30], 0
je 0x42c135
mov ebx, dword [ebp - 0x30]
mov edx, dword [0x5022fc]
mov dword [ebx + 0x10], edx
lea eax, [ebp - 0x30]
push eax
mov ecx, dword [ebp + 0x1c]
call fcn.0040cc10
cmp dword [ebp - 0x30], 0
je 0x42c18d
mov ecx, dword [ebp - 0x30]
call fcn.0040c380
jmp 0x42c18d
mov eax, dword [ebp + 0x10]
mov edx, dword [eax + 8]
mov dword [ebp - 0x34], edx
cmp dword [ebp - 0x34], 0
je 0x42c168
mov ecx, dword [ebp - 0x34]
call fcn.0040c350
lea eax, [ebp - 0x34]
push eax
mov ecx, dword [ebp + 8]
call fcn.004834a0
mov edx, dword [ebp - 0x38]
add edx, dword [ebp - 0x44]
sub edx, eax
mov dword [ebp - 0x40], edx
cmp dword [ebp - 0x34], 0
je 0x42c18d
mov ecx, dword [ebp - 0x34]
call fcn.0040c380
cmp dword [ebp - 0xc], 0
je 0x42c19b
mov ecx, dword [ebp - 0xc]
call fcn.0040c380
cmp dword [ebp - 0x38], 0
jle 0x42c1a6
mov edx, dword [ebp - 0x38]
jmp 0x42c1ab
mov edx, 0
cmp dword [ebp - 0x40], edx
jge 0x42c1c3
cmp dword [ebp - 0x38], 0
jle 0x42c1bb
mov edx, dword [ebp - 0x38]
jmp 0x42c1c0
mov edx, 0
mov dword [ebp - 0x40], edx
mov eax, dword [ebp - 0x40]
lea esp, [ebp - 4]
pop ebx
pop ebp
ret 0x18