Function at 0x403ef5
Capabilities:
Reference http user-agent string

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x54
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
push 0
push dword [ebp - 8]
mov dword [ebp - 0xc], 0
push 0
push dword [ebp - 0xc]
mov dword [ebp - 0x10], 0
push 0
push dword [ebp - 0x10]
push 8
call fcn.0047106b
add esp, 4
mov dword [ebp - 0x14], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 0
push 0
lea eax, [ebp - 0x14]
push eax
mov dword [ebp - 0x18], 0
push 0
push dword [ebp - 0x18]
mov dword [ebp - 0x1c], 0
push 0
lea eax, [ebp - 0x1c]
push eax
mov dword [ebp - 0x20], 0
push 0
lea eax, [ebp - 0x20]
push eax
mov dword [ebp - 0x24], 0
push 0
push dword [ebp - 0x24]
mov dword [ebp - 0x28], 0
push 0
lea eax, [ebp - 0x28]
push eax
mov dword [ebp - 0x2c], 0
push 0
lea eax, [ebp - 0x2c]
push eax
mov dword [ebp - 0x30], 0
push 0
push dword [ebp - 0x30]
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
push 1
mov eax, str.Mozilla_5.0__Windows_NT_6.1__WOW64__AppleWebKit_537.36__KHTML__like_Gecko__Chrome_50.0.2661.87_Safari_537.36
mov dword [ebp - 0x3c], eax
lea eax, [ebp - 0x3c]
push eax
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
push 1
push 0
mov eax, str.https:__2024.ip138.com
mov dword [ebp - 0x4c], eax
lea eax, [ebp - 0x4c]
push eax
call fcn.00404407
mov dword [ebp - 0x50], eax
mov ebx, dword [ebp - 0x4c]
test ebx, ebx
je 0x404020
push ebx
call fcn.00471071
add esp, 4
mov ebx, dword [ebp - 0x48]
test ebx, ebx
je 0x404030
push ebx
call fcn.00471071
add esp, 4
mov ebx, dword [ebp - 0x44]
test ebx, ebx
je 0x404040
push ebx
call fcn.00471071
add esp, 4
mov ebx, dword [ebp - 0x40]
test ebx, ebx
je 0x404050
push ebx
call fcn.00471071
add esp, 4
mov ebx, dword [ebp - 0x3c]
test ebx, ebx
je 0x404060
push ebx
call fcn.00471071
add esp, 4
mov ebx, dword [ebp - 0x38]
test ebx, ebx
je 0x404070
push ebx
call fcn.00471071
add esp, 4
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x404080
push ebx
call fcn.00471071
add esp, 4
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x404090
push ebx
call fcn.00471071
add esp, 4
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x4040a0
push ebx
call fcn.00471071
add esp, 4
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x4040b0
push ebx
call fcn.00471071
add esp, 4
mov ebx, dword [ebp - 0x14]
push ebx
push 0x10030
push 0
push ebx
push 1
mov ebx, 0x476480
call fcn.00471083
add esp, 0x10
call fcn.00471071
add esp, 4
push reloc.WS2_32.dll_getpeername
push 0
mov eax, dword [ebp - 0x50]
test eax, eax
jne 0x4040e6
mov eax, 0x5441d5
push eax
push 1
mov ebx, 0x4734d0
call fcn.00471083
add esp, 0x10
mov dword [ebp - 0x54], eax
mov ebx, dword [ebp - 0x50]
test ebx, ebx
je 0x40410c
push ebx
call fcn.00471071
add esp, 4
mov eax, dword [ebp - 0x54]
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x404120
push ebx
call fcn.00471071
add esp, 4
pop eax
mov dword [ebp - 4], eax
lea eax, [ebp - 4]
push eax
call fcn.00408e29
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x404144
push ebx
call fcn.00471071
add esp, 4
pop eax
mov dword [ebp - 4], eax
mov ebx, dword [ebp + 8]
mov ebx, dword [ebx]
add ebx, 4
mov dword [ebp - 8], ebx
mov dword [ebp - 0xc], 0
push 0
push dword [ebp - 0xc]
mov dword [ebp - 0x10], 0
push 0
push dword [ebp - 0x10]
mov eax, str.__title_
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x14]
push eax
mov eax, 0x565b58
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 4]
push eax
call fcn.00407804
mov dword [ebp - 0x1c], eax
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x40419f
push ebx
call fcn.00471071
add esp, 4
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x4041af
push ebx
call fcn.00471071
add esp, 4
mov eax, dword [ebp - 0x1c]
push eax
mov ebx, dword [ebp - 8]
mov ebx, dword [ebx]
test ebx, ebx
je 0x4041c5
push ebx
call fcn.00471071
add esp, 4
pop eax
mov ebx, dword [ebp - 8]
mov dword [ebx], eax
mov ebx, dword [ebp + 8]
mov ebx, dword [ebx]
add ebx, 4
mov dword [ebp - 8], ebx
push 0x542baa
mov ebx, dword [ebp - 8]
push dword [ebx]
call fcn.00401469
add esp, 8
cmp eax, 0
je 0x40421b
mov ebx, dword [ebp + 8]
mov ebx, dword [ebx]
add ebx, 4
mov dword [ebp - 0x10], ebx
push 0x565a9b
mov ebx, dword [ebp - 0x10]
push dword [ebx]
call fcn.00401469
add esp, 8
cmp eax, 0
je 0x40421b
xor eax, eax
jmp 0x404220
mov eax, 1
test eax, eax
je 0x40423e
mov ebx, dword [ebp + 8]
mov ebx, dword [ebx]
mov dword [ebp - 8], ebx
mov ebx, dword [ebp - 8]
mov dword [ebx], 0
jmp 0x404345
mov ebx, dword [ebp + 8]
mov ebx, dword [ebx]
add ebx, 8
mov dword [ebp - 8], ebx
mov dword [ebp - 0xc], 0
push 0
push dword [ebp - 0xc]
mov dword [ebp - 0x10], 0
push 0
push dword [ebp - 0x10]
mov eax, str.__p_
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x14]
push eax
mov eax, 0x565b6c
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 4]
push eax
call fcn.00407804
mov dword [ebp - 0x1c], eax
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x404295
push ebx
call fcn.00471071
add esp, 4
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x4042a5
push ebx
call fcn.00471071
add esp, 4
mov eax, dword [ebp - 0x1c]
push eax
mov ebx, dword [ebp - 8]
mov ebx, dword [ebx]
test ebx, ebx
je 0x4042bb
push ebx
call fcn.00471071
add esp, 4
pop eax
mov ebx, dword [ebp - 8]
mov dword [ebx], eax
mov ebx, dword [ebp + 8]
mov ebx, dword [ebx]
add ebx, 8
mov dword [ebp - 8], ebx
push 0x542baa
mov ebx, dword [ebp - 8]
push dword [ebx]
call fcn.00401469
add esp, 8
cmp eax, 0
je 0x404311
mov ebx, dword [ebp + 8]
mov ebx, dword [ebx]
add ebx, 8
mov dword [ebp - 0x10], ebx
push 0x565a9b
mov ebx, dword [ebp - 0x10]
push dword [ebx]
call fcn.00401469
add esp, 8
cmp eax, 0
je 0x404311
xor eax, eax
jmp 0x404316
mov eax, 1
test eax, eax
je 0x404334
mov ebx, dword [ebp + 8]
mov ebx, dword [ebx]
mov dword [ebp - 8], ebx
mov ebx, dword [ebp - 8]
mov dword [ebx], 0
jmp 0x404345
mov ebx, dword [ebp + 8]
mov ebx, dword [ebx]
mov dword [ebp - 8], ebx
mov ebx, dword [ebp - 8]
mov dword [ebx], 1
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x404355
push ebx
call fcn.00471071
add esp, 4
mov esp, ebp
pop ebp
ret 8