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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
push 8
call fcn.00413c50
add esp, 4
mov dword [ebp - 4], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 0
push 8
call fcn.00413c50
add esp, 4
mov dword [ebp - 8], eax
mov edi, eax
mov esi, 0x48fcf9
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.00413c50
add esp, 4
mov dword [ebp - 0x10], eax
mov edi, eax
mov esi, 0x48fcf9
lodsd eax, dword [esi]
stosd dword es:[edi], eax
lodsd eax, dword [esi]
stosd dword es:[edi], eax
push 0x10
call fcn.00413c50
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.00413c50
add esp, 4
mov dword [ebp - 0x1c], eax
mov edi, eax
mov esi, 0x48fcf9
lodsd eax, dword [esi]
stosd dword es:[edi], eax
lodsd eax, dword [esi]
stosd dword es:[edi], eax
mov dword [ebp - 0x20], esp
push 0
mov eax, 0
call fcn.00413c5c
cmp dword [ebp - 0x20], esp
je 0x40dcd7
push 6
call fcn.00413c56
add esp, 4
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, 0x417320
call fcn.00413c4a
add esp, 0x28
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0
jne 0x40dd1c
mov eax, 0x48fcf9
jmp 0x40edd9
push getpeername
push 0
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebx]
test eax, eax
jne 0x40dd31
mov eax, 0x48fcf8
push eax
push 1
mov ebx, 0x414480
call fcn.00413c4a
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 0x40dd5d
push ebx
call fcn.00413c44
add esp, 4
pop eax
mov ebx, dword [ebp + 0xc]
mov dword [ebx], eax
push 0x48fcf8
mov ebx, dword [ebp + 0xc]
push dword [ebx]
call fcn.0040303d
add esp, 8
cmp eax, 0
jne 0x40dd9c
mov eax, 0x48fe1e
push eax
mov ebx, dword [ebp + 0xc]
mov ebx, dword [ebx]
test ebx, ebx
je 0x40dd96
push ebx
call fcn.00413c44
add esp, 4
pop eax
mov ebx, dword [ebp + 0xc]
mov dword [ebx], eax
cmp dword [ebp + 0x44], 0xffffffff
je 0x40de2d
cmp dword [ebp + 0x44], 1
jge 0x40ddbc
mov dword [ebp + 0x44], 0x3a98
jmp 0x40ddd9
fild dword [ebp + 0x44]
fstp qword [ebp - 0x24]
fld qword [ebp - 0x24]
fmul qword [0x48fe22]
fstp qword [ebp - 0x2c]
fld qword [ebp - 0x2c]
call fcn.004030da
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 0x48fe2a
push 0x10030
push 0
push dword [ebp - 4]
push 6
mov ebx, 0x416330
call fcn.00413c4a
add esp, 0x4c
push 0x48fcf8
push dword [0x4cf344]
call fcn.0040303d
add esp, 8
cmp eax, 0
je 0x40def1
push 0xa0000004
push 0
push 0x4cf344
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, 0x416330
call fcn.00413c4a
add esp, 0x34
push 0x48fcf8
push dword [0x4cf348]
call fcn.0040303d
add esp, 8
cmp eax, 0
je 0x40def1
push 0xa0000301
push 0
push 0x4cf350
push 0xa0000004
push 0
push 0x4cf34c
push 0xa0000004
push 0
push 0x4cf348
push getpeername
push 0
push str.SetProxyCredentials
push 0x10030
push 0
push dword [ebp - 4]
push 5
mov ebx, 0x416330
call fcn.00413c4a
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 str.Open
push 0x10030
push 0
push dword [ebp - 4]
push 5
mov ebx, 0x416330
call fcn.00413c4a
add esp, 0x40
cmp dword [ebp + 0x3c], 0
je 0x40df83
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, 0x417220
call fcn.00413c4a
add esp, 0x34
push 0x48fcf8
mov ebx, dword [ebp + 0x2c]
push dword [ebx]
call fcn.0040303d
add esp, 8
cmp eax, 0
jne 0x40dfd9
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.00403174
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 0x40dfd3
push ebx
call fcn.00413c44
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.0040ef06
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.0040f568
mov dword [ebp - 0x2c], eax
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x40e020
push ebx
call fcn.00413c44
add esp, 4
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x40e030
push ebx
call fcn.00413c44
add esp, 4
push dword [ebp + 0x1c]
lea eax, [ebp - 0x2c]
push eax
call fcn.004058d7
mov dword [ebp - 0x30], eax
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x40e04f
push ebx
call fcn.00413c44
add esp, 4
mov eax, dword [ebp - 0x30]
push eax
mov ebx, dword [ebp + 0x1c]
mov ebx, dword [ebx]
test ebx, ebx
je 0x40e065
push ebx
call fcn.00413c44
add esp, 4
pop eax
mov ebx, dword [ebp + 0x1c]
mov dword [ebx], eax
push 0x48fcf8
mov ebx, dword [ebp + 0x1c]
push dword [ebx]
call fcn.0040303d
add esp, 8
cmp eax, 0
je 0x40e0c4
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, 0x416330
call fcn.00413c4a
add esp, 0x34
push reloc.OLEAUT32.dll_SysReAllocString
push 0
push 0
push 0
push 0
push 0
push getpeername
push 0
push 0x48fd01
push getpeername
push 0
mov ebx, dword [ebp + 0x2c]
mov eax, dword [ebx]
test eax, eax
jne 0x40e0f7
mov eax, 0x48fcf8
push eax
push 4
mov ebx, 0x4142d0
call fcn.00413c4a
add esp, 0x34
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0xffffffff
jle 0x40e4ee
push 0
push 0
push 0
push getpeername
push 0
push 0x48fd01
push getpeername
push 0
mov ebx, dword [ebp + 0x2c]
mov eax, dword [ebx]
test eax, eax
jne 0x40e13e
mov eax, 0x48fcf8
push eax
push 3
mov ebx, 0x414c00
call fcn.00413c4a
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 0x40e176
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x40e172
imul eax, dword [ebx]
jmp 0x40e167
mov ecx, eax
test ecx, ecx
je 0x40e195
push ecx
mov eax, dword [ebx]
test eax, eax
je 0x40e18e
push ebx
push eax
call fcn.00413c44
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x40e17c
call fcn.00413c44
add esp, 4
pop eax
mov dword [ebp - 8], eax
mov ebx, dword [ebp - 8]
call fcn.00403004
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 0x40e4e6
mov ebx, dword [ebp - 8]
call fcn.0040301d
push ebx
push ecx
mov eax, dword [ebp - 0xc]
dec eax
jns 0x40e1dd
push 4
call fcn.00413c56
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x40e1f0
push 1
call fcn.00413c56
add esp, 4
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 0x48ff25
push getpeername
push 0
mov ebx, dword [ebp - 0x20]
mov eax, dword [ebx]
test eax, eax
jne 0x40e22b
mov eax, 0x48fcf8
push eax
push 4
mov ebx, 0x4142d0
call fcn.00413c4a
add esp, 0x34
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0xffffffff
jle 0x40e4de
mov ebx, dword [ebp - 0x10]
push ebx
mov ecx, dword [ebx]
add ebx, 4
test ecx, ecx
je 0x40e269
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x40e265
imul eax, dword [ebx]
jmp 0x40e25a
mov ecx, eax
test ecx, ecx
je 0x40e288
push ecx
mov eax, dword [ebx]
test eax, eax
je 0x40e281
push ebx
push eax
call fcn.00413c44
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x40e26f
call fcn.00413c44
add esp, 4
mov eax, 0x48fcf9
mov dword [ebp - 0x10], eax
mov ebx, dword [ebp - 8]
call fcn.0040301d
push ebx
push ecx
mov eax, dword [ebp - 0xc]
dec eax
jns 0x40e2b5
push 4
call fcn.00413c56
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x40e2c8
push 1
call fcn.00413c56
add esp, 4
shl eax, 2
add ebx, eax
mov dword [ebp - 0x20], ebx
push 0
push 0
push 0
push getpeername
push 0
push 0x48ff25
push getpeername
push 0
mov ebx, dword [ebp - 0x20]
mov eax, dword [ebx]
test eax, eax
jne 0x40e2f7
mov eax, 0x48fcf8
push eax
push 3
mov ebx, 0x414c00
call fcn.00413c4a
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 0x40e32f
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x40e32b
imul eax, dword [ebx]
jmp 0x40e320
mov ecx, eax
test ecx, ecx
je 0x40e34e
push ecx
mov eax, dword [ebx]
test eax, eax
je 0x40e347
push ebx
push eax
call fcn.00413c44
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x40e335
call fcn.00413c44
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.00403004
cmp dword [ebp - 0xc], eax
jle 0x40e37a
jmp 0x40e43e
mov ebx, dword [ebp - 0x10]
call fcn.0040301d
mov eax, 1
cmp eax, ecx
jl 0x40e398
push 1
call fcn.00413c56
add esp, 4
shl eax, 2
add ebx, eax
mov dword [ebp - 0x20], ebx
mov ebx, dword [ebp - 0x10]
call fcn.0040301d
mov eax, 1
cmp eax, ecx
jl 0x40e3be
push 1
call fcn.00413c56
add esp, 4
shl eax, 2
add ebx, eax
mov dword [ebp - 0x24], ebx
mov ebx, dword [ebp - 0x10]
call fcn.0040301d
push ebx
push ecx
mov eax, dword [ebp - 0xc]
dec eax
jns 0x40e3e3
push 4
call fcn.00413c56
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x40e3f6
push 1
call fcn.00413c56
add esp, 4
shl eax, 2
add ebx, eax
mov dword [ebp - 0x28], ebx
mov ebx, dword [ebp - 0x28]
push dword [ebx]
push 0x48ff25
mov ebx, dword [ebp - 0x24]
push dword [ebx]
mov ecx, 3
call fcn.00403174
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 0x40e433
push ebx
call fcn.00413c44
add esp, 4
pop eax
mov ebx, dword [ebp - 0x20]
mov dword [ebx], eax
jmp 0x40e361
mov ebx, dword [ebp - 0x10]
call fcn.0040301d
mov eax, 0
cmp eax, ecx
jl 0x40e45c
push 1
call fcn.00413c56
add esp, 4
shl eax, 2
add ebx, eax
mov dword [ebp - 0x20], ebx
mov ebx, dword [ebp - 0x10]
call fcn.0040301d
mov eax, 1
cmp eax, ecx
jl 0x40e482
push 1
call fcn.00413c56
add esp, 4
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 0x40e49f
mov eax, 0x48fcf8
push eax
push getpeername
push 0
mov ebx, dword [ebp - 0x20]
mov eax, dword [ebx]
test eax, eax
jne 0x40e4b5
mov eax, 0x48fcf8
push eax
push getpeername
push 0
push str.SetRequestHeader
push 0x10030
push 0
push dword [ebp - 4]
push 4
mov ebx, 0x416330
call fcn.00413c4a
add esp, 0x34
pop eax
pop ebx
pop ecx
jmp 0x40e1b2
add esp, 0xc
jmp 0x40e74f
push reloc.OLEAUT32.dll_SysReAllocString
push 0
push 0
push 0
push 0
push 0
push getpeername
push 0
push 0x48ff25
push getpeername
push 0
mov ebx, dword [ebp + 0x2c]
mov eax, dword [ebx]
test eax, eax
jne 0x40e521
mov eax, 0x48fcf8
push eax
push 4
mov ebx, 0x4142d0
call fcn.00413c4a
add esp, 0x34
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0xffffffff
jle 0x40e74f
push 0
push 0
push 0
push getpeername
push 0
push 0x48ff25
push getpeername
push 0
mov ebx, dword [ebp + 0x2c]
mov eax, dword [ebx]
test eax, eax
jne 0x40e568
mov eax, 0x48fcf8
push eax
push 3
mov ebx, 0x414c00
call fcn.00413c4a
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 0x40e5a0
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x40e59c
imul eax, dword [ebx]
jmp 0x40e591
mov ecx, eax
test ecx, ecx
je 0x40e5bf
push ecx
mov eax, dword [ebx]
test eax, eax
je 0x40e5b8
push ebx
push eax
call fcn.00413c44
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x40e5a6
call fcn.00413c44
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.00403004
cmp dword [ebp - 0xc], eax
jle 0x40e5eb
jmp 0x40e6af
mov ebx, dword [ebp - 0x10]
call fcn.0040301d
mov eax, 1
cmp eax, ecx
jl 0x40e609
push 1
call fcn.00413c56
add esp, 4
shl eax, 2
add ebx, eax
mov dword [ebp - 0x20], ebx
mov ebx, dword [ebp - 0x10]
call fcn.0040301d
mov eax, 1
cmp eax, ecx
jl 0x40e62f
push 1
call fcn.00413c56
add esp, 4
shl eax, 2
add ebx, eax
mov dword [ebp - 0x24], ebx
mov ebx, dword [ebp - 0x10]
call fcn.0040301d
push ebx
push ecx
mov eax, dword [ebp - 0xc]
dec eax
jns 0x40e654
push 4
call fcn.00413c56
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x40e667
push 1
call fcn.00413c56
add esp, 4
shl eax, 2
add ebx, eax
mov dword [ebp - 0x28], ebx
mov ebx, dword [ebp - 0x28]
push dword [ebx]
push 0x48ff25
mov ebx, dword [ebp - 0x24]
push dword [ebx]
mov ecx, 3
call fcn.00403174
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 0x40e6a4
push ebx
call fcn.00413c44
add esp, 4
pop eax
mov ebx, dword [ebp - 0x20]
mov dword [ebx], eax
jmp 0x40e5d2
mov ebx, dword [ebp - 0x10]
call fcn.0040301d
mov eax, 0
cmp eax, ecx
jl 0x40e6cd
push 1
call fcn.00413c56
add esp, 4
shl eax, 2
add ebx, eax
mov dword [ebp - 0x20], ebx
mov ebx, dword [ebp - 0x10]
call fcn.0040301d
mov eax, 1
cmp eax, ecx
jl 0x40e6f3
push 1
call fcn.00413c56
add esp, 4
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 0x40e710
mov eax, 0x48fcf8
push eax
push getpeername
push 0
mov ebx, dword [ebp - 0x20]
mov eax, dword [ebx]
test eax, eax
jne 0x40e726
mov eax, 0x48fcf8
push eax
push getpeername
push 0
push str.SetRequestHeader
push 0x10030
push 0
push dword [ebp - 4]
push 4
mov ebx, 0x416330
call fcn.00413c4a
add esp, 0x34
mov eax, 0x48fcf9
xor ecx, ecx
test eax, eax
je 0x40e75d
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 0x40e770
mov ebx, dword [eax + 4]
add eax, 8
push eax
cmp ebx, ecx
mov eax, 1
jne 0x40e787
dec eax
test ecx, ecx
je 0x40e787
call fcn.004041fb
add esp, 0xc
test eax, eax
jne 0x40e7c9
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, 0x416330
call fcn.00413c4a
add esp, 0x28
jmp 0x40e834
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 0x40e7e4
mov eax, 0x48fcf9
push eax
push 0x10031
push 0
push dword [ebp - 0x14]
push 3
mov ebx, 0x416db0
call fcn.00413c4a
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, 0x416330
call fcn.00413c4a
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, 0x416300
call fcn.00413c4a
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, 0x416400
call fcn.00413c4a
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, 0x4163c0
call fcn.00413c4a
add esp, 0x10
call fcn.00413c44
add esp, 4
mov eax, dword [ebp - 0x24]
push eax
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x40e8c1
push ebx
call fcn.00413c44
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, 0x416270
call fcn.00413c4a
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 0x40e90c
push ebx
call fcn.00413c44
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 0x48fd01
push getpeername
push 0
mov ebx, dword [ebp + 0x4c]
mov eax, dword [ebx]
test eax, eax
jne 0x40e939
mov eax, 0x48fcf8
push eax
push 3
mov ebx, 0x414c00
call fcn.00413c4a
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 0x40e971
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x40e96d
imul eax, dword [ebx]
jmp 0x40e962
mov ecx, eax
test ecx, ecx
je 0x40e990
push ecx
mov eax, dword [ebx]
test eax, eax
je 0x40e989
push ebx
push eax
call fcn.00413c44
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x40e977
call fcn.00413c44
add esp, 4
pop eax
mov dword [ebp - 0x1c], eax
mov eax, 0x48fcf8
push eax
mov ebx, dword [ebp + 0x24]
mov ebx, dword [ebx]
test ebx, ebx
je 0x40e9b4
push ebx
call fcn.00413c44
add esp, 4
pop eax
mov ebx, dword [ebp + 0x24]
mov dword [ebx], eax
mov ebx, dword [ebp - 0x1c]
call fcn.00403004
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 0x40ecf2
mov ebx, dword [ebp - 0x1c]
call fcn.0040301d
push ebx
push ecx
mov eax, dword [ebp - 0xc]
dec eax
jns 0x40e9f6
push 4
call fcn.00413c56
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x40ea09
push 1
call fcn.00413c56
add esp, 4
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 0x40ea44
mov eax, 0x48fcf8
push eax
push 4
mov ebx, 0x4142d0
call fcn.00413c4a
add esp, 0x34
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0xffffffff
jle 0x40eb4a
mov ebx, dword [ebp - 0x1c]
call fcn.0040301d
push ebx
push ecx
mov eax, dword [ebp - 0xc]
dec eax
jns 0x40ea81
push 4
call fcn.00413c56
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x40ea94
push 1
call fcn.00413c56
add esp, 4
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.00403101
push getpeername
push 0
push str.Location:
push getpeername
push 0
mov ebx, dword [ebp - 0x20]
mov eax, dword [ebx]
test eax, eax
jne 0x40eadf
mov eax, 0x48fcf8
push eax
push 6
mov ebx, 0x414a10
call fcn.00413c4a
add esp, 0x4c
mov dword [ebp - 0x24], eax
push getpeername
push 0
mov eax, dword [ebp - 0x24]
test eax, eax
jne 0x40eb08
mov eax, 0x48fcf8
push eax
push 1
mov ebx, 0x414920
call fcn.00413c4a
add esp, 0x10
mov dword [ebp - 0x28], eax
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x40eb2e
push ebx
call fcn.00413c44
add esp, 4
mov eax, dword [ebp - 0x28]
push eax
mov ebx, dword [ebp + 0x34]
mov ebx, dword [ebx]
test ebx, ebx
je 0x40eb44
push ebx
call fcn.00413c44
add esp, 4
pop eax
mov ebx, dword [ebp + 0x34]
mov dword [ebx], eax
mov ebx, dword [ebp - 0x1c]
call fcn.0040301d
push ebx
push ecx
mov eax, dword [ebp - 0xc]
dec eax
jns 0x40eb67
push 4
call fcn.00413c56
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x40eb7a
push 1
call fcn.00413c56
add esp, 4
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 0x40ebb5
mov eax, 0x48fcf8
push eax
push 4
mov ebx, 0x4142d0
call fcn.00413c4a
add esp, 0x34
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0xffffffff
jle 0x40ecea
mov ebx, dword [ebp - 0x1c]
call fcn.0040301d
push ebx
push ecx
mov eax, dword [ebp - 0xc]
dec eax
jns 0x40ebf2
push 4
call fcn.00413c56
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x40ec05
push 1
call fcn.00413c56
add esp, 4
shl eax, 2
add ebx, eax
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x24], 0
push 0
push dword [ebp - 0x24]
mov dword [ebp - 0x28], 0
push 0
push dword [ebp - 0x28]
mov eax, 0x48ff64
mov dword [ebp - 0x2c], eax
lea eax, [ebp - 0x2c]
push eax
mov eax, 0x48ff66
mov dword [ebp - 0x30], eax
lea eax, [ebp - 0x30]
push eax
push dword [ebp - 0x20]
call fcn.004054e9
mov dword [ebp - 0x34], eax
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x40ec58
push ebx
call fcn.00413c44
add esp, 4
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x40ec68
push ebx
call fcn.00413c44
add esp, 4
push getpeername
push 0
mov eax, dword [ebp - 0x34]
test eax, eax
jne 0x40ec7b
mov eax, 0x48fcf8
push eax
push 1
mov ebx, 0x414920
call fcn.00413c4a
add esp, 0x10
mov dword [ebp - 0x38], eax
mov ebx, dword [ebp - 0x34]
test ebx, ebx
je 0x40eca1
push ebx
call fcn.00413c44
add esp, 4
push 0x48ff72
push dword [ebp - 0x38]
mov ebx, dword [ebp + 0x24]
push dword [ebx]
mov ecx, 3
call fcn.00403174
add esp, 0xc
mov dword [ebp - 0x3c], eax
mov ebx, dword [ebp - 0x38]
test ebx, ebx
je 0x40ecce
push ebx
call fcn.00413c44
add esp, 4
mov eax, dword [ebp - 0x3c]
push eax
mov ebx, dword [ebp + 0x24]
mov ebx, dword [ebx]
test ebx, ebx
je 0x40ece4
push ebx
call fcn.00413c44
add esp, 4
pop eax
mov ebx, dword [ebp + 0x24]
mov dword [ebx], eax
pop eax
pop ebx
pop ecx
jmp 0x40e9cb
add esp, 0xc
push dword [ebp + 0x24]
push dword [ebp + 0x1c]
call fcn.004058d7
mov ebx, eax
test ebx, ebx
je 0x40ed0f
push ebx
call fcn.00413c44
add esp, 4
mov dword [ebp - 0x20], 0
push 0
push dword [ebp - 0x20]
push 1
push 1
push dword [ebp + 8]
call fcn.0040ef06
mov dword [ebp - 0x24], eax
push dword [ebp + 0x1c]
lea eax, [ebp - 0x24]
push eax
call fcn.0040fa7c
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x40ed49
push ebx
call fcn.00413c44
add esp, 4
push 0x48fcf8
mov ebx, dword [ebp + 0x34]
push dword [ebx]
call fcn.0040303d
add esp, 8
cmp eax, 0
jne 0x40ed9b
mov ebx, dword [ebp + 0x4c]
mov eax, dword [ebx]
test eax, eax
je 0x40ed82
push eax
mov ebx, eax
call fcn.00403109
inc eax
push eax
call fcn.00413c50
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 0x40ed95
push ebx
call fcn.00413c44
add esp, 4
pop eax
mov ebx, dword [ebp + 0x34]
mov dword [ebx], eax
mov dword [ebp - 0x20], esp
mov eax, 1
call fcn.00413c5c
cmp dword [ebp - 0x20], esp
je 0x40edba
push 6
call fcn.00413c56
add esp, 4
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x40edd4
push eax
mov eax, dword [eax + 4]
add eax, 8
push eax
call fcn.00413c50
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
jmp 0x40edd9
push eax
mov ebx, dword [ebp - 4]
push ebx
push 0x10030
push 0
push ebx
push 1
mov ebx, 0x4172f0
call fcn.00413c4a
add esp, 0x10
call fcn.00413c44
add esp, 4
mov ebx, dword [ebp - 8]
push ebx
mov ecx, dword [ebx]
add ebx, 4
test ecx, ecx
je 0x40ee1b
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x40ee17
imul eax, dword [ebx]
jmp 0x40ee0c
mov ecx, eax
test ecx, ecx
je 0x40ee3a
push ecx
mov eax, dword [ebx]
test eax, eax
je 0x40ee33
push ebx
push eax
call fcn.00413c44
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x40ee21
call fcn.00413c44
add esp, 4
mov ebx, dword [ebp - 0x10]
push ebx
mov ecx, dword [ebx]
add ebx, 4
test ecx, ecx
je 0x40ee60
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x40ee5c
imul eax, dword [ebx]
jmp 0x40ee51
mov ecx, eax
test ecx, ecx
je 0x40ee7f
push ecx
mov eax, dword [ebx]
test eax, eax
je 0x40ee78
push ebx
push eax
call fcn.00413c44
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x40ee66
call fcn.00413c44
add esp, 4
mov ebx, dword [ebp - 0x14]
push ebx
push 0x10031
push 0
push ebx
push 1
mov ebx, 0x4163c0
call fcn.00413c4a
add esp, 0x10
call fcn.00413c44
add esp, 4
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x40eeba
push ebx
call fcn.00413c44
add esp, 4
mov ebx, dword [ebp - 0x1c]
push ebx
mov ecx, dword [ebx]
add ebx, 4
test ecx, ecx
je 0x40eed8
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x40eed4
imul eax, dword [ebx]
jmp 0x40eec9
mov ecx, eax
test ecx, ecx
je 0x40eef7
push ecx
mov eax, dword [ebx]
test eax, eax
je 0x40eef0
push ebx
push eax
call fcn.00413c44
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x40eede
call fcn.00413c44
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret 0x54