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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
push 8
call fcn.0041c8a2
add esp, 4
mov dword [ebp - 4], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 0
push 8
call fcn.0041c8a2
add esp, 4
mov dword [ebp - 8], eax
mov edi, eax
mov esi, 0x44520a
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.0041c8a2
add esp, 4
mov dword [ebp - 0x10], eax
mov edi, eax
mov esi, 0x44520a
lodsd eax, dword [esi]
stosd dword es:[edi], eax
lodsd eax, dword [esi]
stosd dword es:[edi], eax
push 0x10
call fcn.0041c8a2
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.0041c8a2
add esp, 4
mov dword [ebp - 0x1c], eax
mov edi, eax
mov esi, 0x44520a
lodsd eax, dword [esi]
stosd dword es:[edi], eax
lodsd eax, dword [esi]
stosd dword es:[edi], eax
push 0
call dword [sym.imp.ole32.dll_CoInitialize]
nop
nop
nop
nop
push 0
push 0
push 0
push reloc.WS2_32.dll_connect
push 0
push str.WinHttp.WinHttpRequest.5.1
push 0x10030
push 0
push dword [ebp - 4]
push 3
mov ebx, 0x91c
call fcn.0041dc70
add esp, 0x28
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0
jne 0x402c7e
push 0
push 0
push 0
push reloc.WS2_32.dll_connect
push 0
push str.MSXML2.ServerXMLHTTP.6.0
push 0x10030
push 0
push dword [ebp - 4]
push 3
mov ebx, 0x91c
call fcn.0041dc70
add esp, 0x28
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0
jne 0x402c7e
mov eax, 0x44520a
jmp 0x403adc
push reloc.WS2_32.dll_connect
push 0
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebx]
test eax, eax
jne 0x402c93
mov eax, 0x445209
push eax
push 1
mov ebx, 0x150
call fcn.0041e7d0
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 0x402cbf
push ebx
call fcn.0041c8a8
add esp, 4
pop eax
mov ebx, dword [ebp + 0xc]
mov dword [ebx], eax
push 0x445209
mov ebx, dword [ebp + 0xc]
push dword [ebx]
call fcn.0040203f
add esp, 8
cmp eax, 0
jne 0x402cfe
mov eax, 0x4452cd
push eax
mov ebx, dword [ebp + 0xc]
mov ebx, dword [ebx]
test ebx, ebx
je 0x402cf8
push ebx
call fcn.0041c8a8
add esp, 4
pop eax
mov ebx, dword [ebp + 0xc]
mov dword [ebx], eax
cmp dword [ebp + 0x3c], 0xffffffff
je 0x402d8f
cmp dword [ebp + 0x3c], 1
jge 0x402d1e
mov dword [ebp + 0x3c], 0x3a98
jmp 0x402d3b
fild dword [ebp + 0x3c]
fstp qword [ebp - 0x24]
fld qword [ebp - 0x24]
fmul qword [0x4452d1]
fstp qword [ebp - 0x2c]
fld qword [ebp - 0x2c]
call fcn.00402a59
mov dword [ebp + 0x3c], eax
push 0xa0000301
push 0
lea eax, [ebp + 0x3c]
push eax
push 0xa0000301
push 0
lea eax, [ebp + 0x3c]
push eax
push 0xa0000301
push 0
lea eax, [ebp + 0x3c]
push eax
push 0xa0000301
push 0
lea eax, [ebp + 0x3c]
push eax
push reloc.WS2_32.dll_connect
push 0
push 0x4452d9
push 0x10030
push 0
push dword [ebp - 4]
push 6
mov ebx, 0x94c
call fcn.0041e420
add esp, 0x4c
push 0x445209
push dword [0x446bda]
call fcn.0040203f
add esp, 8
cmp eax, 0
je 0x402e53
push 0xa0000004
push 0
push 0x446bda
push 0x80000301
push 0
push 2
push reloc.WS2_32.dll_connect
push 0
push str.SetProxy
push 0x10030
push 0
push dword [ebp - 4]
push 4
mov ebx, 0x94c
call fcn.0041e420
add esp, 0x34
push 0x445209
push dword [0x446bde]
call fcn.0040203f
add esp, 8
cmp eax, 0
je 0x402e53
push 0xa0000301
push 0
push 0x446be6
push 0xa0000004
push 0
push 0x446be2
push 0xa0000004
push 0
push 0x446bde
push reloc.WS2_32.dll_connect
push 0
push str.SetProxyCredentials
push 0x10030
push 0
push dword [ebp - 4]
push 5
mov ebx, 0x94c
call fcn.0041e420
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 reloc.WS2_32.dll_connect
push 0
push str.Open
push 0x10030
push 0
push dword [ebp - 4]
push 5
mov ebx, 0x94c
call fcn.0041e420
add esp, 0x40
push 0x80000301
push 0
push 0
push 0x80000301
push 0
push 6
push reloc.WS2_32.dll_connect
push 0
push str.Option
push 0x10030
push 0
push dword [ebp - 4]
push 4
mov ebx, 0x948
call fcn.0041e340
add esp, 0x34
push 0x445209
mov ebx, dword [ebp + 0x2c]
push dword [ebx]
call fcn.0040203f
add esp, 8
cmp eax, 0
jne 0x402f31
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.00401171
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 0x402f2b
push ebx
call fcn.0041c8a8
add esp, 4
pop eax
mov ebx, dword [ebp + 0x2c]
mov dword [ebx], eax
push 0x445209
mov ebx, dword [ebp + 0x1c]
push dword [ebx]
call fcn.0040203f
add esp, 8
cmp eax, 0
je 0x402f8a
push 0xa0000004
push 0
push dword [ebp + 0x1c]
push reloc.WS2_32.dll_connect
push 0
push str.Cookie
push reloc.WS2_32.dll_connect
push 0
push str.SetRequestHeader
push 0x10030
push 0
push dword [ebp - 4]
push 4
mov ebx, 0x94c
call fcn.0041e420
add esp, 0x34
push reloc.OLEAUT32.dll_SysReAllocString
push 0
push 0
push 0
push 0
push 0
push reloc.WS2_32.dll_connect
push 0
push 0x445228
push reloc.WS2_32.dll_connect
push 0
mov ebx, dword [ebp + 0x2c]
mov eax, dword [ebx]
test eax, eax
jne 0x402fbd
mov eax, 0x445209
push eax
push 4
mov ebx, 0x148
call fcn.0041e850
add esp, 0x34
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0xffffffff
jle 0x40331f
push 0
push 0
push 0
push reloc.WS2_32.dll_connect
push 0
push 0x445228
push reloc.WS2_32.dll_connect
push 0
mov ebx, dword [ebp + 0x2c]
mov eax, dword [ebx]
test eax, eax
jne 0x403004
mov eax, 0x445209
push eax
push 3
mov ebx, 0x190
call fcn.0041d0a0
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 0x40303c
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x403038
imul eax, dword [ebx]
jmp 0x40302d
mov ecx, eax
test ecx, ecx
je 0x40305b
push ecx
mov eax, dword [ebx]
test eax, eax
je 0x403054
push ebx
push eax
call fcn.0041c8a8
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x403042
call fcn.0041c8a8
add esp, 4
pop eax
mov dword [ebp - 8], eax
mov ebx, dword [ebp - 8]
call fcn.00401ee7
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 0x403317
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 reloc.WS2_32.dll_connect
push 0
push 0x445262
push reloc.WS2_32.dll_connect
push 0
mov ebx, dword [ebp - 0x20]
mov eax, dword [ebx]
test eax, eax
jne 0x4030d2
mov eax, 0x445209
push eax
push 4
mov ebx, 0x148
call fcn.0041e850
add esp, 0x34
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0xffffffff
jle 0x40330f
mov ebx, dword [ebp - 0x10]
push ebx
mov ecx, dword [ebx]
add ebx, 4
test ecx, ecx
je 0x403110
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x40310c
imul eax, dword [ebx]
jmp 0x403101
mov ecx, eax
test ecx, ecx
je 0x40312f
push ecx
mov eax, dword [ebx]
test eax, eax
je 0x403128
push ebx
push eax
call fcn.0041c8a8
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x403116
call fcn.0041c8a8
add esp, 4
mov eax, 0x44520a
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 reloc.WS2_32.dll_connect
push 0
push 0x445262
push reloc.WS2_32.dll_connect
push 0
mov ebx, dword [ebp - 0x20]
mov eax, dword [ebx]
test eax, eax
jne 0x40317f
mov eax, 0x445209
push eax
push 3
mov ebx, 0x190
call fcn.0041d0a0
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 0x4031b7
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x4031b3
imul eax, dword [ebx]
jmp 0x4031a8
mov ecx, eax
test ecx, ecx
je 0x4031d6
push ecx
mov eax, dword [ebx]
test eax, eax
je 0x4031cf
push ebx
push eax
call fcn.0041c8a8
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x4031bd
call fcn.0041c8a8
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.00401ee7
cmp dword [ebp - 0xc], eax
jle 0x403202
jmp 0x40328b
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 0x445262
mov ebx, dword [ebp - 0x24]
push dword [ebx]
mov ecx, 3
call fcn.00401171
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 0x403280
push ebx
call fcn.0041c8a8
add esp, 4
pop eax
mov ebx, dword [ebp - 0x20]
mov dword [ebx], eax
jmp 0x4031e9
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 reloc.WS2_32.dll_connect
push 0
mov ebx, dword [ebp - 0x24]
mov eax, dword [ebx]
test eax, eax
jne 0x4032d0
mov eax, 0x445209
push eax
push reloc.WS2_32.dll_connect
push 0
mov ebx, dword [ebp - 0x20]
mov eax, dword [ebx]
test eax, eax
jne 0x4032e6
mov eax, 0x445209
push eax
push reloc.WS2_32.dll_connect
push 0
push str.SetRequestHeader
push 0x10030
push 0
push dword [ebp - 4]
push 4
mov ebx, 0x94c
call fcn.0041e420
add esp, 0x34
pop eax
pop ebx
pop ecx
jmp 0x403078
add esp, 0xc
jmp 0x403529
push reloc.OLEAUT32.dll_SysReAllocString
push 0
push 0
push 0
push 0
push 0
push reloc.WS2_32.dll_connect
push 0
push 0x445262
push reloc.WS2_32.dll_connect
push 0
mov ebx, dword [ebp + 0x2c]
mov eax, dword [ebx]
test eax, eax
jne 0x403352
mov eax, 0x445209
push eax
push 4
mov ebx, 0x148
call fcn.0041e850
add esp, 0x34
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0xffffffff
jle 0x403529
push 0
push 0
push 0
push reloc.WS2_32.dll_connect
push 0
push 0x445262
push reloc.WS2_32.dll_connect
push 0
mov ebx, dword [ebp + 0x2c]
mov eax, dword [ebx]
test eax, eax
jne 0x403399
mov eax, 0x445209
push eax
push 3
mov ebx, 0x190
call fcn.0041d0a0
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 0x4033d1
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x4033cd
imul eax, dword [ebx]
jmp 0x4033c2
mov ecx, eax
test ecx, ecx
je 0x4033f0
push ecx
mov eax, dword [ebx]
test eax, eax
je 0x4033e9
push ebx
push eax
call fcn.0041c8a8
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x4033d7
call fcn.0041c8a8
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.00401ee7
cmp dword [ebp - 0xc], eax
jle 0x40341c
jmp 0x4034a5
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 0x445262
mov ebx, dword [ebp - 0x24]
push dword [ebx]
mov ecx, 3
call fcn.00401171
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 0x40349a
push ebx
call fcn.0041c8a8
add esp, 4
pop eax
mov ebx, dword [ebp - 0x20]
mov dword [ebx], eax
jmp 0x403403
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 reloc.WS2_32.dll_connect
push 0
mov ebx, dword [ebp - 0x24]
mov eax, dword [ebx]
test eax, eax
jne 0x4034ea
mov eax, 0x445209
push eax
push reloc.WS2_32.dll_connect
push 0
mov ebx, dword [ebp - 0x20]
mov eax, dword [ebx]
test eax, eax
jne 0x403500
mov eax, 0x445209
push eax
push reloc.WS2_32.dll_connect
push 0
push str.SetRequestHeader
push 0x10030
push 0
push dword [ebp - 4]
push 4
mov ebx, 0x94c
call fcn.0041e420
add esp, 0x34
mov eax, 0x44520a
xor ecx, ecx
test eax, eax
je 0x403537
mov ecx, dword [eax + 4]
push ecx
add eax, 8
push eax
mov ebx, dword [ebp + 0x4c]
mov eax, dword [ebx]
xor ebx, ebx
test eax, eax
je 0x40354a
mov ebx, dword [eax + 4]
add eax, 8
push eax
cmp ebx, ecx
mov eax, 1
jne 0x403561
dec eax
test ecx, ecx
je 0x403561
call fcn.00402a80
add esp, 0xc
test eax, eax
jne 0x4035a3
push 0xa0000004
push 0
push dword [ebp + 0x14]
push reloc.WS2_32.dll_connect
push 0
push str.Send
push 0x10030
push 0
push dword [ebp - 4]
push 3
mov ebx, 0x94c
call fcn.0041e420
add esp, 0x28
jmp 0x40360e
push 0
push 0
push 0
push htons
push 0
mov ebx, dword [ebp + 0x4c]
mov eax, dword [ebx]
test eax, eax
jne 0x4035be
mov eax, 0x44520a
push eax
push 0x10031
push 0
push dword [ebp - 0x14]
push 3
mov ebx, 0x9a8
call fcn.0041f090
add esp, 0x28
push 0x20010031
push 0
lea eax, [ebp - 0x14]
push eax
push reloc.WS2_32.dll_connect
push 0
push str.Send
push 0x10030
push 0
push dword [ebp - 4]
push 3
mov ebx, 0x94c
call fcn.0041e420
add esp, 0x28
push 0
push 0
push 0
push reloc.WS2_32.dll_connect
push 0
push str.ResponseBody
push 0x10030
push 0
push dword [ebp - 4]
push 3
mov ebx, 0x944
call fcn.0041e290
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, 0x9d0
call fcn.0041f590
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, 0x984
call fcn.0041ef90
add esp, 0x10
call fcn.0041c8a8
add esp, 4
mov eax, dword [ebp - 0x24]
push eax
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x40369b
push ebx
call fcn.0041c8a8
add esp, 4
pop eax
mov dword [ebp - 0x18], eax
push 0
push 0
push 0
push reloc.WS2_32.dll_connect
push 0
push str.GetallResponseHeaders
push 0x10030
push 0
push dword [ebp - 4]
push 3
mov ebx, 0x930
call fcn.0041de80
add esp, 0x28
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
push eax
mov ebx, dword [ebp + 0x44]
mov ebx, dword [ebx]
test ebx, ebx
je 0x4036e6
push ebx
call fcn.0041c8a8
add esp, 4
pop eax
mov ebx, dword [ebp + 0x44]
mov dword [ebx], eax
push 0
push 0
push 0
push reloc.WS2_32.dll_connect
push 0
push 0x445228
push reloc.WS2_32.dll_connect
push 0
mov ebx, dword [ebp + 0x44]
mov eax, dword [ebx]
test eax, eax
jne 0x403713
mov eax, 0x445209
push eax
push 3
mov ebx, 0x190
call fcn.0041d0a0
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 0x40374b
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x403747
imul eax, dword [ebx]
jmp 0x40373c
mov ecx, eax
test ecx, ecx
je 0x40376a
push ecx
mov eax, dword [ebx]
test eax, eax
je 0x403763
push ebx
push eax
call fcn.0041c8a8
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x403751
call fcn.0041c8a8
add esp, 4
pop eax
mov dword [ebp - 0x1c], eax
mov eax, 0x445209
push eax
mov ebx, dword [ebp + 0x24]
mov ebx, dword [ebx]
test ebx, ebx
je 0x40378e
push ebx
call fcn.0041c8a8
add esp, 4
pop eax
mov ebx, dword [ebp + 0x24]
mov dword [ebx], eax
mov ebx, dword [ebp - 0x1c]
call fcn.00401ee7
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 0x403a44
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 reloc.WS2_32.dll_connect
push 0
push str.Location:
push reloc.WS2_32.dll_connect
push 0
mov ebx, dword [ebp - 0x20]
mov eax, dword [ebx]
test eax, eax
jne 0x4037ff
mov eax, 0x445209
push eax
push 4
mov ebx, 0x148
call fcn.0041e850
add esp, 0x34
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0xffffffff
jle 0x4038e6
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.00402b2c
push reloc.WS2_32.dll_connect
push 0
push str.Location:
push reloc.WS2_32.dll_connect
push 0
mov ebx, dword [ebp - 0x20]
mov eax, dword [ebx]
test eax, eax
jne 0x40387b
mov eax, 0x445209
push eax
push 6
mov ebx, 0x180
call fcn.0041f700
add esp, 0x4c
mov dword [ebp - 0x24], eax
push reloc.WS2_32.dll_connect
push 0
mov eax, dword [ebp - 0x24]
test eax, eax
jne 0x4038a4
mov eax, 0x445209
push eax
push 1
mov ebx, 0x174
call fcn.0041fa20
add esp, 0x10
mov dword [ebp - 0x28], eax
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x4038ca
push ebx
call fcn.0041c8a8
add esp, 4
mov eax, dword [ebp - 0x28]
push eax
mov ebx, dword [ebp + 0x34]
mov ebx, dword [ebx]
test ebx, ebx
je 0x4038e0
push ebx
call fcn.0041c8a8
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 reloc.WS2_32.dll_connect
push 0
push str.Set_Cookie
push reloc.WS2_32.dll_connect
push 0
mov ebx, dword [ebp - 0x20]
mov eax, dword [ebx]
test eax, eax
jne 0x403932
mov eax, 0x445209
push eax
push 4
mov ebx, 0x148
call fcn.0041e850
add esp, 0x34
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0xffffffff
jle 0x403a3c
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, 0x445411
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.00403c09
mov dword [ebp - 0x30], eax
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x4039aa
push ebx
call fcn.0041c8a8
add esp, 4
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x4039ba
push ebx
call fcn.0041c8a8
add esp, 4
push reloc.WS2_32.dll_connect
push 0
mov eax, dword [ebp - 0x30]
test eax, eax
jne 0x4039cd
mov eax, 0x445209
push eax
push 1
mov ebx, 0x174
call fcn.0041fa20
add esp, 0x10
mov dword [ebp - 0x34], eax
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x4039f3
push ebx
call fcn.0041c8a8
add esp, 4
push 0x44541f
push dword [ebp - 0x34]
mov ebx, dword [ebp + 0x24]
push dword [ebx]
mov ecx, 3
call fcn.00401171
add esp, 0xc
mov dword [ebp - 0x38], eax
mov ebx, dword [ebp - 0x34]
test ebx, ebx
je 0x403a20
push ebx
call fcn.0041c8a8
add esp, 4
mov eax, dword [ebp - 0x38]
push eax
mov ebx, dword [ebp + 0x24]
mov ebx, dword [ebx]
test ebx, ebx
je 0x403a36
push ebx
call fcn.0041c8a8
add esp, 4
pop eax
mov ebx, dword [ebp + 0x24]
mov dword [ebx], eax
pop eax
pop ebx
pop ecx
jmp 0x4037a5
add esp, 0xc
push dword [ebp + 0x24]
push dword [ebp + 0x1c]
call fcn.00403e5a
mov ebx, eax
test ebx, ebx
je 0x403a61
push ebx
call fcn.0041c8a8
add esp, 4
push 0x445209
mov ebx, dword [ebp + 0x34]
push dword [ebx]
call fcn.0040203f
add esp, 8
cmp eax, 0
jne 0x403ab3
mov ebx, dword [ebp + 0x44]
mov eax, dword [ebx]
test eax, eax
je 0x403a9a
push eax
mov ebx, eax
call fcn.00401106
inc eax
push eax
call fcn.0041c8a2
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 0x403aad
push ebx
call fcn.0041c8a8
add esp, 4
pop eax
mov ebx, dword [ebp + 0x34]
mov dword [ebx], eax
call dword [sym.imp.ole32.dll_CoUninitialize]
nop
nop
nop
nop
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x403ad7
push eax
mov eax, dword [eax + 4]
add eax, 8
push eax
call fcn.0041c8a2
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
jmp 0x403adc
push eax
mov ebx, dword [ebp - 4]
push ebx
push 0x10030
push 0
push ebx
push 1
mov ebx, 0x924
call fcn.0041de50
add esp, 0x10
call fcn.0041c8a8
add esp, 4
mov ebx, dword [ebp - 8]
push ebx
mov ecx, dword [ebx]
add ebx, 4
test ecx, ecx
je 0x403b1e
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x403b1a
imul eax, dword [ebx]
jmp 0x403b0f
mov ecx, eax
test ecx, ecx
je 0x403b3d
push ecx
mov eax, dword [ebx]
test eax, eax
je 0x403b36
push ebx
push eax
call fcn.0041c8a8
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x403b24
call fcn.0041c8a8
add esp, 4
mov ebx, dword [ebp - 0x10]
push ebx
mov ecx, dword [ebx]
add ebx, 4
test ecx, ecx
je 0x403b63
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x403b5f
imul eax, dword [ebx]
jmp 0x403b54
mov ecx, eax
test ecx, ecx
je 0x403b82
push ecx
mov eax, dword [ebx]
test eax, eax
je 0x403b7b
push ebx
push eax
call fcn.0041c8a8
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x403b69
call fcn.0041c8a8
add esp, 4
mov ebx, dword [ebp - 0x14]
push ebx
push 0x10031
push 0
push ebx
push 1
mov ebx, 0x984
call fcn.0041ef90
add esp, 0x10
call fcn.0041c8a8
add esp, 4
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x403bbd
push ebx
call fcn.0041c8a8
add esp, 4
mov ebx, dword [ebp - 0x1c]
push ebx
mov ecx, dword [ebx]
add ebx, 4
test ecx, ecx
je 0x403bdb
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x403bd7
imul eax, dword [ebx]
jmp 0x403bcc
mov ecx, eax
test ecx, ecx
je 0x403bfa
push ecx
mov eax, dword [ebx]
test eax, eax
je 0x403bf3
push ebx
push eax
call fcn.0041c8a8
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x403be1
call fcn.0041c8a8
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret 0x4c