Function at 0x413fad
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x5c
mov dword [ebp - 4], 0
push 0x10
call fcn.0042e1cd
add esp, 4
mov dword [ebp - 8], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 0
mov dword [ebx + 8], 0
mov dword [ebx + 0xc], 0
mov dword [ebx], 0x5d75b5
push ebx
add ebx, 4
push ebx
push 8
call fcn.0042e1cd
add esp, 4
pop ebx
push ebx
mov dword [ebx], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 0
pop ebx
add ebx, 4
push ebx
push 8
call fcn.0042e1cd
add esp, 4
pop ebx
push ebx
mov dword [ebx], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 0
pop ebx
add ebx, 4
push ebx
push 0x10
call fcn.0042e1cd
add esp, 4
pop ebx
push ebx
mov dword [ebx], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 0
mov dword [ebx + 8], 0
mov dword [ebx + 0xc], 0
mov eax, 3
mov dword [ebx], eax
pop ebx
pop ebx
push ebx
mov eax, esp
push eax
call fcn.0040c66e
pop ebx
mov dword [ebp - 0xc], 0
push 0x1000e
push 0x16012537
push 0x520100b6
push 1
mov ebx, 0x431790
call fcn.0042e1e5
add esp, 0x10
push 0
push 0
push 0
push VariantClear
push 0
push 0x5dc365
push 0x1000e
push 0x16012537
push 0x520100b6
push 3
mov ebx, 0x431720
call fcn.0042e1e5
add esp, 0x28
push 0xffffffffffffffff
push 0x13
push 0x16012536
push 0x520100b6
call fcn.0042e1f1
add esp, 0x10
push 0x80000301
push 0
push eax
push 0x1000e
push 0x16012536
push 0x520100b6
push 2
mov ebx, 0x4316c0
call fcn.0042e1e5
add esp, 0x1c
push 0x80000301
push 0
push eax
push 1
mov ebx, 0x42ff00
call fcn.0042e1e5
add esp, 0x10
mov dword [ebp - 0x18], eax
push dword [ebp - 0x18]
push str.http:__order.mi.com_region_index_parent
mov ecx, 2
call fcn.004010c8
add esp, 8
mov dword [ebp - 0x1c], eax
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x41415f
push ebx
call fcn.0042e1d3
add esp, 4
mov dword [ebp - 0x20], 0
push 0
push dword [ebp - 0x20]
mov dword [ebp - 0x24], 0
push 0
lea eax, [ebp - 0x24]
push eax
mov dword [ebp - 0x28], 0
push 0
lea eax, [ebp - 0x28]
push eax
mov dword [ebp - 0x2c], 0
push 0
push dword [ebp - 0x2c]
mov dword [ebp - 0x30], 0
push 0
lea eax, [ebp - 0x30]
push eax
mov dword [ebp - 0x34], 0
push 0
lea eax, [ebp - 0x34]
push eax
mov dword [ebp - 0x38], 0
push 0
lea eax, [ebp - 0x38]
push eax
mov dword [ebp - 0x3c], 0
push 0
push dword [ebp - 0x3c]
mov dword [ebp - 0x40], 0
push 0
lea eax, [ebp - 0x40]
push eax
mov dword [ebp - 0x44], 0
push 0
lea eax, [ebp - 0x44]
push eax
mov dword [ebp - 0x48], 0
push 0
lea eax, [ebp - 0x48]
push eax
mov dword [ebp - 0x4c], 0
push 0
lea eax, [ebp - 0x4c]
push eax
mov dword [ebp - 0x50], 0
push 0
lea eax, [ebp - 0x50]
push eax
mov dword [ebp - 0x54], 0
push 0
push dword [ebp - 0x54]
lea eax, [ebp - 0x1c]
push eax
call fcn.0040a916
mov dword [ebp - 0x58], eax
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x41422d
push ebx
call fcn.0042e1d3
add esp, 4
mov ebx, dword [ebp - 0x50]
test ebx, ebx
je 0x41423d
push ebx
call fcn.0042e1d3
add esp, 4
mov ebx, dword [ebp - 0x4c]
test ebx, ebx
je 0x41424d
push ebx
call fcn.0042e1d3
add esp, 4
mov ebx, dword [ebp - 0x48]
test ebx, ebx
je 0x41425d
push ebx
call fcn.0042e1d3
add esp, 4
mov ebx, dword [ebp - 0x44]
test ebx, ebx
je 0x41426d
push ebx
call fcn.0042e1d3
add esp, 4
mov ebx, dword [ebp - 0x40]
test ebx, ebx
je 0x41427d
push ebx
call fcn.0042e1d3
add esp, 4
mov ebx, dword [ebp - 0x38]
test ebx, ebx
je 0x41428d
push ebx
call fcn.0042e1d3
add esp, 4
mov ebx, dword [ebp - 0x34]
test ebx, ebx
je 0x41429d
push ebx
call fcn.0042e1d3
add esp, 4
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x4142ad
push ebx
call fcn.0042e1d3
add esp, 4
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x4142bd
push ebx
call fcn.0042e1d3
add esp, 4
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x4142cd
push ebx
call fcn.0042e1d3
add esp, 4
push reloc.WS2_32.dll_getpeername
push 0
mov eax, dword [ebp - 0x58]
test eax, eax
jne 0x4142e0
mov eax, 0x4ea38f
push eax
push 1
mov ebx, 0x42ff00
call fcn.0042e1e5
add esp, 0x10
mov dword [ebp - 0x5c], eax
mov ebx, dword [ebp - 0x58]
test ebx, ebx
je 0x414306
push ebx
call fcn.0042e1d3
add esp, 4
mov eax, dword [ebp - 0x5c]
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x41431a
push ebx
call fcn.0042e1d3
add esp, 4
pop eax
mov dword [ebp - 4], eax
lea eax, [ebp - 4]
push eax
call fcn.00412f5d
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x41433e
push ebx
call fcn.0042e1d3
add esp, 4
pop eax
mov dword [ebp - 4], eax
mov dword [ebp - 0x10], 0
push 0
push dword [ebp - 0x10]
mov dword [ebp - 0x14], 0
push 0
push dword [ebp - 0x14]
mov dword [ebp - 0x18], 0
push 0
push dword [ebp - 0x18]
mov dword [ebp - 0x1c], 0
push 0
push dword [ebp - 0x1c]
lea eax, [ebp - 4]
push eax
mov eax, str._region_id_:__.1_6____region_name_:__.1_30____zipcode_:__.1_10__
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 8]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 8]
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x4143a0
push ebx
call fcn.0042e1d3
add esp, 4
push 0
push 0
push 0xffffffffffffffff
push 0x13
push 0x16012537
push 0x520100b6
call fcn.0042e1eb
add esp, 0x18
lea eax, [ebp - 8]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x18]
xor ecx, ecx
push eax
lea eax, [ebp - 0xc]
mov ebx, eax
pop eax
inc ecx
push ecx
push ebx
mov dword [ebx], ecx
push eax
cmp ecx, eax
jg 0x4144be
mov dword [ebp - 0x10], 0
push 0
lea eax, [ebp - 0x10]
push eax
push 2
push dword [ebp - 0xc]
lea eax, [ebp - 8]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x20]
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x18], 0
push 0
lea eax, [ebp - 0x18]
push eax
push 1
push dword [ebp - 0xc]
lea eax, [ebp - 8]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x20]
mov dword [ebp - 0x1c], eax
push VariantClear
push 0
mov eax, dword [ebp - 0x1c]
test eax, eax
jne 0x414441
mov eax, 0x4ea2d1
push eax
push 1
mov ebx, 0x42eff0
call fcn.0042e1e5
add esp, 0x10
mov dword [ebp - 0x20], eax
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x414467
push ebx
call fcn.0042e1d3
add esp, 4
push 0x80000301
push 0
push dword [ebp - 0x20]
push VariantClear
push 0
mov eax, dword [ebp - 0x14]
test eax, eax
jne 0x414484
mov eax, 0x4ea2d1
push eax
push 0x1000e
push 0x16012537
push 0x520100b6
push 3
mov ebx, 0x431720
call fcn.0042e1e5
add esp, 0x28
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x4144b6
push ebx
call fcn.0042e1d3
add esp, 4
pop eax
pop ebx
pop ecx
jmp 0x4143d4
add esp, 0xc
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x4144d1
push ebx
call fcn.0042e1d3
add esp, 4
mov ebx, dword [ebp - 8]
push ebx
mov eax, dword [ebx]
call dword [eax]
call fcn.0042e1d3
add esp, 4
mov esp, ebp
pop ebp
ret