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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x7c
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x44], 0
cmp dword [ebp + 0x10], 0
mov eax, 0
sete al
mov dword [ebp - 0x4c], eax
cmp dword [ebp - 0x4c], 0
jne 0x40457a
push getpeername
push 0
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebx]
test eax, eax
jne 0x404543
mov eax, 0x4b3786
push eax
push 1
mov ebx, 0x417490
call fcn.0041696b
add esp, 0x10
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x48]
push eax
mov ebx, dword [ebp + 0xc]
mov ebx, dword [ebx]
test ebx, ebx
je 0x40456f
push ebx
call fcn.00416959
add esp, 4
pop eax
mov ebx, dword [ebp + 0xc]
mov dword [ebx], eax
jmp 0x404598
mov eax, 0x4b3732
push eax
mov ebx, dword [ebp + 0xc]
mov ebx, dword [ebx]
test ebx, ebx
je 0x404592
push ebx
call fcn.00416959
add esp, 4
pop eax
mov ebx, dword [ebp + 0xc]
mov dword [ebx], eax
cmp dword [ebp + 0x20], 0
jne 0x4045c1
mov eax, 0x4b6879
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x4045b8
push ebx
call fcn.00416959
add esp, 4
pop eax
mov dword [ebp - 4], eax
jmp 0x4046d2
push 0x4b68ed
mov ebx, dword [ebp + 0x1c]
push dword [ebx]
mov ecx, 2
call fcn.00401077
add esp, 8
mov dword [ebp - 0x48], eax
push 1
push 1
mov dword [ebp - 0x4c], 0
push 0
push dword [ebp - 0x4c]
mov dword [ebp - 0x50], 0
push 0
push dword [ebp - 0x50]
mov eax, 0x4b68ed
mov dword [ebp - 0x54], eax
lea eax, [ebp - 0x54]
push eax
mov eax, str.User_Agent:
mov dword [ebp - 0x58], eax
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp - 0x48]
push eax
call fcn.00405372
mov dword [ebp - 0x5c], eax
mov ebx, dword [ebp - 0x48]
test ebx, ebx
je 0x40462e
push ebx
call fcn.00416959
add esp, 4
mov ebx, dword [ebp - 0x58]
test ebx, ebx
je 0x40463e
push ebx
call fcn.00416959
add esp, 4
mov ebx, dword [ebp - 0x54]
test ebx, ebx
je 0x40464e
push ebx
call fcn.00416959
add esp, 4
push getpeername
push 0
mov eax, dword [ebp - 0x5c]
test eax, eax
jne 0x404661
mov eax, 0x4b3786
push eax
push 1
mov ebx, 0x417ae0
call fcn.0041696b
add esp, 0x10
mov dword [ebp - 0x60], eax
mov ebx, dword [ebp - 0x5c]
test ebx, ebx
je 0x404687
push ebx
call fcn.00416959
add esp, 4
mov eax, dword [ebp - 0x60]
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x40469b
push ebx
call fcn.00416959
add esp, 4
pop eax
mov dword [ebp - 4], eax
push 0x4b3786
push dword [ebp - 4]
call fcn.004010d3
add esp, 8
cmp eax, 0
jne 0x4046d2
mov eax, 0x4b6879
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x4046ce
push ebx
call fcn.00416959
add esp, 4
pop eax
mov dword [ebp - 4], eax
cmp dword [ebp + 0x28], 0
jne 0x4046e3
mov dword [ebp + 0x24], 1
mov dword [ebp - 0x48], esp
mov eax, 0x10
call fcn.00416965
cmp dword [ebp - 0x48], esp
je 0x40470c
push 0x325
push 0x403a492
push 6
call fcn.0041695f
add esp, 0xc
mov dword [ebp - 0x50], eax
cmp dword [ebp - 0x50], 0
jne 0x404723
mov eax, 0x4b3736
jmp 0x4052fa
mov dword [ebp - 0x48], 0
push 0
lea eax, [ebp - 0x48]
push eax
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
push dword [ebp + 8]
call fcn.00405616
mov dword [ebp - 0x4c], eax
mov ebx, dword [ebp - 0x48]
test ebx, ebx
je 0x40475b
push ebx
call fcn.00416959
add esp, 4
cmp dword [ebp - 0x4c], 0
jne 0x40476f
mov eax, 0x4b3736
jmp 0x4052fa
mov dword [ebp - 0x48], 0
push 0
lea eax, [ebp - 0x48]
push eax
mov dword [ebp - 0x4c], 0
push 0
push dword [ebp - 0x4c]
lea eax, [ebp - 4]
push eax
call fcn.004059db
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x54], esp
push 0
push 0
push 0
push 1
mov eax, dword [ebp - 0x50]
test eax, eax
je 0x4047b5
add eax, 8
push eax
mov eax, 0x11
call fcn.00416965
cmp dword [ebp - 0x54], esp
je 0x4047dc
push 0x3f5
push 0x403a492
push 6
call fcn.0041695f
add esp, 0xc
mov dword [ebp - 0x58], eax
mov ebx, dword [ebp - 0x50]
test ebx, ebx
je 0x4047ef
push ebx
call fcn.00416959
add esp, 4
mov eax, dword [ebp - 0x58]
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
jne 0x404809
mov eax, 0x4b3736
jmp 0x4052fa
mov dword [ebp - 0x48], esp
push 0x2710
push 0x1388
push 0x1388
push 0x1388
push dword [ebp - 0x18]
mov eax, 0x12
call fcn.00416965
cmp dword [ebp - 0x48], esp
je 0x404849
push 0x482
push 0x403a492
push 6
call fcn.0041695f
add esp, 0xc
mov dword [ebp - 0x48], 0
push 0
lea eax, [ebp - 0x48]
push eax
mov dword [ebp - 0x4c], 0
push 0
push dword [ebp - 0x4c]
lea eax, [ebp - 0xc]
push eax
call fcn.004059db
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x54], esp
push 0
mov eax, dword [ebp - 0x10]
cwde
push eax
mov eax, dword [ebp - 0x50]
test eax, eax
je 0x404885
add eax, 8
push eax
push dword [ebp - 0x18]
mov eax, 0x13
call fcn.00416965
cmp dword [ebp - 0x54], esp
je 0x4048af
push 0x4f2
push 0x403a492
push 6
call fcn.0041695f
add esp, 0xc
mov dword [ebp - 0x58], eax
mov ebx, dword [ebp - 0x50]
test ebx, ebx
je 0x4048c2
push ebx
call fcn.00416959
add esp, 4
mov eax, dword [ebp - 0x58]
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
jne 0x404908
mov dword [ebp - 0x48], esp
push dword [ebp - 0x18]
mov eax, 0x14
call fcn.00416965
cmp dword [ebp - 0x48], esp
je 0x4048fe
push 0x554
push 0x403a492
push 6
call fcn.0041695f
add esp, 0xc
mov eax, 0x4b3736
jmp 0x4052fa
mov dword [ebp - 0x48], 0
push 0
lea eax, [ebp - 0x48]
push eax
mov dword [ebp - 0x4c], 0
push 0
push dword [ebp - 0x4c]
push dword [ebp + 0xc]
call fcn.004059db
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x54], 0
push 0
lea eax, [ebp - 0x54]
push eax
mov dword [ebp - 0x58], 0
push 0
push dword [ebp - 0x58]
lea eax, [ebp - 0x14]
push eax
call fcn.004059db
mov dword [ebp - 0x5c], eax
mov dword [ebp - 0x60], 0
push 0
lea eax, [ebp - 0x60]
push eax
mov dword [ebp - 0x64], 0
push 0
push dword [ebp - 0x64]
mov eax, str.HTTP_1.1
mov dword [ebp - 0x68], eax
lea eax, [ebp - 0x68]
push eax
call fcn.004059db
mov dword [ebp - 0x6c], eax
mov ebx, dword [ebp - 0x68]
test ebx, ebx
je 0x40498e
push ebx
call fcn.00416959
add esp, 4
cmp dword [ebp - 8], 2
mov eax, 0
sete al
test eax, eax
je 0x4049ac
mov eax, 0x800000
jmp 0x4049b1
mov eax, 0
mov dword [ebp - 0x74], eax
mov dword [ebp - 0x78], esp
push dword [ebp - 0x74]
push 0
push 0
mov eax, dword [ebp - 0x6c]
test eax, eax
je 0x4049ce
add eax, 8
push eax
mov eax, dword [ebp - 0x5c]
test eax, eax
je 0x4049d9
add eax, 8
push eax
mov eax, dword [ebp - 0x50]
test eax, eax
je 0x4049e4
add eax, 8
push eax
push dword [ebp - 0x1c]
mov eax, 0x15
call fcn.00416965
cmp dword [ebp - 0x78], esp
je 0x404a0e
push 0x630
push 0x403a492
push 6
call fcn.0041695f
add esp, 0xc
mov dword [ebp - 0x7c], eax
mov ebx, dword [ebp - 0x50]
test ebx, ebx
je 0x404a21
push ebx
call fcn.00416959
add esp, 4
mov ebx, dword [ebp - 0x5c]
test ebx, ebx
je 0x404a31
push ebx
call fcn.00416959
add esp, 4
mov ebx, dword [ebp - 0x6c]
test ebx, ebx
je 0x404a41
push ebx
call fcn.00416959
add esp, 4
mov eax, dword [ebp - 0x7c]
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
jne 0x404ab3
mov dword [ebp - 0x48], esp
push dword [ebp - 0x1c]
mov eax, 0x14
call fcn.00416965
cmp dword [ebp - 0x48], esp
je 0x404a7d
push 0x69a
push 0x403a492
push 6
call fcn.0041695f
add esp, 0xc
mov dword [ebp - 0x48], esp
push dword [ebp - 0x18]
mov eax, 0x14
call fcn.00416965
cmp dword [ebp - 0x48], esp
je 0x404aa9
push 0x6b4
push 0x403a492
push 6
call fcn.0041695f
add esp, 0xc
mov eax, 0x4b3736
jmp 0x4052fa
mov dword [ebp - 0x48], esp
push 4
mov eax, 0x3300
mov dword [ebp - 0x4c], eax
lea eax, [ebp - 0x4c]
push eax
push 0x1f
push dword [ebp - 0x20]
mov eax, 0x16
call fcn.00416965
cmp dword [ebp - 0x48], esp
je 0x404af5
push 0x715
push 0x403a492
push 6
call fcn.0041695f
add esp, 0xc
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0
jne 0x404b90
mov dword [ebp - 0x48], esp
push dword [ebp - 0x20]
mov eax, 0x14
call fcn.00416965
cmp dword [ebp - 0x48], esp
je 0x404b2e
push 0x777
push 0x403a492
push 6
call fcn.0041695f
add esp, 0xc
mov dword [ebp - 0x48], esp
push dword [ebp - 0x1c]
mov eax, 0x14
call fcn.00416965
cmp dword [ebp - 0x48], esp
je 0x404b5a
push 0x791
push 0x403a492
push 6
call fcn.0041695f
add esp, 0xc
mov dword [ebp - 0x48], esp
push dword [ebp - 0x18]
mov eax, 0x14
call fcn.00416965
cmp dword [ebp - 0x48], esp
je 0x404b86
push 0x7ab
push 0x403a492
push 6
call fcn.0041695f
add esp, 0xc
mov eax, 0x4b3736
jmp 0x4052fa
cmp dword [ebp + 0x2c], 0
je 0x404c77
mov dword [ebp - 0x48], esp
push 4
mov eax, 2
mov dword [ebp - 0x4c], eax
lea eax, [ebp - 0x4c]
push eax
push 0x3f
push dword [ebp - 0x20]
mov eax, 0x16
call fcn.00416965
cmp dword [ebp - 0x48], esp
je 0x404bdc
push 0x824
push 0x403a492
push 6
call fcn.0041695f
add esp, 0xc
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0
jne 0x404c77
mov dword [ebp - 0x48], esp
push dword [ebp - 0x20]
mov eax, 0x14
call fcn.00416965
cmp dword [ebp - 0x48], esp
je 0x404c15
push 0x882
push 0x403a492
push 6
call fcn.0041695f
add esp, 0xc
mov dword [ebp - 0x48], esp
push dword [ebp - 0x1c]
mov eax, 0x14
call fcn.00416965
cmp dword [ebp - 0x48], esp
je 0x404c41
push 0x89c
push 0x403a492
push 6
call fcn.0041695f
add esp, 0xc
mov dword [ebp - 0x48], esp
push dword [ebp - 0x18]
mov eax, 0x14
call fcn.00416965
cmp dword [ebp - 0x48], esp
je 0x404c6d
push 0x8b6
push 0x403a492
push 6
call fcn.0041695f
add esp, 0xc
mov eax, 0x4b3736
jmp 0x4052fa
cmp dword [ebp + 0x24], 0
je 0x404f4e
push getpeername
push 0
push 1
push 0
push 0
push 0
push getpeername
push 0
push str.Accept:
push getpeername
push 0
mov ebx, dword [ebp + 0x1c]
mov eax, dword [ebx]
test eax, eax
jne 0x404cb4
mov eax, 0x4b3786
push eax
push 4
mov ebx, 0x4172e0
call fcn.0041696b
add esp, 0x34
mov dword [ebp - 0x4c], eax
cmp dword [ebp - 0x4c], 0xffffffff
jne 0x404d0a
push str._r_nAccept:__
mov ebx, dword [ebp + 0x1c]
push dword [ebx]
mov ecx, 2
call fcn.00401077
add esp, 8
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x48]
push eax
mov ebx, dword [ebp + 0x1c]
mov ebx, dword [ebx]
test ebx, ebx
je 0x404d04
push ebx
call fcn.00416959
add esp, 4
pop eax
mov ebx, dword [ebp + 0x1c]
mov dword [ebx], eax
push getpeername
push 0
push 1
push 0
push 0
push 0
push getpeername
push 0
push str.Referer:
push getpeername
push 0
mov ebx, dword [ebp + 0x1c]
mov eax, dword [ebx]
test eax, eax
jne 0x404d3d
mov eax, 0x4b3786
push eax
push 4
mov ebx, 0x4172e0
call fcn.0041696b
add esp, 0x34
mov dword [ebp - 0x4c], eax
cmp dword [ebp - 0x4c], 0xffffffff
jne 0x404d98
mov ebx, dword [ebp + 8]
push dword [ebx]
push str._r_nReferer:
mov ebx, dword [ebp + 0x1c]
push dword [ebx]
mov ecx, 3
call fcn.00401077
add esp, 0xc
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x48]
push eax
mov ebx, dword [ebp + 0x1c]
mov ebx, dword [ebx]
test ebx, ebx
je 0x404d92
push ebx
call fcn.00416959
add esp, 4
pop eax
mov ebx, dword [ebp + 0x1c]
mov dword [ebx], eax
push getpeername
push 0
push 1
push 0
push 0
push 0
push getpeername
push 0
push str.Accept_Language:
push getpeername
push 0
mov ebx, dword [ebp + 0x1c]
mov eax, dword [ebx]
test eax, eax
jne 0x404dcb
mov eax, 0x4b3786
push eax
push 4
mov ebx, 0x4172e0
call fcn.0041696b
add esp, 0x34
mov dword [ebp - 0x4c], eax
cmp dword [ebp - 0x4c], 0xffffffff
jne 0x404e21
push str._r_nAccept_Language:_zh_cn
mov ebx, dword [ebp + 0x1c]
push dword [ebx]
mov ecx, 2
call fcn.00401077
add esp, 8
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x48]
push eax
mov ebx, dword [ebp + 0x1c]
mov ebx, dword [ebx]
test ebx, ebx
je 0x404e1b
push ebx
call fcn.00416959
add esp, 4
pop eax
mov ebx, dword [ebp + 0x1c]
mov dword [ebx], eax
push str.POST
mov ebx, dword [ebp + 0xc]
push dword [ebx]
call fcn.004010d3
add esp, 8
cmp eax, 0
jne 0x404ec5
push getpeername
push 0
push 1
push 0
push 0
push 0
push getpeername
push 0
push str.Content_Type:
push getpeername
push 0
mov ebx, dword [ebp + 0x1c]
mov eax, dword [ebx]
test eax, eax
jne 0x404e6f
mov eax, 0x4b3786
push eax
push 4
mov ebx, 0x4172e0
call fcn.0041696b
add esp, 0x34
mov dword [ebp - 0x4c], eax
cmp dword [ebp - 0x4c], 0xffffffff
jne 0x404ec5
push str._r_nContent_Type:_application_x_www_form_urlencoded
mov ebx, dword [ebp + 0x1c]
push dword [ebx]
mov ecx, 2
call fcn.00401077
add esp, 8
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x48]
push eax
mov ebx, dword [ebp + 0x1c]
mov ebx, dword [ebx]
test ebx, ebx
je 0x404ebf
push ebx
call fcn.00416959
add esp, 4
pop eax
mov ebx, dword [ebp + 0x1c]
mov dword [ebx], eax
push getpeername
push 0
push 1
push 0
push 0
push 0
push getpeername
push 0
push str.Cache_Control:
push getpeername
push 0
mov ebx, dword [ebp + 0x1c]
mov eax, dword [ebx]
test eax, eax
jne 0x404ef8
mov eax, 0x4b3786
push eax
push 4
mov ebx, 0x4172e0
call fcn.0041696b
add esp, 0x34
mov dword [ebp - 0x4c], eax
cmp dword [ebp - 0x4c], 0xffffffff
jne 0x404f4e
push str._r_nCache_Control:_no_cache
mov ebx, dword [ebp + 0x1c]
push dword [ebx]
mov ecx, 2
call fcn.00401077
add esp, 8
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x48]
push eax
mov ebx, dword [ebp + 0x1c]
mov ebx, dword [ebx]
test ebx, ebx
je 0x404f48
push ebx
call fcn.00416959
add esp, 4
pop eax
mov ebx, dword [ebp + 0x1c]
mov dword [ebx], eax
push 1
lea eax, [ebp - 0x2c]
push eax
mov dword [ebp - 0x48], 0
push 0
push dword [ebp - 0x48]
push dword [ebp + 0x1c]
call fcn.004059db
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0x4c]
push eax
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x404f7f
push ebx
call fcn.00416959
add esp, 4
pop eax
mov dword [ebp - 0x28], eax
push getpeername
push 0
mov ebx, dword [ebp + 0x14]
mov eax, dword [ebx]
test eax, eax
jne 0x404f98
mov eax, 0x4b3786
push eax
push 1
mov ebx, 0x417e80
call fcn.0041696b
add esp, 0x10
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x48]
push eax
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x404fc2
push ebx
call fcn.00416959
add esp, 4
pop eax
mov dword [ebp - 0x30], eax
push reloc.WS2_32.dll_getpeername
push 0
mov eax, dword [ebp - 0x30]
test eax, eax
jne 0x404fd9
mov eax, 0x4b3736
push eax
push 1
mov ebx, 0x416f40
call fcn.0041696b
add esp, 0x10
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x48], esp
push 0
push dword [ebp - 0x34]
push dword [ebp - 0x34]
mov eax, dword [ebp - 0x30]
test eax, eax
je 0x405007
add eax, 8
push eax
push dword [ebp - 0x2c]
mov eax, dword [ebp - 0x28]
test eax, eax
je 0x405015
add eax, 8
push eax
push dword [ebp - 0x20]
mov eax, 0x17
call fcn.00416965
cmp dword [ebp - 0x48], esp
je 0x40503f
push 0xf0f
push 0x403a492
push 6
call fcn.0041695f
add esp, 0xc
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0
jne 0x4050da
mov dword [ebp - 0x48], esp
push dword [ebp - 0x20]
mov eax, 0x14
call fcn.00416965
cmp dword [ebp - 0x48], esp
je 0x405078
push 0xf86
push 0x403a492
push 6
call fcn.0041695f
add esp, 0xc
mov dword [ebp - 0x48], esp
push dword [ebp - 0x1c]
mov eax, 0x14
call fcn.00416965
cmp dword [ebp - 0x48], esp
je 0x4050a4
push 0xfa0
push 0x403a492
push 6
call fcn.0041695f
add esp, 0xc
mov dword [ebp - 0x48], esp
push dword [ebp - 0x18]
mov eax, 0x14
call fcn.00416965
cmp dword [ebp - 0x48], esp
je 0x4050d0
push 0xfba
push 0x403a492
push 6
call fcn.0041695f
add esp, 0xc
mov eax, 0x4b3736
jmp 0x4052fa
mov dword [ebp - 0x48], esp
push 0
push dword [ebp - 0x20]
mov eax, 0x18
call fcn.00416965
cmp dword [ebp - 0x48], esp
je 0x40510b
push 0xffd
push 0x403a492
push 6
call fcn.0041695f
add esp, 0xc
test eax, eax
je 0x405257
mov dword [ebp - 0x48], esp
lea eax, [ebp - 0x38]
push eax
push dword [ebp - 0x20]
mov eax, 0x19
call fcn.00416965
cmp dword [ebp - 0x48], esp
je 0x405143
push 0x1033
push 0x403a492
push 6
call fcn.0041695f
add esp, 0xc
test eax, eax
je 0x405257
cmp dword [ebp - 0x38], 1
jge 0x40515a
jmp 0x405257
push 0x80000301
push 0
push dword [ebp - 0x38]
push 1
mov ebx, 0x418330
call fcn.0041696b
add esp, 0x10
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x48]
push eax
mov ebx, dword [ebp - 0x3c]
test ebx, ebx
je 0x40518d
push ebx
call fcn.00416959
add esp, 4
pop eax
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x48], esp
lea eax, [ebp - 0x40]
push eax
push dword [ebp - 0x38]
mov eax, dword [ebp - 0x3c]
test eax, eax
je 0x4051a5
add eax, 8
push eax
push dword [ebp - 0x20]
mov eax, 0x1a
call fcn.00416965
cmp dword [ebp - 0x48], esp
je 0x4051cf
push 0x10f8
push 0x403a492
push 6
call fcn.0041695f
add esp, 0xc
mov dword [ebp - 0x50], eax
cmp dword [ebp - 0x50], 0
jne 0x4051e1
jmp 0x405257
push 0x80000301
push 0
push dword [ebp - 0x40]
push reloc.WS2_32.dll_getpeername
push 0
mov eax, dword [ebp - 0x3c]
test eax, eax
jne 0x4051fe
mov eax, 0x4b3736
push eax
push 2
mov ebx, 0x418140
call fcn.0041696b
add esp, 0x1c
mov dword [ebp - 0x48], eax
push dword [ebp - 0x48]
push dword [ebp - 0x44]
mov ecx, 2
call fcn.00402f28
add esp, 8
mov dword [ebp - 0x4c], eax
mov ebx, dword [ebp - 0x48]
test ebx, ebx
je 0x40523a
push ebx
call fcn.00416959
add esp, 4
mov eax, dword [ebp - 0x4c]
push eax
mov ebx, dword [ebp - 0x44]
test ebx, ebx
je 0x40524e
push ebx
call fcn.00416959
add esp, 4
pop eax
mov dword [ebp - 0x44], eax
jmp 0x405113
mov dword [ebp - 0x48], esp
push dword [ebp - 0x20]
mov eax, 0x14
call fcn.00416965
cmp dword [ebp - 0x48], esp
je 0x405283
push 0x11ac
push 0x403a492
push 6
call fcn.0041695f
add esp, 0xc
mov dword [ebp - 0x48], esp
push dword [ebp - 0x1c]
mov eax, 0x14
call fcn.00416965
cmp dword [ebp - 0x48], esp
je 0x4052af
push 0x11c6
push 0x403a492
push 6
call fcn.0041695f
add esp, 0xc
mov dword [ebp - 0x48], esp
push dword [ebp - 0x18]
mov eax, 0x14
call fcn.00416965
cmp dword [ebp - 0x48], esp
je 0x4052db
push 0x11e0
push 0x403a492
push 6
call fcn.0041695f
add esp, 0xc
mov eax, dword [ebp - 0x44]
test eax, eax
je 0x4052f5
push eax
mov eax, dword [eax + 4]
add eax, 8
push eax
call fcn.00416953
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
jmp 0x4052fa
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x40530b
push ebx
call fcn.00416959
add esp, 4
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x40531b
push ebx
call fcn.00416959
add esp, 4
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x40532b
push ebx
call fcn.00416959
add esp, 4
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x40533b
push ebx
call fcn.00416959
add esp, 4
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x40534b
push ebx
call fcn.00416959
add esp, 4
mov ebx, dword [ebp - 0x3c]
test ebx, ebx
je 0x40535b
push ebx
call fcn.00416959
add esp, 4
mov ebx, dword [ebp - 0x44]
test ebx, ebx
je 0x40536b
push ebx
call fcn.00416959
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret 0x2c