Function at 0x407f89
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x10], 0
push 0x60
call fcn.0043d40e
add esp, 4
mov dword [ebp - 0x14], eax
mov ebx, eax
mov edi, eax
xor eax, eax
mov ecx, 0x18
rep stosd dword es:[edi], eax
mov dword [ebx], 0x520adf
push ebx
add ebx, 0x1c
push ebx
push 0xc
call fcn.0043d40e
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], 0x520bd7
pop ebx
pop ebx
mov dword [ebp - 0x18], 0
push 0xc
call fcn.0043d40e
add esp, 4
mov dword [ebp - 0x1c], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 0
mov dword [ebx + 8], 0
mov dword [ebx], 0x520bf7
push ebx
add ebx, 8
push ebx
push 8
call fcn.0043d40e
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
pop ebx
push ebx
mov eax, esp
push eax
call fcn.0040ab5a
pop ebx
mov ebx, dword [ebp + 8]
mov ebx, dword [ebx]
add ebx, 0x18
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x24], 0
push 0
push dword [ebp - 0x24]
mov dword [ebp - 0x28], 0
push 0
push dword [ebp - 0x28]
push dword [ebp - 0x20]
call fcn.00404177
mov dword [ebp - 0x2c], eax
mov ebx, dword [ebp + 8]
mov ebx, dword [ebx]
add ebx, 0xc
mov dword [ebp - 0x30], ebx
mov ebx, dword [ebp + 8]
mov ebx, dword [ebx]
add ebx, 0x20
mov dword [ebp - 0x34], ebx
mov ebx, dword [ebp + 8]
mov ebx, dword [ebx]
add ebx, 4
mov dword [ebp - 0x38], ebx
push str.cWANDOUJIA_CPDsysANDROID_8.1appver4.56.3.4421languagezh_cnlat0ver4.56
mov ebx, dword [ebp - 0x38]
push dword [ebx]
push str.app0ocUNKNOWNud
mov ebx, dword [ebp - 0x34]
push dword [ebx]
push str.net
mov ebx, dword [ebp - 0x30]
push dword [ebx]
push str.lon0country_codeCNdid
push dword [ebp - 0x2c]
push str.https:__apijs.ksapisrv.com_rest_n_user_profile_v2_mod
mov ecx, 9
call fcn.004014a8
add esp, 0x24
mov dword [ebp - 0x3c], eax
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x408103
push ebx
call fcn.0043d414
add esp, 4
mov eax, dword [ebp - 0x3c]
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x408117
push ebx
call fcn.0043d414
add esp, 4
pop eax
mov dword [ebp - 4], eax
mov ebx, dword [ebp + 8]
mov ebx, dword [ebx]
mov dword [ebp - 0x20], ebx
mov ebx, dword [ebp + 8]
mov ebx, dword [ebx]
add ebx, 4
mov dword [ebp - 0x24], ebx
push str.osandroid
mov ebx, dword [ebp - 0x24]
push dword [ebx]
push str.client_key3c2cd3f3user
mov ebx, dword [ebp - 0x20]
push dword [ebx]
push 0x52097a
mov ecx, 5
call fcn.004014a8
add esp, 0x14
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x28]
push eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x40816b
push ebx
call fcn.0043d414
add esp, 4
pop eax
mov dword [ebp - 8], eax
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 4]
push eax
call fcn.00408e37
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
push eax
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x408193
push ebx
call fcn.0043d414
add esp, 4
pop eax
mov dword [ebp - 0xc], eax
mov ebx, dword [ebp + 8]
mov ebx, dword [ebx]
add ebx, 8
mov dword [ebp - 0x20], ebx
lea eax, [ebp - 0xc]
push eax
push dword [ebp - 0x20]
call fcn.0040a36f
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x24]
push eax
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x4081c5
push ebx
call fcn.0043d414
add esp, 4
pop eax
mov dword [ebp - 0x10], eax
mov ebx, dword [ebp + 8]
mov ebx, dword [ebx]
mov dword [ebp - 0x20], ebx
mov ebx, dword [ebp + 8]
mov ebx, dword [ebx]
add ebx, 4
mov dword [ebp - 0x24], ebx
push dword [ebp - 0xc]
push str.osandroidsig
mov ebx, dword [ebp - 0x24]
push dword [ebx]
push str.client_key3c2cd3f3user
mov ebx, dword [ebp - 0x20]
push dword [ebx]
push 0x52097a
push dword [ebp - 0x10]
push 0x520993
mov ecx, 8
call fcn.004014a8
add esp, 0x20
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x28]
push eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x408224
push ebx
call fcn.0043d414
add esp, 4
pop eax
mov dword [ebp - 8], eax
push 1
push 0
lea eax, [ebp - 0x14]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x48]
lea eax, [ebp - 4]
push eax
push 1
mov eax, 0x5209a1
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x14]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x54]
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x40826d
push ebx
call fcn.0043d414
add esp, 4
push 1
push 0x2710
push 1
push 0x2710
push 1
push 0x2710
push 1
push 0x2710
lea eax, [ebp - 0x14]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x94]
push 1
push 1
mov dword [ebp - 0x20], 0
push 0
lea eax, [ebp - 0x20]
push eax
push 1
mov eax, str.Connection:_Keep_Alive_r_nContent_Type:_application_x_www_form_urlencoded__CharsetUTF_8_r_nAccept_Language:_zh_cn
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x24]
push eax
mov dword [ebp - 0x28], 0
push 0
lea eax, [ebp - 0x28]
push eax
push 1
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x14]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0xf0]
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x4082f4
push ebx
call fcn.0043d414
add esp, 4
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x408304
push ebx
call fcn.0043d414
add esp, 4
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x408314
push ebx
call fcn.0043d414
add esp, 4
lea eax, [ebp - 0x14]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x6c]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
push eax
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x408339
push ebx
call fcn.0043d414
add esp, 4
pop eax
mov dword [ebp - 0x18], eax
push 0x20
call fcn.0043d40e
add esp, 4
mov dword [ebp - 0x20], eax
mov ebx, eax
mov edi, eax
xor eax, eax
mov ecx, 8
rep stosd dword es:[edi], eax
push 0
lea eax, [ebp - 0x20]
push eax
mov dword [ebp - 0x24], 0
push 0
push dword [ebp - 0x24]
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x1c]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0xc]
mov ebx, dword [ebp - 0x20]
push ebx
add ebx, 4
push ebx
mov ebx, dword [ebx]
test ebx, ebx
je 0x408395
push ebx
call fcn.0043d414
add esp, 4
pop ebx
add ebx, 4
push ebx
mov ebx, dword [ebx]
test ebx, ebx
je 0x4083a9
push ebx
call fcn.0043d414
add esp, 4
pop ebx
add ebx, 4
push ebx
mov ebx, dword [ebx]
test ebx, ebx
je 0x4083bd
push ebx
call fcn.0043d414
add esp, 4
pop ebx
add ebx, 8
push ebx
mov ebx, dword [ebx]
test ebx, ebx
je 0x4083d1
push ebx
call fcn.0043d414
add esp, 4
pop ebx
call fcn.0043d414
add esp, 4
push 1
mov eax, str.result
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x1c]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x38]
mov dword [ebp - 0x24], eax
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x408409
push ebx
call fcn.0043d414
add esp, 4
lea eax, [ebp - 0x24]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x14]
mov dword [ebp - 0x28], eax
mov ebx, dword [ebp - 0x24]
push ebx
mov eax, dword [ebx]
call dword [eax]
call fcn.0043d414
add esp, 4
push 0x520a1c
push dword [ebp - 0x28]
call fcn.004013a0
add esp, 8
cmp eax, 0
mov eax, 0
sete al
mov dword [ebp - 0x2c], eax
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x408458
push ebx
call fcn.0043d414
add esp, 4
cmp dword [ebp - 0x2c], 0
je 0x4085ca
push getpeername
push 0
push 0x520a1e
push 0x80000301
push 0
push 4
push 0x80000301
push 0
push dword [ebp + 0xc]
push 0x20004
push 0x1601004f
push 0x52010002
push 4
mov eax, 1
mov ebx, 0x4a0e00
call fcn.0043d426
add esp, 0x34
push getpeername
push 0
push 0x520a1e
push 0x80000301
push 0
push 5
push 0x80000301
push 0
push dword [ebp + 0xc]
push 0x20004
push 0x1601004f
push 0x52010002
push 4
mov eax, 1
mov ebx, 0x4a0e00
call fcn.0043d426
add esp, 0x34
push getpeername
push 0
push 0x520a1e
push 0x80000301
push 0
push 6
push 0x80000301
push 0
push dword [ebp + 0xc]
push 0x20004
push 0x1601004f
push 0x52010002
push 4
mov eax, 1
mov ebx, 0x4a0e00
call fcn.0043d426
add esp, 0x34
push getpeername
push 0
push 0x520a1e
push 0x80000301
push 0
push 7
push 0x80000301
push 0
push dword [ebp + 0xc]
push 0x20004
push 0x1601004f
push 0x52010002
push 4
mov eax, 1
mov ebx, 0x4a0e00
call fcn.0043d426
add esp, 0x34
push getpeername
push 0
push 0x520a1e
push 0x80000301
push 0
push 8
push 0x80000301
push 0
push dword [ebp + 0xc]
push 0x20004
push 0x1601004f
push 0x52010002
push 4
mov eax, 1
mov ebx, 0x4a0e00
call fcn.0043d426
add esp, 0x34
push 1
mov eax, str.result
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x1c]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x38]
mov dword [ebp - 0x24], eax
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x4085f9
push ebx
call fcn.0043d414
add esp, 4
lea eax, [ebp - 0x24]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x14]
mov dword [ebp - 0x28], eax
mov ebx, dword [ebp - 0x24]
push ebx
mov eax, dword [ebx]
call dword [eax]
call fcn.0043d414
add esp, 4
push 0x520a23
push dword [ebp - 0x28]
call fcn.004013a0
add esp, 8
cmp eax, 0
mov eax, 0
sete al
mov dword [ebp - 0x2c], eax
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x408648
push ebx
call fcn.0043d414
add esp, 4
cmp dword [ebp - 0x2c], 0
je 0x4087ba
push getpeername
push 0
push 0x51fd90
push 0x80000301
push 0
push 4
push 0x80000301
push 0
push dword [ebp + 0xc]
push 0x20004
push 0x1601004f
push 0x52010002
push 4
mov eax, 1
mov ebx, 0x4a0e00
call fcn.0043d426
add esp, 0x34
push getpeername
push 0
push 0x51fd90
push 0x80000301
push 0
push 5
push 0x80000301
push 0
push dword [ebp + 0xc]
push 0x20004
push 0x1601004f
push 0x52010002
push 4
mov eax, 1
mov ebx, 0x4a0e00
call fcn.0043d426
add esp, 0x34
push getpeername
push 0
push 0x51fd90
push 0x80000301
push 0
push 6
push 0x80000301
push 0
push dword [ebp + 0xc]
push 0x20004
push 0x1601004f
push 0x52010002
push 4
mov eax, 1
mov ebx, 0x4a0e00
call fcn.0043d426
add esp, 0x34
push getpeername
push 0
push 0x51fd90
push 0x80000301
push 0
push 7
push 0x80000301
push 0
push dword [ebp + 0xc]
push 0x20004
push 0x1601004f
push 0x52010002
push 4
mov eax, 1
mov ebx, 0x4a0e00
call fcn.0043d426
add esp, 0x34
push getpeername
push 0
push 0x51fd90
push 0x80000301
push 0
push 8
push 0x80000301
push 0
push dword [ebp + 0xc]
push 0x20004
push 0x1601004f
push 0x52010002
push 4
mov eax, 1
mov ebx, 0x4a0e00
call fcn.0043d426
add esp, 0x34
push 1
mov eax, str.result
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x1c]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x38]
mov dword [ebp - 0x24], eax
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x4087e9
push ebx
call fcn.0043d414
add esp, 4
lea eax, [ebp - 0x24]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x14]
mov dword [ebp - 0x28], eax
mov ebx, dword [ebp - 0x24]
push ebx
mov eax, dword [ebx]
call dword [eax]
call fcn.0043d414
add esp, 4
push 0x520a27
push dword [ebp - 0x28]
call fcn.004013a0
add esp, 8
cmp eax, 0
mov eax, 0
sete al
mov dword [ebp - 0x2c], eax
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x408838
push ebx
call fcn.0043d414
add esp, 4
cmp dword [ebp - 0x2c], 0
je 0x4089aa
push getpeername
push 0
push 0x520a2b
push 0x80000301
push 0
push 4
push 0x80000301
push 0
push dword [ebp + 0xc]
push 0x20004
push 0x1601004f
push 0x52010002
push 4
mov eax, 1
mov ebx, 0x4a0e00
call fcn.0043d426
add esp, 0x34
push getpeername
push 0
push 0x520a2b
push 0x80000301
push 0
push 5
push 0x80000301
push 0
push dword [ebp + 0xc]
push 0x20004
push 0x1601004f
push 0x52010002
push 4
mov eax, 1
mov ebx, 0x4a0e00
call fcn.0043d426
add esp, 0x34
push getpeername
push 0
push 0x520a2b
push 0x80000301
push 0
push 6
push 0x80000301
push 0
push dword [ebp + 0xc]
push 0x20004
push 0x1601004f
push 0x52010002
push 4
mov eax, 1
mov ebx, 0x4a0e00
call fcn.0043d426
add esp, 0x34
push getpeername
push 0
push 0x520a2b
push 0x80000301
push 0
push 7
push 0x80000301
push 0
push dword [ebp + 0xc]
push 0x20004
push 0x1601004f
push 0x52010002
push 4
mov eax, 1
mov ebx, 0x4a0e00
call fcn.0043d426
add esp, 0x34
push getpeername
push 0
push 0x520a2b
push 0x80000301
push 0
push 8
push 0x80000301
push 0
push dword [ebp + 0xc]
push 0x20004
push 0x1601004f
push 0x52010002
push 4
mov eax, 1
mov ebx, 0x4a0e00
call fcn.0043d426
add esp, 0x34
push 1
mov eax, str.result
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x1c]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x38]
mov dword [ebp - 0x24], eax
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x4089d9
push ebx
call fcn.0043d414
add esp, 4
lea eax, [ebp - 0x24]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x14]
mov dword [ebp - 0x28], eax
mov ebx, dword [ebp - 0x24]
push ebx
mov eax, dword [ebx]
call dword [eax]
call fcn.0043d414
add esp, 4
push 0x520a34
push dword [ebp - 0x28]
call fcn.004013a0
add esp, 8
cmp eax, 0
mov eax, 0
sete al
mov dword [ebp - 0x2c], eax
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x408a28
push ebx
call fcn.0043d414
add esp, 4
cmp dword [ebp - 0x2c], 0
je 0x408db5
mov dword [ebp - 0x20], 0
push 0
push dword [ebp - 0x20]
push 1
mov eax, str.userProfile.profile_user_name_
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x1c]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x2c]
mov dword [ebp - 0x28], eax
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x408a6d
push ebx
call fcn.0043d414
add esp, 4
push getpeername
push 0
mov eax, dword [ebp - 0x28]
test eax, eax
jne 0x408a80
mov eax, 0x51fdcb
push eax
push 0x80000301
push 0
push 4
push 0x80000301
push 0
push dword [ebp + 0xc]
push 0x20004
push 0x1601004f
push 0x52010002
push 4
mov eax, 1
mov ebx, 0x4a0e00
call fcn.0043d426
add esp, 0x34
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x408acd
push ebx
call fcn.0043d414
add esp, 4
mov dword [ebp - 0x20], 0
push 0
push dword [ebp - 0x20]
push 1
mov eax, str.userProfile.ownerCount.follow
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x1c]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x2c]
mov dword [ebp - 0x28], eax
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x408b08
push ebx
call fcn.0043d414
add esp, 4
push getpeername
push 0
mov eax, dword [ebp - 0x28]
test eax, eax
jne 0x408b1b
mov eax, 0x51fdcb
push eax
push 0x80000301
push 0
push 5
push 0x80000301
push 0
push dword [ebp + 0xc]
push 0x20004
push 0x1601004f
push 0x52010002
push 4
mov eax, 1
mov ebx, 0x4a0e00
call fcn.0043d426
add esp, 0x34
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x408b68
push ebx
call fcn.0043d414
add esp, 4
mov dword [ebp - 0x20], 0
push 0
push dword [ebp - 0x20]
push 1
mov eax, str.userProfile.ownerCount.fan
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x1c]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x2c]
mov dword [ebp - 0x28], eax
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x408ba3
push ebx
call fcn.0043d414
add esp, 4
push getpeername
push 0
mov eax, dword [ebp - 0x28]
test eax, eax
jne 0x408bb6
mov eax, 0x51fdcb
push eax
push 0x80000301
push 0
push 6
push 0x80000301
push 0
push dword [ebp + 0xc]
push 0x20004
push 0x1601004f
push 0x52010002
push 4
mov eax, 1
mov ebx, 0x4a0e00
call fcn.0043d426
add esp, 0x34
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x408c03
push ebx
call fcn.0043d414
add esp, 4
mov dword [ebp - 0x20], 0
push 0
push dword [ebp - 0x20]
push 1
mov eax, str.userProfile.ownerCount_photo_public_
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x1c]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x2c]
mov dword [ebp - 0x28], eax
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x408c3e
push ebx
call fcn.0043d414
add esp, 4
push getpeername
push 0
mov eax, dword [ebp - 0x28]
test eax, eax
jne 0x408c51
mov eax, 0x51fdcb
push eax
push 0x80000301
push 0
push 7
push 0x80000301
push 0
push dword [ebp + 0xc]
push 0x20004
push 0x1601004f
push 0x52010002
push 4
mov eax, 1
mov ebx, 0x4a0e00
call fcn.0043d426
add esp, 0x34
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x408c9e
push ebx
call fcn.0043d414
add esp, 4
mov dword [ebp - 0x20], 0
push 0
push dword [ebp - 0x20]
push 1
mov eax, str.userProfile.profile_user_sex_
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x1c]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x2c]
mov dword [ebp - 0x28], eax
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x408cd9
push ebx
call fcn.0043d414
add esp, 4
push 0x520ad7
push dword [ebp - 0x28]
call fcn.004013a0
add esp, 8
cmp eax, 0
mov eax, 0
sete al
mov dword [ebp - 0x2c], eax
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x408d07
push ebx
call fcn.0043d414
add esp, 4
cmp dword [ebp - 0x2c], 0
je 0x408d5e
push getpeername
push 0
push 0x520ad9
push 0x80000301
push 0
push 8
push 0x80000301
push 0
push dword [ebp + 0xc]
push 0x20004
push 0x1601004f
push 0x52010002
push 4
mov eax, 1
mov ebx, 0x4a0e00
call fcn.0043d426
add esp, 0x34
jmp 0x408da6
push getpeername
push 0
push 0x520adc
push 0x80000301
push 0
push 8
push 0x80000301
push 0
push dword [ebp + 0xc]
push 0x20004
push 0x1601004f
push 0x52010002
push 4
mov eax, 1
mov ebx, 0x4a0e00
call fcn.0043d426
add esp, 0x34
mov eax, 1
jmp 0x408dbf
mov eax, 0
jmp 0x408dbf
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x408dd0
push ebx
call fcn.0043d414
add esp, 4
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x408de0
push ebx
call fcn.0043d414
add esp, 4
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x408df0
push ebx
call fcn.0043d414
add esp, 4
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x408e00
push ebx
call fcn.0043d414
add esp, 4
mov ebx, dword [ebp - 0x14]
push ebx
mov eax, dword [ebx]
call dword [eax]
call fcn.0043d414
add esp, 4
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x408e20
push ebx
call fcn.0043d414
add esp, 4
mov ebx, dword [ebp - 0x1c]
push ebx
mov eax, dword [ebx]
call dword [eax]
call fcn.0043d414
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret 8