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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x8c
push 0x24
call fcn.004170c0
add esp, 4
mov dword [ebp - 4], eax
mov edi, eax
mov esi, 0x4a327b
lodsd eax, dword [esi]
stosd dword es:[edi], eax
lodsd eax, dword [esi]
stosd dword es:[edi], eax
xor eax, eax
mov ecx, 7
rep stosd dword es:[edi], eax
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
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x50], 0
push 0x80000301
push 0
push dword [ebp + 8]
push 1
mov ebx, 0x4191e0
call fcn.004170cc
add esp, 0x10
push 0xa0000005
push 0
lea eax, [ebp - 4]
push eax
push 0x80000301
push 0
push dword [ebp + 8]
push 2
mov ebx, 0x419690
call fcn.004170cc
add esp, 0x1c
test eax, eax
je 0x405e20
mov ecx, 7
push ecx
shl ecx, 2
add ecx, 8
push ecx
call fcn.004170c0
add esp, 4
mov edi, eax
mov dword [edi], 1
add edi, 4
pop ecx
push eax
push ecx
mov dword [edi], 7
add edi, 4
mov ebx, dword [ebp - 4]
call fcn.0040159f
pop edx
mov eax, ecx
cmp ecx, edx
jle 0x405b4d
mov ecx, edx
sub eax, ecx
sub edx, ecx
mov esi, ebx
rep movsd dword es:[edi], dword [esi]
mov ebx, esi
mov ecx, eax
test ecx, ecx
je 0x405b7e
push edi
push edx
push ecx
push ebx
mov ebx, dword [ebx]
test ebx, ebx
je 0x405b74
push ebx
call fcn.004170c6
add esp, 4
pop ebx
pop ecx
add ebx, 4
dec ecx
jne 0x405b63
pop edx
pop edi
test edx, edx
je 0x405b8c
mov ecx, edx
xor eax, eax
rep stosd dword es:[edi], eax
push dword [ebp - 4]
call fcn.004170c6
add esp, 4
pop eax
mov dword [ebp - 4], eax
mov ebx, dword [ebp - 4]
call fcn.0040159f
mov eax, 0
cmp eax, ecx
jl 0x405bb9
push 1
call fcn.004170d2
add esp, 4
shl eax, 2
add ebx, eax
mov dword [ebp - 0x54], ebx
push reloc.WS2_32.dll_getpeername
push 0
mov ebx, dword [ebp - 0x54]
mov eax, dword [ebx]
test eax, eax
jne 0x405bd6
mov eax, 0x4a302f
push eax
push 1
mov ebx, 0x418a00
call fcn.004170cc
add esp, 0x10
mov dword [ebp - 0x58], eax
mov eax, dword [ebp - 0x58]
push eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x405c00
push ebx
call fcn.004170c6
add esp, 4
pop eax
mov dword [ebp - 8], eax
mov ebx, dword [ebp - 4]
call fcn.0040159f
mov eax, 1
cmp eax, ecx
jl 0x405c22
push 1
call fcn.004170d2
add esp, 4
shl eax, 2
add ebx, eax
mov dword [ebp - 0x54], ebx
push reloc.WS2_32.dll_getpeername
push 0
mov ebx, dword [ebp - 0x54]
mov eax, dword [ebx]
test eax, eax
jne 0x405c3f
mov eax, 0x4a302f
push eax
push 1
mov ebx, 0x418a00
call fcn.004170cc
add esp, 0x10
mov dword [ebp - 0x58], eax
mov eax, dword [ebp - 0x58]
push eax
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x405c69
push ebx
call fcn.004170c6
add esp, 4
pop eax
mov dword [ebp - 0xc], eax
mov ebx, dword [ebp - 4]
call fcn.0040159f
mov eax, 3
cmp eax, ecx
jl 0x405c8b
push 1
call fcn.004170d2
add esp, 4
shl eax, 2
add ebx, eax
mov dword [ebp - 0x54], ebx
push reloc.WS2_32.dll_getpeername
push 0
mov ebx, dword [ebp - 0x54]
mov eax, dword [ebx]
test eax, eax
jne 0x405ca8
mov eax, 0x4a302f
push eax
push 1
mov ebx, 0x418a00
call fcn.004170cc
add esp, 0x10
mov dword [ebp - 0x58], eax
mov eax, dword [ebp - 0x58]
push eax
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x405cd2
push ebx
call fcn.004170c6
add esp, 4
pop eax
mov dword [ebp - 0x10], eax
mov ebx, dword [ebp - 4]
call fcn.0040159f
mov eax, 4
cmp eax, ecx
jl 0x405cf4
push 1
call fcn.004170d2
add esp, 4
shl eax, 2
add ebx, eax
mov dword [ebp - 0x54], ebx
mov ebx, dword [ebp - 0x54]
mov eax, dword [ebx]
test eax, eax
je 0x405d18
push eax
mov eax, dword [eax + 4]
add eax, 8
push eax
call fcn.004170c0
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
push eax
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x405d29
push ebx
call fcn.004170c6
add esp, 4
pop eax
mov dword [ebp - 0x14], eax
mov ebx, dword [ebp - 4]
call fcn.0040159f
mov eax, 5
cmp eax, ecx
jl 0x405d4b
push 1
call fcn.004170d2
add esp, 4
shl eax, 2
add ebx, eax
mov dword [ebp - 0x54], ebx
push reloc.WS2_32.dll_getpeername
push 0
mov ebx, dword [ebp - 0x54]
mov eax, dword [ebx]
test eax, eax
jne 0x405d68
mov eax, 0x4a302f
push eax
push 1
mov ebx, 0x418a00
call fcn.004170cc
add esp, 0x10
mov dword [ebp - 0x58], eax
mov eax, dword [ebp - 0x58]
push eax
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x405d92
push ebx
call fcn.004170c6
add esp, 4
pop eax
mov dword [ebp - 0x18], eax
mov ebx, dword [ebp - 4]
call fcn.0040159f
mov eax, 6
cmp eax, ecx
jl 0x405db4
push 1
call fcn.004170d2
add esp, 4
shl eax, 2
add ebx, eax
mov dword [ebp - 0x54], ebx
push reloc.WS2_32.dll_getpeername
push 0
mov ebx, dword [ebp - 0x54]
mov eax, dword [ebx]
test eax, eax
jne 0x405dd1
mov eax, 0x4a302f
push eax
push 1
mov ebx, 0x418a00
call fcn.004170cc
add esp, 0x10
mov dword [ebp - 0x58], eax
push 0x4a3283
push dword [ebp - 0x58]
call fcn.00401466
add esp, 8
cmp eax, 0
mov eax, 0
sete al
mov dword [ebp - 0x5c], eax
mov ebx, dword [ebp - 0x58]
test ebx, ebx
je 0x405e15
push ebx
call fcn.004170c6
add esp, 4
mov eax, dword [ebp - 0x5c]
mov dword [ebp - 0x1c], eax
jmp 0x405e25
jmp 0x407521
push getpeername
push 0
mov eax, dword [ebp - 8]
test eax, eax
jne 0x405e38
mov eax, 0x4a3052
push eax
push 1
mov ebx, 0x417c70
call fcn.004170cc
add esp, 0x10
mov dword [ebp - 0x54], eax
push reloc.OLEAUT32.dll_SysReAllocString
push 0
push 0
push 0
push 0
push 0
push getpeername
push 0
push str.https:__
push getpeername
push 0
mov eax, dword [ebp - 0x54]
test eax, eax
jne 0x405e7f
mov eax, 0x4a3052
push eax
push 4
mov ebx, 0x417ad0
call fcn.004170cc
add esp, 0x34
mov dword [ebp - 0x58], eax
mov ebx, dword [ebp - 0x54]
test ebx, ebx
je 0x405ea5
push ebx
call fcn.004170c6
add esp, 4
cmp dword [ebp - 0x58], 0
mov eax, 0
setg al
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x54], 0
push 0
push dword [ebp - 0x54]
mov dword [ebp - 0x58], 0
push 0
push dword [ebp - 0x58]
lea eax, [ebp - 8]
push eax
call fcn.00402979
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp - 0x5c]
push eax
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x405eec
push ebx
call fcn.004170c6
add esp, 4
pop eax
mov dword [ebp - 0x24], eax
lea eax, [ebp - 8]
push eax
call fcn.0040760c
mov dword [ebp - 0x54], eax
mov eax, dword [ebp - 0x54]
push eax
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x405f10
push ebx
call fcn.004170c6
add esp, 4
pop eax
mov dword [ebp - 0x28], eax
push reloc.OLEAUT32.dll_SysReAllocString
push 0
push 1
push 0x80000301
push 0
push 1
push getpeername
push 0
push str.User_Agent:
push getpeername
push 0
mov eax, dword [ebp - 0x10]
test eax, eax
jne 0x405f4b
mov eax, 0x4a3052
push eax
push 4
mov ebx, 0x417ad0
call fcn.004170cc
add esp, 0x34
mov dword [ebp - 0x58], eax
cmp dword [ebp - 0x58], 0xffffffff
je 0x40601d
mov dword [ebp - 0x54], 0
push 0
push dword [ebp - 0x54]
mov dword [ebp - 0x58], 0
push 0
push dword [ebp - 0x58]
mov eax, 0x4a315a
mov dword [ebp - 0x5c], eax
lea eax, [ebp - 0x5c]
push eax
mov eax, str.User_Agent:
mov dword [ebp - 0x60], eax
lea eax, [ebp - 0x60]
push eax
lea eax, [ebp - 0x10]
push eax
call fcn.0040428a
mov dword [ebp - 0x64], eax
mov ebx, dword [ebp - 0x60]
test ebx, ebx
je 0x405fb7
push ebx
call fcn.004170c6
add esp, 4
mov ebx, dword [ebp - 0x5c]
test ebx, ebx
je 0x405fc7
push ebx
call fcn.004170c6
add esp, 4
push getpeername
push 0
mov eax, dword [ebp - 0x64]
test eax, eax
jne 0x405fda
mov eax, 0x4a3052
push eax
push 1
mov ebx, 0x417fe0
call fcn.004170cc
add esp, 0x10
mov dword [ebp - 0x68], eax
mov ebx, dword [ebp - 0x64]
test ebx, ebx
je 0x406000
push ebx
call fcn.004170c6
add esp, 4
mov eax, dword [ebp - 0x68]
push eax
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x406014
push ebx
call fcn.004170c6
add esp, 4
pop eax
mov dword [ebp - 0x2c], eax
jmp 0x406037
mov eax, str.Mozilla_5.0__compatible__MSIE_9.0__Windows_NT_6.1__Trident_5.0_
push eax
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x406033
push ebx
call fcn.004170c6
add esp, 4
pop eax
mov dword [ebp - 0x2c], eax
mov ebx, dword [ebp - 4]
call fcn.0040159f
mov eax, 2
cmp eax, ecx
jl 0x406055
push 1
call fcn.004170d2
add esp, 4
shl eax, 2
add ebx, eax
mov dword [ebp - 0x54], ebx
mov eax, 0x4a302f
xor ecx, ecx
test eax, eax
je 0x40606b
mov ecx, dword [eax + 4]
push ecx
add eax, 8
push eax
mov ebx, dword [ebp - 0x54]
mov eax, dword [ebx]
xor ebx, ebx
test eax, eax
je 0x40607e
mov ebx, dword [eax + 4]
add eax, 8
push eax
cmp ebx, ecx
mov eax, 1
jne 0x406095
dec eax
test ecx, ecx
je 0x406095
call fcn.004015bf
add esp, 0xc
test eax, eax
jne 0x4060de
mov dword [ebp - 0x54], esp
push 0
push 0x4a3052
push 0x4a3052
push 1
push dword [ebp - 0x2c]
mov eax, 9
call fcn.004170d8
cmp dword [ebp - 0x54], esp
je 0x4060d6
push 6
call fcn.004170d2
add esp, 4
mov dword [ebp - 0x30], eax
jmp 0x4061a4
mov ebx, dword [ebp - 4]
call fcn.0040159f
mov eax, 2
cmp eax, ecx
jl 0x4060fc
push 1
call fcn.004170d2
add esp, 4
shl eax, 2
add ebx, eax
mov dword [ebp - 0x54], ebx
push reloc.WS2_32.dll_getpeername
push 0
mov ebx, dword [ebp - 0x54]
mov eax, dword [ebx]
test eax, eax
jne 0x406119
mov eax, 0x4a302f
push eax
push 1
mov ebx, 0x418a00
call fcn.004170cc
add esp, 0x10
mov dword [ebp - 0x58], eax
push dword [ebp - 0x58]
push str.http
mov ecx, 2
call fcn.0040152a
add esp, 8
mov dword [ebp - 0x5c], eax
mov ebx, dword [ebp - 0x58]
test ebx, ebx
je 0x406157
push ebx
call fcn.004170c6
add esp, 4
mov dword [ebp - 0x60], esp
push 0
push 0x4a3052
push dword [ebp - 0x5c]
push 3
push dword [ebp - 0x2c]
mov eax, 9
call fcn.004170d8
cmp dword [ebp - 0x60], esp
je 0x40618b
push 6
call fcn.004170d2
add esp, 4
mov dword [ebp - 0x64], eax
mov ebx, dword [ebp - 0x5c]
test ebx, ebx
je 0x40619e
push ebx
call fcn.004170c6
add esp, 4
mov eax, dword [ebp - 0x64]
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0
jne 0x4062cd
mov ebx, dword [ebp - 4]
call fcn.0040159f
mov eax, 0
cmp eax, ecx
jl 0x4061cc
push 1
call fcn.004170d2
add esp, 4
shl eax, 2
add ebx, eax
mov dword [ebp - 0x54], ebx
mov eax, 0x4a302f
test eax, eax
je 0x4061f0
push eax
mov eax, dword [eax + 4]
add eax, 8
push eax
call fcn.004170c0
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
push eax
mov ebx, dword [ebp - 0x54]
mov ebx, dword [ebx]
test ebx, ebx
je 0x406203
push ebx
call fcn.004170c6
add esp, 4
pop eax
mov ebx, dword [ebp - 0x54]
mov dword [ebx], eax
mov ebx, dword [ebp - 4]
call fcn.0040159f
mov eax, 6
cmp eax, ecx
jl 0x406227
push 1
call fcn.004170d2
add esp, 4
shl eax, 2
add ebx, eax
mov dword [ebp - 0x54], ebx
mov eax, 0x4a302f
test eax, eax
je 0x40624b
push eax
mov eax, dword [eax + 4]
add eax, 8
push eax
call fcn.004170c0
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
push eax
mov ebx, dword [ebp - 0x54]
mov ebx, dword [ebx]
test ebx, ebx
je 0x40625e
push ebx
call fcn.004170c6
add esp, 4
pop eax
mov ebx, dword [ebp - 0x54]
mov dword [ebx], eax
push 0x80000301
push 0
push dword [ebp + 8]
push 1
mov ebx, 0x4191e0
call fcn.004170cc
add esp, 0x10
push 0xa0000005
push 0
push dword [ebp - 4]
push 0x80000301
push 0
push dword [ebp + 8]
push 2
mov ebx, 0x419be0
call fcn.004170cc
add esp, 0x1c
mov dword [ebp - 0x54], esp
push dword [ebp - 0x30]
mov eax, 0xa
call fcn.004170d8
cmp dword [ebp - 0x54], esp
je 0x4062c8
push 6
call fcn.004170d2
add esp, 4
jmp 0x407521
cmp dword [ebp - 0x20], 0
je 0x4062e3
mov dword [ebp - 0x34], 0x1bb
jmp 0x4062ef
lea eax, [ebp - 8]
push eax
call fcn.0040781a
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x54], esp
push 0
push 0
push 3
push 0x4a3052
push 0x4a3052
push dword [ebp - 0x34]
push dword [ebp - 0x24]
push dword [ebp - 0x30]
mov eax, 0xb
call fcn.004170d8
cmp dword [ebp - 0x54], esp
je 0x406330
push 6
call fcn.004170d2
add esp, 4
mov dword [ebp - 0x38], eax
cmp dword [ebp - 0x38], 0
jne 0x40647e
mov ebx, dword [ebp - 4]
call fcn.0040159f
mov eax, 0
cmp eax, ecx
jl 0x40635b
push 1
call fcn.004170d2
add esp, 4
shl eax, 2
add ebx, eax
mov dword [ebp - 0x54], ebx
mov eax, 0x4a302f
test eax, eax
je 0x40637f
push eax
mov eax, dword [eax + 4]
add eax, 8
push eax
call fcn.004170c0
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
push eax
mov ebx, dword [ebp - 0x54]
mov ebx, dword [ebx]
test ebx, ebx
je 0x406392
push ebx
call fcn.004170c6
add esp, 4
pop eax
mov ebx, dword [ebp - 0x54]
mov dword [ebx], eax
mov ebx, dword [ebp - 4]
call fcn.0040159f
mov eax, 6
cmp eax, ecx
jl 0x4063b6
push 1
call fcn.004170d2
add esp, 4
shl eax, 2
add ebx, eax
mov dword [ebp - 0x54], ebx
mov eax, 0x4a302f
test eax, eax
je 0x4063da
push eax
mov eax, dword [eax + 4]
add eax, 8
push eax
call fcn.004170c0
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
push eax
mov ebx, dword [ebp - 0x54]
mov ebx, dword [ebx]
test ebx, ebx
je 0x4063ed
push ebx
call fcn.004170c6
add esp, 4
pop eax
mov ebx, dword [ebp - 0x54]
mov dword [ebx], eax
push 0x80000301
push 0
push dword [ebp + 8]
push 1
mov ebx, 0x4191e0
call fcn.004170cc
add esp, 0x10
push 0xa0000005
push 0
push dword [ebp - 4]
push 0x80000301
push 0
push dword [ebp + 8]
push 2
mov ebx, 0x419be0
call fcn.004170cc
add esp, 0x1c
mov dword [ebp - 0x54], esp
push dword [ebp - 0x38]
mov eax, 0xa
call fcn.004170d8
cmp dword [ebp - 0x54], esp
je 0x406457
push 6
call fcn.004170d2
add esp, 4
mov dword [ebp - 0x54], esp
push dword [ebp - 0x30]
mov eax, 0xa
call fcn.004170d8
cmp dword [ebp - 0x54], esp
je 0x406479
push 6
call fcn.004170d2
add esp, 4
jmp 0x407521
push 0x80000301
push 0
push 0x10
push 0x80000301
push 0
push SysReAllocString
push 2
mov ebx, 0x4174e0
call fcn.004170cc
add esp, 0x1c
mov dword [ebp - 0x3c], eax
push getpeername
push 0
mov eax, dword [ebp - 0x18]
test eax, eax
jne 0x4064be
mov eax, 0x4a3052
push eax
push 1
mov ebx, 0x417fe0
call fcn.004170cc
add esp, 0x10
mov dword [ebp - 0x54], eax
push 0x4a3052
push dword [ebp - 0x54]
call fcn.00401466
add esp, 8
cmp eax, 0
mov eax, 0
setne al
mov dword [ebp - 0x58], eax
mov ebx, dword [ebp - 0x54]
test ebx, ebx
je 0x406502
push ebx
call fcn.004170c6
add esp, 4
cmp dword [ebp - 0x58], 0
je 0x406537
push 0x80000301
push 0
push 0x80000
push 0x80000301
push 0
push dword [ebp - 0x3c]
push 2
mov ebx, 0x4174e0
call fcn.004170cc
add esp, 0x1c
mov dword [ebp - 0x3c], eax
cmp dword [ebp - 0x1c], 0
jne 0x40656c
push 0x80000301
push 0
push 0x200000
push 0x80000301
push 0
push dword [ebp - 0x3c]
push 2
mov ebx, 0x4174e0
call fcn.004170cc
add esp, 0x1c
mov dword [ebp - 0x3c], eax
cmp dword [ebp - 0x20], 0
je 0x4065a6
push 0x80000301
push 0
push 0x800000
push 0x80000301
push 0
push dword [ebp - 0x3c]
push 2
mov ebx, 0x4174e0
call fcn.004170cc
add esp, 0x1c
mov dword [ebp - 0x3c], eax
jmp 0x4065d1
push 0x80000301
push 0
push 0x4000
push 0x80000301
push 0
push dword [ebp - 0x3c]
push 2
mov ebx, 0x4174e0
call fcn.004170cc
add esp, 0x1c
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x54], esp
push 0
push dword [ebp - 0x3c]
push 0x4a3052
push 0x4a3052
push str.HTTP_1.1
push dword [ebp - 0x28]
push dword [ebp - 0xc]
push dword [ebp - 0x38]
mov eax, 0xc
call fcn.004170d8
cmp dword [ebp - 0x54], esp
je 0x406610
push 6
call fcn.004170d2
add esp, 4
mov dword [ebp - 0x40], eax
cmp dword [ebp - 0x40], 0
jne 0x406780
mov ebx, dword [ebp - 4]
call fcn.0040159f
mov eax, 0
cmp eax, ecx
jl 0x40663b
push 1
call fcn.004170d2
add esp, 4
shl eax, 2
add ebx, eax
mov dword [ebp - 0x54], ebx
mov eax, 0x4a302f
test eax, eax
je 0x40665f
push eax
mov eax, dword [eax + 4]
add eax, 8
push eax
call fcn.004170c0
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
push eax
mov ebx, dword [ebp - 0x54]
mov ebx, dword [ebx]
test ebx, ebx
je 0x406672
push ebx
call fcn.004170c6
add esp, 4
pop eax
mov ebx, dword [ebp - 0x54]
mov dword [ebx], eax
mov ebx, dword [ebp - 4]
call fcn.0040159f
mov eax, 6
cmp eax, ecx
jl 0x406696
push 1
call fcn.004170d2
add esp, 4
shl eax, 2
add ebx, eax
mov dword [ebp - 0x54], ebx
mov eax, 0x4a302f
test eax, eax
je 0x4066ba
push eax
mov eax, dword [eax + 4]
add eax, 8
push eax
call fcn.004170c0
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
push eax
mov ebx, dword [ebp - 0x54]
mov ebx, dword [ebx]
test ebx, ebx
je 0x4066cd
push ebx
call fcn.004170c6
add esp, 4
pop eax
mov ebx, dword [ebp - 0x54]
mov dword [ebx], eax
push 0x80000301
push 0
push dword [ebp + 8]
push 1
mov ebx, 0x4191e0
call fcn.004170cc
add esp, 0x10
push 0xa0000005
push 0
push dword [ebp - 4]
push 0x80000301
push 0
push dword [ebp + 8]
push 2
mov ebx, 0x419be0
call fcn.004170cc
add esp, 0x1c
mov dword [ebp - 0x54], esp
push dword [ebp - 0x40]
mov eax, 0xa
call fcn.004170d8
cmp dword [ebp - 0x54], esp
je 0x406737
push 6
call fcn.004170d2
add esp, 4
mov dword [ebp - 0x54], esp
push dword [ebp - 0x38]
mov eax, 0xa
call fcn.004170d8
cmp dword [ebp - 0x54], esp
je 0x406759
push 6
call fcn.004170d2
add esp, 4
mov dword [ebp - 0x54], esp
push dword [ebp - 0x30]
mov eax, 0xa
call fcn.004170d8
cmp dword [ebp - 0x54], esp
je 0x40677b
push 6
call fcn.004170d2
add esp, 4
jmp 0x407521
push reloc.OLEAUT32.dll_SysReAllocString
push 0
push 1
push 0x80000301
push 0
push 1
push getpeername
push 0
push str.Accept
push getpeername
push 0
mov eax, dword [ebp - 0x10]
test eax, eax
jne 0x4067b7
mov eax, 0x4a3052
push eax
push 4
mov ebx, 0x417ad0
call fcn.004170cc
add esp, 0x34
mov dword [ebp - 0x58], eax
cmp dword [ebp - 0x58], 0xffffffff
jne 0x406807
push str.Accept:_image_gif__image_bmp__image_x_xbitmap__image_jpeg__image_pjpeg__application_x_shockwave_flash__application_vnd.ms_excel__application_vnd.ms_powerpoint__application_msword____r_n
push dword [ebp - 0x10]
mov ecx, 2
call fcn.0040152a
add esp, 8
mov dword [ebp - 0x54], eax
mov eax, dword [ebp - 0x54]
push eax
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x406803
push ebx
call fcn.004170c6
add esp, 4
pop eax
mov dword [ebp - 0x10], eax
push reloc.OLEAUT32.dll_SysReAllocString
push 0
push 1
push 0x80000301
push 0
push 1
push getpeername
push 0
push str.Referer
push getpeername
push 0
mov eax, dword [ebp - 0x10]
test eax, eax
jne 0x40683e
mov eax, 0x4a3052
push eax
push 4
mov ebx, 0x417ad0
call fcn.004170cc
add esp, 0x34
mov dword [ebp - 0x58], eax
cmp dword [ebp - 0x58], 0xffffffff
jne 0x406969
push reloc.OLEAUT32.dll_SysReAllocString
push 0
push 1
push 0x80000301
push 0
push 1
push getpeername
push 0
push str.RefererNo
push getpeername
push 0
mov eax, dword [ebp - 0x10]
test eax, eax
jne 0x406895
mov eax, 0x4a3052
push eax
push 4
mov ebx, 0x417ad0
call fcn.004170cc
add esp, 0x34
mov dword [ebp - 0x58], eax
cmp dword [ebp - 0x58], 0xffffffff
jne 0x4068f2
push 0x4a315a
push dword [ebp - 8]
push str.Referer:
push dword [ebp - 0x10]
mov ecx, 4
call fcn.0040152a
add esp, 0x10
mov dword [ebp - 0x54], eax
mov eax, dword [ebp - 0x54]
push eax
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x4068e9
push ebx
call fcn.004170c6
add esp, 4
pop eax
mov dword [ebp - 0x10], eax
jmp 0x406969
push reloc.OLEAUT32.dll_SysReAllocString
push 0
push 1
push 0x80000301
push 0
push 1
push 0
push 0
push 0
push getpeername
push 0
push 0x4a3052
push getpeername
push 0
push str.RefererNo
push getpeername
push 0
mov eax, dword [ebp - 0x10]
test eax, eax
jne 0x40693b
mov eax, 0x4a3052
push eax
push 6
mov ebx, 0x4180b0
call fcn.004170cc
add esp, 0x4c
mov dword [ebp - 0x54], eax
mov eax, dword [ebp - 0x54]
push eax
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x406965
push ebx
call fcn.004170c6
add esp, 4
pop eax
mov dword [ebp - 0x10], eax
push reloc.OLEAUT32.dll_SysReAllocString
push 0
push 1
push 0x80000301
push 0
push 1
push getpeername
push 0
push str.Accept_Language
push getpeername
push 0
mov eax, dword [ebp - 0x10]
test eax, eax
jne 0x4069a0
mov eax, 0x4a3052
push eax
push 4
mov ebx, 0x417ad0
call fcn.004170cc
add esp, 0x34
mov dword [ebp - 0x58], eax
cmp dword [ebp - 0x58], 0xffffffff
jne 0x4069f0
push str.Accept_Language:_zh_cn_r_n
push dword [ebp - 0x10]
mov ecx, 2
call fcn.0040152a
add esp, 8
mov dword [ebp - 0x54], eax
mov eax, dword [ebp - 0x54]
push eax
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x4069ec
push ebx
call fcn.004170c6
add esp, 4
pop eax
mov dword [ebp - 0x10], eax
push 0x4a3053
push dword [ebp - 0xc]
call fcn.00401466
add esp, 8
cmp eax, 0
jne 0x406ac2
push 0x4a3052
push dword [ebp - 0x18]
call fcn.00401466
add esp, 8
cmp eax, 0
je 0x406a5a
push 0x4a33dd
push dword [ebp - 0x18]
push str.Cookie:
push dword [ebp - 0x10]
mov ecx, 4
call fcn.0040152a
add esp, 0x10
mov dword [ebp - 0x54], eax
mov eax, dword [ebp - 0x54]
push eax
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x406a56
push ebx
call fcn.004170c6
add esp, 4
pop eax
mov dword [ebp - 0x10], eax
push getpeername
push 0
mov eax, dword [ebp - 0x10]
test eax, eax
jne 0x406a6d
mov eax, 0x4a3052
push eax
push 1
mov ebx, 0x417640
call fcn.004170cc
add esp, 0x10
mov dword [ebp - 0x54], eax
mov dword [ebp - 0x58], esp
push 0
mov eax, 0x4a302f
test eax, eax
je 0x406a97
add eax, 8
push eax
push dword [ebp - 0x54]
push dword [ebp - 0x10]
push dword [ebp - 0x40]
mov eax, 0xd
call fcn.004170d8
cmp dword [ebp - 0x58], esp
je 0x406abd
push 6
call fcn.004170d2
add esp, 4
jmp 0x406d5e
push str.POST
push dword [ebp - 0xc]
call fcn.00401466
add esp, 8
cmp eax, 0
jne 0x406d5e
mov eax, 0x4a302f
xor ecx, ecx
test eax, eax
je 0x406ae9
mov ecx, dword [eax + 4]
push ecx
add eax, 8
push eax
mov eax, dword [ebp - 0x14]
xor ebx, ebx
test eax, eax
je 0x406afa
mov ebx, dword [eax + 4]
add eax, 8
push eax
cmp ebx, ecx
mov eax, 1
jne 0x406b11
dec eax
test ecx, ecx
je 0x406b11
call fcn.004015bf
add esp, 0xc
test eax, eax
je 0x406c85
push reloc.OLEAUT32.dll_SysReAllocString
push 0
push 1
push 0x80000301
push 0
push 1
push getpeername
push 0
push str.Content_Type
push getpeername
push 0
mov eax, dword [ebp - 0x10]
test eax, eax
jne 0x406b53
mov eax, 0x4a3052
push eax
push 4
mov ebx, 0x417ad0
call fcn.004170cc
add esp, 0x34
mov dword [ebp - 0x58], eax
cmp dword [ebp - 0x58], 0xffffffff
jne 0x406ba3
push str.Content_Type:_application_x_www_form_urlencoded_r_n
push dword [ebp - 0x10]
mov ecx, 2
call fcn.0040152a
add esp, 8
mov dword [ebp - 0x54], eax
mov eax, dword [ebp - 0x54]
push eax
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x406b9f
push ebx
call fcn.004170c6
add esp, 4
pop eax
mov dword [ebp - 0x10], eax
push reloc.OLEAUT32.dll_SysReAllocString
push 0
push 1
push 0x80000301
push 0
push 1
push getpeername
push 0
push str.Content_Length
push getpeername
push 0
mov eax, dword [ebp - 0x10]
test eax, eax
jne 0x406bda
mov eax, 0x4a3052
push eax
push 4
mov ebx, 0x417ad0
call fcn.004170cc
add esp, 0x34
mov dword [ebp - 0x58], eax
cmp dword [ebp - 0x58], 0xffffffff
jne 0x406c85
push reloc.WS2_32.dll_getpeername
push 0
mov eax, dword [ebp - 0x14]
test eax, eax
jne 0x406c0d
mov eax, 0x4a302f
push eax
push 1
mov ebx, 0x417660
call fcn.004170cc
add esp, 0x10
push 0x80000301
push 0
push eax
push 1
mov ebx, 0x418a00
call fcn.004170cc
add esp, 0x10
mov dword [ebp - 0x58], eax
push 0x4a315a
push dword [ebp - 0x58]
push str.Content_Length:
push dword [ebp - 0x10]
mov ecx, 4
call fcn.0040152a
add esp, 0x10
mov dword [ebp - 0x5c], eax
mov ebx, dword [ebp - 0x58]
test ebx, ebx
je 0x406c6d
push ebx
call fcn.004170c6
add esp, 4
mov eax, dword [ebp - 0x5c]
push eax
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x406c81
push ebx
call fcn.004170c6
add esp, 4
pop eax
mov dword [ebp - 0x10], eax
push 0x4a3052
push dword [ebp - 0x18]
call fcn.00401466
add esp, 8
cmp eax, 0
je 0x406cd6
push 0x4a33dd
push dword [ebp - 0x18]
push str.Cookie:
push dword [ebp - 0x10]
mov ecx, 4
call fcn.0040152a
add esp, 0x10
mov dword [ebp - 0x54], eax
mov eax, dword [ebp - 0x54]
push eax
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x406cd2
push ebx
call fcn.004170c6
add esp, 4
pop eax
mov dword [ebp - 0x10], eax
push getpeername
push 0
mov eax, dword [ebp - 0x10]
test eax, eax
jne 0x406ce9
mov eax, 0x4a3052
push eax
push 1
mov ebx, 0x417640
call fcn.004170cc
add esp, 0x10
mov dword [ebp - 0x54], eax
push reloc.WS2_32.dll_getpeername
push 0
mov eax, dword [ebp - 0x14]
test eax, eax
jne 0x406d12
mov eax, 0x4a302f
push eax
push 1
mov ebx, 0x417660
call fcn.004170cc
add esp, 0x10
mov dword [ebp - 0x58], eax
mov dword [ebp - 0x5c], esp
push dword [ebp - 0x58]
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x406d38
add eax, 8
push eax
push dword [ebp - 0x54]
push dword [ebp - 0x10]
push dword [ebp - 0x40]
mov eax, 0xd
call fcn.004170d8
cmp dword [ebp - 0x5c], esp
je 0x406d5e
push 6
call fcn.004170d2
add esp, 4
mov ebx, dword [ebp - 4]
call fcn.0040159f
mov eax, 0
cmp eax, ecx
jl 0x406d7c
push 1
call fcn.004170d2
add esp, 4
shl eax, 2
add ebx, eax
mov dword [ebp - 0x54], ebx
mov eax, 0x4a302f
test eax, eax
je 0x406da0
push eax
mov eax, dword [eax + 4]
add eax, 8
push eax
call fcn.004170c0
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
push eax
mov ebx, dword [ebp - 0x54]
mov ebx, dword [ebx]
test ebx, ebx
je 0x406db3
push ebx
call fcn.004170c6
add esp, 4
pop eax
mov ebx, dword [ebp - 0x54]
mov dword [ebx], eax
push 0x80000301
push 0
push 0x800
push 1
mov ebx, 0x418900
call fcn.004170cc
add esp, 0x10
mov dword [ebp - 0x54], eax
mov eax, dword [ebp - 0x54]
push eax
mov ebx, dword [ebp - 0x44]
test ebx, ebx
je 0x406dee
push ebx
call fcn.004170c6
add esp, 4
pop eax
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x54], esp
lea eax, [ebp - 0x48]
push eax
push 0x800
mov eax, dword [ebp - 0x44]
test eax, eax
je 0x406e08
add eax, 8
push eax
push dword [ebp - 0x40]
mov eax, 0xe
call fcn.004170d8
cmp dword [ebp - 0x54], esp
je 0x406e28
push 6
call fcn.004170d2
add esp, 4
cmp dword [ebp - 0x48], 0
jne 0x406e3c
jmp 0x406f04
mov ebx, dword [ebp - 4]
call fcn.0040159f
mov eax, 0
cmp eax, ecx
jl 0x406e5a
push 1
call fcn.004170d2
add esp, 4
shl eax, 2
add ebx, eax
mov dword [ebp - 0x54], ebx
mov ebx, dword [ebp - 4]
call fcn.0040159f
mov eax, 0
cmp eax, ecx
jl 0x406e80
push 1
call fcn.004170d2
add esp, 4
shl eax, 2
add ebx, eax
mov dword [ebp - 0x58], ebx
push 0x80000301
push 0
push dword [ebp - 0x48]
push reloc.WS2_32.dll_getpeername
push 0
mov eax, dword [ebp - 0x44]
test eax, eax
jne 0x406ea5
mov eax, 0x4a302f
push eax
push 2
mov ebx, 0x4186f0
call fcn.004170cc
add esp, 0x1c
mov dword [ebp - 0x5c], eax
push dword [ebp - 0x5c]
mov ebx, dword [ebp - 0x58]
push dword [ebx]
mov ecx, 2
call fcn.004059bc
add esp, 8
mov dword [ebp - 0x60], eax
mov ebx, dword [ebp - 0x5c]
test ebx, ebx
je 0x406ee3
push ebx
call fcn.004170c6
add esp, 4
mov eax, dword [ebp - 0x60]
push eax
mov ebx, dword [ebp - 0x54]
mov ebx, dword [ebx]
test ebx, ebx
je 0x406ef9
push ebx
call fcn.004170c6
add esp, 4
pop eax
mov ebx, dword [ebp - 0x54]
mov dword [ebx], eax
jmp 0x406db9
push 0x80000301
push 0
push 0x800
push 1
mov ebx, 0x4184e0
call fcn.004170cc
add esp, 0x10
mov dword [ebp - 0x54], eax
mov eax, dword [ebp - 0x54]
push eax
mov ebx, dword [ebp - 0x4c]
test ebx, ebx
je 0x406f39
push ebx
call fcn.004170c6
add esp, 4
pop eax
mov dword [ebp - 0x4c], eax
mov dword [ebp - 0x54], esp
push 0
mov eax, 0x800
mov dword [ebp - 0x58], eax
lea eax, [ebp - 0x58]
push eax
push dword [ebp - 0x4c]
push 0x16
push dword [ebp - 0x40]
mov eax, 0xf
call fcn.004170d8
cmp dword [ebp - 0x54], esp
je 0x406f78
push 6
call fcn.004170d2
add esp, 4
mov ebx, dword [ebp - 4]
call fcn.0040159f
mov eax, 5
cmp eax, ecx
jl 0x406f96
push 1
call fcn.004170d2
add esp, 4
shl eax, 2
add ebx, eax
mov dword [ebp - 0x54], ebx
push getpeername
push 0
mov eax, dword [ebp - 0x4c]
test eax, eax
jne 0x406fb1
mov eax, 0x4a3052
push eax
push 1
mov ebx, 0x418430
call fcn.004170cc
add esp, 0x10
mov dword [ebp - 0x58], eax
mov eax, dword [ebp - 0x58]
push eax
mov ebx, dword [ebp - 0x54]
mov ebx, dword [ebx]
test ebx, ebx
je 0x406fdd
push ebx
call fcn.004170c6
add esp, 4
pop eax
mov ebx, dword [ebp - 0x54]
mov dword [ebx], eax
mov dword [ebp - 0x54], esp
push dword [ebp - 0x40]
mov eax, 0xa
call fcn.004170d8
cmp dword [ebp - 0x54], esp
je 0x407005
push 6
call fcn.004170d2
add esp, 4
mov dword [ebp - 0x54], esp
push dword [ebp - 0x38]
mov eax, 0xa
call fcn.004170d8
cmp dword [ebp - 0x54], esp
je 0x407027
push 6
call fcn.004170d2
add esp, 4
mov dword [ebp - 0x54], esp
push dword [ebp - 0x30]
mov eax, 0xa
call fcn.004170d8
cmp dword [ebp - 0x54], esp
je 0x407049
push 6
call fcn.004170d2
add esp, 4
mov eax, 0x4a3052
push eax
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x40705f
push ebx
call fcn.004170c6
add esp, 4
pop eax
mov dword [ebp - 0x24], eax
push reloc.OLEAUT32.dll_SysReAllocString
push 0
push 1
push 0
push 0
push 0
push getpeername
push 0
push str.Set_Cookie:
push getpeername
push 0
mov eax, dword [ebp - 0x4c]
test eax, eax
jne 0x407094
mov eax, 0x4a3052
push eax
push 4
mov ebx, 0x417ad0
call fcn.004170cc
add esp, 0x34
mov dword [ebp - 0x58], eax
cmp dword [ebp - 0x58], 0
jle 0x40746f
push 0
mov ebx, 0x418fe0
call fcn.004170cc
add esp, 4
mov dword [ebp - 0x48], eax
push getpeername
push 0
mov eax, dword [ebp - 0x4c]
test eax, eax
jne 0x4070dc
mov eax, 0x4a3052
push eax
push 0x80000301
push 0
push dword [ebp - 0x48]
push 2
mov ebx, 0x4195a0
call fcn.004170cc
add esp, 0x1c
push 0x80000301
push 0
push dword [ebp - 0x48]
push 1
mov ebx, 0x4191e0
call fcn.004170cc
add esp, 0x10
push reloc.OLEAUT32.dll_SysReAllocString
push 0
push 0
push 0x80000301
push 0
push dword [ebp - 0x48]
push 2
mov ebx, 0x419e50
call fcn.004170cc
add esp, 0x1c
mov dword [ebp - 0x58], eax
cmp dword [ebp - 0x58], 0
jne 0x407453
push 0x80000301
push 0
push dword [ebp - 0x48]
push 1
mov ebx, 0x419200
call fcn.004170cc
add esp, 0x10
mov dword [ebp - 0x54], eax
mov eax, dword [ebp - 0x54]
push eax
mov ebx, dword [ebp - 0x4c]
test ebx, ebx
je 0x40717d
push ebx
call fcn.004170c6
add esp, 4
pop eax
mov dword [ebp - 0x4c], eax
push reloc.OLEAUT32.dll_SysReAllocString
push 0
push 1
push 0x80000301
push 0
push 1
push getpeername
push 0
push str.Set_Cookie:
push getpeername
push 0
mov eax, dword [ebp - 0x4c]
test eax, eax
jne 0x4071b8
mov eax, 0x4a3052
push eax
push 4
mov ebx, 0x417ad0
call fcn.004170cc
add esp, 0x34
mov dword [ebp - 0x58], eax
cmp dword [ebp - 0x58], 0
jle 0x40744e
push 0
push 0
push 0
push 0x80000301
push 0
push 0xc
push 0x80000301
push 0
push 1
push getpeername
push 0
mov eax, dword [ebp - 0x4c]
test eax, eax
jne 0x407209
mov eax, 0x4a3052
push eax
push 4
mov ebx, 0x418000
call fcn.004170cc
add esp, 0x34
mov dword [ebp - 0x54], eax
mov eax, dword [ebp - 0x54]
push eax
mov ebx, dword [ebp - 0x4c]
test ebx, ebx
je 0x407233
push ebx
call fcn.004170c6
add esp, 4
pop eax
mov dword [ebp - 0x4c], eax
mov dword [ebp - 0x54], 0
push 0
push dword [ebp - 0x54]
mov dword [ebp - 0x58], 0
push 0
push dword [ebp - 0x58]
mov eax, 0x4a319c
mov dword [ebp - 0x5c], eax
lea eax, [ebp - 0x5c]
push eax
lea eax, [ebp - 0x4c]
push eax
call fcn.00407c3e
mov dword [ebp - 0x60], eax
mov ebx, dword [ebp - 0x5c]
test ebx, ebx
je 0x407277
push ebx
call fcn.004170c6
add esp, 4
push 0x4a319c
push dword [ebp - 0x60]
push dword [ebp - 0x24]
mov ecx, 3
call fcn.0040152a
add esp, 0xc
mov dword [ebp - 0x64], eax
mov ebx, dword [ebp - 0x60]
test ebx, ebx
je 0x4072a2
push ebx
call fcn.004170c6
add esp, 4
mov eax, dword [ebp - 0x64]
push eax
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x4072b6
push ebx
call fcn.004170c6
add esp, 4
pop eax
mov dword [ebp - 0x24], eax
push reloc.OLEAUT32.dll_SysReAllocString
push 0
push 1
push 0x80000301
push 0
push 1
push getpeername
push 0
push 0x4a31da
push getpeername
push 0
mov eax, dword [ebp - 0x4c]
test eax, eax
jne 0x4072f1
mov eax, 0x4a3052
push eax
push 4
mov ebx, 0x417ad0
call fcn.004170cc
add esp, 0x34
mov dword [ebp - 0x50], eax
push dword [ebp - 0x24]
push str.http:__
mov ecx, 2
call fcn.0040152a
add esp, 8
mov dword [ebp - 0x54], eax
fild dword [ebp - 0x50]
fstp qword [ebp - 0x5c]
fld qword [ebp - 0x5c]
fsub qword [0x4a31d0]
fstp qword [ebp - 0x64]
fld qword [ebp - 0x64]
call fcn.00401503
push 0x80000301
push 0
push eax
push getpeername
push 0
mov eax, dword [ebp - 0x4c]
test eax, eax
jne 0x407354
mov eax, 0x4a3052
push eax
push 2
mov ebx, 0x4177e0
call fcn.004170cc
add esp, 0x1c
mov dword [ebp - 0x68], eax
push getpeername
push 0
mov eax, dword [ebp - 0x4c]
test eax, eax
jne 0x40737d
mov eax, 0x4a3052
push eax
push 1
mov ebx, 0x417640
call fcn.004170cc
add esp, 0x10
mov dword [ebp - 0x74], eax
fild dword [ebp - 0x74]
fstp qword [ebp - 0x74]
fld qword [ebp - 0x74]
fild dword [ebp - 0x50]
fstp qword [ebp - 0x7c]
fsub qword [ebp - 0x7c]
fstp qword [ebp - 0x84]
fld qword [ebp - 0x84]
call fcn.00401503
push 0x80000301
push 0
push eax
push getpeername
push 0
mov eax, dword [ebp - 0x4c]
test eax, eax
jne 0x4073d1
mov eax, 0x4a3052
push eax
push 2
mov ebx, 0x417820
call fcn.004170cc
add esp, 0x1c
mov dword [ebp - 0x88], eax
mov dword [ebp - 0x8c], esp
push dword [ebp - 0x88]
push dword [ebp - 0x68]
push dword [ebp - 0x54]
mov eax, 4
call fcn.004170d8
cmp dword [ebp - 0x8c], esp
je 0x40741b
push 6
call fcn.004170d2
add esp, 4
mov ebx, dword [ebp - 0x54]
test ebx, ebx
je 0x40742b
push ebx
call fcn.004170c6
add esp, 4
mov ebx, dword [ebp - 0x68]
test ebx, ebx
je 0x40743b
push ebx
call fcn.004170c6
add esp, 4
mov ebx, dword [ebp - 0x88]
test ebx, ebx
je 0x40744e
push ebx
call fcn.004170c6
add esp, 4
jmp 0x407115
push 0x80000301
push 0
push dword [ebp - 0x48]
push 1
mov ebx, 0x419030
call fcn.004170cc
add esp, 0x10
push 0x80000301
push 0
push dword [ebp + 8]
push 1
mov ebx, 0x4191e0
call fcn.004170cc
add esp, 0x10
mov ebx, dword [ebp - 4]
call fcn.0040159f
mov eax, 1
cmp eax, ecx
jl 0x4074a9
push 1
call fcn.004170d2
add esp, 4
shl eax, 2
add ebx, eax
mov dword [ebp - 0x54], ebx
push getpeername
push 0
mov eax, dword [ebp - 0x24]
test eax, eax
jne 0x4074c4
mov eax, 0x4a3052
push eax
push 1
mov ebx, 0x418430
call fcn.004170cc
add esp, 0x10
mov dword [ebp - 0x58], eax
mov eax, dword [ebp - 0x58]
push eax
mov ebx, dword [ebp - 0x54]
mov ebx, dword [ebx]
test ebx, ebx
je 0x4074f0
push ebx
call fcn.004170c6
add esp, 4
pop eax
mov ebx, dword [ebp - 0x54]
mov dword [ebx], eax
push 0xa0000005
push 0
push dword [ebp - 4]
push 0x80000301
push 0
push dword [ebp + 8]
push 2
mov ebx, 0x419be0
call fcn.004170cc
add esp, 0x1c
jmp 0x407521
mov ebx, dword [ebp - 4]
push ebx
mov ecx, dword [ebx]
add ebx, 4
test ecx, ecx
je 0x40753f
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x40753b
imul eax, dword [ebx]
jmp 0x407530
mov ecx, eax
test ecx, ecx
je 0x40755e
push ecx
mov eax, dword [ebx]
test eax, eax
je 0x407557
push ebx
push eax
call fcn.004170c6
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x407545
call fcn.004170c6
add esp, 4
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x407576
push ebx
call fcn.004170c6
add esp, 4
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x407586
push ebx
call fcn.004170c6
add esp, 4
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x407596
push ebx
call fcn.004170c6
add esp, 4
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x4075a6
push ebx
call fcn.004170c6
add esp, 4
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x4075b6
push ebx
call fcn.004170c6
add esp, 4
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x4075c6
push ebx
call fcn.004170c6
add esp, 4
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x4075d6
push ebx
call fcn.004170c6
add esp, 4
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x4075e6
push ebx
call fcn.004170c6
add esp, 4
mov ebx, dword [ebp - 0x44]
test ebx, ebx
je 0x4075f6
push ebx
call fcn.004170c6
add esp, 4
mov ebx, dword [ebp - 0x4c]
test ebx, ebx
je 0x407606
push ebx
call fcn.004170c6
add esp, 4
mov esp, ebp
pop ebp
ret 4