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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
push 8
call fcn.00416c15
add esp, 4
mov dword [ebp - 4], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 0
push 8
call fcn.00416c15
add esp, 4
mov dword [ebp - 8], eax
mov edi, eax
mov esi, 0x4fc10b
lodsd eax, dword [esi]
stosd dword es:[edi], eax
lodsd eax, dword [esi]
stosd dword es:[edi], eax
mov dword [ebp - 0xc], 0
push 8
call fcn.00416c15
add esp, 4
mov dword [ebp - 0x10], eax
mov edi, eax
mov esi, 0x4fc10b
lodsd eax, dword [esi]
stosd dword es:[edi], eax
lodsd eax, dword [esi]
stosd dword es:[edi], eax
push 0x10
call fcn.00416c15
add esp, 4
mov dword [ebp - 0x14], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 0
mov dword [ebx + 8], 0
mov dword [ebx + 0xc], 0
mov eax, 3
mov dword [ebx], eax
mov dword [ebp - 0x18], 0
push 8
call fcn.00416c15
add esp, 4
mov dword [ebp - 0x1c], eax
mov edi, eax
mov esi, 0x4fc10b
lodsd eax, dword [esi]
stosd dword es:[edi], eax
lodsd eax, dword [esi]
stosd dword es:[edi], eax
push 0
mov eax, 6
call fcn.00416c33
push 0
push 0
push 0
push getpeername
push 0
push str.WinHttp.WinHttpRequest.5.1
push 0x10030
push 0
push dword [ebp - 4]
push 3
mov ebx, 0x41bbc0
call fcn.00416c27
add esp, 0x28
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0
jne 0x4098ab
push 0
push 0
push 0
push getpeername
push 0
push str.MSXML2.ServerXMLHTTP.6.0
push 0x10030
push 0
push dword [ebp - 4]
push 3
mov ebx, 0x41bbc0
call fcn.00416c27
add esp, 0x28
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0
jne 0x4098ab
push 0
push 0
push 0
push getpeername
push 0
push str.MSXML2.ServerXMLHTTP.5.0
push 0x10030
push 0
push dword [ebp - 4]
push 3
mov ebx, 0x41bbc0
call fcn.00416c27
add esp, 0x28
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0
jne 0x4098ab
mov eax, 0x4fc10b
jmp 0x40a7df
push getpeername
push 0
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebx]
test eax, eax
jne 0x4098c0
mov eax, 0x4fc0be
push eax
push 1
mov ebx, 0x417300
call fcn.00416c27
add esp, 0x10
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
push eax
mov ebx, dword [ebp + 0xc]
mov ebx, dword [ebx]
test ebx, ebx
je 0x4098ec
push ebx
call fcn.00416c0f
add esp, 4
pop eax
mov ebx, dword [ebp + 0xc]
mov dword [ebx], eax
push 0x4fc0be
mov ebx, dword [ebp + 0xc]
push dword [ebx]
call fcn.00401e24
add esp, 8
cmp eax, 0
jne 0x40992b
mov eax, 0x51405c
push eax
mov ebx, dword [ebp + 0xc]
mov ebx, dword [ebx]
test ebx, ebx
je 0x409925
push ebx
call fcn.00416c0f
add esp, 4
pop eax
mov ebx, dword [ebp + 0xc]
mov dword [ebx], eax
cmp dword [ebp + 0x44], 0xffffffff
je 0x4099bc
cmp dword [ebp + 0x44], 1
jge 0x40994b
mov dword [ebp + 0x44], 0x3a98
jmp 0x409968
fild dword [ebp + 0x44]
fstp qword [ebp - 0x24]
fld qword [ebp - 0x24]
fmul qword [0x514060]
fstp qword [ebp - 0x2c]
fld qword [ebp - 0x2c]
call fcn.00401004
mov dword [ebp + 0x44], eax
push 0xa0000301
push 0
lea eax, [ebp + 0x44]
push eax
push 0xa0000301
push 0
lea eax, [ebp + 0x44]
push eax
push 0xa0000301
push 0
lea eax, [ebp + 0x44]
push eax
push 0xa0000301
push 0
lea eax, [ebp + 0x44]
push eax
push getpeername
push 0
push 0x514068
push 0x10030
push 0
push dword [ebp - 4]
push 6
mov ebx, 0x41ac90
call fcn.00416c27
add esp, 0x4c
push 0x4fc0be
push dword [0x649ef8]
call fcn.00401e24
add esp, 8
cmp eax, 0
je 0x409a80
push 0xa0000004
push 0
push 0x649ef8
push 0x80000301
push 0
push 2
push getpeername
push 0
push str.SetProxy
push 0x10030
push 0
push dword [ebp - 4]
push 4
mov ebx, 0x41ac90
call fcn.00416c27
add esp, 0x34
push 0x4fc0be
push dword [0x649efc]
call fcn.00401e24
add esp, 8
cmp eax, 0
je 0x409a80
push 0xa0000301
push 0
push 0x649f04
push 0xa0000004
push 0
push 0x649f00
push 0xa0000004
push 0
push 0x649efc
push getpeername
push 0
push str.SetProxyCredentials
push 0x10030
push 0
push dword [ebp - 4]
push 5
mov ebx, 0x41ac90
call fcn.00416c27
add esp, 0x40
push reloc.OLEAUT32.dll_SysReAllocString
push 0
push 0
push 0xa0000004
push 0
push dword [ebp + 8]
push 0xa0000004
push 0
push dword [ebp + 0xc]
push getpeername
push 0
push 0x514091
push 0x10030
push 0
push dword [ebp - 4]
push 5
mov ebx, 0x41ac90
call fcn.00416c27
add esp, 0x40
cmp dword [ebp + 0x3c], 0
je 0x409b12
push 0x80000301
push 0
push 0
push 0x80000301
push 0
push 6
push getpeername
push 0
push str.Option
push 0x10030
push 0
push dword [ebp - 4]
push 4
mov ebx, 0x41bb10
call fcn.00416c27
add esp, 0x34
push 0x4fc0be
mov ebx, dword [ebp + 0x2c]
push dword [ebx]
call fcn.00401e24
add esp, 8
cmp eax, 0
jne 0x409b68
push str._r_nAccept:___r_nAccept_Language:_zh_cn_r_nUser_Agent:_Mozilla_5.0__compatible__MSIE_9.0__Windows_NT_6.1__Trident_5.0__r_nContent_Type:_application_x_www_form_urlencoded
mov ebx, dword [ebp + 8]
push dword [ebx]
push str.Referer:
mov ecx, 3
call fcn.00401096
add esp, 0xc
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
push eax
mov ebx, dword [ebp + 0x2c]
mov ebx, dword [ebx]
test ebx, ebx
je 0x409b62
push ebx
call fcn.00416c0f
add esp, 4
pop eax
mov ebx, dword [ebp + 0x2c]
mov dword [ebx], eax
mov dword [ebp - 0x20], 0
push 0
push dword [ebp - 0x20]
push 1
push 1
push dword [ebp + 8]
call fcn.004089cd
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x28], 0
push 0
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x24]
push eax
call fcn.004084e3
mov dword [ebp - 0x2c], eax
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x409baf
push ebx
call fcn.00416c0f
add esp, 4
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x409bbf
push ebx
call fcn.00416c0f
add esp, 4
push dword [ebp + 0x1c]
lea eax, [ebp - 0x2c]
push eax
call fcn.0040a90c
mov dword [ebp - 0x30], eax
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x409bde
push ebx
call fcn.00416c0f
add esp, 4
mov eax, dword [ebp - 0x30]
push eax
mov ebx, dword [ebp + 0x1c]
mov ebx, dword [ebx]
test ebx, ebx
je 0x409bf4
push ebx
call fcn.00416c0f
add esp, 4
pop eax
mov ebx, dword [ebp + 0x1c]
mov dword [ebx], eax
push 0x4fc0be
mov ebx, dword [ebp + 0x1c]
push dword [ebx]
call fcn.00401e24
add esp, 8
cmp eax, 0
je 0x409c53
push 0xa0000004
push 0
push dword [ebp + 0x1c]
push getpeername
push 0
push str.Cookie
push getpeername
push 0
push str.SetRequestHeader
push 0x10030
push 0
push dword [ebp - 4]
push 4
mov ebx, 0x41ac90
call fcn.00416c27
add esp, 0x34
push reloc.OLEAUT32.dll_SysReAllocString
push 0
push 0
push 0
push 0
push 0
push getpeername
push 0
push 0x4fc0c7
push getpeername
push 0
mov ebx, dword [ebp + 0x2c]
mov eax, dword [ebx]
test eax, eax
jne 0x409c86
mov eax, 0x4fc0be
push eax
push 4
mov ebx, 0x417160
call fcn.00416c27
add esp, 0x34
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0xffffffff
jle 0x409fe8
push 0
push 0
push 0
push getpeername
push 0
push 0x4fc0c7
push getpeername
push 0
mov ebx, dword [ebp + 0x2c]
mov eax, dword [ebx]
test eax, eax
jne 0x409ccd
mov eax, 0x4fc0be
push eax
push 3
mov ebx, 0x4179b0
call fcn.00416c27
add esp, 0x28
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
push eax
mov ebx, dword [ebp - 8]
push ebx
mov ecx, dword [ebx]
add ebx, 4
test ecx, ecx
je 0x409d05
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x409d01
imul eax, dword [ebx]
jmp 0x409cf6
mov ecx, eax
test ecx, ecx
je 0x409d24
push ecx
mov eax, dword [ebx]
test eax, eax
je 0x409d1d
push ebx
push eax
call fcn.00416c0f
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x409d0b
call fcn.00416c0f
add esp, 4
pop eax
mov dword [ebp - 8], eax
mov ebx, dword [ebp - 8]
call fcn.00403532
xor ecx, ecx
push eax
lea eax, [ebp - 0xc]
mov ebx, eax
pop eax
inc ecx
push ecx
push ebx
mov dword [ebx], ecx
push eax
cmp ecx, eax
jg 0x409fe0
mov ebx, dword [ebp - 8]
mov ecx, dword [ebx]
inc ecx
shl ecx, 2
add ebx, ecx
push ebx
mov eax, dword [ebp - 0xc]
dec eax
pop ebx
shl eax, 2
add ebx, eax
mov dword [ebp - 0x20], ebx
push reloc.OLEAUT32.dll_SysReAllocString
push 0
push 0
push 0
push 0
push 0
push getpeername
push 0
push 0x513fa1
push getpeername
push 0
mov ebx, dword [ebp - 0x20]
mov eax, dword [ebx]
test eax, eax
jne 0x409d9b
mov eax, 0x4fc0be
push eax
push 4
mov ebx, 0x417160
call fcn.00416c27
add esp, 0x34
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0xffffffff
jle 0x409fd8
mov ebx, dword [ebp - 0x10]
push ebx
mov ecx, dword [ebx]
add ebx, 4
test ecx, ecx
je 0x409dd9
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x409dd5
imul eax, dword [ebx]
jmp 0x409dca
mov ecx, eax
test ecx, ecx
je 0x409df8
push ecx
mov eax, dword [ebx]
test eax, eax
je 0x409df1
push ebx
push eax
call fcn.00416c0f
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x409ddf
call fcn.00416c0f
add esp, 4
mov eax, 0x4fc10b
mov dword [ebp - 0x10], eax
mov ebx, dword [ebp - 8]
mov ecx, dword [ebx]
inc ecx
shl ecx, 2
add ebx, ecx
push ebx
mov eax, dword [ebp - 0xc]
dec eax
pop ebx
shl eax, 2
add ebx, eax
mov dword [ebp - 0x20], ebx
push 0
push 0
push 0
push getpeername
push 0
push 0x513fa1
push getpeername
push 0
mov ebx, dword [ebp - 0x20]
mov eax, dword [ebx]
test eax, eax
jne 0x409e48
mov eax, 0x4fc0be
push eax
push 3
mov ebx, 0x4179b0
call fcn.00416c27
add esp, 0x28
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x24]
push eax
mov ebx, dword [ebp - 0x10]
push ebx
mov ecx, dword [ebx]
add ebx, 4
test ecx, ecx
je 0x409e80
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x409e7c
imul eax, dword [ebx]
jmp 0x409e71
mov ecx, eax
test ecx, ecx
je 0x409e9f
push ecx
mov eax, dword [ebx]
test eax, eax
je 0x409e98
push ebx
push eax
call fcn.00416c0f
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x409e86
call fcn.00416c0f
add esp, 4
pop eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], 2
inc dword [ebp - 0xc]
mov ebx, dword [ebp - 0x10]
call fcn.00403532
cmp dword [ebp - 0xc], eax
jle 0x409ecb
jmp 0x409f54
mov ebx, dword [ebp - 0x10]
mov ecx, dword [ebx]
inc ecx
shl ecx, 2
add ebx, ecx
mov eax, 1
shl eax, 2
add ebx, eax
mov dword [ebp - 0x20], ebx
mov ebx, dword [ebp - 0x10]
mov ecx, dword [ebx]
inc ecx
shl ecx, 2
add ebx, ecx
mov eax, 1
shl eax, 2
add ebx, eax
mov dword [ebp - 0x24], ebx
mov ebx, dword [ebp - 0x10]
mov ecx, dword [ebx]
inc ecx
shl ecx, 2
add ebx, ecx
push ebx
mov eax, dword [ebp - 0xc]
dec eax
pop ebx
shl eax, 2
add ebx, eax
mov dword [ebp - 0x28], ebx
mov ebx, dword [ebp - 0x28]
push dword [ebx]
push 0x513fa1
mov ebx, dword [ebp - 0x24]
push dword [ebx]
mov ecx, 3
call fcn.00401096
add esp, 0xc
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x2c]
push eax
mov ebx, dword [ebp - 0x20]
mov ebx, dword [ebx]
test ebx, ebx
je 0x409f49
push ebx
call fcn.00416c0f
add esp, 4
pop eax
mov ebx, dword [ebp - 0x20]
mov dword [ebx], eax
jmp 0x409eb2
mov ebx, dword [ebp - 0x10]
mov ecx, dword [ebx]
inc ecx
shl ecx, 2
add ebx, ecx
mov eax, 0
shl eax, 2
add ebx, eax
mov dword [ebp - 0x20], ebx
mov ebx, dword [ebp - 0x10]
mov ecx, dword [ebx]
inc ecx
shl ecx, 2
add ebx, ecx
mov eax, 1
shl eax, 2
add ebx, eax
mov dword [ebp - 0x24], ebx
push getpeername
push 0
mov ebx, dword [ebp - 0x24]
mov eax, dword [ebx]
test eax, eax
jne 0x409f99
mov eax, 0x4fc0be
push eax
push getpeername
push 0
mov ebx, dword [ebp - 0x20]
mov eax, dword [ebx]
test eax, eax
jne 0x409faf
mov eax, 0x4fc0be
push eax
push getpeername
push 0
push str.SetRequestHeader
push 0x10030
push 0
push dword [ebp - 4]
push 4
mov ebx, 0x41ac90
call fcn.00416c27
add esp, 0x34
pop eax
pop ebx
pop ecx
jmp 0x409d41
add esp, 0xc
jmp 0x40a1f2
push reloc.OLEAUT32.dll_SysReAllocString
push 0
push 0
push 0
push 0
push 0
push getpeername
push 0
push 0x513fa1
push getpeername
push 0
mov ebx, dword [ebp + 0x2c]
mov eax, dword [ebx]
test eax, eax
jne 0x40a01b
mov eax, 0x4fc0be
push eax
push 4
mov ebx, 0x417160
call fcn.00416c27
add esp, 0x34
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0xffffffff
jle 0x40a1f2
push 0
push 0
push 0
push getpeername
push 0
push 0x513fa1
push getpeername
push 0
mov ebx, dword [ebp + 0x2c]
mov eax, dword [ebx]
test eax, eax
jne 0x40a062
mov eax, 0x4fc0be
push eax
push 3
mov ebx, 0x4179b0
call fcn.00416c27
add esp, 0x28
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
push eax
mov ebx, dword [ebp - 0x10]
push ebx
mov ecx, dword [ebx]
add ebx, 4
test ecx, ecx
je 0x40a09a
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x40a096
imul eax, dword [ebx]
jmp 0x40a08b
mov ecx, eax
test ecx, ecx
je 0x40a0b9
push ecx
mov eax, dword [ebx]
test eax, eax
je 0x40a0b2
push ebx
push eax
call fcn.00416c0f
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x40a0a0
call fcn.00416c0f
add esp, 4
pop eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], 2
inc dword [ebp - 0xc]
mov ebx, dword [ebp - 0x10]
call fcn.00403532
cmp dword [ebp - 0xc], eax
jle 0x40a0e5
jmp 0x40a16e
mov ebx, dword [ebp - 0x10]
mov ecx, dword [ebx]
inc ecx
shl ecx, 2
add ebx, ecx
mov eax, 1
shl eax, 2
add ebx, eax
mov dword [ebp - 0x20], ebx
mov ebx, dword [ebp - 0x10]
mov ecx, dword [ebx]
inc ecx
shl ecx, 2
add ebx, ecx
mov eax, 1
shl eax, 2
add ebx, eax
mov dword [ebp - 0x24], ebx
mov ebx, dword [ebp - 0x10]
mov ecx, dword [ebx]
inc ecx
shl ecx, 2
add ebx, ecx
push ebx
mov eax, dword [ebp - 0xc]
dec eax
pop ebx
shl eax, 2
add ebx, eax
mov dword [ebp - 0x28], ebx
mov ebx, dword [ebp - 0x28]
push dword [ebx]
push 0x513fa1
mov ebx, dword [ebp - 0x24]
push dword [ebx]
mov ecx, 3
call fcn.00401096
add esp, 0xc
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x2c]
push eax
mov ebx, dword [ebp - 0x20]
mov ebx, dword [ebx]
test ebx, ebx
je 0x40a163
push ebx
call fcn.00416c0f
add esp, 4
pop eax
mov ebx, dword [ebp - 0x20]
mov dword [ebx], eax
jmp 0x40a0cc
mov ebx, dword [ebp - 0x10]
mov ecx, dword [ebx]
inc ecx
shl ecx, 2
add ebx, ecx
mov eax, 0
shl eax, 2
add ebx, eax
mov dword [ebp - 0x20], ebx
mov ebx, dword [ebp - 0x10]
mov ecx, dword [ebx]
inc ecx
shl ecx, 2
add ebx, ecx
mov eax, 1
shl eax, 2
add ebx, eax
mov dword [ebp - 0x24], ebx
push getpeername
push 0
mov ebx, dword [ebp - 0x24]
mov eax, dword [ebx]
test eax, eax
jne 0x40a1b3
mov eax, 0x4fc0be
push eax
push getpeername
push 0
mov ebx, dword [ebp - 0x20]
mov eax, dword [ebx]
test eax, eax
jne 0x40a1c9
mov eax, 0x4fc0be
push eax
push getpeername
push 0
push str.SetRequestHeader
push 0x10030
push 0
push dword [ebp - 4]
push 4
mov ebx, 0x41ac90
call fcn.00416c27
add esp, 0x34
mov eax, 0x4fc10b
xor ecx, ecx
test eax, eax
je 0x40a200
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 0x40a213
mov ebx, dword [eax + 4]
add eax, 8
push eax
cmp ebx, ecx
mov eax, 1
jne 0x40a22a
dec eax
test ecx, ecx
je 0x40a22a
call fcn.0040967a
add esp, 0xc
test eax, eax
jne 0x40a26c
push 0xa0000004
push 0
push dword [ebp + 0x14]
push getpeername
push 0
push str.Send
push 0x10030
push 0
push dword [ebp - 4]
push 3
mov ebx, 0x41ac90
call fcn.00416c27
add esp, 0x28
jmp 0x40a2d7
push 0
push 0
push 0
push reloc.WS2_32.dll_getpeername
push 0
mov ebx, dword [ebp + 0x54]
mov eax, dword [ebx]
test eax, eax
jne 0x40a287
mov eax, 0x4fc10b
push eax
push 0x10031
push 0
push dword [ebp - 0x14]
push 3
mov ebx, 0x41b690
call fcn.00416c27
add esp, 0x28
push 0x20010031
push 0
lea eax, [ebp - 0x14]
push eax
push getpeername
push 0
push str.Send
push 0x10030
push 0
push dword [ebp - 4]
push 3
mov ebx, 0x41ac90
call fcn.00416c27
add esp, 0x28
push 0
push 0
push 0
push getpeername
push 0
push str.ResponseBody
push 0x10030
push 0
push dword [ebp - 4]
push 3
mov ebx, 0x41ac60
call fcn.00416c27
add esp, 0x28
mov dword [ebp - 0x20], eax
push 0
push 0
push 0
push 0x10031
push 0
push dword [ebp - 0x20]
push 2
mov ebx, 0x41ace0
call fcn.00416c27
add esp, 0x1c
mov dword [ebp - 0x24], eax
mov ebx, dword [ebp - 0x20]
push ebx
push 0x10031
push 0
push ebx
push 1
mov ebx, 0x41acc0
call fcn.00416c27
add esp, 0x10
call fcn.00416c0f
add esp, 4
mov eax, dword [ebp - 0x24]
push eax
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x40a364
push ebx
call fcn.00416c0f
add esp, 4
pop eax
mov dword [ebp - 0x18], eax
push 0
push 0
push 0
push getpeername
push 0
push str.GetallResponseHeaders
push 0x10030
push 0
push dword [ebp - 4]
push 3
mov ebx, 0x41ac30
call fcn.00416c27
add esp, 0x28
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
push eax
mov ebx, dword [ebp + 0x4c]
mov ebx, dword [ebx]
test ebx, ebx
je 0x40a3af
push ebx
call fcn.00416c0f
add esp, 4
pop eax
mov ebx, dword [ebp + 0x4c]
mov dword [ebx], eax
push 0
push 0
push 0
push getpeername
push 0
push 0x4fc0c7
push getpeername
push 0
mov ebx, dword [ebp + 0x4c]
mov eax, dword [ebx]
test eax, eax
jne 0x40a3dc
mov eax, 0x4fc0be
push eax
push 3
mov ebx, 0x4179b0
call fcn.00416c27
add esp, 0x28
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
push eax
mov ebx, dword [ebp - 0x1c]
push ebx
mov ecx, dword [ebx]
add ebx, 4
test ecx, ecx
je 0x40a414
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x40a410
imul eax, dword [ebx]
jmp 0x40a405
mov ecx, eax
test ecx, ecx
je 0x40a433
push ecx
mov eax, dword [ebx]
test eax, eax
je 0x40a42c
push ebx
push eax
call fcn.00416c0f
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x40a41a
call fcn.00416c0f
add esp, 4
pop eax
mov dword [ebp - 0x1c], eax
mov eax, 0x4fc0be
push eax
mov ebx, dword [ebp + 0x24]
mov ebx, dword [ebx]
test ebx, ebx
je 0x40a457
push ebx
call fcn.00416c0f
add esp, 4
pop eax
mov ebx, dword [ebp + 0x24]
mov dword [ebx], eax
mov ebx, dword [ebp - 0x1c]
call fcn.00403532
xor ecx, ecx
push eax
lea eax, [ebp - 0xc]
mov ebx, eax
pop eax
inc ecx
push ecx
push ebx
mov dword [ebx], ecx
push eax
cmp ecx, eax
jg 0x40a70d
mov ebx, dword [ebp - 0x1c]
mov ecx, dword [ebx]
inc ecx
shl ecx, 2
add ebx, ecx
push ebx
mov eax, dword [ebp - 0xc]
dec eax
pop ebx
shl eax, 2
add ebx, eax
mov dword [ebp - 0x20], ebx
push reloc.OLEAUT32.dll_SysReAllocString
push 0
push 0
push 0
push 0
push 0
push getpeername
push 0
push str.Location:
push getpeername
push 0
mov ebx, dword [ebp - 0x20]
mov eax, dword [ebx]
test eax, eax
jne 0x40a4c8
mov eax, 0x4fc0be
push eax
push 4
mov ebx, 0x417160
call fcn.00416c27
add esp, 0x34
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0xffffffff
jle 0x40a5af
mov ebx, dword [ebp - 0x1c]
mov ecx, dword [ebx]
inc ecx
shl ecx, 2
add ebx, ecx
push ebx
mov eax, dword [ebp - 0xc]
dec eax
pop ebx
shl eax, 2
add ebx, eax
mov dword [ebp - 0x20], ebx
push reloc.OLEAUT32.dll_SysReAllocString
push 0
push 0
push 0x80000301
push 0
push 1
mov ebx, 6
call fcn.00402f04
push getpeername
push 0
push str.Location:
push getpeername
push 0
mov ebx, dword [ebp - 0x20]
mov eax, dword [ebx]
test eax, eax
jne 0x40a544
mov eax, 0x4fc0be
push eax
push 6
mov ebx, 0x4177c0
call fcn.00416c27
add esp, 0x4c
mov dword [ebp - 0x24], eax
push getpeername
push 0
mov eax, dword [ebp - 0x24]
test eax, eax
jne 0x40a56d
mov eax, 0x4fc0be
push eax
push 1
mov ebx, 0x4176d0
call fcn.00416c27
add esp, 0x10
mov dword [ebp - 0x28], eax
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x40a593
push ebx
call fcn.00416c0f
add esp, 4
mov eax, dword [ebp - 0x28]
push eax
mov ebx, dword [ebp + 0x34]
mov ebx, dword [ebx]
test ebx, ebx
je 0x40a5a9
push ebx
call fcn.00416c0f
add esp, 4
pop eax
mov ebx, dword [ebp + 0x34]
mov dword [ebx], eax
mov ebx, dword [ebp - 0x1c]
mov ecx, dword [ebx]
inc ecx
shl ecx, 2
add ebx, ecx
push ebx
mov eax, dword [ebp - 0xc]
dec eax
pop ebx
shl eax, 2
add ebx, eax
mov dword [ebp - 0x20], ebx
push reloc.OLEAUT32.dll_SysReAllocString
push 0
push 0
push 0
push 0
push 0
push getpeername
push 0
push str.Set_Cookie
push getpeername
push 0
mov ebx, dword [ebp - 0x20]
mov eax, dword [ebx]
test eax, eax
jne 0x40a5fb
mov eax, 0x4fc0be
push eax
push 4
mov ebx, 0x417160
call fcn.00416c27
add esp, 0x34
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0xffffffff
jle 0x40a705
mov ebx, dword [ebp - 0x1c]
mov ecx, dword [ebx]
inc ecx
shl ecx, 2
add ebx, ecx
push ebx
mov eax, dword [ebp - 0xc]
dec eax
pop ebx
shl eax, 2
add ebx, eax
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x24], 0
push 0
push dword [ebp - 0x24]
mov eax, 0x513f8d
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x28]
push eax
mov eax, 0x5141a0
mov dword [ebp - 0x2c], eax
lea eax, [ebp - 0x2c]
push eax
push dword [ebp - 0x20]
call fcn.0040b5af
mov dword [ebp - 0x30], eax
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x40a673
push ebx
call fcn.00416c0f
add esp, 4
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x40a683
push ebx
call fcn.00416c0f
add esp, 4
push getpeername
push 0
mov eax, dword [ebp - 0x30]
test eax, eax
jne 0x40a696
mov eax, 0x4fc0be
push eax
push 1
mov ebx, 0x4176d0
call fcn.00416c27
add esp, 0x10
mov dword [ebp - 0x34], eax
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x40a6bc
push ebx
call fcn.00416c0f
add esp, 4
push 0x5141ac
push dword [ebp - 0x34]
mov ebx, dword [ebp + 0x24]
push dword [ebx]
mov ecx, 3
call fcn.00401096
add esp, 0xc
mov dword [ebp - 0x38], eax
mov ebx, dword [ebp - 0x34]
test ebx, ebx
je 0x40a6e9
push ebx
call fcn.00416c0f
add esp, 4
mov eax, dword [ebp - 0x38]
push eax
mov ebx, dword [ebp + 0x24]
mov ebx, dword [ebx]
test ebx, ebx
je 0x40a6ff
push ebx
call fcn.00416c0f
add esp, 4
pop eax
mov ebx, dword [ebp + 0x24]
mov dword [ebx], eax
pop eax
pop ebx
pop ecx
jmp 0x40a46e
add esp, 0xc
push dword [ebp + 0x24]
push dword [ebp + 0x1c]
call fcn.0040a90c
mov ebx, eax
test ebx, ebx
je 0x40a72a
push ebx
call fcn.00416c0f
add esp, 4
mov dword [ebp - 0x20], 0
push 0
push dword [ebp - 0x20]
push 1
push 1
push dword [ebp + 8]
call fcn.004089cd
mov dword [ebp - 0x24], eax
push dword [ebp + 0x1c]
lea eax, [ebp - 0x24]
push eax
call fcn.0040b800
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x40a764
push ebx
call fcn.00416c0f
add esp, 4
push 0x4fc0be
mov ebx, dword [ebp + 0x34]
push dword [ebx]
call fcn.00401e24
add esp, 8
cmp eax, 0
jne 0x40a7b6
mov ebx, dword [ebp + 0x4c]
mov eax, dword [ebx]
test eax, eax
je 0x40a79d
push eax
mov ebx, eax
call fcn.0040102b
inc eax
push eax
call fcn.00416c15
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
push eax
mov ebx, dword [ebp + 0x34]
mov ebx, dword [ebx]
test ebx, ebx
je 0x40a7b0
push ebx
call fcn.00416c0f
add esp, 4
pop eax
mov ebx, dword [ebp + 0x34]
mov dword [ebx], eax
mov eax, 7
call fcn.00416c33
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x40a7da
push eax
mov eax, dword [eax + 4]
add eax, 8
push eax
call fcn.00416c15
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
jmp 0x40a7df
push eax
mov ebx, dword [ebp - 4]
push ebx
push 0x10030
push 0
push ebx
push 1
mov ebx, 0x41bbb0
call fcn.00416c27
add esp, 0x10
call fcn.00416c0f
add esp, 4
mov ebx, dword [ebp - 8]
push ebx
mov ecx, dword [ebx]
add ebx, 4
test ecx, ecx
je 0x40a821
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x40a81d
imul eax, dword [ebx]
jmp 0x40a812
mov ecx, eax
test ecx, ecx
je 0x40a840
push ecx
mov eax, dword [ebx]
test eax, eax
je 0x40a839
push ebx
push eax
call fcn.00416c0f
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x40a827
call fcn.00416c0f
add esp, 4
mov ebx, dword [ebp - 0x10]
push ebx
mov ecx, dword [ebx]
add ebx, 4
test ecx, ecx
je 0x40a866
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x40a862
imul eax, dword [ebx]
jmp 0x40a857
mov ecx, eax
test ecx, ecx
je 0x40a885
push ecx
mov eax, dword [ebx]
test eax, eax
je 0x40a87e
push ebx
push eax
call fcn.00416c0f
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x40a86c
call fcn.00416c0f
add esp, 4
mov ebx, dword [ebp - 0x14]
push ebx
push 0x10031
push 0
push ebx
push 1
mov ebx, 0x41acc0
call fcn.00416c27
add esp, 0x10
call fcn.00416c0f
add esp, 4
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x40a8c0
push ebx
call fcn.00416c0f
add esp, 4
mov ebx, dword [ebp - 0x1c]
push ebx
mov ecx, dword [ebx]
add ebx, 4
test ecx, ecx
je 0x40a8de
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x40a8da
imul eax, dword [ebx]
jmp 0x40a8cf
mov ecx, eax
test ecx, ecx
je 0x40a8fd
push ecx
mov eax, dword [ebx]
test eax, eax
je 0x40a8f6
push ebx
push eax
call fcn.00416c0f
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x40a8e4
call fcn.00416c0f
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret 0x54