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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
push 8
call fcn.0042d758
add esp, 4
mov dword [ebp - 4], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 0
push 8
call fcn.0042d758
add esp, 4
mov dword [ebp - 8], eax
mov edi, eax
mov esi, 0x50245d
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.0042d758
add esp, 4
mov dword [ebp - 0x10], eax
mov edi, eax
mov esi, 0x50245d
lodsd eax, dword [esi]
stosd dword es:[edi], eax
lodsd eax, dword [esi]
stosd dword es:[edi], eax
push 0x10
call fcn.0042d758
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.0042d758
add esp, 4
mov dword [ebp - 0x1c], eax
mov edi, eax
mov esi, 0x50245d
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, 0x1c
call fcn.0042d770
cmp dword [ebp - 0x20], esp
je 0x4149a8
push 6
call fcn.0042d76a
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, 0x431ee0
call fcn.0042d764
add esp, 0x28
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0
jne 0x4149ed
mov eax, 0x50245d
jmp 0x415aaa
push reloc.WS2_32.dll_connect
push 0
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebx]
test eax, eax
jne 0x414a02
mov eax, 0x502393
push eax
push 1
mov ebx, 0x42e400
call fcn.0042d764
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 0x414a2e
push ebx
call fcn.0042d75e
add esp, 4
pop eax
mov ebx, dword [ebp + 0xc]
mov dword [ebx], eax
push 0x502393
mov ebx, dword [ebp + 0xc]
push dword [ebx]
call fcn.00401272
add esp, 8
cmp eax, 0
jne 0x414a6d
mov eax, 0x502623
push eax
mov ebx, dword [ebp + 0xc]
mov ebx, dword [ebx]
test ebx, ebx
je 0x414a67
push ebx
call fcn.0042d75e
add esp, 4
pop eax
mov ebx, dword [ebp + 0xc]
mov dword [ebx], eax
cmp dword [ebp + 0x44], 0xffffffff
je 0x414afe
cmp dword [ebp + 0x44], 1
jge 0x414a8d
mov dword [ebp + 0x44], 0x3a98
jmp 0x414aaa
fild dword [ebp + 0x44]
fstp qword [ebp - 0x24]
fld qword [ebp - 0x24]
fmul qword [0x5073cc]
fstp qword [ebp - 0x2c]
fld qword [ebp - 0x2c]
call fcn.004021b0
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 0x5073d4
push 0x10030
push 0
push dword [ebp - 4]
push 6
mov ebx, 0x430f80
call fcn.0042d764
add esp, 0x4c
push 0x502393
push dword [0x58bc20]
call fcn.00401272
add esp, 8
cmp eax, 0
je 0x414bc2
push 0xa0000004
push 0
push 0x58bc20
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, 0x430f80
call fcn.0042d764
add esp, 0x34
push 0x502393
push dword [0x58bc24]
call fcn.00401272
add esp, 8
cmp eax, 0
je 0x414bc2
push 0xa0000301
push 0
push 0x58bc2c
push 0xa0000004
push 0
push 0x58bc28
push 0xa0000004
push 0
push 0x58bc24
push reloc.WS2_32.dll_connect
push 0
push str.SetProxyCredentials
push 0x10030
push 0
push dword [ebp - 4]
push 5
mov ebx, 0x430f80
call fcn.0042d764
add esp, 0x40
push reloc.WS2_32.dll_bind
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, 0x430f80
call fcn.0042d764
add esp, 0x40
cmp dword [ebp + 0x3c], 0
je 0x414c54
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, 0x431e30
call fcn.0042d764
add esp, 0x34
push 0x502393
mov ebx, dword [ebp + 0x2c]
push dword [ebx]
call fcn.00401272
add esp, 8
cmp eax, 0
jne 0x414caa
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.0040108c
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 0x414ca4
push ebx
call fcn.0042d75e
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.00415bd7
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.00416239
mov dword [ebp - 0x2c], eax
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x414cf1
push ebx
call fcn.0042d75e
add esp, 4
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x414d01
push ebx
call fcn.0042d75e
add esp, 4
push dword [ebp + 0x1c]
lea eax, [ebp - 0x2c]
push eax
call fcn.0041674d
mov dword [ebp - 0x30], eax
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x414d20
push ebx
call fcn.0042d75e
add esp, 4
mov eax, dword [ebp - 0x30]
push eax
mov ebx, dword [ebp + 0x1c]
mov ebx, dword [ebx]
test ebx, ebx
je 0x414d36
push ebx
call fcn.0042d75e
add esp, 4
pop eax
mov ebx, dword [ebp + 0x1c]
mov dword [ebx], eax
push 0x502393
mov ebx, dword [ebp + 0x1c]
push dword [ebx]
call fcn.00401272
add esp, 8
cmp eax, 0
je 0x414d95
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, 0x430f80
call fcn.0042d764
add esp, 0x34
push reloc.WS2_32.dll_bind
push 0
push 0
push 0
push 0
push 0
push reloc.WS2_32.dll_connect
push 0
push 0x5025f5
push reloc.WS2_32.dll_connect
push 0
mov ebx, dword [ebp + 0x2c]
mov eax, dword [ebx]
test eax, eax
jne 0x414dc8
mov eax, 0x502393
push eax
push 4
mov ebx, 0x42e280
call fcn.0042d764
add esp, 0x34
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0xffffffff
jle 0x4151bf
push 0
push 0
push 0
push reloc.WS2_32.dll_connect
push 0
push 0x5025f5
push reloc.WS2_32.dll_connect
push 0
mov ebx, dword [ebp + 0x2c]
mov eax, dword [ebx]
test eax, eax
jne 0x414e0f
mov eax, 0x502393
push eax
push 3
mov ebx, 0x42ebe0
call fcn.0042d764
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 0x414e47
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x414e43
imul eax, dword [ebx]
jmp 0x414e38
mov ecx, eax
test ecx, ecx
je 0x414e66
push ecx
mov eax, dword [ebx]
test eax, eax
je 0x414e5f
push ebx
push eax
call fcn.0042d75e
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x414e4d
call fcn.0042d75e
add esp, 4
pop eax
mov dword [ebp - 8], eax
mov ebx, dword [ebp - 8]
call fcn.00407739
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 0x4151b7
mov ebx, dword [ebp - 8]
call fcn.00404414
push ebx
push ecx
mov eax, dword [ebp - 0xc]
dec eax
jns 0x414eae
push 4
call fcn.0042d76a
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x414ec1
push 1
call fcn.0042d76a
add esp, 4
shl eax, 2
add ebx, eax
mov dword [ebp - 0x20], ebx
push reloc.WS2_32.dll_bind
push 0
push 0
push 0
push 0
push 0
push reloc.WS2_32.dll_connect
push 0
push 0x5026a2
push reloc.WS2_32.dll_connect
push 0
mov ebx, dword [ebp - 0x20]
mov eax, dword [ebx]
test eax, eax
jne 0x414efc
mov eax, 0x502393
push eax
push 4
mov ebx, 0x42e280
call fcn.0042d764
add esp, 0x34
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0xffffffff
jle 0x4151af
mov ebx, dword [ebp - 0x10]
push ebx
mov ecx, dword [ebx]
add ebx, 4
test ecx, ecx
je 0x414f3a
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x414f36
imul eax, dword [ebx]
jmp 0x414f2b
mov ecx, eax
test ecx, ecx
je 0x414f59
push ecx
mov eax, dword [ebx]
test eax, eax
je 0x414f52
push ebx
push eax
call fcn.0042d75e
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x414f40
call fcn.0042d75e
add esp, 4
mov eax, 0x50245d
mov dword [ebp - 0x10], eax
mov ebx, dword [ebp - 8]
call fcn.00404414
push ebx
push ecx
mov eax, dword [ebp - 0xc]
dec eax
jns 0x414f86
push 4
call fcn.0042d76a
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x414f99
push 1
call fcn.0042d76a
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 0x5026a2
push reloc.WS2_32.dll_connect
push 0
mov ebx, dword [ebp - 0x20]
mov eax, dword [ebx]
test eax, eax
jne 0x414fc8
mov eax, 0x502393
push eax
push 3
mov ebx, 0x42ebe0
call fcn.0042d764
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 0x415000
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x414ffc
imul eax, dword [ebx]
jmp 0x414ff1
mov ecx, eax
test ecx, ecx
je 0x41501f
push ecx
mov eax, dword [ebx]
test eax, eax
je 0x415018
push ebx
push eax
call fcn.0042d75e
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x415006
call fcn.0042d75e
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.00407739
cmp dword [ebp - 0xc], eax
jle 0x41504b
jmp 0x41510f
mov ebx, dword [ebp - 0x10]
call fcn.00404414
mov eax, 1
cmp eax, ecx
jl 0x415069
push 1
call fcn.0042d76a
add esp, 4
shl eax, 2
add ebx, eax
mov dword [ebp - 0x20], ebx
mov ebx, dword [ebp - 0x10]
call fcn.00404414
mov eax, 1
cmp eax, ecx
jl 0x41508f
push 1
call fcn.0042d76a
add esp, 4
shl eax, 2
add ebx, eax
mov dword [ebp - 0x24], ebx
mov ebx, dword [ebp - 0x10]
call fcn.00404414
push ebx
push ecx
mov eax, dword [ebp - 0xc]
dec eax
jns 0x4150b4
push 4
call fcn.0042d76a
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x4150c7
push 1
call fcn.0042d76a
add esp, 4
shl eax, 2
add ebx, eax
mov dword [ebp - 0x28], ebx
mov ebx, dword [ebp - 0x28]
push dword [ebx]
push 0x5026a2
mov ebx, dword [ebp - 0x24]
push dword [ebx]
mov ecx, 3
call fcn.0040108c
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 0x415104
push ebx
call fcn.0042d75e
add esp, 4
pop eax
mov ebx, dword [ebp - 0x20]
mov dword [ebx], eax
jmp 0x415032
mov ebx, dword [ebp - 0x10]
call fcn.00404414
mov eax, 0
cmp eax, ecx
jl 0x41512d
push 1
call fcn.0042d76a
add esp, 4
shl eax, 2
add ebx, eax
mov dword [ebp - 0x20], ebx
mov ebx, dword [ebp - 0x10]
call fcn.00404414
mov eax, 1
cmp eax, ecx
jl 0x415153
push 1
call fcn.0042d76a
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 0x415170
mov eax, 0x502393
push eax
push reloc.WS2_32.dll_connect
push 0
mov ebx, dword [ebp - 0x20]
mov eax, dword [ebx]
test eax, eax
jne 0x415186
mov eax, 0x502393
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, 0x430f80
call fcn.0042d764
add esp, 0x34
pop eax
pop ebx
pop ecx
jmp 0x414e83
add esp, 0xc
jmp 0x415420
push reloc.WS2_32.dll_bind
push 0
push 0
push 0
push 0
push 0
push reloc.WS2_32.dll_connect
push 0
push 0x5026a2
push reloc.WS2_32.dll_connect
push 0
mov ebx, dword [ebp + 0x2c]
mov eax, dword [ebx]
test eax, eax
jne 0x4151f2
mov eax, 0x502393
push eax
push 4
mov ebx, 0x42e280
call fcn.0042d764
add esp, 0x34
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0xffffffff
jle 0x415420
push 0
push 0
push 0
push reloc.WS2_32.dll_connect
push 0
push 0x5026a2
push reloc.WS2_32.dll_connect
push 0
mov ebx, dword [ebp + 0x2c]
mov eax, dword [ebx]
test eax, eax
jne 0x415239
mov eax, 0x502393
push eax
push 3
mov ebx, 0x42ebe0
call fcn.0042d764
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 0x415271
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x41526d
imul eax, dword [ebx]
jmp 0x415262
mov ecx, eax
test ecx, ecx
je 0x415290
push ecx
mov eax, dword [ebx]
test eax, eax
je 0x415289
push ebx
push eax
call fcn.0042d75e
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x415277
call fcn.0042d75e
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.00407739
cmp dword [ebp - 0xc], eax
jle 0x4152bc
jmp 0x415380
mov ebx, dword [ebp - 0x10]
call fcn.00404414
mov eax, 1
cmp eax, ecx
jl 0x4152da
push 1
call fcn.0042d76a
add esp, 4
shl eax, 2
add ebx, eax
mov dword [ebp - 0x20], ebx
mov ebx, dword [ebp - 0x10]
call fcn.00404414
mov eax, 1
cmp eax, ecx
jl 0x415300
push 1
call fcn.0042d76a
add esp, 4
shl eax, 2
add ebx, eax
mov dword [ebp - 0x24], ebx
mov ebx, dword [ebp - 0x10]
call fcn.00404414
push ebx
push ecx
mov eax, dword [ebp - 0xc]
dec eax
jns 0x415325
push 4
call fcn.0042d76a
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x415338
push 1
call fcn.0042d76a
add esp, 4
shl eax, 2
add ebx, eax
mov dword [ebp - 0x28], ebx
mov ebx, dword [ebp - 0x28]
push dword [ebx]
push 0x5026a2
mov ebx, dword [ebp - 0x24]
push dword [ebx]
mov ecx, 3
call fcn.0040108c
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 0x415375
push ebx
call fcn.0042d75e
add esp, 4
pop eax
mov ebx, dword [ebp - 0x20]
mov dword [ebx], eax
jmp 0x4152a3
mov ebx, dword [ebp - 0x10]
call fcn.00404414
mov eax, 0
cmp eax, ecx
jl 0x41539e
push 1
call fcn.0042d76a
add esp, 4
shl eax, 2
add ebx, eax
mov dword [ebp - 0x20], ebx
mov ebx, dword [ebp - 0x10]
call fcn.00404414
mov eax, 1
cmp eax, ecx
jl 0x4153c4
push 1
call fcn.0042d76a
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 0x4153e1
mov eax, 0x502393
push eax
push reloc.WS2_32.dll_connect
push 0
mov ebx, dword [ebp - 0x20]
mov eax, dword [ebx]
test eax, eax
jne 0x4153f7
mov eax, 0x502393
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, 0x430f80
call fcn.0042d764
add esp, 0x34
mov eax, 0x50245d
xor ecx, ecx
test eax, eax
je 0x41542e
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 0x415441
mov ebx, dword [eax + 4]
add eax, 8
push eax
cmp ebx, ecx
mov eax, 1
jne 0x415458
dec eax
test ecx, ecx
je 0x415458
call fcn.0041024c
add esp, 0xc
test eax, eax
jne 0x41549a
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, 0x430f80
call fcn.0042d764
add esp, 0x28
jmp 0x415505
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 0x4154b5
mov eax, 0x50245d
push eax
push 0x10031
push 0
push dword [ebp - 0x14]
push 3
mov ebx, 0x431980
call fcn.0042d764
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, 0x430f80
call fcn.0042d764
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, 0x430f50
call fcn.0042d764
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, 0x430fd0
call fcn.0042d764
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, 0x430fb0
call fcn.0042d764
add esp, 0x10
call fcn.0042d75e
add esp, 4
mov eax, dword [ebp - 0x24]
push eax
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x415592
push ebx
call fcn.0042d75e
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, 0x430f20
call fcn.0042d764
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 0x4155dd
push ebx
call fcn.0042d75e
add esp, 4
pop eax
mov ebx, dword [ebp + 0x4c]
mov dword [ebx], eax
push 0
push 0
push 0
push reloc.WS2_32.dll_connect
push 0
push 0x5025f5
push reloc.WS2_32.dll_connect
push 0
mov ebx, dword [ebp + 0x4c]
mov eax, dword [ebx]
test eax, eax
jne 0x41560a
mov eax, 0x502393
push eax
push 3
mov ebx, 0x42ebe0
call fcn.0042d764
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 0x415642
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x41563e
imul eax, dword [ebx]
jmp 0x415633
mov ecx, eax
test ecx, ecx
je 0x415661
push ecx
mov eax, dword [ebx]
test eax, eax
je 0x41565a
push ebx
push eax
call fcn.0042d75e
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x415648
call fcn.0042d75e
add esp, 4
pop eax
mov dword [ebp - 0x1c], eax
mov eax, 0x502393
push eax
mov ebx, dword [ebp + 0x24]
mov ebx, dword [ebx]
test ebx, ebx
je 0x415685
push ebx
call fcn.0042d75e
add esp, 4
pop eax
mov ebx, dword [ebp + 0x24]
mov dword [ebx], eax
mov ebx, dword [ebp - 0x1c]
call fcn.00407739
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 0x4159c3
mov ebx, dword [ebp - 0x1c]
call fcn.00404414
push ebx
push ecx
mov eax, dword [ebp - 0xc]
dec eax
jns 0x4156c7
push 4
call fcn.0042d76a
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x4156da
push 1
call fcn.0042d76a
add esp, 4
shl eax, 2
add ebx, eax
mov dword [ebp - 0x20], ebx
push reloc.WS2_32.dll_bind
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 0x415715
mov eax, 0x502393
push eax
push 4
mov ebx, 0x42e280
call fcn.0042d764
add esp, 0x34
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0xffffffff
jle 0x41581b
mov ebx, dword [ebp - 0x1c]
call fcn.00404414
push ebx
push ecx
mov eax, dword [ebp - 0xc]
dec eax
jns 0x415752
push 4
call fcn.0042d76a
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x415765
push 1
call fcn.0042d76a
add esp, 4
shl eax, 2
add ebx, eax
mov dword [ebp - 0x20], ebx
push reloc.WS2_32.dll_bind
push 0
push 0
push 0x80000301
push 0
push 1
mov ebx, 6
call fcn.0040634c
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 0x4157b0
mov eax, 0x502393
push eax
push 6
mov ebx, 0x42e9f0
call fcn.0042d764
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 0x4157d9
mov eax, 0x502393
push eax
push 1
mov ebx, 0x42e900
call fcn.0042d764
add esp, 0x10
mov dword [ebp - 0x28], eax
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x4157ff
push ebx
call fcn.0042d75e
add esp, 4
mov eax, dword [ebp - 0x28]
push eax
mov ebx, dword [ebp + 0x34]
mov ebx, dword [ebx]
test ebx, ebx
je 0x415815
push ebx
call fcn.0042d75e
add esp, 4
pop eax
mov ebx, dword [ebp + 0x34]
mov dword [ebx], eax
mov ebx, dword [ebp - 0x1c]
call fcn.00404414
push ebx
push ecx
mov eax, dword [ebp - 0xc]
dec eax
jns 0x415838
push 4
call fcn.0042d76a
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x41584b
push 1
call fcn.0042d76a
add esp, 4
shl eax, 2
add ebx, eax
mov dword [ebp - 0x20], ebx
push reloc.WS2_32.dll_bind
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 0x415886
mov eax, 0x502393
push eax
push 4
mov ebx, 0x42e280
call fcn.0042d764
add esp, 0x34
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0xffffffff
jle 0x4159bb
mov ebx, dword [ebp - 0x1c]
call fcn.00404414
push ebx
push ecx
mov eax, dword [ebp - 0xc]
dec eax
jns 0x4158c3
push 4
call fcn.0042d76a
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x4158d6
push 1
call fcn.0042d76a
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, 0x507502
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.004174e8
mov dword [ebp - 0x34], eax
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x415929
push ebx
call fcn.0042d75e
add esp, 4
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x415939
push ebx
call fcn.0042d75e
add esp, 4
push reloc.WS2_32.dll_connect
push 0
mov eax, dword [ebp - 0x34]
test eax, eax
jne 0x41594c
mov eax, 0x502393
push eax
push 1
mov ebx, 0x42e900
call fcn.0042d764
add esp, 0x10
mov dword [ebp - 0x38], eax
mov ebx, dword [ebp - 0x34]
test ebx, ebx
je 0x415972
push ebx
call fcn.0042d75e
add esp, 4
push 0x507510
push dword [ebp - 0x38]
mov ebx, dword [ebp + 0x24]
push dword [ebx]
mov ecx, 3
call fcn.0040108c
add esp, 0xc
mov dword [ebp - 0x3c], eax
mov ebx, dword [ebp - 0x38]
test ebx, ebx
je 0x41599f
push ebx
call fcn.0042d75e
add esp, 4
mov eax, dword [ebp - 0x3c]
push eax
mov ebx, dword [ebp + 0x24]
mov ebx, dword [ebx]
test ebx, ebx
je 0x4159b5
push ebx
call fcn.0042d75e
add esp, 4
pop eax
mov ebx, dword [ebp + 0x24]
mov dword [ebx], eax
pop eax
pop ebx
pop ecx
jmp 0x41569c
add esp, 0xc
push dword [ebp + 0x24]
push dword [ebp + 0x1c]
call fcn.0041674d
mov ebx, eax
test ebx, ebx
je 0x4159e0
push ebx
call fcn.0042d75e
add esp, 4
mov dword [ebp - 0x20], 0
push 0
push dword [ebp - 0x20]
push 1
push 1
push dword [ebp + 8]
call fcn.00415bd7
mov dword [ebp - 0x24], eax
push dword [ebp + 0x1c]
lea eax, [ebp - 0x24]
push eax
call fcn.004178d6
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x415a1a
push ebx
call fcn.0042d75e
add esp, 4
push 0x502393
mov ebx, dword [ebp + 0x34]
push dword [ebx]
call fcn.00401272
add esp, 8
cmp eax, 0
jne 0x415a6c
mov ebx, dword [ebp + 0x4c]
mov eax, dword [ebx]
test eax, eax
je 0x415a53
push eax
mov ebx, eax
call fcn.00401021
inc eax
push eax
call fcn.0042d758
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 0x415a66
push ebx
call fcn.0042d75e
add esp, 4
pop eax
mov ebx, dword [ebp + 0x34]
mov dword [ebx], eax
mov dword [ebp - 0x20], esp
mov eax, 0x1d
call fcn.0042d770
cmp dword [ebp - 0x20], esp
je 0x415a8b
push 6
call fcn.0042d76a
add esp, 4
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x415aa5
push eax
mov eax, dword [eax + 4]
add eax, 8
push eax
call fcn.0042d758
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
jmp 0x415aaa
push eax
mov ebx, dword [ebp - 4]
push ebx
push 0x10030
push 0
push ebx
push 1
mov ebx, 0x431ed0
call fcn.0042d764
add esp, 0x10
call fcn.0042d75e
add esp, 4
mov ebx, dword [ebp - 8]
push ebx
mov ecx, dword [ebx]
add ebx, 4
test ecx, ecx
je 0x415aec
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x415ae8
imul eax, dword [ebx]
jmp 0x415add
mov ecx, eax
test ecx, ecx
je 0x415b0b
push ecx
mov eax, dword [ebx]
test eax, eax
je 0x415b04
push ebx
push eax
call fcn.0042d75e
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x415af2
call fcn.0042d75e
add esp, 4
mov ebx, dword [ebp - 0x10]
push ebx
mov ecx, dword [ebx]
add ebx, 4
test ecx, ecx
je 0x415b31
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x415b2d
imul eax, dword [ebx]
jmp 0x415b22
mov ecx, eax
test ecx, ecx
je 0x415b50
push ecx
mov eax, dword [ebx]
test eax, eax
je 0x415b49
push ebx
push eax
call fcn.0042d75e
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x415b37
call fcn.0042d75e
add esp, 4
mov ebx, dword [ebp - 0x14]
push ebx
push 0x10031
push 0
push ebx
push 1
mov ebx, 0x430fb0
call fcn.0042d764
add esp, 0x10
call fcn.0042d75e
add esp, 4
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x415b8b
push ebx
call fcn.0042d75e
add esp, 4
mov ebx, dword [ebp - 0x1c]
push ebx
mov ecx, dword [ebx]
add ebx, 4
test ecx, ecx
je 0x415ba9
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x415ba5
imul eax, dword [ebx]
jmp 0x415b9a
mov ecx, eax
test ecx, ecx
je 0x415bc8
push ecx
mov eax, dword [ebx]
test eax, eax
je 0x415bc1
push ebx
push eax
call fcn.0042d75e
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x415baf
call fcn.0042d75e
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret 0x54