Function at 0x4cbfa0
Capabilities:
Get geographical location
Resolve function by parsing pe exports

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
lea eax, [esp - 0x38]
cmp eax, dword [ecx + 8]
jbe 0x4cc946
sub esp, 0xb8
mov edx, dword [esp + 0xbc]
mov ebx, dword [edx + 0x1c]
mov ebp, dword [edx + 0x20]
mov esi, dword [edx + 0x18]
test ebx, ebx
je 0x4cc912
mov ecx, dword [esi + 4]
mov eax, esi
mov esi, dword [esi]
cmp ecx, 2
jl 0x4cc8ed
cmp byte [esi], 0x2d
jne 0x4cc8ed
lea edi, [edx + 0x18]
cmp byte [esi + 1], 0x2d
jne 0x4cc8d7
cmp ecx, 2
je 0x4cc888
mov dword [esp + 0x4c], eax
mov eax, 2
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x4c]
mov dword [esp + 0x48], ebp
mov ebp, dword [esp + 0x2c]
cmp ebp, ecx
ja 0x4cc93e
mov dword [esp + 0x28], ecx
sub ecx, ebp
mov dword [esp + 0x30], ecx
neg ecx
sar ecx, 0x1f
and ebp, ecx
mov ecx, edx
lea edx, [ebp + esi]
mov dword [esp + 0x64], edx
mov edx, dword [esp + 0x30]
test edx, edx
je 0x4cc7e9
mov dword [esp + 0x44], ebp
movzx ebp, byte [ebp + esi]
xchg ebp, eax
cmp al, 0x2d
xchg ebp, eax
je 0x4cc7e9
xchg ebp, eax
cmp al, 0x3d
xchg ebp, eax
je 0x4cc7e9
dec ebx
mov dword [ecx + 0x1c], ebx
mov ebx, dword [esp + 0x48]
dec ebx
mov dword [ecx + 0x20], ebx
mov ebp, dword [0xb53500]
neg ebx
sar ebx, 0x1f
and ebx, 8
add eax, ebx
test ebp, ebp
jne 0x4cc7df
mov dword [ecx + 0x18], eax
mov dword [esp + 0x84], edi
mov dword [esp + 0x60], esi
mov ebx, dword [esp + 0x64]
mov eax, 1
jmp 0x4cc0ac
inc eax
cmp eax, edx
jge 0x4cc7ca
jae 0x4cc937
movzx ebp, byte [eax + ebx]
xchg ebp, eax
cmp al, 0x3d
xchg ebp, eax
jne 0x4cc0ab
lea ebp, [eax + 1]
sub edx, ebp
mov dword [esp + 0x24], edx
neg edx
sar edx, 0x1f
and ebp, edx
lea edx, [ebx + ebp]
mov ebp, 1
mov dword [esp + 0x30], eax
mov dword [esp + 0x5c], edx
xchg ebp, eax
mov byte [esp + 0x23], al
xchg ebp, eax
mov esi, dword [ecx + 0x14]
lea edi, [0x77a240]
mov dword [esp], edi
mov dword [esp + 4], esi
mov dword [esp + 8], ebx
mov dword [esp + 0xc], eax
call fcn.0040f940
mov eax, dword [esp + 0x10]
movzx ecx, byte [esp + 0x14]
mov eax, dword [eax]
test cl, cl
jne 0x4cc22d
mov eax, dword [esp + 0x30]
cmp eax, 4
jne 0x4cc220
mov ecx, dword [esp + 0x44]
mov edx, dword [esp + 0x60]
mov ebx, dword [edx + ecx]
cmp ebx, 0x706c6568
jne 0x4cc173
mov eax, dword [esp + 0xbc]
mov dword [esp], eax
call fcn.004cbf60
mov eax, dword [0xb40784]
mov ecx, dword [0xb40780]
mov byte [esp + 0xc0], 0
mov dword [esp + 0xc4], ecx
mov dword [esp + 0xc8], eax
add esp, 0xb8
ret
cmp eax, 1
jne 0x4cc181
movzx ecx, byte [ecx + edx]
cmp cl, 0x68
je 0x4cc13b
mov ecx, dword [esp + 0x64]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.00408290
mov eax, dword [esp + 8]
mov dword [esp + 0x88], 0
mov dword [esp + 0x8c], 0
lea ecx, [0x776aa0]
mov dword [esp + 0x88], ecx
mov dword [esp + 0x8c], eax
mov eax, dword [esp + 0xbc]
mov dword [esp], eax
lea eax, [0x7f6ca4]
mov dword [esp + 4], eax
mov dword [esp + 8], 0x22
lea eax, [esp + 0x88]
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], 1
mov dword [esp + 0x14], 1
call fcn.004cbe70
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
mov byte [esp + 0xc0], 0
mov dword [esp + 0xc4], eax
mov dword [esp + 0xc8], ecx
add esp, 0xb8
ret
mov ecx, dword [esp + 0x44]
mov edx, dword [esp + 0x60]
jmp 0x4cc173
mov dword [esp + 0x6c], eax
mov ecx, dword [eax + 0x10]
mov edx, dword [eax + 0x14]
lea ebx, [0x78dd00]
mov dword [esp], ebx
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
call fcn.004085b0
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
movzx edx, byte [esp + 0x14]
test dl, dl
jne 0x4cc7a8
xor edx, edx
test dl, dl
je 0x4cc559
movzx edx, byte [esp + 0x23]
test dl, dl
je 0x4cc451
mov eax, dword [eax + 0x14]
mov dword [esp], ecx
mov ecx, dword [esp + 0x5c]
mov dword [esp + 4], ecx
mov edx, dword [esp + 0x24]
mov dword [esp + 8], edx
call eax
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0xc]
test ecx, ecx
jne 0x4cc353
mov eax, dword [esp + 0xbc]
mov ecx, dword [eax + 0x10]
test ecx, ecx
je 0x4cc31a
mov eax, dword [eax + 0x10]
lea ecx, [0x77a240]
mov dword [esp], ecx
mov dword [esp + 4], eax
mov eax, dword [esp + 0x64]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x30]
mov dword [esp + 0xc], eax
call fcn.0040fcd0
mov edi, dword [esp + 0x10]
test byte [edi], al
mov eax, dword [0xb53500]
test eax, eax
jne 0x4cc30f
mov eax, dword [esp + 0x6c]
mov dword [edi], eax
mov byte [esp + 0xc0], 1
mov dword [esp + 0xc4], 0
mov dword [esp + 0xc8], 0
add esp, 0xb8
ret
mov eax, dword [esp + 0x6c]
call fcn.00459620
jmp 0x4cc2ea
call fcn.0040b4f0
mov eax, dword [0xb53500]
mov ecx, dword [esp]
test eax, eax
jne 0x4cc33b
mov eax, dword [esp + 0xbc]
mov dword [eax + 0x10], ecx
jmp 0x4cc2af
mov edx, dword [esp + 0xbc]
lea edi, [edx + 0x10]
mov eax, ecx
call fcn.00459620
mov eax, edx
jmp 0x4cc2af
mov dword [esp + 0x74], eax
mov dword [esp + 0x40], ecx
mov eax, dword [esp + 0x5c]
mov dword [esp], eax
mov eax, dword [esp + 0x24]
mov dword [esp + 4], eax
call fcn.00408290
mov eax, dword [esp + 8]
mov dword [esp + 0x80], eax
mov ecx, dword [esp + 0x64]
mov dword [esp], ecx
mov ecx, dword [esp + 0x30]
mov dword [esp + 4], ecx
call fcn.00408290
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0x40]
test ecx, ecx
je 0x4cc39d
mov ecx, dword [ecx + 4]
mov dword [esp + 0x7c], ecx
lea edi, [esp + 0xa0]
mov edx, eax
xor eax, eax
call fcn.004598ba
lea ecx, [0x776aa0]
mov dword [esp + 0xa0], ecx
mov ebx, dword [esp + 0x80]
mov dword [esp + 0xa4], ebx
mov dword [esp + 0xa8], ecx
mov dword [esp + 0xac], edx
mov ecx, dword [esp + 0x7c]
mov dword [esp + 0xb0], ecx
mov ecx, dword [esp + 0x74]
mov dword [esp + 0xb4], ecx
mov ecx, dword [esp + 0xbc]
mov dword [esp], ecx
lea ecx, [0x7f7d0d]
mov dword [esp + 4], ecx
mov dword [esp + 8], 0x24
lea ecx, [esp + 0xa0]
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], 3
mov dword [esp + 0x14], 3
call fcn.004cbe70
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x18]
mov byte [esp + 0xc0], 0
mov dword [esp + 0xc4], edx
mov dword [esp + 0xc8], ecx
add esp, 0xb8
ret
mov eax, dword [eax + 0x14]
mov dword [esp], ecx
lea ecx, [0x7e37f6]
mov dword [esp + 4], ecx
mov dword [esp + 8], 4
call eax
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0xc]
test ecx, ecx
je 0x4cc2a1
mov dword [esp + 0x78], eax
mov dword [esp + 0x3c], ecx
mov eax, dword [esp + 0x64]
mov dword [esp], eax
mov eax, dword [esp + 0x30]
mov dword [esp + 4], eax
call fcn.00408290
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0x3c]
test ecx, ecx
je 0x4cc4a6
mov ecx, dword [ecx + 4]
mov dword [esp + 0x90], 0
mov dword [esp + 0x94], 0
mov dword [esp + 0x98], 0
mov dword [esp + 0x9c], 0
lea edx, [0x776aa0]
mov dword [esp + 0x90], edx
mov dword [esp + 0x94], eax
mov dword [esp + 0x98], ecx
mov eax, dword [esp + 0x78]
mov dword [esp + 0x9c], eax
mov eax, dword [esp + 0xbc]
mov dword [esp], eax
lea eax, [0x7f273e]
mov dword [esp + 4], eax
mov dword [esp + 8], 0x1b
lea eax, [esp + 0x90]
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], 2
mov dword [esp + 0x14], 2
call fcn.004cbe70
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
mov byte [esp + 0xc0], 0
mov dword [esp + 0xc4], eax
mov dword [esp + 0xc8], ecx
add esp, 0xb8
ret
movzx ecx, byte [esp + 0x23]
test cl, cl
je 0x4cc749
mov eax, dword [esp + 0x24]
mov edx, dword [esp + 0x5c]
test cl, cl
je 0x4cc6a6
mov dword [esp + 0x24], eax
mov dword [esp + 0x5c], edx
mov ecx, dword [esp + 0x6c]
mov ebx, dword [ecx + 0x10]
mov ebp, dword [ecx + 0x14]
mov ebx, dword [ebx + 0x10]
mov dword [esp], ebp
mov dword [esp + 4], edx
mov dword [esp + 8], eax
call ebx
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0xc]
test ecx, ecx
je 0x4cc2a1
mov dword [esp + 0x70], eax
mov dword [esp + 0x38], ecx
mov eax, dword [esp + 0x5c]
mov dword [esp], eax
mov eax, dword [esp + 0x24]
mov dword [esp + 4], eax
call fcn.00408290
mov eax, dword [esp + 8]
mov dword [esp + 0x80], eax
mov ecx, dword [esp + 0x64]
mov dword [esp], ecx
mov ecx, dword [esp + 0x30]
mov dword [esp + 4], ecx
call fcn.00408290
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0x38]
test ecx, ecx
je 0x4cc5f2
mov ecx, dword [ecx + 4]
mov dword [esp + 0x7c], ecx
lea edi, [esp + 0xa0]
mov edx, eax
xor eax, eax
call fcn.004598ba
lea ecx, [0x776aa0]
mov dword [esp + 0xa0], ecx
mov ebx, dword [esp + 0x80]
mov dword [esp + 0xa4], ebx
mov dword [esp + 0xa8], ecx
mov dword [esp + 0xac], edx
mov ecx, dword [esp + 0x7c]
mov dword [esp + 0xb0], ecx
mov ecx, dword [esp + 0x70]
mov dword [esp + 0xb4], ecx
mov ecx, dword [esp + 0xbc]
mov dword [esp], ecx
lea ecx, [0x7f6317]
mov dword [esp + 4], ecx
mov dword [esp + 8], 0x21
lea ecx, [esp + 0xa0]
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], 3
mov dword [esp + 0x14], 3
call fcn.004cbe70
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x18]
mov byte [esp + 0xc0], 0
mov dword [esp + 0xc4], edx
mov dword [esp + 0xc8], ecx
add esp, 0xb8
ret
mov eax, dword [esp + 0x64]
mov dword [esp], eax
mov eax, dword [esp + 0x30]
mov dword [esp + 4], eax
call fcn.00408290
mov eax, dword [esp + 8]
mov dword [esp + 0x88], 0
mov dword [esp + 0x8c], 0
lea ecx, [0x776aa0]
mov dword [esp + 0x88], ecx
mov dword [esp + 0x8c], eax
mov eax, dword [esp + 0xbc]
mov dword [esp], eax
lea eax, [0x7f264b]
mov dword [esp + 4], eax
mov dword [esp + 8], 0x1b
lea eax, [esp + 0x88]
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], 1
mov dword [esp + 0x14], 1
call fcn.004cbe70
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
mov byte [esp + 0xc0], 0
mov dword [esp + 0xc4], eax
mov dword [esp + 0xc8], ecx
add esp, 0xb8
ret
mov edx, dword [esp + 0xbc]
mov ebx, dword [edx + 0x20]
mov ebp, dword [edx + 0x18]
mov esi, dword [edx + 0x1c]
test esi, esi
jle 0x4cc566
mov ecx, dword [ebp + 4]
mov eax, ecx
mov ecx, dword [ebp]
dec esi
mov dword [edx + 0x1c], esi
dec ebx
mov dword [edx + 0x20], ebx
mov esi, dword [0xb53500]
neg ebx
sar ebx, 0x1f
and ebx, 8
add ebx, ebp
test esi, esi
jne 0x4cc794
mov dword [edx + 0x18], ebx
mov edx, ecx
mov ecx, 1
jmp 0x4cc56e
mov edi, dword [esp + 0x84]
mov ebp, eax
mov eax, ebx
call fcn.00459620
mov eax, ebp
jmp 0x4cc788
mov dword [esp + 0x34], eax
mov dword [esp + 0x68], ecx
mov edx, dword [eax + 0x10]
mov dword [esp], ecx
call edx
movzx edx, byte [esp + 4]
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x68]
jmp 0x4cc264
mov eax, edx
xor ebp, ebp
xor eax, eax
mov dword [esp + 0x24], eax
xor edx, edx
mov eax, dword [esp + 0x30]
jmp 0x4cc0dd
call fcn.00459620
jmp 0x4cc095
mov dword [esp], esi
mov eax, dword [esp + 0x28]
mov dword [esp + 4], eax
call fcn.00408290
mov eax, dword [esp + 8]
mov dword [esp + 0x88], 0
mov dword [esp + 0x8c], 0
lea ecx, [0x776aa0]
mov dword [esp + 0x88], ecx
mov dword [esp + 0x8c], eax
mov eax, dword [esp + 0xbc]
mov dword [esp], eax
lea eax, [0x7ec894]
mov dword [esp + 4], eax
mov dword [esp + 8], 0x13
lea eax, [esp + 0x88]
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], 1
mov dword [esp + 0x14], 1
call fcn.004cbe70
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x18]
mov byte [esp + 0xc0], 0
mov dword [esp + 0xc4], ecx
mov dword [esp + 0xc8], eax
add esp, 0xb8
ret
lea ecx, [ebx - 1]
mov dword [edx + 0x1c], ecx
lea ecx, [ebp - 1]
mov dword [edx + 0x20], ecx
mov ebx, dword [0xb53500]
neg ecx
sar ecx, 0x1f
and ecx, 8
add eax, ecx
test ebx, ebx
jne 0x4cc8d0
mov dword [edx + 0x18], eax
mov byte [esp + 0xc0], 0
mov dword [esp + 0xc4], 0
mov dword [esp + 0xc8], 0
add esp, 0xb8
ret
call fcn.00459620
jmp 0x4cc8ab
mov dword [esp + 0x54], eax
mov eax, 1
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x54]
jmp 0x4cc018
mov byte [esp + 0xc0], 0
mov dword [esp + 0xc4], 0
mov dword [esp + 0xc8], 0
add esp, 0xb8
ret
mov byte [esp + 0xc0], 0
mov dword [esp + 0xc4], 0
mov dword [esp + 0xc8], 0
add esp, 0xb8
ret
mov ecx, edx
call fcn.004596a0
mov eax, ebp
call fcn.00459700
nop
call fcn.00457de0
jmp fcn.004cbfa0