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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
push 8
call fcn.00406a58
add esp, 4
mov dword [ebp - 4], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 0
push 8
call fcn.00406a58
add esp, 4
mov dword [ebp - 8], eax
mov edi, eax
mov esi, 0x4cc9d0
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.00406a58
add esp, 4
mov dword [ebp - 0x10], eax
mov edi, eax
mov esi, 0x4cc9d0
lodsd eax, dword [esi]
stosd dword es:[edi], eax
lodsd eax, dword [esi]
stosd dword es:[edi], eax
push 0x10
call fcn.00406a58
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.00406a58
add esp, 4
mov dword [ebp - 0x1c], eax
mov edi, eax
mov esi, 0x4cc9d0
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.00406a82
cmp dword [ebp - 0x20], esp
je 0x402ca6
push 6
call fcn.00406a7c
add esp, 4
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, 0x408d20
call fcn.00406a52
add esp, 0x28
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0
jne 0x402ceb
mov eax, 0x4cc9d0
jmp 0x403cca
push reloc.WS2_32.dll_connect
push 0
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebx]
test eax, eax
jne 0x402d00
mov eax, 0x4cc6e4
push eax
push 1
mov ebx, 0x406f80
call fcn.00406a52
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 0x402d2c
push ebx
call fcn.00406a5e
add esp, 4
pop eax
mov ebx, dword [ebp + 0xc]
mov dword [ebx], eax
push 0x4cc6e4
mov ebx, dword [ebp + 0xc]
push dword [ebx]
call fcn.00401004
add esp, 8
cmp eax, 0
jne 0x402d6b
mov eax, 0x4d5393
push eax
mov ebx, dword [ebp + 0xc]
mov ebx, dword [ebx]
test ebx, ebx
je 0x402d65
push ebx
call fcn.00406a5e
add esp, 4
pop eax
mov ebx, dword [ebp + 0xc]
mov dword [ebx], eax
cmp dword [ebp + 0x44], 0xffffffff
je 0x402dfc
cmp dword [ebp + 0x44], 1
jge 0x402d8b
mov dword [ebp + 0x44], 0x3a98
jmp 0x402da8
fild dword [ebp + 0x44]
fstp qword [ebp - 0x24]
fld qword [ebp - 0x24]
fmul qword [0x4d5397]
fstp qword [ebp - 0x2c]
fld qword [ebp - 0x2c]
call fcn.00402abb
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 reloc.WS2_32.dll_connect
push 0
push 0x4d539f
push 0x10030
push 0
push dword [ebp - 4]
push 6
mov ebx, 0x407c60
call fcn.00406a52
add esp, 0x4c
push 0x4cc6e4
mov ebx, dword [ebp + 0x4c]
push dword [ebx]
call fcn.00401004
add esp, 8
cmp eax, 0
je 0x402ec8
push 0xa0000004
push 0
push dword [ebp + 0x4c]
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, 0x407c60
call fcn.00406a52
add esp, 0x34
push 0x4cc6e4
mov ebx, dword [ebp + 0x54]
push dword [ebx]
call fcn.00401004
add esp, 8
cmp eax, 0
je 0x402ec8
cmp dword [ebp + 0x68], 0
jne 0x402e81
mov dword [ebp + 0x64], 1
push 0xa0000301
push 0
lea eax, [ebp + 0x64]
push eax
push 0xa0000004
push 0
push dword [ebp + 0x5c]
push 0xa0000004
push 0
push dword [ebp + 0x54]
push reloc.WS2_32.dll_connect
push 0
push str.SetProxyCredentials
push 0x10030
push 0
push dword [ebp - 4]
push 5
mov ebx, 0x407c60
call fcn.00406a52
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 0x4d53c8
push 0x10030
push 0
push dword [ebp - 4]
push 5
mov ebx, 0x407c60
call fcn.00406a52
add esp, 0x40
cmp dword [ebp + 0x3c], 0
je 0x402f5a
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, 0x408c40
call fcn.00406a52
add esp, 0x34
push 0x4cc6e4
mov ebx, dword [ebp + 0x2c]
push dword [ebx]
call fcn.00401004
add esp, 8
cmp eax, 0
jne 0x402fb0
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.0040110c
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 0x402faa
push ebx
call fcn.00406a5e
add esp, 4
pop eax
mov ebx, dword [ebp + 0x2c]
mov dword [ebx], eax
push 0x4cc6e4
mov ebx, dword [ebp + 0x1c]
push dword [ebx]
call fcn.00401004
add esp, 8
cmp eax, 0
je 0x403009
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, 0x407c60
call fcn.00406a52
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 0x4d549a
push reloc.WS2_32.dll_connect
push 0
mov ebx, dword [ebp + 0x2c]
mov eax, dword [ebx]
test eax, eax
jne 0x40303c
mov eax, 0x4cc6e4
push eax
push 4
mov ebx, 0x406df0
call fcn.00406a52
add esp, 0x34
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0xffffffff
jle 0x403433
push 0
push 0
push 0
push reloc.WS2_32.dll_connect
push 0
push 0x4d549a
push reloc.WS2_32.dll_connect
push 0
mov ebx, dword [ebp + 0x2c]
mov eax, dword [ebx]
test eax, eax
jne 0x403083
mov eax, 0x4cc6e4
push eax
push 3
mov ebx, 0x407380
call fcn.00406a52
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 0x4030bb
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x4030b7
imul eax, dword [ebx]
jmp 0x4030ac
mov ecx, eax
test ecx, ecx
je 0x4030da
push ecx
mov eax, dword [ebx]
test eax, eax
je 0x4030d3
push ebx
push eax
call fcn.00406a5e
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x4030c1
call fcn.00406a5e
add esp, 4
pop eax
mov dword [ebp - 8], eax
mov ebx, dword [ebp - 8]
call fcn.00402ae2
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 0x40342b
mov ebx, dword [ebp - 8]
call fcn.00402afb
push ebx
push ecx
mov eax, dword [ebp - 0xc]
dec eax
jns 0x403122
push 4
call fcn.00406a7c
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x403135
push 1
call fcn.00406a7c
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 reloc.WS2_32.dll_connect
push 0
push 0x4d549d
push reloc.WS2_32.dll_connect
push 0
mov ebx, dword [ebp - 0x20]
mov eax, dword [ebx]
test eax, eax
jne 0x403170
mov eax, 0x4cc6e4
push eax
push 4
mov ebx, 0x406df0
call fcn.00406a52
add esp, 0x34
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0xffffffff
jle 0x403423
mov ebx, dword [ebp - 0x10]
push ebx
mov ecx, dword [ebx]
add ebx, 4
test ecx, ecx
je 0x4031ae
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x4031aa
imul eax, dword [ebx]
jmp 0x40319f
mov ecx, eax
test ecx, ecx
je 0x4031cd
push ecx
mov eax, dword [ebx]
test eax, eax
je 0x4031c6
push ebx
push eax
call fcn.00406a5e
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x4031b4
call fcn.00406a5e
add esp, 4
mov eax, 0x4cc9d0
mov dword [ebp - 0x10], eax
mov ebx, dword [ebp - 8]
call fcn.00402afb
push ebx
push ecx
mov eax, dword [ebp - 0xc]
dec eax
jns 0x4031fa
push 4
call fcn.00406a7c
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x40320d
push 1
call fcn.00406a7c
add esp, 4
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 0x4d549d
push reloc.WS2_32.dll_connect
push 0
mov ebx, dword [ebp - 0x20]
mov eax, dword [ebx]
test eax, eax
jne 0x40323c
mov eax, 0x4cc6e4
push eax
push 3
mov ebx, 0x407380
call fcn.00406a52
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 0x403274
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x403270
imul eax, dword [ebx]
jmp 0x403265
mov ecx, eax
test ecx, ecx
je 0x403293
push ecx
mov eax, dword [ebx]
test eax, eax
je 0x40328c
push ebx
push eax
call fcn.00406a5e
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x40327a
call fcn.00406a5e
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.00402ae2
cmp dword [ebp - 0xc], eax
jle 0x4032bf
jmp 0x403383
mov ebx, dword [ebp - 0x10]
call fcn.00402afb
mov eax, 1
cmp eax, ecx
jl 0x4032dd
push 1
call fcn.00406a7c
add esp, 4
shl eax, 2
add ebx, eax
mov dword [ebp - 0x20], ebx
mov ebx, dword [ebp - 0x10]
call fcn.00402afb
mov eax, 1
cmp eax, ecx
jl 0x403303
push 1
call fcn.00406a7c
add esp, 4
shl eax, 2
add ebx, eax
mov dword [ebp - 0x24], ebx
mov ebx, dword [ebp - 0x10]
call fcn.00402afb
push ebx
push ecx
mov eax, dword [ebp - 0xc]
dec eax
jns 0x403328
push 4
call fcn.00406a7c
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x40333b
push 1
call fcn.00406a7c
add esp, 4
shl eax, 2
add ebx, eax
mov dword [ebp - 0x28], ebx
mov ebx, dword [ebp - 0x28]
push dword [ebx]
push 0x4d549d
mov ebx, dword [ebp - 0x24]
push dword [ebx]
mov ecx, 3
call fcn.0040110c
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 0x403378
push ebx
call fcn.00406a5e
add esp, 4
pop eax
mov ebx, dword [ebp - 0x20]
mov dword [ebx], eax
jmp 0x4032a6
mov ebx, dword [ebp - 0x10]
call fcn.00402afb
mov eax, 0
cmp eax, ecx
jl 0x4033a1
push 1
call fcn.00406a7c
add esp, 4
shl eax, 2
add ebx, eax
mov dword [ebp - 0x20], ebx
mov ebx, dword [ebp - 0x10]
call fcn.00402afb
mov eax, 1
cmp eax, ecx
jl 0x4033c7
push 1
call fcn.00406a7c
add esp, 4
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 0x4033e4
mov eax, 0x4cc6e4
push eax
push reloc.WS2_32.dll_connect
push 0
mov ebx, dword [ebp - 0x20]
mov eax, dword [ebx]
test eax, eax
jne 0x4033fa
mov eax, 0x4cc6e4
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, 0x407c60
call fcn.00406a52
add esp, 0x34
pop eax
pop ebx
pop ecx
jmp 0x4030f7
add esp, 0xc
jmp 0x403694
push reloc.OLEAUT32.dll_SysReAllocString
push 0
push 0
push 0
push 0
push 0
push reloc.WS2_32.dll_connect
push 0
push 0x4d549d
push reloc.WS2_32.dll_connect
push 0
mov ebx, dword [ebp + 0x2c]
mov eax, dword [ebx]
test eax, eax
jne 0x403466
mov eax, 0x4cc6e4
push eax
push 4
mov ebx, 0x406df0
call fcn.00406a52
add esp, 0x34
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0xffffffff
jle 0x403694
push 0
push 0
push 0
push reloc.WS2_32.dll_connect
push 0
push 0x4d549d
push reloc.WS2_32.dll_connect
push 0
mov ebx, dword [ebp + 0x2c]
mov eax, dword [ebx]
test eax, eax
jne 0x4034ad
mov eax, 0x4cc6e4
push eax
push 3
mov ebx, 0x407380
call fcn.00406a52
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 0x4034e5
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x4034e1
imul eax, dword [ebx]
jmp 0x4034d6
mov ecx, eax
test ecx, ecx
je 0x403504
push ecx
mov eax, dword [ebx]
test eax, eax
je 0x4034fd
push ebx
push eax
call fcn.00406a5e
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x4034eb
call fcn.00406a5e
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.00402ae2
cmp dword [ebp - 0xc], eax
jle 0x403530
jmp 0x4035f4
mov ebx, dword [ebp - 0x10]
call fcn.00402afb
mov eax, 1
cmp eax, ecx
jl 0x40354e
push 1
call fcn.00406a7c
add esp, 4
shl eax, 2
add ebx, eax
mov dword [ebp - 0x20], ebx
mov ebx, dword [ebp - 0x10]
call fcn.00402afb
mov eax, 1
cmp eax, ecx
jl 0x403574
push 1
call fcn.00406a7c
add esp, 4
shl eax, 2
add ebx, eax
mov dword [ebp - 0x24], ebx
mov ebx, dword [ebp - 0x10]
call fcn.00402afb
push ebx
push ecx
mov eax, dword [ebp - 0xc]
dec eax
jns 0x403599
push 4
call fcn.00406a7c
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x4035ac
push 1
call fcn.00406a7c
add esp, 4
shl eax, 2
add ebx, eax
mov dword [ebp - 0x28], ebx
mov ebx, dword [ebp - 0x28]
push dword [ebx]
push 0x4d549d
mov ebx, dword [ebp - 0x24]
push dword [ebx]
mov ecx, 3
call fcn.0040110c
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 0x4035e9
push ebx
call fcn.00406a5e
add esp, 4
pop eax
mov ebx, dword [ebp - 0x20]
mov dword [ebx], eax
jmp 0x403517
mov ebx, dword [ebp - 0x10]
call fcn.00402afb
mov eax, 0
cmp eax, ecx
jl 0x403612
push 1
call fcn.00406a7c
add esp, 4
shl eax, 2
add ebx, eax
mov dword [ebp - 0x20], ebx
mov ebx, dword [ebp - 0x10]
call fcn.00402afb
mov eax, 1
cmp eax, ecx
jl 0x403638
push 1
call fcn.00406a7c
add esp, 4
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 0x403655
mov eax, 0x4cc6e4
push eax
push reloc.WS2_32.dll_connect
push 0
mov ebx, dword [ebp - 0x20]
mov eax, dword [ebx]
test eax, eax
jne 0x40366b
mov eax, 0x4cc6e4
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, 0x407c60
call fcn.00406a52
add esp, 0x34
mov eax, 0x4cc9d0
xor ecx, ecx
test eax, eax
je 0x4036a2
mov ecx, dword [eax + 4]
push ecx
add eax, 8
push eax
mov ebx, dword [ebp + 0x74]
mov eax, dword [ebx]
xor ebx, ebx
test eax, eax
je 0x4036b5
mov ebx, dword [eax + 4]
add eax, 8
push eax
cmp ebx, ecx
mov eax, 1
jne 0x4036cc
dec eax
test ecx, ecx
je 0x4036cc
call fcn.00402b1b
add esp, 0xc
test eax, eax
jne 0x40370e
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, 0x407c60
call fcn.00406a52
add esp, 0x28
jmp 0x403779
push 0
push 0
push 0
push reloc.WS2_32.dll_getpeername
push 0
mov ebx, dword [ebp + 0x74]
mov eax, dword [ebx]
test eax, eax
jne 0x403729
mov eax, 0x4cc9d0
push eax
push 0x10031
push 0
push dword [ebp - 0x14]
push 3
mov ebx, 0x408770
call fcn.00406a52
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, 0x407c60
call fcn.00406a52
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, 0x407c30
call fcn.00406a52
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, 0x407d30
call fcn.00406a52
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, 0x407cf0
call fcn.00406a52
add esp, 0x10
call fcn.00406a5e
add esp, 4
mov eax, dword [ebp - 0x24]
push eax
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x403806
push ebx
call fcn.00406a5e
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, 0x407bd0
call fcn.00406a52
add esp, 0x28
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
push eax
mov ebx, dword [ebp + 0x6c]
mov ebx, dword [ebx]
test ebx, ebx
je 0x403851
push ebx
call fcn.00406a5e
add esp, 4
pop eax
mov ebx, dword [ebp + 0x6c]
mov dword [ebx], eax
push 0
push 0
push 0
push reloc.WS2_32.dll_connect
push 0
push 0x4d549a
push reloc.WS2_32.dll_connect
push 0
mov ebx, dword [ebp + 0x6c]
mov eax, dword [ebx]
test eax, eax
jne 0x40387e
mov eax, 0x4cc6e4
push eax
push 3
mov ebx, 0x407380
call fcn.00406a52
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 0x4038b6
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x4038b2
imul eax, dword [ebx]
jmp 0x4038a7
mov ecx, eax
test ecx, ecx
je 0x4038d5
push ecx
mov eax, dword [ebx]
test eax, eax
je 0x4038ce
push ebx
push eax
call fcn.00406a5e
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x4038bc
call fcn.00406a5e
add esp, 4
pop eax
mov dword [ebp - 0x1c], eax
mov eax, 0x4cc6e4
push eax
mov ebx, dword [ebp + 0x24]
mov ebx, dword [ebx]
test ebx, ebx
je 0x4038f9
push ebx
call fcn.00406a5e
add esp, 4
pop eax
mov ebx, dword [ebp + 0x24]
mov dword [ebx], eax
mov ebx, dword [ebp - 0x1c]
call fcn.00402ae2
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 0x403c37
mov ebx, dword [ebp - 0x1c]
call fcn.00402afb
push ebx
push ecx
mov eax, dword [ebp - 0xc]
dec eax
jns 0x40393b
push 4
call fcn.00406a7c
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x40394e
push 1
call fcn.00406a7c
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 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 0x403989
mov eax, 0x4cc6e4
push eax
push 4
mov ebx, 0x406df0
call fcn.00406a52
add esp, 0x34
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0xffffffff
jle 0x403a8f
mov ebx, dword [ebp - 0x1c]
call fcn.00402afb
push ebx
push ecx
mov eax, dword [ebp - 0xc]
dec eax
jns 0x4039c6
push 4
call fcn.00406a7c
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x4039d9
push 1
call fcn.00406a7c
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.00401168
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 0x403a24
mov eax, 0x4cc6e4
push eax
push 6
mov ebx, 0x407190
call fcn.00406a52
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 0x403a4d
mov eax, 0x4cc6e4
push eax
push 1
mov ebx, 0x407170
call fcn.00406a52
add esp, 0x10
mov dword [ebp - 0x28], eax
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x403a73
push ebx
call fcn.00406a5e
add esp, 4
mov eax, dword [ebp - 0x28]
push eax
mov ebx, dword [ebp + 0x34]
mov ebx, dword [ebx]
test ebx, ebx
je 0x403a89
push ebx
call fcn.00406a5e
add esp, 4
pop eax
mov ebx, dword [ebp + 0x34]
mov dword [ebx], eax
mov ebx, dword [ebp - 0x1c]
call fcn.00402afb
push ebx
push ecx
mov eax, dword [ebp - 0xc]
dec eax
jns 0x403aac
push 4
call fcn.00406a7c
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x403abf
push 1
call fcn.00406a7c
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 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 0x403afa
mov eax, 0x4cc6e4
push eax
push 4
mov ebx, 0x406df0
call fcn.00406a52
add esp, 0x34
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0xffffffff
jle 0x403c2f
mov ebx, dword [ebp - 0x1c]
call fcn.00402afb
push ebx
push ecx
mov eax, dword [ebp - 0xc]
dec eax
jns 0x403b37
push 4
call fcn.00406a7c
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x403b4a
push 1
call fcn.00406a7c
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, 0x4cc9d8
mov dword [ebp - 0x2c], eax
lea eax, [ebp - 0x2c]
push eax
mov eax, str.Set_Cookie:
mov dword [ebp - 0x30], eax
lea eax, [ebp - 0x30]
push eax
push dword [ebp - 0x20]
call fcn.00403df7
mov dword [ebp - 0x34], eax
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x403b9d
push ebx
call fcn.00406a5e
add esp, 4
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x403bad
push ebx
call fcn.00406a5e
add esp, 4
push reloc.WS2_32.dll_connect
push 0
mov eax, dword [ebp - 0x34]
test eax, eax
jne 0x403bc0
mov eax, 0x4cc6e4
push eax
push 1
mov ebx, 0x407170
call fcn.00406a52
add esp, 0x10
mov dword [ebp - 0x38], eax
mov ebx, dword [ebp - 0x34]
test ebx, ebx
je 0x403be6
push ebx
call fcn.00406a5e
add esp, 4
push 0x4d54e8
push dword [ebp - 0x38]
mov ebx, dword [ebp + 0x24]
push dword [ebx]
mov ecx, 3
call fcn.0040110c
add esp, 0xc
mov dword [ebp - 0x3c], eax
mov ebx, dword [ebp - 0x38]
test ebx, ebx
je 0x403c13
push ebx
call fcn.00406a5e
add esp, 4
mov eax, dword [ebp - 0x3c]
push eax
mov ebx, dword [ebp + 0x24]
mov ebx, dword [ebx]
test ebx, ebx
je 0x403c29
push ebx
call fcn.00406a5e
add esp, 4
pop eax
mov ebx, dword [ebp + 0x24]
mov dword [ebx], eax
pop eax
pop ebx
pop ecx
jmp 0x403910
add esp, 0xc
push 0x4cc6e4
mov ebx, dword [ebp + 0x34]
push dword [ebx]
call fcn.00401004
add esp, 8
cmp eax, 0
jne 0x403c8c
mov ebx, dword [ebp + 0x6c]
mov eax, dword [ebx]
test eax, eax
je 0x403c73
push eax
mov ebx, eax
call fcn.004010a1
inc eax
push eax
call fcn.00406a58
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 0x403c86
push ebx
call fcn.00406a5e
add esp, 4
pop eax
mov ebx, dword [ebp + 0x34]
mov dword [ebx], eax
mov dword [ebp - 0x20], esp
mov eax, 1
call fcn.00406a82
cmp dword [ebp - 0x20], esp
je 0x403cab
push 6
call fcn.00406a7c
add esp, 4
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x403cc5
push eax
mov eax, dword [eax + 4]
add eax, 8
push eax
call fcn.00406a58
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
jmp 0x403cca
push eax
mov ebx, dword [ebp - 4]
push ebx
push 0x10030
push 0
push ebx
push 1
mov ebx, 0x408d10
call fcn.00406a52
add esp, 0x10
call fcn.00406a5e
add esp, 4
mov ebx, dword [ebp - 8]
push ebx
mov ecx, dword [ebx]
add ebx, 4
test ecx, ecx
je 0x403d0c
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x403d08
imul eax, dword [ebx]
jmp 0x403cfd
mov ecx, eax
test ecx, ecx
je 0x403d2b
push ecx
mov eax, dword [ebx]
test eax, eax
je 0x403d24
push ebx
push eax
call fcn.00406a5e
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x403d12
call fcn.00406a5e
add esp, 4
mov ebx, dword [ebp - 0x10]
push ebx
mov ecx, dword [ebx]
add ebx, 4
test ecx, ecx
je 0x403d51
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x403d4d
imul eax, dword [ebx]
jmp 0x403d42
mov ecx, eax
test ecx, ecx
je 0x403d70
push ecx
mov eax, dword [ebx]
test eax, eax
je 0x403d69
push ebx
push eax
call fcn.00406a5e
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x403d57
call fcn.00406a5e
add esp, 4
mov ebx, dword [ebp - 0x14]
push ebx
push 0x10031
push 0
push ebx
push 1
mov ebx, 0x407cf0
call fcn.00406a52
add esp, 0x10
call fcn.00406a5e
add esp, 4
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x403dab
push ebx
call fcn.00406a5e
add esp, 4
mov ebx, dword [ebp - 0x1c]
push ebx
mov ecx, dword [ebx]
add ebx, 4
test ecx, ecx
je 0x403dc9
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x403dc5
imul eax, dword [ebx]
jmp 0x403dba
mov ecx, eax
test ecx, ecx
je 0x403de8
push ecx
mov eax, dword [ebx]
test eax, eax
je 0x403de1
push ebx
push eax
call fcn.00406a5e
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x403dcf
call fcn.00406a5e
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret 0x74