Function at 0x403a0c
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.00470fd3
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.00403f1e
mov dword [ebp - 0x50], eax
mov ebx, dword [ebp - 0x4c]
test ebx, ebx
je 0x403b37
push ebx
call fcn.00470fd9
add esp, 4
mov ebx, dword [ebp - 0x48]
test ebx, ebx
je 0x403b47
push ebx
call fcn.00470fd9
add esp, 4
mov ebx, dword [ebp - 0x44]
test ebx, ebx
je 0x403b57
push ebx
call fcn.00470fd9
add esp, 4
mov ebx, dword [ebp - 0x40]
test ebx, ebx
je 0x403b67
push ebx
call fcn.00470fd9
add esp, 4
mov ebx, dword [ebp - 0x3c]
test ebx, ebx
je 0x403b77
push ebx
call fcn.00470fd9
add esp, 4
mov ebx, dword [ebp - 0x38]
test ebx, ebx
je 0x403b87
push ebx
call fcn.00470fd9
add esp, 4
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x403b97
push ebx
call fcn.00470fd9
add esp, 4
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x403ba7
push ebx
call fcn.00470fd9
add esp, 4
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x403bb7
push ebx
call fcn.00470fd9
add esp, 4
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x403bc7
push ebx
call fcn.00470fd9
add esp, 4
mov ebx, dword [ebp - 0x14]
push ebx
push 0x10030
push 0
push ebx
push 1
mov ebx, 0x4763e0
call fcn.00470feb
add esp, 0x10
call fcn.00470fd9
add esp, 4
push reloc.WS2_32.dll_getpeername
push 0
mov eax, dword [ebp - 0x50]
test eax, eax
jne 0x403bfd
mov eax, 0x543f8f
push eax
push 1
mov ebx, 0x473430
call fcn.00470feb
add esp, 0x10
mov dword [ebp - 0x54], eax
mov ebx, dword [ebp - 0x50]
test ebx, ebx
je 0x403c23
push ebx
call fcn.00470fd9
add esp, 4
mov eax, dword [ebp - 0x54]
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x403c37
push ebx
call fcn.00470fd9
add esp, 4
pop eax
mov dword [ebp - 4], eax
lea eax, [ebp - 4]
push eax
call fcn.00408940
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x403c5b
push ebx
call fcn.00470fd9
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, 0x565912
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 4]
push eax
call fcn.0040731b
mov dword [ebp - 0x1c], eax
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x403cb6
push ebx
call fcn.00470fd9
add esp, 4
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x403cc6
push ebx
call fcn.00470fd9
add esp, 4
mov eax, dword [ebp - 0x1c]
push eax
mov ebx, dword [ebp - 8]
mov ebx, dword [ebx]
test ebx, ebx
je 0x403cdc
push ebx
call fcn.00470fd9
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 0x543c8f
mov ebx, dword [ebp - 8]
push dword [ebx]
call fcn.0040189f
add esp, 8
cmp eax, 0
je 0x403d32
mov ebx, dword [ebp + 8]
mov ebx, dword [ebx]
add ebx, 4
mov dword [ebp - 0x10], ebx
push 0x565855
mov ebx, dword [ebp - 0x10]
push dword [ebx]
call fcn.0040189f
add esp, 8
cmp eax, 0
je 0x403d32
xor eax, eax
jmp 0x403d37
mov eax, 1
test eax, eax
je 0x403d55
mov ebx, dword [ebp + 8]
mov ebx, dword [ebx]
mov dword [ebp - 8], ebx
mov ebx, dword [ebp - 8]
mov dword [ebx], 0
jmp 0x403e5c
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, 0x565926
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 4]
push eax
call fcn.0040731b
mov dword [ebp - 0x1c], eax
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x403dac
push ebx
call fcn.00470fd9
add esp, 4
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x403dbc
push ebx
call fcn.00470fd9
add esp, 4
mov eax, dword [ebp - 0x1c]
push eax
mov ebx, dword [ebp - 8]
mov ebx, dword [ebx]
test ebx, ebx
je 0x403dd2
push ebx
call fcn.00470fd9
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 0x543c8f
mov ebx, dword [ebp - 8]
push dword [ebx]
call fcn.0040189f
add esp, 8
cmp eax, 0
je 0x403e28
mov ebx, dword [ebp + 8]
mov ebx, dword [ebx]
add ebx, 8
mov dword [ebp - 0x10], ebx
push 0x565855
mov ebx, dword [ebp - 0x10]
push dword [ebx]
call fcn.0040189f
add esp, 8
cmp eax, 0
je 0x403e28
xor eax, eax
jmp 0x403e2d
mov eax, 1
test eax, eax
je 0x403e4b
mov ebx, dword [ebp + 8]
mov ebx, dword [ebx]
mov dword [ebp - 8], ebx
mov ebx, dword [ebp - 8]
mov dword [ebx], 0
jmp 0x403e5c
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 0x403e6c
push ebx
call fcn.00470fd9
add esp, 4
mov esp, ebp
pop ebp
ret 8