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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
push 8
call fcn.004074c0
add esp, 4
mov dword [ebp - 4], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 0
push 8
call fcn.004074c0
add esp, 4
mov dword [ebp - 8], eax
mov edi, eax
mov esi, 0x480d24
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.004074c0
add esp, 4
mov dword [ebp - 0x10], eax
mov edi, eax
mov esi, 0x480d24
lodsd eax, dword [esi]
stosd dword es:[edi], eax
lodsd eax, dword [esi]
stosd dword es:[edi], eax
push 0x10
call fcn.004074c0
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.004074c0
add esp, 4
mov dword [ebp - 0x1c], eax
mov edi, eax
mov esi, 0x480d24
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.004074d2
cmp dword [ebp - 0x20], esp
je 0x4023a2
push 6
call fcn.004074c6
add esp, 4
push 0
push 0
push 0
push VariantClear
push 0
push 0x480d09
push 0x10030
push 0
push dword [ebp - 4]
push 3
mov ebx, 0x409d40
call fcn.004074ba
add esp, 0x28
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0
jne 0x4023e7
mov eax, 0x480d24
jmp 0x4034a4
push VariantClear
push 0
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebx]
test eax, eax
jne 0x4023fc
mov eax, 0x480c34
push eax
push 1
mov ebx, 0x407b50
call fcn.004074ba
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 0x402428
push ebx
call fcn.004074a8
add esp, 4
pop eax
mov ebx, dword [ebp + 0xc]
mov dword [ebx], eax
push 0x480c34
mov ebx, dword [ebp + 0xc]
push dword [ebx]
call fcn.0040107a
add esp, 8
cmp eax, 0
jne 0x402467
mov eax, 0x480d2c
push eax
mov ebx, dword [ebp + 0xc]
mov ebx, dword [ebx]
test ebx, ebx
je 0x402461
push ebx
call fcn.004074a8
add esp, 4
pop eax
mov ebx, dword [ebp + 0xc]
mov dword [ebx], eax
cmp dword [ebp + 0x44], 0xffffffff
je 0x4024f8
cmp dword [ebp + 0x44], 1
jge 0x402487
mov dword [ebp + 0x44], 0x3a98
jmp 0x4024a4
fild dword [ebp + 0x44]
fstp qword [ebp - 0x24]
fld qword [ebp - 0x24]
fmul qword [0x480d01]
fstp qword [ebp - 0x2c]
fld qword [ebp - 0x2c]
call fcn.00401117
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 VariantClear
push 0
push str.SetTimeouts
push 0x10030
push 0
push dword [ebp - 4]
push 6
mov ebx, 0x408e10
call fcn.004074ba
add esp, 0x4c
push 0x480c34
push dword [0x4a4590]
call fcn.0040107a
add esp, 8
cmp eax, 0
je 0x4025bc
push 0xa0000004
push 0
push 0x4a4590
push 0x80000301
push 0
push 2
push VariantClear
push 0
push str.SetProxy
push 0x10030
push 0
push dword [ebp - 4]
push 4
mov ebx, 0x408e10
call fcn.004074ba
add esp, 0x34
push 0x480c34
push dword [0x4a4594]
call fcn.0040107a
add esp, 8
cmp eax, 0
je 0x4025bc
push 0xa0000301
push 0
push 0x4a459c
push 0xa0000004
push 0
push 0x4a4598
push 0xa0000004
push 0
push 0x4a4594
push VariantClear
push 0
push str.SetProxyCredentials
push 0x10030
push 0
push dword [ebp - 4]
push 5
mov ebx, 0x408e10
call fcn.004074ba
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 VariantClear
push 0
push str.Open
push 0x10030
push 0
push dword [ebp - 4]
push 5
mov ebx, 0x408e10
call fcn.004074ba
add esp, 0x40
cmp dword [ebp + 0x3c], 0
je 0x40264e
push 0x80000301
push 0
push 0
push 0x80000301
push 0
push 6
push VariantClear
push 0
push str.Option
push 0x10030
push 0
push dword [ebp - 4]
push 4
mov ebx, 0x409c90
call fcn.004074ba
add esp, 0x34
push 0x480c34
mov ebx, dword [ebp + 0x2c]
push dword [ebx]
call fcn.0040107a
add esp, 8
cmp eax, 0
jne 0x4026a4
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.004011a9
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 0x40269e
push ebx
call fcn.004074a8
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.004035d1
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.00403c33
mov dword [ebp - 0x2c], eax
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x4026eb
push ebx
call fcn.004074a8
add esp, 4
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x4026fb
push ebx
call fcn.004074a8
add esp, 4
push dword [ebp + 0x1c]
lea eax, [ebp - 0x2c]
push eax
call fcn.00404147
mov dword [ebp - 0x30], eax
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x40271a
push ebx
call fcn.004074a8
add esp, 4
mov eax, dword [ebp - 0x30]
push eax
mov ebx, dword [ebp + 0x1c]
mov ebx, dword [ebx]
test ebx, ebx
je 0x402730
push ebx
call fcn.004074a8
add esp, 4
pop eax
mov ebx, dword [ebp + 0x1c]
mov dword [ebx], eax
push 0x480c34
mov ebx, dword [ebp + 0x1c]
push dword [ebx]
call fcn.0040107a
add esp, 8
cmp eax, 0
je 0x40278f
push 0xa0000004
push 0
push dword [ebp + 0x1c]
push VariantClear
push 0
push str.Cookie
push VariantClear
push 0
push str.SetRequestHeader
push 0x10030
push 0
push dword [ebp - 4]
push 4
mov ebx, 0x408e10
call fcn.004074ba
add esp, 0x34
push reloc.OLEAUT32.dll_SysReAllocString
push 0
push 0
push 0
push 0
push 0
push VariantClear
push 0
push 0x480e2b
push VariantClear
push 0
mov ebx, dword [ebp + 0x2c]
mov eax, dword [ebx]
test eax, eax
jne 0x4027c2
mov eax, 0x480c34
push eax
push 4
mov ebx, 0x4079d0
call fcn.004074ba
add esp, 0x34
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0xffffffff
jle 0x402bb9
push 0
push 0
push 0
push VariantClear
push 0
push 0x480e2b
push VariantClear
push 0
mov ebx, dword [ebp + 0x2c]
mov eax, dword [ebx]
test eax, eax
jne 0x402809
mov eax, 0x480c34
push eax
push 3
mov ebx, 0x4080a0
call fcn.004074ba
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 0x402841
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x40283d
imul eax, dword [ebx]
jmp 0x402832
mov ecx, eax
test ecx, ecx
je 0x402860
push ecx
mov eax, dword [ebx]
test eax, eax
je 0x402859
push ebx
push eax
call fcn.004074a8
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x402847
call fcn.004074a8
add esp, 4
pop eax
mov dword [ebp - 8], eax
mov ebx, dword [ebp - 8]
call fcn.004021de
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 0x402bb1
mov ebx, dword [ebp - 8]
call fcn.004021f7
push ebx
push ecx
mov eax, dword [ebp - 0xc]
dec eax
jns 0x4028a8
push 4
call fcn.004074c6
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x4028bb
push 1
call fcn.004074c6
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 VariantClear
push 0
push 0x480e2e
push VariantClear
push 0
mov ebx, dword [ebp - 0x20]
mov eax, dword [ebx]
test eax, eax
jne 0x4028f6
mov eax, 0x480c34
push eax
push 4
mov ebx, 0x4079d0
call fcn.004074ba
add esp, 0x34
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0xffffffff
jle 0x402ba9
mov ebx, dword [ebp - 0x10]
push ebx
mov ecx, dword [ebx]
add ebx, 4
test ecx, ecx
je 0x402934
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x402930
imul eax, dword [ebx]
jmp 0x402925
mov ecx, eax
test ecx, ecx
je 0x402953
push ecx
mov eax, dword [ebx]
test eax, eax
je 0x40294c
push ebx
push eax
call fcn.004074a8
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x40293a
call fcn.004074a8
add esp, 4
mov eax, 0x480d24
mov dword [ebp - 0x10], eax
mov ebx, dword [ebp - 8]
call fcn.004021f7
push ebx
push ecx
mov eax, dword [ebp - 0xc]
dec eax
jns 0x402980
push 4
call fcn.004074c6
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x402993
push 1
call fcn.004074c6
add esp, 4
shl eax, 2
add ebx, eax
mov dword [ebp - 0x20], ebx
push 0
push 0
push 0
push VariantClear
push 0
push 0x480e2e
push VariantClear
push 0
mov ebx, dword [ebp - 0x20]
mov eax, dword [ebx]
test eax, eax
jne 0x4029c2
mov eax, 0x480c34
push eax
push 3
mov ebx, 0x4080a0
call fcn.004074ba
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 0x4029fa
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x4029f6
imul eax, dword [ebx]
jmp 0x4029eb
mov ecx, eax
test ecx, ecx
je 0x402a19
push ecx
mov eax, dword [ebx]
test eax, eax
je 0x402a12
push ebx
push eax
call fcn.004074a8
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x402a00
call fcn.004074a8
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.004021de
cmp dword [ebp - 0xc], eax
jle 0x402a45
jmp 0x402b09
mov ebx, dword [ebp - 0x10]
call fcn.004021f7
mov eax, 1
cmp eax, ecx
jl 0x402a63
push 1
call fcn.004074c6
add esp, 4
shl eax, 2
add ebx, eax
mov dword [ebp - 0x20], ebx
mov ebx, dword [ebp - 0x10]
call fcn.004021f7
mov eax, 1
cmp eax, ecx
jl 0x402a89
push 1
call fcn.004074c6
add esp, 4
shl eax, 2
add ebx, eax
mov dword [ebp - 0x24], ebx
mov ebx, dword [ebp - 0x10]
call fcn.004021f7
push ebx
push ecx
mov eax, dword [ebp - 0xc]
dec eax
jns 0x402aae
push 4
call fcn.004074c6
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x402ac1
push 1
call fcn.004074c6
add esp, 4
shl eax, 2
add ebx, eax
mov dword [ebp - 0x28], ebx
mov ebx, dword [ebp - 0x28]
push dword [ebx]
push 0x480e2e
mov ebx, dword [ebp - 0x24]
push dword [ebx]
mov ecx, 3
call fcn.004011a9
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 0x402afe
push ebx
call fcn.004074a8
add esp, 4
pop eax
mov ebx, dword [ebp - 0x20]
mov dword [ebx], eax
jmp 0x402a2c
mov ebx, dword [ebp - 0x10]
call fcn.004021f7
mov eax, 0
cmp eax, ecx
jl 0x402b27
push 1
call fcn.004074c6
add esp, 4
shl eax, 2
add ebx, eax
mov dword [ebp - 0x20], ebx
mov ebx, dword [ebp - 0x10]
call fcn.004021f7
mov eax, 1
cmp eax, ecx
jl 0x402b4d
push 1
call fcn.004074c6
add esp, 4
shl eax, 2
add ebx, eax
mov dword [ebp - 0x24], ebx
push VariantClear
push 0
mov ebx, dword [ebp - 0x24]
mov eax, dword [ebx]
test eax, eax
jne 0x402b6a
mov eax, 0x480c34
push eax
push VariantClear
push 0
mov ebx, dword [ebp - 0x20]
mov eax, dword [ebx]
test eax, eax
jne 0x402b80
mov eax, 0x480c34
push eax
push VariantClear
push 0
push str.SetRequestHeader
push 0x10030
push 0
push dword [ebp - 4]
push 4
mov ebx, 0x408e10
call fcn.004074ba
add esp, 0x34
pop eax
pop ebx
pop ecx
jmp 0x40287d
add esp, 0xc
jmp 0x402e1a
push reloc.OLEAUT32.dll_SysReAllocString
push 0
push 0
push 0
push 0
push 0
push VariantClear
push 0
push 0x480e2e
push VariantClear
push 0
mov ebx, dword [ebp + 0x2c]
mov eax, dword [ebx]
test eax, eax
jne 0x402bec
mov eax, 0x480c34
push eax
push 4
mov ebx, 0x4079d0
call fcn.004074ba
add esp, 0x34
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0xffffffff
jle 0x402e1a
push 0
push 0
push 0
push VariantClear
push 0
push 0x480e2e
push VariantClear
push 0
mov ebx, dword [ebp + 0x2c]
mov eax, dword [ebx]
test eax, eax
jne 0x402c33
mov eax, 0x480c34
push eax
push 3
mov ebx, 0x4080a0
call fcn.004074ba
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 0x402c6b
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x402c67
imul eax, dword [ebx]
jmp 0x402c5c
mov ecx, eax
test ecx, ecx
je 0x402c8a
push ecx
mov eax, dword [ebx]
test eax, eax
je 0x402c83
push ebx
push eax
call fcn.004074a8
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x402c71
call fcn.004074a8
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.004021de
cmp dword [ebp - 0xc], eax
jle 0x402cb6
jmp 0x402d7a
mov ebx, dword [ebp - 0x10]
call fcn.004021f7
mov eax, 1
cmp eax, ecx
jl 0x402cd4
push 1
call fcn.004074c6
add esp, 4
shl eax, 2
add ebx, eax
mov dword [ebp - 0x20], ebx
mov ebx, dword [ebp - 0x10]
call fcn.004021f7
mov eax, 1
cmp eax, ecx
jl 0x402cfa
push 1
call fcn.004074c6
add esp, 4
shl eax, 2
add ebx, eax
mov dword [ebp - 0x24], ebx
mov ebx, dword [ebp - 0x10]
call fcn.004021f7
push ebx
push ecx
mov eax, dword [ebp - 0xc]
dec eax
jns 0x402d1f
push 4
call fcn.004074c6
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x402d32
push 1
call fcn.004074c6
add esp, 4
shl eax, 2
add ebx, eax
mov dword [ebp - 0x28], ebx
mov ebx, dword [ebp - 0x28]
push dword [ebx]
push 0x480e2e
mov ebx, dword [ebp - 0x24]
push dword [ebx]
mov ecx, 3
call fcn.004011a9
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 0x402d6f
push ebx
call fcn.004074a8
add esp, 4
pop eax
mov ebx, dword [ebp - 0x20]
mov dword [ebx], eax
jmp 0x402c9d
mov ebx, dword [ebp - 0x10]
call fcn.004021f7
mov eax, 0
cmp eax, ecx
jl 0x402d98
push 1
call fcn.004074c6
add esp, 4
shl eax, 2
add ebx, eax
mov dword [ebp - 0x20], ebx
mov ebx, dword [ebp - 0x10]
call fcn.004021f7
mov eax, 1
cmp eax, ecx
jl 0x402dbe
push 1
call fcn.004074c6
add esp, 4
shl eax, 2
add ebx, eax
mov dword [ebp - 0x24], ebx
push VariantClear
push 0
mov ebx, dword [ebp - 0x24]
mov eax, dword [ebx]
test eax, eax
jne 0x402ddb
mov eax, 0x480c34
push eax
push VariantClear
push 0
mov ebx, dword [ebp - 0x20]
mov eax, dword [ebx]
test eax, eax
jne 0x402df1
mov eax, 0x480c34
push eax
push VariantClear
push 0
push str.SetRequestHeader
push 0x10030
push 0
push dword [ebp - 4]
push 4
mov ebx, 0x408e10
call fcn.004074ba
add esp, 0x34
mov eax, 0x480d24
xor ecx, ecx
test eax, eax
je 0x402e28
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 0x402e3b
mov ebx, dword [eax + 4]
add eax, 8
push eax
cmp ebx, ecx
mov eax, 1
jne 0x402e52
dec eax
test ecx, ecx
je 0x402e52
call fcn.00402217
add esp, 0xc
test eax, eax
jne 0x402e94
push 0xa0000004
push 0
push dword [ebp + 0x14]
push VariantClear
push 0
push str.Send
push 0x10030
push 0
push dword [ebp - 4]
push 3
mov ebx, 0x408e10
call fcn.004074ba
add esp, 0x28
jmp 0x402eff
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 0x402eaf
mov eax, 0x480d24
push eax
push 0x10031
push 0
push dword [ebp - 0x14]
push 3
mov ebx, 0x409810
call fcn.004074ba
add esp, 0x28
push 0x20010031
push 0
lea eax, [ebp - 0x14]
push eax
push VariantClear
push 0
push str.Send
push 0x10030
push 0
push dword [ebp - 4]
push 3
mov ebx, 0x408e10
call fcn.004074ba
add esp, 0x28
push 0
push 0
push 0
push VariantClear
push 0
push str.ResponseBody
push 0x10030
push 0
push dword [ebp - 4]
push 3
mov ebx, 0x408de0
call fcn.004074ba
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, 0x408e60
call fcn.004074ba
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, 0x408e40
call fcn.004074ba
add esp, 0x10
call fcn.004074a8
add esp, 4
mov eax, dword [ebp - 0x24]
push eax
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x402f8c
push ebx
call fcn.004074a8
add esp, 4
pop eax
mov dword [ebp - 0x18], eax
push 0
push 0
push 0
push VariantClear
push 0
push str.GetallResponseHeaders
push 0x10030
push 0
push dword [ebp - 4]
push 3
mov ebx, 0x408db0
call fcn.004074ba
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 0x402fd7
push ebx
call fcn.004074a8
add esp, 4
pop eax
mov ebx, dword [ebp + 0x4c]
mov dword [ebx], eax
push 0
push 0
push 0
push VariantClear
push 0
push 0x480e2b
push VariantClear
push 0
mov ebx, dword [ebp + 0x4c]
mov eax, dword [ebx]
test eax, eax
jne 0x403004
mov eax, 0x480c34
push eax
push 3
mov ebx, 0x4080a0
call fcn.004074ba
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 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.004074a8
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x403042
call fcn.004074a8
add esp, 4
pop eax
mov dword [ebp - 0x1c], eax
mov eax, 0x480c34
push eax
mov ebx, dword [ebp + 0x24]
mov ebx, dword [ebx]
test ebx, ebx
je 0x40307f
push ebx
call fcn.004074a8
add esp, 4
pop eax
mov ebx, dword [ebp + 0x24]
mov dword [ebx], eax
mov ebx, dword [ebp - 0x1c]
call fcn.004021de
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 0x4033bd
mov ebx, dword [ebp - 0x1c]
call fcn.004021f7
push ebx
push ecx
mov eax, dword [ebp - 0xc]
dec eax
jns 0x4030c1
push 4
call fcn.004074c6
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x4030d4
push 1
call fcn.004074c6
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 VariantClear
push 0
push str.Location:
push VariantClear
push 0
mov ebx, dword [ebp - 0x20]
mov eax, dword [ebx]
test eax, eax
jne 0x40310f
mov eax, 0x480c34
push eax
push 4
mov ebx, 0x4079d0
call fcn.004074ba
add esp, 0x34
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0xffffffff
jle 0x403215
mov ebx, dword [ebp - 0x1c]
call fcn.004021f7
push ebx
push ecx
mov eax, dword [ebp - 0xc]
dec eax
jns 0x40314c
push 4
call fcn.004074c6
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x40315f
push 1
call fcn.004074c6
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.00401004
push VariantClear
push 0
push str.Location:
push VariantClear
push 0
mov ebx, dword [ebp - 0x20]
mov eax, dword [ebx]
test eax, eax
jne 0x4031aa
mov eax, 0x480c34
push eax
push 6
mov ebx, 0x407eb0
call fcn.004074ba
add esp, 0x4c
mov dword [ebp - 0x24], eax
push VariantClear
push 0
mov eax, dword [ebp - 0x24]
test eax, eax
jne 0x4031d3
mov eax, 0x480c34
push eax
push 1
mov ebx, 0x407e90
call fcn.004074ba
add esp, 0x10
mov dword [ebp - 0x28], eax
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x4031f9
push ebx
call fcn.004074a8
add esp, 4
mov eax, dword [ebp - 0x28]
push eax
mov ebx, dword [ebp + 0x34]
mov ebx, dword [ebx]
test ebx, ebx
je 0x40320f
push ebx
call fcn.004074a8
add esp, 4
pop eax
mov ebx, dword [ebp + 0x34]
mov dword [ebx], eax
mov ebx, dword [ebp - 0x1c]
call fcn.004021f7
push ebx
push ecx
mov eax, dword [ebp - 0xc]
dec eax
jns 0x403232
push 4
call fcn.004074c6
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x403245
push 1
call fcn.004074c6
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 VariantClear
push 0
push str.Set_Cookie
push VariantClear
push 0
mov ebx, dword [ebp - 0x20]
mov eax, dword [ebx]
test eax, eax
jne 0x403280
mov eax, 0x480c34
push eax
push 4
mov ebx, 0x4079d0
call fcn.004074ba
add esp, 0x34
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0xffffffff
jle 0x4033b5
mov ebx, dword [ebp - 0x1c]
call fcn.004021f7
push ebx
push ecx
mov eax, dword [ebp - 0xc]
dec eax
jns 0x4032bd
push 4
call fcn.004074c6
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x4032d0
push 1
call fcn.004074c6
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, 0x480e6d
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.00404ee2
mov dword [ebp - 0x34], eax
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x403323
push ebx
call fcn.004074a8
add esp, 4
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x403333
push ebx
call fcn.004074a8
add esp, 4
push VariantClear
push 0
mov eax, dword [ebp - 0x34]
test eax, eax
jne 0x403346
mov eax, 0x480c34
push eax
push 1
mov ebx, 0x407e90
call fcn.004074ba
add esp, 0x10
mov dword [ebp - 0x38], eax
mov ebx, dword [ebp - 0x34]
test ebx, ebx
je 0x40336c
push ebx
call fcn.004074a8
add esp, 4
push 0x480e7b
push dword [ebp - 0x38]
mov ebx, dword [ebp + 0x24]
push dword [ebx]
mov ecx, 3
call fcn.004011a9
add esp, 0xc
mov dword [ebp - 0x3c], eax
mov ebx, dword [ebp - 0x38]
test ebx, ebx
je 0x403399
push ebx
call fcn.004074a8
add esp, 4
mov eax, dword [ebp - 0x3c]
push eax
mov ebx, dword [ebp + 0x24]
mov ebx, dword [ebx]
test ebx, ebx
je 0x4033af
push ebx
call fcn.004074a8
add esp, 4
pop eax
mov ebx, dword [ebp + 0x24]
mov dword [ebx], eax
pop eax
pop ebx
pop ecx
jmp 0x403096
add esp, 0xc
push dword [ebp + 0x24]
push dword [ebp + 0x1c]
call fcn.00404147
mov ebx, eax
test ebx, ebx
je 0x4033da
push ebx
call fcn.004074a8
add esp, 4
mov dword [ebp - 0x20], 0
push 0
push dword [ebp - 0x20]
push 1
push 1
push dword [ebp + 8]
call fcn.004035d1
mov dword [ebp - 0x24], eax
push dword [ebp + 0x1c]
lea eax, [ebp - 0x24]
push eax
call fcn.004052d0
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x403414
push ebx
call fcn.004074a8
add esp, 4
push 0x480c34
mov ebx, dword [ebp + 0x34]
push dword [ebx]
call fcn.0040107a
add esp, 8
cmp eax, 0
jne 0x403466
mov ebx, dword [ebp + 0x4c]
mov eax, dword [ebx]
test eax, eax
je 0x40344d
push eax
mov ebx, eax
call fcn.0040113e
inc eax
push eax
call fcn.004074c0
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 0x403460
push ebx
call fcn.004074a8
add esp, 4
pop eax
mov ebx, dword [ebp + 0x34]
mov dword [ebx], eax
mov dword [ebp - 0x20], esp
mov eax, 1
call fcn.004074d2
cmp dword [ebp - 0x20], esp
je 0x403485
push 6
call fcn.004074c6
add esp, 4
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x40349f
push eax
mov eax, dword [eax + 4]
add eax, 8
push eax
call fcn.004074c0
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
jmp 0x4034a4
push eax
mov ebx, dword [ebp - 4]
push ebx
push 0x10030
push 0
push ebx
push 1
mov ebx, 0x409d30
call fcn.004074ba
add esp, 0x10
call fcn.004074a8
add esp, 4
mov ebx, dword [ebp - 8]
push ebx
mov ecx, dword [ebx]
add ebx, 4
test ecx, ecx
je 0x4034e6
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x4034e2
imul eax, dword [ebx]
jmp 0x4034d7
mov ecx, eax
test ecx, ecx
je 0x403505
push ecx
mov eax, dword [ebx]
test eax, eax
je 0x4034fe
push ebx
push eax
call fcn.004074a8
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x4034ec
call fcn.004074a8
add esp, 4
mov ebx, dword [ebp - 0x10]
push ebx
mov ecx, dword [ebx]
add ebx, 4
test ecx, ecx
je 0x40352b
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x403527
imul eax, dword [ebx]
jmp 0x40351c
mov ecx, eax
test ecx, ecx
je 0x40354a
push ecx
mov eax, dword [ebx]
test eax, eax
je 0x403543
push ebx
push eax
call fcn.004074a8
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x403531
call fcn.004074a8
add esp, 4
mov ebx, dword [ebp - 0x14]
push ebx
push 0x10031
push 0
push ebx
push 1
mov ebx, 0x408e40
call fcn.004074ba
add esp, 0x10
call fcn.004074a8
add esp, 4
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x403585
push ebx
call fcn.004074a8
add esp, 4
mov ebx, dword [ebp - 0x1c]
push ebx
mov ecx, dword [ebx]
add ebx, 4
test ecx, ecx
je 0x4035a3
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x40359f
imul eax, dword [ebx]
jmp 0x403594
mov ecx, eax
test ecx, ecx
je 0x4035c2
push ecx
mov eax, dword [ebx]
test eax, eax
je 0x4035bb
push ebx
push eax
call fcn.004074a8
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x4035a9
call fcn.004074a8
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret 0x54