Function at 0x4ea050
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5758a1
mov eax, dword fs:[0]
push eax
sub esp, 0x260
mov eax, dword [0x5bda40]
xor eax, ebp
mov dword [ebp - 0x18], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x24c], 0
mov dword [ebp - 4], 0
mov ecx, 0x5cae24
call fcn.004070f0
movzx eax, al
test eax, eax
jne 0x4ea0d3
push 0x5cae24
mov ecx, dword [ebp + 8]
call fcn.004068e0
mov ecx, dword [ebp - 0x24c]
or ecx, 1
mov dword [ebp - 0x24c], ecx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0xc]
call fcn.004072c0
mov eax, dword [ebp + 8]
jmp 0x4ea83f
push 0x5897bc
lea ecx, [ebp - 0x14]
call fcn.00406900
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x10]
call fcn.00410610
mov byte [ebp - 4], 2
push 2
mov edx, 0x5897c0
lea ecx, [ebp - 0x1e8]
call fcn.0050b470
add esp, 4
mov dword [ebp - 0x250], eax
mov edx, dword [ebp - 0x250]
mov dword [ebp - 0x254], edx
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x254]
call fcn.00402050
push eax
lea ecx, [ebp - 0x10]
call fcn.004069c0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x1e8]
call fcn.00402030
lea ecx, [ebp - 0x10]
call fcn.004070f0
movzx eax, al
test eax, eax
jne 0x4ea7ea
lea ecx, [ebp - 0xf8]
call fcn.00410610
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x10]
call fcn.004070f0
movzx ecx, al
test ecx, ecx
je 0x4ea189
mov edx, dword [ebp - 0x10]
push edx
push str.http:__box2.bainuonet.com_service_partofthearea_sc_s
lea eax, [ebp - 0xf8]
push eax
call fcn.004089d0
add esp, 0xc
jmp 0x4ea1a5
mov ecx, dword [ebp - 0x10]
push ecx
lea ecx, [ebp + 0xc]
call fcn.004072e0
push eax
lea edx, [ebp - 0xf8]
push edx
call fcn.004089d0
add esp, 0xc
xor eax, eax
lea esi, [ebp - 0xf4]
call fcn.00508740
mov byte [ebp - 4], 5
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x1ec], esp
push 0x58983c
call fcn.004020a0
mov dword [ebp - 0x258], eax
lea ecx, [ebp - 0xf8]
call fcn.004072e0
push eax
lea eax, [ebp - 0xf4]
push eax
call fcn.005097e0
mov dword [ebp - 0x25c], eax
cmp dword [ebp - 0x25c], 0
je 0x4ea757
lea edi, [ebp - 0x128]
lea ecx, [ebp - 0xf4]
call fcn.00509fe0
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x128]
call fcn.00402120
movzx ecx, al
test ecx, ecx
je 0x4ea2ae
push 0x589840
mov ecx, 0x5cae24
call fcn.004069a0
push 0x5cae24
mov ecx, dword [ebp + 8]
call fcn.004068e0
mov edx, dword [ebp - 0x24c]
or edx, 1
mov dword [ebp - 0x24c], edx
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x128]
call fcn.00402030
mov byte [ebp - 4], 4
lea ecx, [ebp - 0xf4]
call fcn.00508800
mov byte [ebp - 4], 2
lea ecx, [ebp - 0xf8]
call fcn.004072c0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x10]
call fcn.004072c0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x14]
call fcn.004072c0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0xc]
call fcn.004072c0
mov eax, dword [ebp + 8]
jmp 0x4ea83f
lea eax, [ebp - 0x1bc]
push eax
call fcn.004ff2f0
mov byte [ebp - 4], 7
push 0
lea esi, [ebp - 0x10c]
call fcn.004fc110
mov byte [ebp - 4], 8
push 0
lea esi, [ebp - 0x1cc]
call fcn.004fc110
mov byte [ebp - 4], 9
push 1
lea ecx, [ebp - 0x10c]
push ecx
lea eax, [ebp - 0x128]
lea ebx, [ebp - 0x1bc]
call fcn.004ff390
movzx edx, al
test edx, edx
jne 0x4ea3b9
push 0x589848
mov ecx, 0x5cae24
call fcn.004069a0
push 0x5cae24
mov ecx, dword [ebp + 8]
call fcn.004068e0
mov eax, dword [ebp - 0x24c]
or eax, 1
mov dword [ebp - 0x24c], eax
mov byte [ebp - 4], 8
lea eax, [ebp - 0x1cc]
call fcn.004fc480
mov byte [ebp - 4], 7
lea eax, [ebp - 0x10c]
call fcn.004fc480
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x1bc]
call fcn.00404b00
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x128]
call fcn.00402030
mov byte [ebp - 4], 4
lea ecx, [ebp - 0xf4]
call fcn.00508800
mov byte [ebp - 4], 2
lea ecx, [ebp - 0xf8]
call fcn.004072c0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x10]
call fcn.004072c0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x14]
call fcn.004072c0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0xc]
call fcn.004072c0
mov eax, dword [ebp + 8]
jmp 0x4ea83f
lea eax, [ebp - 0x10c]
call fcn.004fd870
movzx ecx, al
test ecx, ecx
jne 0x4ea483
push 0x589850
mov ecx, 0x5cae24
call fcn.004069a0
push 0x5cae24
mov ecx, dword [ebp + 8]
call fcn.004068e0
mov edx, dword [ebp - 0x24c]
or edx, 1
mov dword [ebp - 0x24c], edx
mov byte [ebp - 4], 8
lea eax, [ebp - 0x1cc]
call fcn.004fc480
mov byte [ebp - 4], 7
lea eax, [ebp - 0x10c]
call fcn.004fc480
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x1bc]
call fcn.00404b00
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x128]
call fcn.00402030
mov byte [ebp - 4], 4
lea ecx, [ebp - 0xf4]
call fcn.00508800
mov byte [ebp - 4], 2
lea ecx, [ebp - 0xf8]
call fcn.004072c0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x10]
call fcn.004072c0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x14]
call fcn.004072c0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0xc]
call fcn.004072c0
mov eax, dword [ebp + 8]
jmp 0x4ea83f
mov eax, 0x589858
lea ecx, [ebp - 0x10c]
call fcn.004fd220
mov ecx, eax
call fcn.004fcbe0
test eax, eax
ja 0x4ea4df
mov byte [ebp - 4], 8
lea eax, [ebp - 0x1cc]
call fcn.004fc480
mov byte [ebp - 4], 7
lea eax, [ebp - 0x10c]
call fcn.004fc480
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x1bc]
call fcn.00404b00
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x128]
call fcn.00402030
jmp 0x4ea6ec
mov eax, 0x589860
lea ecx, [ebp - 0x10c]
call fcn.004fd220
lea esi, [ebp - 0x1cc]
call fcn.004fc580
push 0x5820df
lea esi, [ebp - 0x21c]
call fcn.004fc230
mov byte [ebp - 4], 0xa
lea eax, [ebp - 0x21c]
push eax
mov eax, 0x589868
lea esi, [ebp - 0x22c]
lea ecx, [ebp - 0x1cc]
call fcn.004fd630
mov dword [ebp - 0x260], eax
mov ecx, dword [ebp - 0x260]
mov dword [ebp - 0x264], ecx
mov byte [ebp - 4], 0xb
mov eax, dword [ebp - 0x264]
call fcn.004fc610
push eax
lea ecx, [ebp - 0x208]
call fcn.00401fb0
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0x208]
lea edi, [ebp - 0x248]
call fcn.00503250
mov dword [ebp - 0x268], eax
mov edx, dword [ebp - 0x268]
mov dword [ebp - 0x26c], edx
mov byte [ebp - 4], 0xd
mov ecx, dword [ebp - 0x26c]
call fcn.00402100
push eax
lea ecx, [ebp - 0x14]
call fcn.004069a0
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0x248]
call fcn.004020e0
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x208]
call fcn.00402030
mov byte [ebp - 4], 0xa
lea eax, [ebp - 0x22c]
call fcn.004fc480
mov byte [ebp - 4], 9
lea eax, [ebp - 0x21c]
call fcn.004fc480
lea ecx, [ebp - 0x14]
call fcn.004070f0
movzx eax, al
test eax, eax
je 0x4ea69a
push 0x589870
mov ecx, 0x5cae24
call fcn.004069a0
push 0x5cae24
mov ecx, dword [ebp + 8]
call fcn.004068e0
mov ecx, dword [ebp - 0x24c]
or ecx, 1
mov dword [ebp - 0x24c], ecx
mov byte [ebp - 4], 8
lea eax, [ebp - 0x1cc]
call fcn.004fc480
mov byte [ebp - 4], 7
lea eax, [ebp - 0x10c]
call fcn.004fc480
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x1bc]
call fcn.00404b00
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x128]
call fcn.00402030
mov byte [ebp - 4], 4
lea ecx, [ebp - 0xf4]
call fcn.00508800
mov byte [ebp - 4], 2
lea ecx, [ebp - 0xf8]
call fcn.004072c0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x10]
call fcn.004072c0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x14]
call fcn.004072c0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0xc]
call fcn.004072c0
mov eax, dword [ebp + 8]
jmp 0x4ea83f
lea edx, [ebp - 0x14]
push edx
mov ecx, 0x5cae24
call fcn.00406980
mov byte [ebp - 4], 8
lea eax, [ebp - 0x1cc]
call fcn.004fc480
mov byte [ebp - 4], 7
lea eax, [ebp - 0x10c]
call fcn.004fc480
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x1bc]
call fcn.00404b00
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x128]
call fcn.00402030
xor eax, eax
jne 0x4ea1fc
push 0x5cae24
mov ecx, dword [ebp + 8]
call fcn.004068e0
mov ecx, dword [ebp - 0x24c]
or ecx, 1
mov dword [ebp - 0x24c], ecx
mov byte [ebp - 4], 4
lea ecx, [ebp - 0xf4]
call fcn.00508800
mov byte [ebp - 4], 2
lea ecx, [ebp - 0xf8]
call fcn.004072c0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x10]
call fcn.004072c0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x14]
call fcn.004072c0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0xc]
call fcn.004072c0
mov eax, dword [ebp + 8]
jmp 0x4ea83f
push 0x589878
mov ecx, 0x5cae24
call fcn.004069a0
push 0x5cae24
mov ecx, dword [ebp + 8]
call fcn.004068e0
mov edx, dword [ebp - 0x24c]
or edx, 1
mov dword [ebp - 0x24c], edx
mov byte [ebp - 4], 4
lea ecx, [ebp - 0xf4]
call fcn.00508800
mov byte [ebp - 4], 2
lea ecx, [ebp - 0xf8]
call fcn.004072c0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x10]
call fcn.004072c0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x14]
call fcn.004072c0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0xc]
call fcn.004072c0
mov eax, dword [ebp + 8]
jmp 0x4ea83f
push 0x589880
mov ecx, 0x5cae24
call fcn.004069a0
push 0x5cae24
mov ecx, dword [ebp + 8]
call fcn.004068e0
mov eax, dword [ebp - 0x24c]
or eax, 1
mov dword [ebp - 0x24c], eax
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x10]
call fcn.004072c0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x14]
call fcn.004072c0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0xc]
call fcn.004072c0
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x18]
xor ecx, ebp
call fcn.00538a54
mov esp, ebp
pop ebp
ret