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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40
mov dword [ebp - 4], 0
push 8
call fcn.0041e024
add esp, 4
mov dword [ebp - 8], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 0
push 8
call fcn.0041e024
add esp, 4
mov dword [ebp - 0xc], eax
mov edi, eax
mov esi, 0x4c1160
lodsd eax, dword [esi]
stosd dword es:[edi], eax
lodsd eax, dword [esi]
stosd dword es:[edi], eax
mov dword [ebp - 0x10], 0
push 8
call fcn.0041e024
add esp, 4
mov dword [ebp - 0x14], eax
mov edi, eax
mov esi, 0x4c1160
lodsd eax, dword [esi]
stosd dword es:[edi], eax
lodsd eax, dword [esi]
stosd dword es:[edi], eax
push 0x10
call fcn.0041e024
add esp, 4
mov dword [ebp - 0x18], 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 - 0x1c], 0
push 8
call fcn.0041e024
add esp, 4
mov dword [ebp - 0x20], eax
mov edi, eax
mov esi, 0x4c1160
lodsd eax, dword [esi]
stosd dword es:[edi], eax
lodsd eax, dword [esi]
stosd dword es:[edi], eax
push 0x80000301
push 0
push 7
push reloc.OLEAUT32.dll_SysReAllocStringLen
push 0
mov ebx, dword [ebp + 8]
mov eax, dword [ebx]
test eax, eax
jne 0x402e71
mov eax, 0x4c116e
push eax
push 2
mov ebx, 0x41e5c0
call fcn.0041e01e
add esp, 0x1c
mov dword [ebp - 0x24], eax
push str.http:__
push dword [ebp - 0x24]
call fcn.00401004
add esp, 8
cmp eax, 0
mov eax, 0
sete al
mov dword [ebp - 0x28], eax
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x402eb5
push ebx
call fcn.0041e02a
add esp, 4
mov ebx, dword [ebp + 8]
push dword [ebx]
push str.http:__
mov ecx, 2
call fcn.0040110c
add esp, 8
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x28], 0
je 0x402efc
mov ebx, dword [ebp + 8]
mov eax, dword [ebx]
test eax, eax
je 0x402ef7
push eax
mov ebx, eax
call fcn.004010a1
inc eax
push eax
call fcn.0041e024
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
jmp 0x402f18
mov eax, dword [ebp - 0x2c]
test eax, eax
je 0x402f18
push eax
mov ebx, eax
call fcn.004010a1
inc eax
push eax
call fcn.0041e024
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
mov dword [ebp - 0x30], eax
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x402f2b
push ebx
call fcn.0041e02a
add esp, 4
mov eax, dword [ebp - 0x30]
push eax
mov ebx, dword [ebp + 8]
mov ebx, dword [ebx]
test ebx, ebx
je 0x402f41
push ebx
call fcn.0041e02a
add esp, 4
pop eax
mov ebx, dword [ebp + 8]
mov dword [ebx], eax
cmp dword [ebp + 0xc], 0
je 0x402f5b
mov eax, str.POST
jmp 0x402f60
mov eax, 0x4c1307
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x24]
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x402f77
push ebx
call fcn.0041e02a
add esp, 4
pop eax
mov dword [ebp - 4], eax
mov dword [ebp - 0x24], esp
push 0
mov eax, 4
call fcn.0041e036
cmp dword [ebp - 0x24], esp
je 0x402f9f
push 6
call fcn.0041e030
add esp, 4
push 0
push 0
push 0
push reloc.OLEAUT32.dll_SysReAllocStringLen
push 0
push str.WinHttp.WinHttpRequest.5.1
push 0x10030
push 0
push dword [ebp - 8]
push 3
mov ebx, 0x422850
call fcn.0041e01e
add esp, 0x28
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0
jne 0x402fe4
mov eax, 0x4c1160
jmp 0x40407e
push reloc.OLEAUT32.dll_SysReAllocStringLen
push 0
mov eax, dword [ebp - 4]
test eax, eax
jne 0x402ff7
mov eax, 0x4c116e
push eax
push 1
mov ebx, 0x41e9f0
call fcn.0041e01e
add esp, 0x10
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x24]
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x403021
push ebx
call fcn.0041e02a
add esp, 4
pop eax
mov dword [ebp - 4], eax
push 0x4c116e
push dword [ebp - 4]
call fcn.00401004
add esp, 8
cmp eax, 0
jne 0x403058
mov eax, 0x4c1307
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x403054
push ebx
call fcn.0041e02a
add esp, 4
pop eax
mov dword [ebp - 4], eax
cmp dword [ebp + 0x4c], 0xffffffff
je 0x4030e9
cmp dword [ebp + 0x4c], 1
jge 0x403078
mov dword [ebp + 0x4c], 0x3a98
jmp 0x403095
fild dword [ebp + 0x4c]
fstp qword [ebp - 0x28]
fld qword [ebp - 0x28]
fmul qword [0x4c132e]
fstp qword [ebp - 0x30]
fld qword [ebp - 0x30]
call fcn.00401376
mov dword [ebp + 0x4c], eax
push 0xa0000301
push 0
lea eax, [ebp + 0x4c]
push eax
push 0xa0000301
push 0
lea eax, [ebp + 0x4c]
push eax
push 0xa0000301
push 0
lea eax, [ebp + 0x4c]
push eax
push 0xa0000301
push 0
lea eax, [ebp + 0x4c]
push eax
push reloc.OLEAUT32.dll_SysReAllocStringLen
push 0
push 0x4c1336
push 0x10030
push 0
push dword [ebp - 8]
push 6
mov ebx, 0x4214a0
call fcn.0041e01e
add esp, 0x4c
push 0x4c116e
push dword [0x4f6784]
call fcn.00401004
add esp, 8
cmp eax, 0
je 0x4031ad
push 0xa0000004
push 0
push 0x4f6784
push 0x80000301
push 0
push 2
push reloc.OLEAUT32.dll_SysReAllocStringLen
push 0
push str.SetProxy
push 0x10030
push 0
push dword [ebp - 8]
push 4
mov ebx, 0x4214a0
call fcn.0041e01e
add esp, 0x34
push 0x4c116e
push dword [0x4f6788]
call fcn.00401004
add esp, 8
cmp eax, 0
je 0x4031ad
push 0xa0000301
push 0
push 0x4f6790
push 0xa0000004
push 0
push 0x4f678c
push 0xa0000004
push 0
push 0x4f6788
push reloc.OLEAUT32.dll_SysReAllocStringLen
push 0
push str.SetProxyCredentials
push 0x10030
push 0
push dword [ebp - 8]
push 5
mov ebx, 0x4214a0
call fcn.0041e01e
add esp, 0x40
push reloc.OLEAUT32.dll_SysReAllocString
push 0
push 0
push 0xa0000004
push 0
push dword [ebp + 8]
push 0xa0000004
push 0
lea eax, [ebp - 4]
push eax
push reloc.OLEAUT32.dll_SysReAllocStringLen
push 0
push str.Open
push 0x10030
push 0
push dword [ebp - 8]
push 5
mov ebx, 0x4214a0
call fcn.0041e01e
add esp, 0x40
cmp dword [ebp + 0x44], 0
je 0x403240
push 0x80000301
push 0
push 0
push 0x80000301
push 0
push 6
push reloc.OLEAUT32.dll_SysReAllocStringLen
push 0
push str.Option
push 0x10030
push 0
push dword [ebp - 8]
push 4
mov ebx, 0x422660
call fcn.0041e01e
add esp, 0x34
push 0x4c116e
mov ebx, dword [ebp + 0x1c]
push dword [ebx]
call fcn.00401004
add esp, 8
cmp eax, 0
jne 0x403296
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 - 0x24], eax
mov eax, dword [ebp - 0x24]
push eax
mov ebx, dword [ebp + 0x1c]
mov ebx, dword [ebx]
test ebx, ebx
je 0x403290
push ebx
call fcn.0041e02a
add esp, 4
pop eax
mov ebx, dword [ebp + 0x1c]
mov dword [ebx], eax
push 1
push 1
push dword [ebp + 8]
call fcn.004041bb
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.004045e9
mov dword [ebp - 0x2c], eax
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x4032d1
push ebx
call fcn.0041e02a
add esp, 4
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x4032e1
push ebx
call fcn.0041e02a
add esp, 4
push dword [ebp + 0x2c]
lea eax, [ebp - 0x2c]
push eax
call fcn.00404af1
mov dword [ebp - 0x30], eax
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x403300
push ebx
call fcn.0041e02a
add esp, 4
mov eax, dword [ebp - 0x30]
push eax
mov ebx, dword [ebp + 0x2c]
mov ebx, dword [ebx]
test ebx, ebx
je 0x403316
push ebx
call fcn.0041e02a
add esp, 4
pop eax
mov ebx, dword [ebp + 0x2c]
mov dword [ebx], eax
push 0x4c116e
mov ebx, dword [ebp + 0x2c]
push dword [ebx]
call fcn.00401004
add esp, 8
cmp eax, 0
je 0x403375
push 0xa0000004
push 0
push dword [ebp + 0x2c]
push reloc.OLEAUT32.dll_SysReAllocStringLen
push 0
push str.Cookie
push reloc.OLEAUT32.dll_SysReAllocStringLen
push 0
push str.SetRequestHeader
push 0x10030
push 0
push dword [ebp - 8]
push 4
mov ebx, 0x4214a0
call fcn.0041e01e
add esp, 0x34
push reloc.OLEAUT32.dll_SysReAllocString
push 0
push 0
push 0
push 0
push 0
push reloc.OLEAUT32.dll_SysReAllocStringLen
push 0
push 0x4c1431
push reloc.OLEAUT32.dll_SysReAllocStringLen
push 0
mov ebx, dword [ebp + 0x1c]
mov eax, dword [ebx]
test eax, eax
jne 0x4033a8
mov eax, 0x4c116e
push eax
push 4
mov ebx, 0x41e840
call fcn.0041e01e
add esp, 0x34
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0xffffffff
jle 0x40379f
push 0
push 0
push 0
push reloc.OLEAUT32.dll_SysReAllocStringLen
push 0
push 0x4c1431
push reloc.OLEAUT32.dll_SysReAllocStringLen
push 0
mov ebx, dword [ebp + 0x1c]
mov eax, dword [ebx]
test eax, eax
jne 0x4033ef
mov eax, 0x4c116e
push eax
push 3
mov ebx, 0x41f150
call fcn.0041e01e
add esp, 0x28
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x24]
push eax
mov ebx, dword [ebp - 0xc]
push ebx
mov ecx, dword [ebx]
add ebx, 4
test ecx, ecx
je 0x403427
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x403423
imul eax, dword [ebx]
jmp 0x403418
mov ecx, eax
test ecx, ecx
je 0x403446
push ecx
mov eax, dword [ebx]
test eax, eax
je 0x40343f
push ebx
push eax
call fcn.0041e02a
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x40342d
call fcn.0041e02a
add esp, 4
pop eax
mov dword [ebp - 0xc], eax
mov ebx, dword [ebp - 0xc]
call fcn.004013bd
xor ecx, ecx
push eax
lea eax, [ebp - 0x10]
mov ebx, eax
pop eax
inc ecx
push ecx
push ebx
mov dword [ebx], ecx
push eax
cmp ecx, eax
jg 0x403797
mov ebx, dword [ebp - 0xc]
call fcn.0040139d
push ebx
push ecx
mov eax, dword [ebp - 0x10]
dec eax
jns 0x40348e
push 4
call fcn.0041e030
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x4034a1
push 1
call fcn.0041e030
add esp, 4
shl eax, 2
add ebx, eax
mov dword [ebp - 0x24], ebx
push reloc.OLEAUT32.dll_SysReAllocString
push 0
push 0
push 0
push 0
push 0
push reloc.OLEAUT32.dll_SysReAllocStringLen
push 0
push 0x4c1434
push reloc.OLEAUT32.dll_SysReAllocStringLen
push 0
mov ebx, dword [ebp - 0x24]
mov eax, dword [ebx]
test eax, eax
jne 0x4034dc
mov eax, 0x4c116e
push eax
push 4
mov ebx, 0x41e840
call fcn.0041e01e
add esp, 0x34
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0xffffffff
jle 0x40378f
mov ebx, dword [ebp - 0x14]
push ebx
mov ecx, dword [ebx]
add ebx, 4
test ecx, ecx
je 0x40351a
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x403516
imul eax, dword [ebx]
jmp 0x40350b
mov ecx, eax
test ecx, ecx
je 0x403539
push ecx
mov eax, dword [ebx]
test eax, eax
je 0x403532
push ebx
push eax
call fcn.0041e02a
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x403520
call fcn.0041e02a
add esp, 4
mov eax, 0x4c1160
mov dword [ebp - 0x14], eax
mov ebx, dword [ebp - 0xc]
call fcn.0040139d
push ebx
push ecx
mov eax, dword [ebp - 0x10]
dec eax
jns 0x403566
push 4
call fcn.0041e030
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x403579
push 1
call fcn.0041e030
add esp, 4
shl eax, 2
add ebx, eax
mov dword [ebp - 0x24], ebx
push 0
push 0
push 0
push reloc.OLEAUT32.dll_SysReAllocStringLen
push 0
push 0x4c1434
push reloc.OLEAUT32.dll_SysReAllocStringLen
push 0
mov ebx, dword [ebp - 0x24]
mov eax, dword [ebx]
test eax, eax
jne 0x4035a8
mov eax, 0x4c116e
push eax
push 3
mov ebx, 0x41f150
call fcn.0041e01e
add esp, 0x28
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x28]
push eax
mov ebx, dword [ebp - 0x14]
push ebx
mov ecx, dword [ebx]
add ebx, 4
test ecx, ecx
je 0x4035e0
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x4035dc
imul eax, dword [ebx]
jmp 0x4035d1
mov ecx, eax
test ecx, ecx
je 0x4035ff
push ecx
mov eax, dword [ebx]
test eax, eax
je 0x4035f8
push ebx
push eax
call fcn.0041e02a
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x4035e6
call fcn.0041e02a
add esp, 4
pop eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], 2
inc dword [ebp - 0x10]
mov ebx, dword [ebp - 0x14]
call fcn.004013bd
cmp dword [ebp - 0x10], eax
jle 0x40362b
jmp 0x4036ef
mov ebx, dword [ebp - 0x14]
call fcn.0040139d
mov eax, 1
cmp eax, ecx
jl 0x403649
push 1
call fcn.0041e030
add esp, 4
shl eax, 2
add ebx, eax
mov dword [ebp - 0x24], ebx
mov ebx, dword [ebp - 0x14]
call fcn.0040139d
mov eax, 1
cmp eax, ecx
jl 0x40366f
push 1
call fcn.0041e030
add esp, 4
shl eax, 2
add ebx, eax
mov dword [ebp - 0x28], ebx
mov ebx, dword [ebp - 0x14]
call fcn.0040139d
push ebx
push ecx
mov eax, dword [ebp - 0x10]
dec eax
jns 0x403694
push 4
call fcn.0041e030
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x4036a7
push 1
call fcn.0041e030
add esp, 4
shl eax, 2
add ebx, eax
mov dword [ebp - 0x2c], ebx
mov ebx, dword [ebp - 0x2c]
push dword [ebx]
push 0x4c1434
mov ebx, dword [ebp - 0x28]
push dword [ebx]
mov ecx, 3
call fcn.0040110c
add esp, 0xc
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x30]
push eax
mov ebx, dword [ebp - 0x24]
mov ebx, dword [ebx]
test ebx, ebx
je 0x4036e4
push ebx
call fcn.0041e02a
add esp, 4
pop eax
mov ebx, dword [ebp - 0x24]
mov dword [ebx], eax
jmp 0x403612
mov ebx, dword [ebp - 0x14]
call fcn.0040139d
mov eax, 0
cmp eax, ecx
jl 0x40370d
push 1
call fcn.0041e030
add esp, 4
shl eax, 2
add ebx, eax
mov dword [ebp - 0x24], ebx
mov ebx, dword [ebp - 0x14]
call fcn.0040139d
mov eax, 1
cmp eax, ecx
jl 0x403733
push 1
call fcn.0041e030
add esp, 4
shl eax, 2
add ebx, eax
mov dword [ebp - 0x28], ebx
push reloc.OLEAUT32.dll_SysReAllocStringLen
push 0
mov ebx, dword [ebp - 0x28]
mov eax, dword [ebx]
test eax, eax
jne 0x403750
mov eax, 0x4c116e
push eax
push reloc.OLEAUT32.dll_SysReAllocStringLen
push 0
mov ebx, dword [ebp - 0x24]
mov eax, dword [ebx]
test eax, eax
jne 0x403766
mov eax, 0x4c116e
push eax
push reloc.OLEAUT32.dll_SysReAllocStringLen
push 0
push str.SetRequestHeader
push 0x10030
push 0
push dword [ebp - 8]
push 4
mov ebx, 0x4214a0
call fcn.0041e01e
add esp, 0x34
pop eax
pop ebx
pop ecx
jmp 0x403463
add esp, 0xc
jmp 0x403a00
push reloc.OLEAUT32.dll_SysReAllocString
push 0
push 0
push 0
push 0
push 0
push reloc.OLEAUT32.dll_SysReAllocStringLen
push 0
push 0x4c1434
push reloc.OLEAUT32.dll_SysReAllocStringLen
push 0
mov ebx, dword [ebp + 0x1c]
mov eax, dword [ebx]
test eax, eax
jne 0x4037d2
mov eax, 0x4c116e
push eax
push 4
mov ebx, 0x41e840
call fcn.0041e01e
add esp, 0x34
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0xffffffff
jle 0x403a00
push 0
push 0
push 0
push reloc.OLEAUT32.dll_SysReAllocStringLen
push 0
push 0x4c1434
push reloc.OLEAUT32.dll_SysReAllocStringLen
push 0
mov ebx, dword [ebp + 0x1c]
mov eax, dword [ebx]
test eax, eax
jne 0x403819
mov eax, 0x4c116e
push eax
push 3
mov ebx, 0x41f150
call fcn.0041e01e
add esp, 0x28
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x24]
push eax
mov ebx, dword [ebp - 0x14]
push ebx
mov ecx, dword [ebx]
add ebx, 4
test ecx, ecx
je 0x403851
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x40384d
imul eax, dword [ebx]
jmp 0x403842
mov ecx, eax
test ecx, ecx
je 0x403870
push ecx
mov eax, dword [ebx]
test eax, eax
je 0x403869
push ebx
push eax
call fcn.0041e02a
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x403857
call fcn.0041e02a
add esp, 4
pop eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], 2
inc dword [ebp - 0x10]
mov ebx, dword [ebp - 0x14]
call fcn.004013bd
cmp dword [ebp - 0x10], eax
jle 0x40389c
jmp 0x403960
mov ebx, dword [ebp - 0x14]
call fcn.0040139d
mov eax, 1
cmp eax, ecx
jl 0x4038ba
push 1
call fcn.0041e030
add esp, 4
shl eax, 2
add ebx, eax
mov dword [ebp - 0x24], ebx
mov ebx, dword [ebp - 0x14]
call fcn.0040139d
mov eax, 1
cmp eax, ecx
jl 0x4038e0
push 1
call fcn.0041e030
add esp, 4
shl eax, 2
add ebx, eax
mov dword [ebp - 0x28], ebx
mov ebx, dword [ebp - 0x14]
call fcn.0040139d
push ebx
push ecx
mov eax, dword [ebp - 0x10]
dec eax
jns 0x403905
push 4
call fcn.0041e030
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x403918
push 1
call fcn.0041e030
add esp, 4
shl eax, 2
add ebx, eax
mov dword [ebp - 0x2c], ebx
mov ebx, dword [ebp - 0x2c]
push dword [ebx]
push 0x4c1434
mov ebx, dword [ebp - 0x28]
push dword [ebx]
mov ecx, 3
call fcn.0040110c
add esp, 0xc
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x30]
push eax
mov ebx, dword [ebp - 0x24]
mov ebx, dword [ebx]
test ebx, ebx
je 0x403955
push ebx
call fcn.0041e02a
add esp, 4
pop eax
mov ebx, dword [ebp - 0x24]
mov dword [ebx], eax
jmp 0x403883
mov ebx, dword [ebp - 0x14]
call fcn.0040139d
mov eax, 0
cmp eax, ecx
jl 0x40397e
push 1
call fcn.0041e030
add esp, 4
shl eax, 2
add ebx, eax
mov dword [ebp - 0x24], ebx
mov ebx, dword [ebp - 0x14]
call fcn.0040139d
mov eax, 1
cmp eax, ecx
jl 0x4039a4
push 1
call fcn.0041e030
add esp, 4
shl eax, 2
add ebx, eax
mov dword [ebp - 0x28], ebx
push reloc.OLEAUT32.dll_SysReAllocStringLen
push 0
mov ebx, dword [ebp - 0x28]
mov eax, dword [ebx]
test eax, eax
jne 0x4039c1
mov eax, 0x4c116e
push eax
push reloc.OLEAUT32.dll_SysReAllocStringLen
push 0
mov ebx, dword [ebp - 0x24]
mov eax, dword [ebx]
test eax, eax
jne 0x4039d7
mov eax, 0x4c116e
push eax
push reloc.OLEAUT32.dll_SysReAllocStringLen
push 0
push str.SetRequestHeader
push 0x10030
push 0
push dword [ebp - 8]
push 4
mov ebx, 0x4214a0
call fcn.0041e01e
add esp, 0x34
mov eax, 0x4c1160
xor ecx, ecx
test eax, eax
je 0x403a0e
mov ecx, dword [eax + 4]
push ecx
add eax, 8
push eax
mov ebx, dword [ebp + 0x3c]
mov eax, dword [ebx]
xor ebx, ebx
test eax, eax
je 0x403a21
mov ebx, dword [eax + 4]
add eax, 8
push eax
cmp ebx, ecx
mov eax, 1
jne 0x403a38
dec eax
test ecx, ecx
je 0x403a38
call fcn.00402ce2
add esp, 0xc
test eax, eax
jne 0x403a7a
push 0xa0000004
push 0
push dword [ebp + 0x14]
push reloc.OLEAUT32.dll_SysReAllocStringLen
push 0
push str.Send
push 0x10030
push 0
push dword [ebp - 8]
push 3
mov ebx, 0x4214a0
call fcn.0041e01e
add esp, 0x28
jmp 0x403ae5
push 0
push 0
push 0
push reloc.ODBC32.dll_SQLCancel
push 0
mov ebx, dword [ebp + 0x3c]
mov eax, dword [ebx]
test eax, eax
jne 0x403a95
mov eax, 0x4c1160
push eax
push 0x10031
push 0
push dword [ebp - 0x18]
push 3
mov ebx, 0x422000
call fcn.0041e01e
add esp, 0x28
push 0x20010031
push 0
lea eax, [ebp - 0x18]
push eax
push reloc.OLEAUT32.dll_SysReAllocStringLen
push 0
push str.Send
push 0x10030
push 0
push dword [ebp - 8]
push 3
mov ebx, 0x4214a0
call fcn.0041e01e
add esp, 0x28
push 0
push 0
push 0
push reloc.OLEAUT32.dll_SysReAllocStringLen
push 0
push str.ResponseBody
push 0x10030
push 0
push dword [ebp - 8]
push 3
mov ebx, 0x421470
call fcn.0041e01e
add esp, 0x28
mov dword [ebp - 0x24], eax
push 0
push 0
push 0
push 0x10031
push 0
push dword [ebp - 0x24]
push 2
mov ebx, 0x421650
call fcn.0041e01e
add esp, 0x1c
mov dword [ebp - 0x28], eax
mov ebx, dword [ebp - 0x24]
push ebx
push 0x10031
push 0
push ebx
push 1
mov ebx, 0x421560
call fcn.0041e01e
add esp, 0x10
call fcn.0041e02a
add esp, 4
mov eax, dword [ebp - 0x28]
push eax
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x403b72
push ebx
call fcn.0041e02a
add esp, 4
pop eax
mov dword [ebp - 0x1c], eax
push 0
push 0
push 0
push reloc.OLEAUT32.dll_SysReAllocStringLen
push 0
push str.GetallResponseHeaders
push 0x10030
push 0
push dword [ebp - 8]
push 3
mov ebx, 0x4213b0
call fcn.0041e01e
add esp, 0x28
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x24]
push eax
mov ebx, dword [ebp + 0x54]
mov ebx, dword [ebx]
test ebx, ebx
je 0x403bbd
push ebx
call fcn.0041e02a
add esp, 4
pop eax
mov ebx, dword [ebp + 0x54]
mov dword [ebx], eax
push 0
push 0
push 0
push reloc.OLEAUT32.dll_SysReAllocStringLen
push 0
push 0x4c1431
push reloc.OLEAUT32.dll_SysReAllocStringLen
push 0
mov ebx, dword [ebp + 0x54]
mov eax, dword [ebx]
test eax, eax
jne 0x403bea
mov eax, 0x4c116e
push eax
push 3
mov ebx, 0x41f150
call fcn.0041e01e
add esp, 0x28
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x24]
push eax
mov ebx, dword [ebp - 0x20]
push ebx
mov ecx, dword [ebx]
add ebx, 4
test ecx, ecx
je 0x403c22
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x403c1e
imul eax, dword [ebx]
jmp 0x403c13
mov ecx, eax
test ecx, ecx
je 0x403c41
push ecx
mov eax, dword [ebx]
test eax, eax
je 0x403c3a
push ebx
push eax
call fcn.0041e02a
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x403c28
call fcn.0041e02a
add esp, 4
pop eax
mov dword [ebp - 0x20], eax
mov eax, 0x4c116e
push eax
mov ebx, dword [ebp + 0x34]
mov ebx, dword [ebx]
test ebx, ebx
je 0x403c65
push ebx
call fcn.0041e02a
add esp, 4
pop eax
mov ebx, dword [ebp + 0x34]
mov dword [ebx], eax
mov ebx, dword [ebp - 0x20]
call fcn.004013bd
xor ecx, ecx
push eax
lea eax, [ebp - 0x10]
mov ebx, eax
pop eax
inc ecx
push ecx
push ebx
mov dword [ebx], ecx
push eax
cmp ecx, eax
jg 0x403fa3
mov ebx, dword [ebp - 0x20]
call fcn.0040139d
push ebx
push ecx
mov eax, dword [ebp - 0x10]
dec eax
jns 0x403ca7
push 4
call fcn.0041e030
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x403cba
push 1
call fcn.0041e030
add esp, 4
shl eax, 2
add ebx, eax
mov dword [ebp - 0x24], ebx
push reloc.OLEAUT32.dll_SysReAllocString
push 0
push 0
push 0
push 0
push 0
push reloc.OLEAUT32.dll_SysReAllocStringLen
push 0
push str.Location:
push reloc.OLEAUT32.dll_SysReAllocStringLen
push 0
mov ebx, dword [ebp - 0x24]
mov eax, dword [ebx]
test eax, eax
jne 0x403cf5
mov eax, 0x4c116e
push eax
push 4
mov ebx, 0x41e840
call fcn.0041e01e
add esp, 0x34
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0xffffffff
jle 0x403dfb
mov ebx, dword [ebp - 0x20]
call fcn.0040139d
push ebx
push ecx
mov eax, dword [ebp - 0x10]
dec eax
jns 0x403d32
push 4
call fcn.0041e030
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x403d45
push 1
call fcn.0041e030
add esp, 4
shl eax, 2
add ebx, eax
mov dword [ebp - 0x24], ebx
push reloc.OLEAUT32.dll_SysReAllocString
push 0
push 0
push 0x80000301
push 0
push 1
mov ebx, 6
call fcn.00401168
push reloc.OLEAUT32.dll_SysReAllocStringLen
push 0
push str.Location:
push reloc.OLEAUT32.dll_SysReAllocStringLen
push 0
mov ebx, dword [ebp - 0x24]
mov eax, dword [ebx]
test eax, eax
jne 0x403d90
mov eax, 0x4c116e
push eax
push 6
mov ebx, 0x41ef60
call fcn.0041e01e
add esp, 0x4c
mov dword [ebp - 0x28], eax
push reloc.OLEAUT32.dll_SysReAllocStringLen
push 0
mov eax, dword [ebp - 0x28]
test eax, eax
jne 0x403db9
mov eax, 0x4c116e
push eax
push 1
mov ebx, 0x41ee90
call fcn.0041e01e
add esp, 0x10
mov dword [ebp - 0x2c], eax
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x403ddf
push ebx
call fcn.0041e02a
add esp, 4
mov eax, dword [ebp - 0x2c]
push eax
mov ebx, dword [ebp + 0x24]
mov ebx, dword [ebx]
test ebx, ebx
je 0x403df5
push ebx
call fcn.0041e02a
add esp, 4
pop eax
mov ebx, dword [ebp + 0x24]
mov dword [ebx], eax
mov ebx, dword [ebp - 0x20]
call fcn.0040139d
push ebx
push ecx
mov eax, dword [ebp - 0x10]
dec eax
jns 0x403e18
push 4
call fcn.0041e030
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x403e2b
push 1
call fcn.0041e030
add esp, 4
shl eax, 2
add ebx, eax
mov dword [ebp - 0x24], ebx
push reloc.OLEAUT32.dll_SysReAllocString
push 0
push 0
push 0
push 0
push 0
push reloc.OLEAUT32.dll_SysReAllocStringLen
push 0
push str.Set_Cookie
push reloc.OLEAUT32.dll_SysReAllocStringLen
push 0
mov ebx, dword [ebp - 0x24]
mov eax, dword [ebx]
test eax, eax
jne 0x403e66
mov eax, 0x4c116e
push eax
push 4
mov ebx, 0x41e840
call fcn.0041e01e
add esp, 0x34
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0xffffffff
jle 0x403f9b
mov ebx, dword [ebp - 0x20]
call fcn.0040139d
push ebx
push ecx
mov eax, dword [ebp - 0x10]
dec eax
jns 0x403ea3
push 4
call fcn.0041e030
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x403eb6
push 1
call fcn.0041e030
add esp, 4
shl eax, 2
add ebx, eax
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x28], 0
push 0
push dword [ebp - 0x28]
mov dword [ebp - 0x2c], 0
push 0
push dword [ebp - 0x2c]
mov eax, 0x4c1473
mov dword [ebp - 0x30], eax
lea eax, [ebp - 0x30]
push eax
mov eax, str.Set_Cookie:
mov dword [ebp - 0x34], eax
lea eax, [ebp - 0x34]
push eax
push dword [ebp - 0x24]
call fcn.0040588c
mov dword [ebp - 0x38], eax
mov ebx, dword [ebp - 0x34]
test ebx, ebx
je 0x403f09
push ebx
call fcn.0041e02a
add esp, 4
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x403f19
push ebx
call fcn.0041e02a
add esp, 4
push reloc.OLEAUT32.dll_SysReAllocStringLen
push 0
mov eax, dword [ebp - 0x38]
test eax, eax
jne 0x403f2c
mov eax, 0x4c116e
push eax
push 1
mov ebx, 0x41ee90
call fcn.0041e01e
add esp, 0x10
mov dword [ebp - 0x3c], eax
mov ebx, dword [ebp - 0x38]
test ebx, ebx
je 0x403f52
push ebx
call fcn.0041e02a
add esp, 4
push 0x4c1481
push dword [ebp - 0x3c]
mov ebx, dword [ebp + 0x34]
push dword [ebx]
mov ecx, 3
call fcn.0040110c
add esp, 0xc
mov dword [ebp - 0x40], eax
mov ebx, dword [ebp - 0x3c]
test ebx, ebx
je 0x403f7f
push ebx
call fcn.0041e02a
add esp, 4
mov eax, dword [ebp - 0x40]
push eax
mov ebx, dword [ebp + 0x34]
mov ebx, dword [ebx]
test ebx, ebx
je 0x403f95
push ebx
call fcn.0041e02a
add esp, 4
pop eax
mov ebx, dword [ebp + 0x34]
mov dword [ebx], eax
pop eax
pop ebx
pop ecx
jmp 0x403c7c
add esp, 0xc
push dword [ebp + 0x34]
push dword [ebp + 0x2c]
call fcn.00404af1
mov ebx, eax
test ebx, ebx
je 0x403fc0
push ebx
call fcn.0041e02a
add esp, 4
push 1
push 1
push dword [ebp + 8]
call fcn.004041bb
mov dword [ebp - 0x24], eax
push dword [ebp + 0x2c]
lea eax, [ebp - 0x24]
push eax
call fcn.00405c7a
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x403fee
push ebx
call fcn.0041e02a
add esp, 4
push 0x4c116e
mov ebx, dword [ebp + 0x24]
push dword [ebx]
call fcn.00401004
add esp, 8
cmp eax, 0
jne 0x404040
mov ebx, dword [ebp + 0x54]
mov eax, dword [ebx]
test eax, eax
je 0x404027
push eax
mov ebx, eax
call fcn.004010a1
inc eax
push eax
call fcn.0041e024
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
push eax
mov ebx, dword [ebp + 0x24]
mov ebx, dword [ebx]
test ebx, ebx
je 0x40403a
push ebx
call fcn.0041e02a
add esp, 4
pop eax
mov ebx, dword [ebp + 0x24]
mov dword [ebx], eax
mov dword [ebp - 0x24], esp
mov eax, 5
call fcn.0041e036
cmp dword [ebp - 0x24], esp
je 0x40405f
push 6
call fcn.0041e030
add esp, 4
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x404079
push eax
mov eax, dword [eax + 4]
add eax, 8
push eax
call fcn.0041e024
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
jmp 0x40407e
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x40408f
push ebx
call fcn.0041e02a
add esp, 4
mov ebx, dword [ebp - 8]
push ebx
push 0x10030
push 0
push ebx
push 1
mov ebx, 0x422730
call fcn.0041e01e
add esp, 0x10
call fcn.0041e02a
add esp, 4
mov ebx, dword [ebp - 0xc]
push ebx
mov ecx, dword [ebx]
add ebx, 4
test ecx, ecx
je 0x4040d0
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x4040cc
imul eax, dword [ebx]
jmp 0x4040c1
mov ecx, eax
test ecx, ecx
je 0x4040ef
push ecx
mov eax, dword [ebx]
test eax, eax
je 0x4040e8
push ebx
push eax
call fcn.0041e02a
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x4040d6
call fcn.0041e02a
add esp, 4
mov ebx, dword [ebp - 0x14]
push ebx
mov ecx, dword [ebx]
add ebx, 4
test ecx, ecx
je 0x404115
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x404111
imul eax, dword [ebx]
jmp 0x404106
mov ecx, eax
test ecx, ecx
je 0x404134
push ecx
mov eax, dword [ebx]
test eax, eax
je 0x40412d
push ebx
push eax
call fcn.0041e02a
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x40411b
call fcn.0041e02a
add esp, 4
mov ebx, dword [ebp - 0x18]
push ebx
push 0x10031
push 0
push ebx
push 1
mov ebx, 0x421560
call fcn.0041e01e
add esp, 0x10
call fcn.0041e02a
add esp, 4
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x40416f
push ebx
call fcn.0041e02a
add esp, 4
mov ebx, dword [ebp - 0x20]
push ebx
mov ecx, dword [ebx]
add ebx, 4
test ecx, ecx
je 0x40418d
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x404189
imul eax, dword [ebx]
jmp 0x40417e
mov ecx, eax
test ecx, ecx
je 0x4041ac
push ecx
mov eax, dword [ebx]
test eax, eax
je 0x4041a5
push ebx
push eax
call fcn.0041e02a
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x404193
call fcn.0041e02a
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret 0x54