Function at 0x41bca5
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
push ebx
push esi
push edi
push dword [ebp + 8]
call fcn.004279a0
inc eax
push eax
call fcn.0043be5a
push dword [ebp + 8]
mov esi, eax
push esi
mov dword [ebp - 8], esi
call fcn.00428660
xor ebx, ebx
add esp, 0x10
cmp dword [ebp + 8], ebx
jne 0x41bcd7
mov byte [esi], bl
push esi
call fcn.00434465
mov edi, dword [ebp + 0x14]
or dword [edi], 0xffffffff
mov dword [esp], str.no_match_found_for
push esi
call fcn.00428a40
test eax, eax
pop ecx
pop ecx
je 0x41bd00
push str.__QUERY_ERROR
jmp 0x41c34f
push str.reached_the_limit
push esi
call fcn.00428a40
test eax, eax
pop ecx
pop ecx
jne 0x41c34a
push str.access_denied
push esi
call fcn.00428a40
test eax, eax
pop ecx
pop ecx
jne 0x41c34a
push str.limit_reached
push esi
call fcn.00428a40
test eax, eax
pop ecx
pop ecx
jne 0x41c34a
push str.you_have_exceeded
push esi
call fcn.00428a40
test eax, eax
pop ecx
pop ecx
jne 0x41c34a
push str.allocated_to_ripe_ncc
push esi
call fcn.00428a40
test eax, eax
pop ecx
pop ecx
jne 0x41c339
push str.whois.ripe.net
push esi
call fcn.00428a40
test eax, eax
pop ecx
pop ecx
jne 0x41c339
push str.allocated_to_apnic
push esi
call fcn.00428a40
test eax, eax
pop ecx
pop ecx
jne 0x41c32b
push str.transferred_to_apnic
push esi
call fcn.00428a40
test eax, eax
pop ecx
pop ecx
jne 0x41c32b
push str.asia_pacific_network_information_centre
push esi
call fcn.00428a40
test eax, eax
pop ecx
pop ecx
jne 0x41c32b
push str.allocated_to_lacnic
push esi
call fcn.00428a40
test eax, eax
pop ecx
pop ecx
jne 0x41c31e
push str.latin_american_and_caribbean_ip_address_regional_registry
push esi
call fcn.00428a40
test eax, eax
pop ecx
pop ecx
jne 0x41c31e
push str.japan_network_information_center
push esi
call fcn.00428a40
test eax, eax
pop ecx
pop ecx
je 0x41be09
push esi
call fcn.0043be55
mov dword [edi], 3
jmp 0x41c345
push ebx
push 1
push str.orgname:
push dword [ebp + 8]
call fcn.0040665f
add esp, 0x10
cmp eax, ebx
jne 0x41bec4
push ebx
push 1
push str.custname:
push dword [ebp + 8]
call fcn.0040665f
add esp, 0x10
cmp eax, ebx
jne 0x41bec4
push str._r_n_r_n
push esi
call fcn.00428a40
cmp eax, ebx
pop ecx
pop ecx
jne 0x41be61
push 0x458bf8
push esi
call fcn.00428a40
cmp eax, ebx
pop ecx
pop ecx
je 0x41beba
push 0x28
push esi
mov byte [eax], bl
call fcn.00428f60
mov esi, eax
cmp esi, ebx
pop ecx
pop ecx
je 0x41beba
inc esi
push 0x29
push esi
call fcn.00428980
cmp eax, ebx
pop ecx
pop ecx
je 0x41be84
mov byte [eax], bl
push esi
call fcn.004279a0
cmp eax, 0xff
pop ecx
jbe 0x41be98
mov byte [esi + 0xff], bl
push esi
push dword [ebp + 0xc]
call fcn.00428660
push dword [ebp + 0xc]
call fcn.00434351
add esp, 0xc
mov dword [edi], 4
xor ebx, ebx
inc ebx
jmp 0x41c36f
push str.__HANDLE_NOT_FOUND
jmp 0x41c34f
mov esi, dword [ebp + 0x10]
push 0xff
push eax
lea edi, [esi + 2]
push edi
call fcn.00427a30
push 0xd
push edi
mov byte [esi + 0x101], bl
call fcn.00428980
add esp, 0x14
cmp eax, ebx
jne 0x41bef9
push 0xa
push edi
call fcn.00428980
cmp eax, ebx
pop ecx
pop ecx
je 0x41befb
mov byte [eax], bl
push ebx
push 1
push str.orgid:
push dword [ebp + 8]
call fcn.0040665f
add esp, 0x10
cmp eax, ebx
mov dword [ebp - 4], eax
je 0x41bfac
push eax
call fcn.004279a0
inc eax
push eax
call fcn.0043be5a
push dword [ebp - 4]
mov edi, eax
push edi
mov dword [ebp + 0x14], edi
call fcn.00428660
push 0xd
push edi
call fcn.00428980
add esp, 0x18
cmp eax, ebx
jne 0x41bf51
push 0xa
push edi
call fcn.00428980
cmp eax, ebx
pop ecx
pop ecx
je 0x41bf53
mov byte [eax], bl
lea eax, [esi + 2]
push eax
call fcn.004279a0
mov edi, 0xfc
sub edi, eax
cmp edi, 0xff
pop ecx
jae 0x41bf7f
push dword [ebp + 0x14]
call fcn.004279a0
cmp eax, edi
pop ecx
jbe 0x41bf7f
mov eax, dword [ebp + 0x14]
mov byte [edi + eax], bl
push 0x458bd8
lea edi, [esi + 2]
push edi
call fcn.00428670
push dword [ebp + 0x14]
push edi
call fcn.00428670
push 0x458bd4
push edi
call fcn.00428670
push dword [ebp + 0x14]
call fcn.0043be55
add esp, 0x1c
push ebx
push 1
push str.stateprov:
push dword [ebp + 8]
call fcn.0040665f
add esp, 0x10
cmp eax, ebx
je 0x41c00b
push 0xff
push eax
lea edi, [esi + 0x102]
push edi
call fcn.00427a30
push 0xd
push edi
mov byte [esi + 0x201], bl
call fcn.00428980
add esp, 0x14
cmp eax, ebx
jne 0x41bff8
push 0xa
push edi
call fcn.00428980
cmp eax, ebx
pop ecx
pop ecx
je 0x41bffa
mov byte [eax], bl
cmp byte [edi], bl
je 0x41c00b
push 0x458bc4
push edi
call fcn.00428670
pop ecx
pop ecx
push ebx
push 1
push str.postalcode:
push dword [ebp + 8]
call fcn.0040665f
add esp, 0x10
cmp eax, ebx
mov dword [ebp - 4], eax
je 0x41c098
lea edi, [esi + 0x102]
push edi
call fcn.004279a0
pop ecx
mov ecx, 0xff
sub ecx, eax
push ecx
push dword [ebp - 4]
push edi
call fcn.004279a0
pop ecx
lea eax, [eax + esi + 0x102]
push eax
call fcn.00427a30
push 0xd
push edi
mov byte [esi + 0x201], bl
call fcn.00428980
add esp, 0x14
cmp eax, ebx
jne 0x41c074
push 0xa
push edi
call fcn.00428980
cmp eax, ebx
pop ecx
pop ecx
je 0x41c076
mov byte [eax], bl
cmp byte [edi], bl
je 0x41c098
push edi
call fcn.004279a0
cmp byte [eax + esi + 0x101], 0x20
pop ecx
je 0x41c098
push 0x458bc4
push edi
call fcn.00428670
pop ecx
pop ecx
push ebx
push 1
push str.city:
push dword [ebp + 8]
call fcn.0040665f
add esp, 0x10
cmp eax, ebx
mov dword [ebp - 4], eax
je 0x41c125
lea edi, [esi + 0x102]
push edi
call fcn.004279a0
pop ecx
mov ecx, 0xff
sub ecx, eax
push ecx
push dword [ebp - 4]
push edi
call fcn.004279a0
pop ecx
lea eax, [eax + esi + 0x102]
push eax
call fcn.00427a30
push 0xd
push edi
mov byte [esi + 0x201], bl
call fcn.00428980
add esp, 0x14
cmp eax, ebx
jne 0x41c101
push 0xa
push edi
call fcn.00428980
cmp eax, ebx
pop ecx
pop ecx
je 0x41c103
mov byte [eax], bl
cmp byte [edi], bl
je 0x41c125
push edi
call fcn.004279a0
cmp byte [eax + esi + 0x101], 0x20
pop ecx
je 0x41c125
push 0x458bc4
push edi
call fcn.00428670
pop ecx
pop ecx
push ebx
push 1
push str.address:
push dword [ebp + 8]
call fcn.0040665f
mov edi, eax
add esp, 0x10
cmp edi, ebx
je 0x41c24a
push edi
call fcn.004279a0
inc eax
push eax
call fcn.0043be5a
push edi
push eax
mov dword [ebp + 0x14], eax
call fcn.00428660
push str._r_n_r_n
push dword [ebp + 0x14]
call fcn.00428a40
add esp, 0x18
cmp eax, ebx
jne 0x41c180
push 0x458bf8
push dword [ebp + 0x14]
call fcn.00428a40
cmp eax, ebx
pop ecx
pop ecx
je 0x41c1df
mov byte [eax], bl
push 1
push 1
push str.address:
push dword [ebp + 0x14]
call fcn.0040665f
add esp, 0x10
cmp eax, ebx
mov dword [ebp - 4], eax
je 0x41c1df
push 0xd
push dword [ebp + 0x14]
call fcn.00428980
mov edi, eax
cmp edi, ebx
pop ecx
pop ecx
jne 0x41c1c1
push 0xa
push dword [ebp + 0x14]
call fcn.00428980
mov edi, eax
cmp edi, ebx
pop ecx
pop ecx
je 0x41c182
push dword [ebp - 4]
call fcn.004279a0
inc eax
push eax
push dword [ebp - 4]
lea eax, [edi + 1]
push eax
call fcn.00427d70
add esp, 0x10
mov byte [edi], 0x20
jmp 0x41c182
push 0xd
push dword [ebp + 0x14]
call fcn.00428980
cmp eax, ebx
pop ecx
pop ecx
jne 0x41c1ff
push 0xa
push dword [ebp + 0x14]
call fcn.00428980
cmp eax, ebx
pop ecx
pop ecx
je 0x41c201
mov byte [eax], bl
lea eax, [esi + 0x102]
push eax
call fcn.004279a0
mov edi, 0xff
sub edi, eax
cmp edi, 0xff
pop ecx
jae 0x41c230
push dword [ebp + 0x14]
call fcn.004279a0
cmp eax, edi
pop ecx
jbe 0x41c230
mov eax, dword [ebp + 0x14]
mov byte [edi + eax], bl
push dword [ebp + 0x14]
lea eax, [esi + 0x102]
push eax
call fcn.00428670
push dword [ebp + 0x14]
call fcn.0043be55
add esp, 0xc
push ebx
push 1
push str.country:
push dword [ebp + 8]
call fcn.0040665f
add esp, 0x10
cmp eax, ebx
je 0x41c286
mov cl, byte [eax + 2]
cmp cl, 0xd
je 0x41c26e
cmp cl, 0xa
jne 0x41c286
push 2
push eax
lea eax, [esi + 0x210]
push eax
call fcn.00427a30
add esp, 0xc
mov byte [esi + 0x212], bl
push ebx
push 1
push str.cidr:
push dword [ebp + 8]
call fcn.0040665f
add esp, 0x10
cmp eax, ebx
je 0x41c2ea
mov cl, byte [eax]
xor edi, edi
jmp 0x41c2b6
cmp cl, 0xd
je 0x41c2ba
cmp cl, 0xa
je 0x41c2ba
cmp edi, 0x1f
jae 0x41c2ba
inc edi
mov cl, byte [edi + eax]
cmp cl, bl
jne 0x41c2a3
push edi
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.004295e0
lea eax, [esi + 0x208]
push eax
lea eax, [esi + 0x204]
push eax
lea eax, [ebp - 0x28]
push eax
mov byte [ebp + edi - 0x28], bl
call fcn.00406cb8
add esp, 0x18
neg eax
sbb eax, eax
inc eax
jmp 0x41c2ed
xor eax, eax
inc eax
cmp eax, ebx
je 0x41beb2
push ebx
push 1
push str.netrange:
push dword [ebp + 8]
call fcn.0040665f
add esp, 0x10
cmp eax, ebx
je 0x41beb2
push esi
push eax
call fcn.0041bb96
pop ecx
pop ecx
jmp 0x41beb2
push esi
call fcn.0043be55
xor eax, eax
inc eax
mov dword [edi], eax
jmp 0x41c379
push esi
call fcn.0043be55
mov dword [edi], 6
jmp 0x41c345
push esi
call fcn.0043be55
mov dword [edi], 5
xor eax, eax
inc eax
jmp 0x41c379
push str.__QUERY_LIMIT
mov esi, dword [ebp + 0x10]
lea eax, [esi + 2]
push eax
call fcn.00428660
add esi, 0x102
push str.whois.arin.net
push esi
call fcn.00428660
add esp, 0x10
push dword [ebp - 8]
call fcn.0043be55
mov eax, ebx
pop ecx
pop edi
pop esi
pop ebx
leave
ret