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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
push 8
call fcn.00419144
add esp, 4
mov dword [ebp - 4], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 0
push 8
call fcn.00419144
add esp, 4
mov dword [ebp - 8], eax
mov edi, eax
mov esi, 0x4a4f94
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.00419144
add esp, 4
mov dword [ebp - 0x10], eax
mov edi, eax
mov esi, 0x4a4f94
lodsd eax, dword [esi]
stosd dword es:[edi], eax
lodsd eax, dword [esi]
stosd dword es:[edi], eax
push 0x10
call fcn.00419144
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.00419144
add esp, 4
mov dword [ebp - 0x1c], eax
mov edi, eax
mov esi, 0x4a4f94
lodsd eax, dword [esi]
stosd dword es:[edi], eax
lodsd eax, dword [esi]
stosd dword es:[edi], eax
push 0
mov eax, 3
call fcn.0041914a
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, 0x41cb70
call fcn.00419150
add esp, 0x28
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0
jne 0x4041e7
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, 0x41cb70
call fcn.00419150
add esp, 0x28
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0
jne 0x4041e7
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, 0x41cb70
call fcn.00419150
add esp, 0x28
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0
jne 0x4041e7
mov eax, 0x4a4f94
jmp 0x40511b
push getpeername
push 0
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebx]
test eax, eax
jne 0x4041fc
mov eax, 0x4a4f70
push eax
push 1
mov ebx, 0x4198f0
call fcn.00419150
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 0x404228
push ebx
call fcn.0041913e
add esp, 4
pop eax
mov ebx, dword [ebp + 0xc]
mov dword [ebx], eax
push 0x4a4f70
mov ebx, dword [ebp + 0xc]
push dword [ebx]
call fcn.00401026
add esp, 8
cmp eax, 0
jne 0x404267
mov eax, 0x4a5173
push eax
mov ebx, dword [ebp + 0xc]
mov ebx, dword [ebx]
test ebx, ebx
je 0x404261
push ebx
call fcn.0041913e
add esp, 4
pop eax
mov ebx, dword [ebp + 0xc]
mov dword [ebx], eax
cmp dword [ebp + 0x44], 0xffffffff
je 0x4042f8
cmp dword [ebp + 0x44], 1
jge 0x404287
mov dword [ebp + 0x44], 0x3a98
jmp 0x4042a4
fild dword [ebp + 0x44]
fstp qword [ebp - 0x24]
fld qword [ebp - 0x24]
fmul qword [0x4a51e4]
fstp qword [ebp - 0x2c]
fld qword [ebp - 0x2c]
call fcn.00401477
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 0x4a51ec
push 0x10030
push 0
push dword [ebp - 4]
push 6
mov ebx, 0x41bc00
call fcn.00419150
add esp, 0x4c
push 0x4a4f70
push dword [0x603994]
call fcn.00401026
add esp, 8
cmp eax, 0
je 0x4043bc
push 0xa0000004
push 0
push 0x603994
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, 0x41bc00
call fcn.00419150
add esp, 0x34
push 0x4a4f70
push dword [0x603998]
call fcn.00401026
add esp, 8
cmp eax, 0
je 0x4043bc
push 0xa0000301
push 0
push 0x6039a0
push 0xa0000004
push 0
push 0x60399c
push 0xa0000004
push 0
push 0x603998
push getpeername
push 0
push str.SetProxyCredentials
push 0x10030
push 0
push dword [ebp - 4]
push 5
mov ebx, 0x41bc00
call fcn.00419150
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, 0x41bc00
call fcn.00419150
add esp, 0x40
cmp dword [ebp + 0x3c], 0
je 0x40444e
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, 0x41cac0
call fcn.00419150
add esp, 0x34
push 0x4a4f70
mov ebx, dword [ebp + 0x2c]
push dword [ebx]
call fcn.00401026
add esp, 8
cmp eax, 0
jne 0x4044a4
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.0040192f
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 0x40449e
push ebx
call fcn.0041913e
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.00405248
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.0040586c
mov dword [ebp - 0x2c], eax
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x4044eb
push ebx
call fcn.0041913e
add esp, 4
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x4044fb
push ebx
call fcn.0041913e
add esp, 4
push dword [ebp + 0x1c]
lea eax, [ebp - 0x2c]
push eax
call fcn.00405d56
mov dword [ebp - 0x30], eax
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x40451a
push ebx
call fcn.0041913e
add esp, 4
mov eax, dword [ebp - 0x30]
push eax
mov ebx, dword [ebp + 0x1c]
mov ebx, dword [ebx]
test ebx, ebx
je 0x404530
push ebx
call fcn.0041913e
add esp, 4
pop eax
mov ebx, dword [ebp + 0x1c]
mov dword [ebx], eax
push 0x4a4f70
mov ebx, dword [ebp + 0x1c]
push dword [ebx]
call fcn.00401026
add esp, 8
cmp eax, 0
je 0x40458f
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, 0x41bc00
call fcn.00419150
add esp, 0x34
push reloc.OLEAUT32.dll_SysReAllocString
push 0
push 0
push 0
push 0
push 0
push getpeername
push 0
push 0x4a4f86
push getpeername
push 0
mov ebx, dword [ebp + 0x2c]
mov eax, dword [ebx]
test eax, eax
jne 0x4045c2
mov eax, 0x4a4f70
push eax
push 4
mov ebx, 0x419760
call fcn.00419150
add esp, 0x34
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0xffffffff
jle 0x404924
push 0
push 0
push 0
push getpeername
push 0
push 0x4a4f86
push getpeername
push 0
mov ebx, dword [ebp + 0x2c]
mov eax, dword [ebx]
test eax, eax
jne 0x404609
mov eax, 0x4a4f70
push eax
push 3
mov ebx, 0x41a050
call fcn.00419150
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 0x404641
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x40463d
imul eax, dword [ebx]
jmp 0x404632
mov ecx, eax
test ecx, ecx
je 0x404660
push ecx
mov eax, dword [ebx]
test eax, eax
je 0x404659
push ebx
push eax
call fcn.0041913e
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x404647
call fcn.0041913e
add esp, 4
pop eax
mov dword [ebp - 8], eax
mov ebx, dword [ebp - 8]
call fcn.004010c3
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 0x40491c
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 0x4a5107
push getpeername
push 0
mov ebx, dword [ebp - 0x20]
mov eax, dword [ebx]
test eax, eax
jne 0x4046d7
mov eax, 0x4a4f70
push eax
push 4
mov ebx, 0x419760
call fcn.00419150
add esp, 0x34
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0xffffffff
jle 0x404914
mov ebx, dword [ebp - 0x10]
push ebx
mov ecx, dword [ebx]
add ebx, 4
test ecx, ecx
je 0x404715
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x404711
imul eax, dword [ebx]
jmp 0x404706
mov ecx, eax
test ecx, ecx
je 0x404734
push ecx
mov eax, dword [ebx]
test eax, eax
je 0x40472d
push ebx
push eax
call fcn.0041913e
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x40471b
call fcn.0041913e
add esp, 4
mov eax, 0x4a4f94
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 0x4a5107
push getpeername
push 0
mov ebx, dword [ebp - 0x20]
mov eax, dword [ebx]
test eax, eax
jne 0x404784
mov eax, 0x4a4f70
push eax
push 3
mov ebx, 0x41a050
call fcn.00419150
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 0x4047bc
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x4047b8
imul eax, dword [ebx]
jmp 0x4047ad
mov ecx, eax
test ecx, ecx
je 0x4047db
push ecx
mov eax, dword [ebx]
test eax, eax
je 0x4047d4
push ebx
push eax
call fcn.0041913e
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x4047c2
call fcn.0041913e
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.004010c3
cmp dword [ebp - 0xc], eax
jle 0x404807
jmp 0x404890
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 0x4a5107
mov ebx, dword [ebp - 0x24]
push dword [ebx]
mov ecx, 3
call fcn.0040192f
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 0x404885
push ebx
call fcn.0041913e
add esp, 4
pop eax
mov ebx, dword [ebp - 0x20]
mov dword [ebx], eax
jmp 0x4047ee
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 0x4048d5
mov eax, 0x4a4f70
push eax
push getpeername
push 0
mov ebx, dword [ebp - 0x20]
mov eax, dword [ebx]
test eax, eax
jne 0x4048eb
mov eax, 0x4a4f70
push eax
push getpeername
push 0
push str.SetRequestHeader
push 0x10030
push 0
push dword [ebp - 4]
push 4
mov ebx, 0x41bc00
call fcn.00419150
add esp, 0x34
pop eax
pop ebx
pop ecx
jmp 0x40467d
add esp, 0xc
jmp 0x404b2e
push reloc.OLEAUT32.dll_SysReAllocString
push 0
push 0
push 0
push 0
push 0
push getpeername
push 0
push 0x4a5107
push getpeername
push 0
mov ebx, dword [ebp + 0x2c]
mov eax, dword [ebx]
test eax, eax
jne 0x404957
mov eax, 0x4a4f70
push eax
push 4
mov ebx, 0x419760
call fcn.00419150
add esp, 0x34
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0xffffffff
jle 0x404b2e
push 0
push 0
push 0
push getpeername
push 0
push 0x4a5107
push getpeername
push 0
mov ebx, dword [ebp + 0x2c]
mov eax, dword [ebx]
test eax, eax
jne 0x40499e
mov eax, 0x4a4f70
push eax
push 3
mov ebx, 0x41a050
call fcn.00419150
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 0x4049d6
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x4049d2
imul eax, dword [ebx]
jmp 0x4049c7
mov ecx, eax
test ecx, ecx
je 0x4049f5
push ecx
mov eax, dword [ebx]
test eax, eax
je 0x4049ee
push ebx
push eax
call fcn.0041913e
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x4049dc
call fcn.0041913e
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.004010c3
cmp dword [ebp - 0xc], eax
jle 0x404a21
jmp 0x404aaa
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 0x4a5107
mov ebx, dword [ebp - 0x24]
push dword [ebx]
mov ecx, 3
call fcn.0040192f
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 0x404a9f
push ebx
call fcn.0041913e
add esp, 4
pop eax
mov ebx, dword [ebp - 0x20]
mov dword [ebx], eax
jmp 0x404a08
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 0x404aef
mov eax, 0x4a4f70
push eax
push getpeername
push 0
mov ebx, dword [ebp - 0x20]
mov eax, dword [ebx]
test eax, eax
jne 0x404b05
mov eax, 0x4a4f70
push eax
push getpeername
push 0
push str.SetRequestHeader
push 0x10030
push 0
push dword [ebp - 4]
push 4
mov ebx, 0x41bc00
call fcn.00419150
add esp, 0x34
mov eax, 0x4a4f94
xor ecx, ecx
test eax, eax
je 0x404b3c
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 0x404b4f
mov ebx, dword [eax + 4]
add eax, 8
push eax
cmp ebx, ecx
mov eax, 1
jne 0x404b66
dec eax
test ecx, ecx
je 0x404b66
call fcn.00403dcb
add esp, 0xc
test eax, eax
jne 0x404ba8
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, 0x41bc00
call fcn.00419150
add esp, 0x28
jmp 0x404c13
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 0x404bc3
mov eax, 0x4a4f94
push eax
push 0x10031
push 0
push dword [ebp - 0x14]
push 3
mov ebx, 0x41c600
call fcn.00419150
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, 0x41bc00
call fcn.00419150
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, 0x41bbd0
call fcn.00419150
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, 0x41bc50
call fcn.00419150
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, 0x41bc30
call fcn.00419150
add esp, 0x10
call fcn.0041913e
add esp, 4
mov eax, dword [ebp - 0x24]
push eax
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x404ca0
push ebx
call fcn.0041913e
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, 0x41bba0
call fcn.00419150
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 0x404ceb
push ebx
call fcn.0041913e
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 0x4a4f86
push getpeername
push 0
mov ebx, dword [ebp + 0x4c]
mov eax, dword [ebx]
test eax, eax
jne 0x404d18
mov eax, 0x4a4f70
push eax
push 3
mov ebx, 0x41a050
call fcn.00419150
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 0x404d50
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x404d4c
imul eax, dword [ebx]
jmp 0x404d41
mov ecx, eax
test ecx, ecx
je 0x404d6f
push ecx
mov eax, dword [ebx]
test eax, eax
je 0x404d68
push ebx
push eax
call fcn.0041913e
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x404d56
call fcn.0041913e
add esp, 4
pop eax
mov dword [ebp - 0x1c], eax
mov eax, 0x4a4f70
push eax
mov ebx, dword [ebp + 0x24]
mov ebx, dword [ebx]
test ebx, ebx
je 0x404d93
push ebx
call fcn.0041913e
add esp, 4
pop eax
mov ebx, dword [ebp + 0x24]
mov dword [ebx], eax
mov ebx, dword [ebp - 0x1c]
call fcn.004010c3
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 0x405049
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 0x404e04
mov eax, 0x4a4f70
push eax
push 4
mov ebx, 0x419760
call fcn.00419150
add esp, 0x34
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0xffffffff
jle 0x404eeb
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.0040405a
push getpeername
push 0
push str.Location:
push getpeername
push 0
mov ebx, dword [ebp - 0x20]
mov eax, dword [ebx]
test eax, eax
jne 0x404e80
mov eax, 0x4a4f70
push eax
push 6
mov ebx, 0x419e60
call fcn.00419150
add esp, 0x4c
mov dword [ebp - 0x24], eax
push getpeername
push 0
mov eax, dword [ebp - 0x24]
test eax, eax
jne 0x404ea9
mov eax, 0x4a4f70
push eax
push 1
mov ebx, 0x419d90
call fcn.00419150
add esp, 0x10
mov dword [ebp - 0x28], eax
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x404ecf
push ebx
call fcn.0041913e
add esp, 4
mov eax, dword [ebp - 0x28]
push eax
mov ebx, dword [ebp + 0x34]
mov ebx, dword [ebx]
test ebx, ebx
je 0x404ee5
push ebx
call fcn.0041913e
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 0x404f37
mov eax, 0x4a4f70
push eax
push 4
mov ebx, 0x419760
call fcn.00419150
add esp, 0x34
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0xffffffff
jle 0x405041
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, 0x4a50fb
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x28]
push eax
mov eax, str.Set_Cookie:
mov dword [ebp - 0x2c], eax
lea eax, [ebp - 0x2c]
push eax
push dword [ebp - 0x20]
call fcn.004069f9
mov dword [ebp - 0x30], eax
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x404faf
push ebx
call fcn.0041913e
add esp, 4
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x404fbf
push ebx
call fcn.0041913e
add esp, 4
push getpeername
push 0
mov eax, dword [ebp - 0x30]
test eax, eax
jne 0x404fd2
mov eax, 0x4a4f70
push eax
push 1
mov ebx, 0x419d90
call fcn.00419150
add esp, 0x10
mov dword [ebp - 0x34], eax
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x404ff8
push ebx
call fcn.0041913e
add esp, 4
push 0x4a5330
push dword [ebp - 0x34]
mov ebx, dword [ebp + 0x24]
push dword [ebx]
mov ecx, 3
call fcn.0040192f
add esp, 0xc
mov dword [ebp - 0x38], eax
mov ebx, dword [ebp - 0x34]
test ebx, ebx
je 0x405025
push ebx
call fcn.0041913e
add esp, 4
mov eax, dword [ebp - 0x38]
push eax
mov ebx, dword [ebp + 0x24]
mov ebx, dword [ebx]
test ebx, ebx
je 0x40503b
push ebx
call fcn.0041913e
add esp, 4
pop eax
mov ebx, dword [ebp + 0x24]
mov dword [ebx], eax
pop eax
pop ebx
pop ecx
jmp 0x404daa
add esp, 0xc
push dword [ebp + 0x24]
push dword [ebp + 0x1c]
call fcn.00405d56
mov ebx, eax
test ebx, ebx
je 0x405066
push ebx
call fcn.0041913e
add esp, 4
mov dword [ebp - 0x20], 0
push 0
push dword [ebp - 0x20]
push 1
push 1
push dword [ebp + 8]
call fcn.00405248
mov dword [ebp - 0x24], eax
push dword [ebp + 0x1c]
lea eax, [ebp - 0x24]
push eax
call fcn.00406c4a
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x4050a0
push ebx
call fcn.0041913e
add esp, 4
push 0x4a4f70
mov ebx, dword [ebp + 0x34]
push dword [ebx]
call fcn.00401026
add esp, 8
cmp eax, 0
jne 0x4050f2
mov ebx, dword [ebp + 0x4c]
mov eax, dword [ebx]
test eax, eax
je 0x4050d9
push eax
mov ebx, eax
call fcn.004018c4
inc eax
push eax
call fcn.00419144
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 0x4050ec
push ebx
call fcn.0041913e
add esp, 4
pop eax
mov ebx, dword [ebp + 0x34]
mov dword [ebx], eax
mov eax, 4
call fcn.0041914a
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x405116
push eax
mov eax, dword [eax + 4]
add eax, 8
push eax
call fcn.00419144
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
jmp 0x40511b
push eax
mov ebx, dword [ebp - 4]
push ebx
push 0x10030
push 0
push ebx
push 1
mov ebx, 0x41cb60
call fcn.00419150
add esp, 0x10
call fcn.0041913e
add esp, 4
mov ebx, dword [ebp - 8]
push ebx
mov ecx, dword [ebx]
add ebx, 4
test ecx, ecx
je 0x40515d
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x405159
imul eax, dword [ebx]
jmp 0x40514e
mov ecx, eax
test ecx, ecx
je 0x40517c
push ecx
mov eax, dword [ebx]
test eax, eax
je 0x405175
push ebx
push eax
call fcn.0041913e
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x405163
call fcn.0041913e
add esp, 4
mov ebx, dword [ebp - 0x10]
push ebx
mov ecx, dword [ebx]
add ebx, 4
test ecx, ecx
je 0x4051a2
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x40519e
imul eax, dword [ebx]
jmp 0x405193
mov ecx, eax
test ecx, ecx
je 0x4051c1
push ecx
mov eax, dword [ebx]
test eax, eax
je 0x4051ba
push ebx
push eax
call fcn.0041913e
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x4051a8
call fcn.0041913e
add esp, 4
mov ebx, dword [ebp - 0x14]
push ebx
push 0x10031
push 0
push ebx
push 1
mov ebx, 0x41bc30
call fcn.00419150
add esp, 0x10
call fcn.0041913e
add esp, 4
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x4051fc
push ebx
call fcn.0041913e
add esp, 4
mov ebx, dword [ebp - 0x1c]
push ebx
mov ecx, dword [ebx]
add ebx, 4
test ecx, ecx
je 0x40521a
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x405216
imul eax, dword [ebx]
jmp 0x40520b
mov ecx, eax
test ecx, ecx
je 0x405239
push ecx
mov eax, dword [ebx]
test eax, eax
je 0x405232
push ebx
push eax
call fcn.0041913e
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x405220
call fcn.0041913e
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret 0x54