Function at 0x449070
Capabilities:
Initialize winhttp library
Make an http request with a cookie
Prepare http request
Read http header
Receive http response
Send data
Send http request
Set http header

Disassembly:
push 0xffffffffffffffff
push 0x48bff8
mov eax, dword fs:[0]
push eax
mov eax, 0x1178
call fcn.0046b310
mov eax, dword [0x4ace70]
xor eax, esp
mov dword [esp + 0x1174], eax
push ebx
push ebp
push edi
mov eax, dword [0x4ace70]
xor eax, esp
push eax
lea eax, [esp + 0x1188]
mov dword fs:[0], eax
mov eax, dword [esi + 0x20]
xor ebp, ebp
cmp eax, ebp
ja 0x4490c6
mov dword [esi + 0x120], 3
jmp 0x449ff5
push 0xffffffffffffffff
push ebp
xor eax, eax
push ecx
lea ecx, [esp + 0x134]
mov dword [esp + 0x14c], 7
mov dword [esp + 0x148], ebp
mov word [esp + 0x138], ax
call fcn.0040d190
mov dword [esp + 0x1190], ebp
mov eax, dword [esp + 0x12c]
mov ebx, 8
cmp dword [esp + 0x140], ebx
jae 0x449115
lea eax, [esp + 0x12c]
push 0x494eac
push eax
call fcn.0046be01
add esp, 8
test eax, eax
jne 0x449130
push 3
push 0x494eac
jmp 0x449164
mov eax, dword [esp + 0x12c]
cmp dword [esp + 0x140], ebx
jae 0x449147
lea eax, [esp + 0x12c]
push 0x494eb4
push eax
call fcn.0046be01
add esp, 8
test eax, eax
jne 0x449fd2
push 4
push 0x494eb4
lea ecx, [esp + 0x130]
call fcn.0040d290
mov byte [esp + 0x16], 1
cmp dword [esi + 4], ebp
jne 0x4491bf
cmp dword [esi + 0x158], ebx
jb 0x44918a
mov eax, dword [esi + 0x144]
jmp 0x449190
lea eax, [esi + 0x144]
push ebp
push ebp
push ebp
push ebp
push eax
call dword [sym.imp.WINHTTP.dll_WinHttpOpen]
mov dword [esi + 4], eax
cmp eax, ebp
jne 0x4491bf
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea ecx, [esp + 0x128]
mov dword [esi + 0x120], eax
call fcn.0040a260
jmp 0x449ff5
mov ecx, dword [esi + 0x1c0]
mov edx, dword [esi + 0x1bc]
mov eax, dword [esi + 0x1b8]
push ecx
mov ecx, dword [esi + 0x1b4]
push edx
mov edx, dword [esi + 4]
push eax
push ecx
push edx
call dword [sym.imp.WINHTTP.dll_WinHttpSetTimeouts]
push 0x206
lea ecx, [esp + 0x352]
xor eax, eax
push ebp
push ecx
mov word [esp + 0x358], ax
call fcn.0046a210
add esp, 0xc
push 0xa26
lea eax, [esp + 0x762]
xor edx, edx
push ebp
push eax
mov word [esp + 0x768], dx
call fcn.0046a210
add esp, 0xc
push 0x3c
lea ecx, [esp + 0x9c]
push ebp
push ecx
call fcn.0046a210
lea eax, [esp + 0x768]
add esp, 0xc
lea edx, [esp + 0x34c]
mov dword [esp + 0xc4], eax
mov eax, dword [esi + 0x20]
mov dword [esp + 0x98], 0x3c
mov dword [esp + 0xa8], edx
mov dword [esp + 0xac], 0x104
mov dword [esp + 0xc8], 0x514
mov dword [esp + 0xa0], 1
cmp dword [esi + 0x24], ebx
jb 0x44928d
mov ecx, dword [esi + 0x10]
jmp 0x449290
lea ecx, [esi + 0x10]
lea edx, [esp + 0x98]
push edx
push ebp
push eax
push ecx
call dword [sym.imp.WINHTTP.dll_WinHttpCrackUrl]
test eax, eax
je 0x449fb3
lea eax, [esp + 0x34c]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bp
jne 0x4492b3
sub eax, edx
sar eax, 1
push eax
lea eax, [esp + 0x350]
push eax
lea ecx, [esi + 0x28]
call fcn.0040d290
mov ecx, dword [esp + 0xb0]
mov eax, dword [esi + 4]
push ebp
push ecx
lea edx, [esp + 0x354]
push edx
push eax
call dword [sym.imp.WINHTTP.dll_WinHttpConnect]
mov edi, eax
mov dword [esp + 0x90], edi
cmp edi, ebp
je 0x449fb3
mov eax, dword [esp + 0x12c]
xor ecx, ecx
mov ebx, 2
cmp dword [esp + 0xa4], ebx
setne cl
dec ecx
and ecx, 0x800000
cmp dword [esp + 0x140], 8
jae 0x44932f
lea eax, [esp + 0x12c]
push ecx
mov ecx, dword [esp + 0xc8]
push ebp
push ebp
push ebp
push ecx
push eax
push edi
call dword [sym.imp.WINHTTP.dll_WinHttpOpenRequest]
mov dword [esp + 0x20], eax
cmp eax, ebp
je 0x449fa7
cmp byte [esi + 8], 0
jne 0x449376
cmp dword [esp + 0xa4], ebx
jne 0x449376
push 4
lea edx, [esp + 0x44]
push edx
push 0x1f
push eax
mov dword [esp + 0x50], 0x3100
call dword [sym.imp.WINHTTP.dll_WinHttpSetOption]
mov byte [esp + 0x17], 0
mov dword [esp + 0x40], ebp
mov eax, dword [esp + 0x40]
mov ecx, eax
inc eax
mov dword [esp + 0x40], eax
cmp ecx, 3
jae 0x449f89
mov eax, dword [esi]
test eax, eax
je 0x4493a3
call eax
test al, al
jne 0x449f89
mov ecx, dword [esi + 0xfc]
test ecx, ecx
jbe 0x4493e8
cmp dword [esi + 0x100], 8
jb 0x4493be
mov eax, dword [esi + 0xec]
jmp 0x4493c4
lea eax, [esi + 0xec]
mov edi, dword [esp + 0x20]
push 0x1000000
push ecx
push eax
push edi
call dword [sym.imp.WINHTTP.dll_WinHttpAddRequestHeaders]
test eax, eax
jne 0x4493ec
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esi + 0x120], eax
jmp 0x4493ec
mov edi, dword [esp + 0x20]
cmp dword [esi + 0xd8], 0
mov ebp, 8
jbe 0x44947e
push str.Cookie:
lea ecx, [esp + 0x110]
call fcn.0040ac00
push 0xffffffffffffffff
push 0
lea edx, [esi + 0xc4]
push edx
lea ecx, [esp + 0x118]
mov byte [esp + 0x119c], 1
call fcn.0040f2c0
mov eax, dword [esp + 0x110]
cmp dword [esp + 0x124], ebp
jae 0x449445
lea eax, [esp + 0x110]
mov ecx, dword [esp + 0x120]
push 0x1000000
push ecx
push eax
push edi
call dword [sym.imp.WINHTTP.dll_WinHttpAddRequestHeaders]
test eax, eax
jne 0x44946a
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esi + 0x120], eax
lea ecx, [esp + 0x10c]
mov byte [esp + 0x1190], 0
call fcn.0040a260
cmp dword [esi + 0x118], 0
jbe 0x4495a5
xor eax, eax
xor edx, edx
mov dword [esp + 0x84], eax
push 0x206
mov dword [esp + 0x8c], eax
mov dword [esp + 0x90], eax
push edx
lea eax, [esp + 0x14e]
push eax
mov dword [esp + 0x90], 3
mov word [esp + 0x150], dx
call fcn.0046a210
add esp, 0xc
cmp dword [esi + 0x11c], ebp
jb 0x4494dd
mov eax, dword [esi + 0x108]
jmp 0x4494e3
lea eax, [esi + 0x108]
push eax
lea ecx, [esp + 0x148]
push 0x104
push ecx
call fcn.0046b50a
mov ebx, dword [sym.imp.WINHTTP.dll_WinHttpSetOption]
add esp, 0xc
push 0xc
lea eax, [esp + 0x88]
push eax
push 0x26
lea edx, [esp + 0x150]
push edi
mov dword [esp + 0x98], edx
call ebx
test eax, eax
jne 0x44952c
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esi + 0x120], eax
mov ecx, dword [esi + 0x174]
test ecx, ecx
jbe 0x4495a5
cmp dword [esi + 0x178], ebp
jb 0x449546
mov eax, dword [esi + 0x164]
jmp 0x44954c
lea eax, [esi + 0x164]
add ecx, ecx
push ecx
push eax
push 0x1002
push edi
call ebx
test eax, eax
jne 0x449568
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esi + 0x120], eax
mov ecx, dword [esi + 0x190]
test ecx, ecx
jbe 0x4495a5
cmp dword [esi + 0x194], ebp
jb 0x449582
mov eax, dword [esi + 0x180]
jmp 0x449588
lea eax, [esi + 0x180]
lea edx, [ecx + ecx]
push edx
push eax
push 0x1003
push edi
call ebx
test eax, eax
jne 0x4495a5
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esi + 0x120], eax
mov ebp, dword [sym.imp.WINHTTP.dll_WinHttpSendRequest]
push 0
push 0
push 0
push 0
push 0
push 0
push edi
mov byte [esp + 0x43], 0
call ebp
test eax, eax
jne 0x4497cb
mov dword [esp + 0x44], eax
mov dword [esp + 0x48], eax
mov dword [esp + 0x4c], eax
mov dword [esp + 0x50], eax
lea eax, [esp + 0x44]
push eax
xor ebx, ebx
call dword [sym.imp.WINHTTP.dll_WinHttpGetIEProxyConfigForCurrentUser]
test eax, eax
je 0x449f6b
mov ecx, dword [esp + 0x48]
cmp ecx, ebx
je 0x4496c3
xor eax, eax
mov dword [esp + 0x6c], eax
mov dword [esp + 0x70], eax
mov dword [esp + 0x74], eax
mov dword [esp + 0x78], eax
mov dword [esp + 0x7c], eax
mov dword [esp + 0x80], eax
mov eax, 1
mov dword [esp + 0x70], eax
mov dword [esp + 0x80], eax
xor eax, eax
cmp dword [esi + 0x24], 8
mov dword [esp + 0x6c], 3
mov dword [esp + 0x74], ecx
mov dword [esp + 0x7c], ebx
mov dword [esp + 0x78], ebx
mov dword [esp + 0x54], eax
mov dword [esp + 0x58], eax
mov dword [esp + 0x5c], eax
jb 0x449652
mov eax, dword [esi + 0x10]
jmp 0x449655
lea eax, [esi + 0x10]
lea ecx, [esp + 0x54]
push ecx
lea edx, [esp + 0x70]
push edx
push eax
mov eax, dword [esi + 4]
push eax
call dword [sym.imp.WINHTTP.dll_WinHttpGetProxyForUrl]
test eax, eax
je 0x449787
mov edi, dword [esp + 0x20]
push 0xc
lea ecx, [esp + 0x58]
push ecx
push 0x26
push edi
call dword [sym.imp.WINHTTP.dll_WinHttpSetOption]
test eax, eax
je 0x44969c
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push edi
call ebp
test eax, eax
je 0x44969c
mov byte [esp + 0x27], 1
mov eax, dword [esp + 0x58]
cmp eax, ebx
je 0x4496ab
push eax
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov eax, dword [esp + 0x5c]
cmp eax, ebx
je 0x449793
push eax
call dword [sym.imp.KERNEL32.dll_GlobalFree]
jmp 0x449793
mov edi, dword [esp + 0x4c]
cmp edi, ebx
je 0x4497b1
xor eax, eax
mov dword [esp + 0x60], eax
push 0x206
mov dword [esp + 0x68], eax
mov dword [esp + 0x6c], eax
lea eax, [esp + 0x14a]
xor edx, edx
push ebx
push eax
mov dword [esp + 0x6c], 3
mov word [esp + 0x150], dx
call fcn.0046a210
add esp, 0xc
push edi
lea ecx, [esp + 0x148]
push 0x104
push ecx
call fcn.0046b50a
mov edi, dword [esp + 0x5c]
add esp, 0xc
lea edx, [esp + 0x144]
mov dword [esp + 0x64], edx
cmp edi, ebx
je 0x44976f
push 0x206
lea ecx, [esp + 0x55a]
xor eax, eax
push ebx
push ecx
mov word [esp + 0x560], ax
call fcn.0046a210
add esp, 0xc
push edi
lea edx, [esp + 0x558]
push 0x104
push edx
call fcn.0046b50a
lea eax, [esp + 0x560]
add esp, 0xc
mov dword [esp + 0x68], eax
mov edx, dword [esp + 0x20]
push 0xc
lea ecx, [esp + 0x64]
push ecx
push 0x26
push edx
call dword [sym.imp.WINHTTP.dll_WinHttpSetOption]
test eax, eax
jne 0x449793
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esi + 0x120], eax
mov eax, dword [esp + 0x48]
cmp eax, ebx
je 0x4497a2
push eax
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov eax, dword [esp + 0x4c]
cmp eax, ebx
je 0x4497b1
push eax
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov eax, dword [esp + 0x50]
cmp eax, ebx
je 0x4497c0
push eax
call dword [sym.imp.KERNEL32.dll_GlobalFree]
cmp byte [esp + 0x27], 0
je 0x449f77
mov eax, dword [esi + 0xe0]
mov ebp, dword [esp + 0x20]
xor ebx, ebx
cmp eax, ebx
je 0x449803
mov edx, dword [esi + 0xe4]
lea ecx, [esp + 0x1c]
push ecx
push edx
push eax
push ebp
mov dword [esp + 0x2c], ebx
call dword [sym.imp.WINHTTP.dll_WinHttpWriteData]
test eax, eax
jne 0x449803
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esi + 0x120], eax
push ebx
push ebp
call dword [sym.imp.WINHTTP.dll_WinHttpReceiveResponse]
test eax, eax
je 0x449f6b
mov edi, dword [sym.imp.WINHTTP.dll_WinHttpQueryHeaders]
push ebx
lea eax, [esp + 0x1c]
push eax
push ebx
push ebx
push 0x16
push ebp
mov dword [esp + 0x30], ebx
call edi
cmp eax, ebx
jne 0x44983d
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
jne 0x449b86
mov eax, dword [esp + 0x18]
xor ecx, ecx
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00468d75
mov ebx, eax
add esp, 4
mov dword [esp + 0x1c], ebx
test ebx, ebx
je 0x449b86
mov eax, dword [esp + 0x18]
lea ecx, [eax + eax]
push ecx
push 0
push ebx
call fcn.0046a210
add esp, 0xc
push 0
lea edx, [esp + 0x1c]
push edx
push ebx
push 0
push 0x16
push ebp
call edi
test eax, eax
je 0x449b7d
lea edi, [esi + 0x44]
push ebx
mov ecx, edi
call fcn.0040aca0
lea ecx, [esp + 0x28]
call fcn.0042c150
push 0x494d30
lea ecx, [esp + 0x110]
mov byte [esp + 0x1194], 2
call fcn.0040ac00
mov byte [esp + 0x1190], 3
cmp byte [esi + 0x15c], 0
jne 0x44992f
push str.charset_A_Za_z0_9___
lea ecx, [esp + 0x110]
call fcn.0040aca0
lea eax, [esp + 0x10c]
push edi
push eax
lea ecx, [esp + 0x30]
call fcn.00403450
add esp, 8
test al, al
je 0x44992f
mov ecx, dword [esp + 0x38]
sub ecx, dword [esp + 0x34]
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
je 0x44992f
push 0
lea ecx, [esp + 0x2c]
call fcn.0040b160
push 0xffffffffffffffff
push 0
push eax
lea ecx, [esi + 0x7c]
call fcn.0040d190
push str.Content_Length:__0_9_
lea ecx, [esp + 0x110]
call fcn.0040aca0
lea edx, [esp + 0x10c]
push edi
push edx
lea ecx, [esp + 0x30]
call fcn.00403450
add esp, 8
test al, al
je 0x44999e
mov ecx, dword [esp + 0x38]
sub ecx, dword [esp + 0x34]
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
je 0x44999e
push 0
lea ecx, [esp + 0x2c]
call fcn.0040b160
cmp dword [eax + 0x18], 8
jb 0x44998c
mov eax, dword [eax + 4]
jmp 0x44998f
add eax, 4
push eax
call fcn.0046c02d
add esp, 4
mov dword [esi + 0xa4], eax
push str.Location:__0_9_
lea ecx, [esp + 0x110]
call fcn.0040aca0
lea ecx, [esp + 0x10c]
push edi
push ecx
lea ecx, [esp + 0x30]
call fcn.00403450
add esp, 8
test al, al
je 0x449a00
mov ecx, dword [esp + 0x38]
sub ecx, dword [esp + 0x34]
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
je 0x449a00
push 0
lea ecx, [esp + 0x2c]
call fcn.0040b160
push 0xffffffffffffffff
push 0
push eax
lea ecx, [esi + 0x198]
call fcn.0040d190
push str.Set_Cookie:_b.__n
lea ecx, [esp + 0x110]
call fcn.0040aca0
lea ecx, [esp + 0x10c]
push edi
push ecx
lea ecx, [esp + 0x30]
call fcn.00403450
add esp, 8
test al, al
je 0x449b5a
mov ecx, dword [esp + 0x38]
sub ecx, dword [esp + 0x34]
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
je 0x449b5a
xor edi, edi
test eax, eax
jbe 0x449ac4
lea ebp, [esi + 0xa8]
jmp 0x449a60
push edi
lea ecx, [esp + 0x2c]
call fcn.0040b160
push 0xffffffffffffffff
push 0
push eax
mov ecx, ebp
call fcn.0040f2c0
mov ebx, dword [esp + 0x38]
mov ecx, ebx
sub ecx, dword [esp + 0x34]
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
lea ecx, [edx + eax - 1]
cmp edi, ecx
je 0x449aa8
push ebp
mov edx, 0x494f90
call fcn.0040ac70
mov ebx, dword [esp + 0x38]
sub ebx, dword [esp + 0x34]
mov eax, 0x92492493
imul ebx
add edx, ebx
sar edx, 4
mov eax, edx
shr eax, 0x1f
inc edi
add eax, edx
cmp edi, eax
jb 0x449a60
push 0x494e9c
lea ecx, [esp + 0xd8]
call fcn.0040ac00
lea ecx, [esp + 0xf0]
push ecx
lea ebx, [esi + 0xa8]
lea ecx, [esp + 0xd8]
mov byte [esp + 0x1194], 4
call fcn.004039b0
add esp, 4
push 0xffffffffffffffff
push 0
push eax
mov ecx, ebx
mov byte [esp + 0x119c], 5
call fcn.0040d190
lea ecx, [esp + 0xf0]
call fcn.0040a260
lea ecx, [esp + 0xd4]
mov byte [esp + 0x1190], 3
call fcn.0040a260
mov eax, dword [esi + 0xbc]
test eax, eax
jbe 0x449b52
dec eax
push eax
mov ecx, ebx
call fcn.0040acd0
cmp word [eax], 0x3b
je 0x449b52
push ebx
mov edx, 0x494f98
call fcn.0040ac70
mov ebx, dword [esp + 0x1c]
mov ebp, dword [esp + 0x20]
lea ecx, [esp + 0x10c]
call fcn.0040a260
lea ecx, [esp + 0x28]
mov byte [esp + 0x1190], 0
call fcn.0040b110
mov edi, dword [sym.imp.WINHTTP.dll_WinHttpQueryHeaders]
push ebx
call fcn.004696d5
add esp, 4
push 0
lea edx, [esp + 0x1c]
push edx
push 0
push 0
push 0x13
push ebp
mov dword [esp + 0x30], 0
call edi
test eax, eax
jne 0x449bad
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
jne 0x449c0f
mov eax, dword [esp + 0x18]
xor ecx, ecx
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00468d75
mov edi, eax
add esp, 4
test edi, edi
je 0x449c0f
mov eax, dword [esp + 0x18]
lea ecx, [eax + eax]
push ecx
push 0
push edi
call fcn.0046a210
add esp, 0xc
push 0
lea edx, [esp + 0x1c]
push edx
push edi
push 0
push 0x13
push ebp
call dword [sym.imp.WINHTTP.dll_WinHttpQueryHeaders]
test eax, eax
je 0x449c06
push edi
lea ecx, [esi + 0x124]
call fcn.0040aca0
push edi
call fcn.004696d5
add esp, 4
mov eax, dword [esi + 0x98]
xor edi, edi
mov ebp, 0x2800
cmp eax, edi
je 0x449c2f
push eax
call fcn.004696d5
add esp, 4
mov dword [esi + 0x98], edi
push 0x2800
call fcn.00468d75
add esp, 4
mov dword [esi + 0x98], eax
cmp eax, edi
je 0x449f84
push 0x2800
push edi
push eax
call fcn.0046a210
add esp, 0xc
lea esp, [esp]
mov ecx, dword [esp + 0x20]
lea eax, [esp + 0x18]
push eax
push ecx
mov dword [esp + 0x20], 0
call dword [sym.imp.WINHTTP.dll_WinHttpQueryDataAvailable]
test eax, eax
je 0x449d52
push edi
mov edx, esi
call fcn.00449010
mov edx, dword [esp + 0x18]
inc edx
push edx
call fcn.00468d75
mov ebx, eax
add esp, 4
mov dword [esp + 0x94], ebx
test ebx, ebx
je 0x449d5e
mov eax, dword [esp + 0x18]
inc eax
push eax
push 0
push ebx
call fcn.0046a210
mov edx, dword [esp + 0x24]
mov eax, dword [esp + 0x2c]
add esp, 0xc
lea ecx, [esp + 0x1c]
push ecx
push edx
push ebx
push eax
mov dword [esp + 0x2c], 0
call dword [sym.imp.WINHTTP.dll_WinHttpReadData]
test eax, eax
je 0x449d47
mov ecx, dword [esp + 0x1c]
add ecx, edi
cmp ecx, ebp
jbe 0x449d2c
mov ebx, dword [esi + 0x98]
add ebp, ebp
push ebp
call fcn.00468d75
add esp, 4
mov dword [esi + 0x98], eax
test eax, eax
je 0x449d6b
push ebp
push 0
push eax
call fcn.0046a210
mov edx, dword [esi + 0x98]
add esp, 0xc
push edi
push ebx
push edx
call fcn.0046a9e0
add esp, 0xc
push ebx
call fcn.004696d5
mov ebx, dword [esp + 0x98]
add esp, 4
mov eax, dword [esp + 0x1c]
mov ecx, dword [esi + 0x98]
push eax
add ecx, edi
push ebx
push ecx
call fcn.0046a9e0
add esp, 0xc
add edi, dword [esp + 0x1c]
push ebx
call fcn.004696d5
add esp, 4
jmp 0x449d5e
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esi + 0x120], eax
cmp dword [esp + 0x18], 0
ja 0x449c60
jmp 0x449d76
mov dword [esi + 0x98], ebx
mov byte [esp + 0x16], 0
push edi
mov edx, esi
call fcn.00449010
mov dword [esi + 0x9c], edi
xor ebp, ebp
cmp dword [esi + 0x94], 8
mov edi, 1
mov dword [esp + 0x1c], edi
jb 0x449da0
mov eax, dword [esi + 0x80]
jmp 0x449da6
lea eax, [esi + 0x80]
push 5
push 0x494f9c
push eax
call fcn.0046c37e
add esp, 0xc
test eax, eax
jne 0x449dc5
xor edi, edi
mov ebp, 0xfde9
mov dword [esp + 0x1c], edi
mov edx, dword [esi + 0x9c]
mov eax, dword [esi + 0x98]
mov ebx, dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
push 0
push 0
inc edx
push edx
push eax
push edi
push ebp
call ebx
mov edi, eax
test edi, edi
jg 0x449e0e
mov ecx, dword [esi + 0x9c]
mov edx, dword [esi + 0x98]
xor ebp, ebp
push ebp
push ebp
inc ecx
push ecx
push edx
push 1
push ebp
mov dword [esp + 0x34], 1
call ebx
mov edi, eax
test edi, edi
jle 0x449e71
xor ecx, ecx
mov eax, edi
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00468d75
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x449e71
lea eax, [edi + edi]
push eax
push 0
push ebx
call fcn.0046a210
mov ecx, dword [esi + 0x9c]
mov edx, dword [esi + 0x98]
mov eax, dword [esp + 0x28]
add esp, 0xc
push edi
push ebx
inc ecx
push ecx
push edx
push eax
push ebp
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
test eax, eax
jle 0x449e68
push ebx
lea ecx, [esi + 0x60]
call fcn.0040aca0
push ebx
call fcn.004696d5
add esp, 4
lea ecx, [esp + 0x128]
push 0x494eac
push ecx
mov byte [esp + 0x1f], 1
call fcn.00413820
add esp, 8
test al, al
je 0x449f95
push str._html_
lea ecx, [esp + 0x110]
call fcn.0040ac00
lea ecx, [esp + 0x28]
mov byte [esp + 0x1190], 6
call fcn.0042c150
lea edi, [esi + 0x60]
lea edx, [esp + 0x10c]
push edi
push edx
lea ecx, [esp + 0x30]
mov byte [esp + 0x1198], 7
call fcn.00403450
add esp, 8
test al, al
je 0x449f4c
mov ecx, dword [esp + 0x38]
sub ecx, dword [esp + 0x34]
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
je 0x449f4c
push str.__html_
lea ecx, [esp + 0x110]
call fcn.0040aca0
lea ecx, [esp + 0x10c]
push edi
push ecx
lea ecx, [esp + 0x30]
call fcn.00403450
add esp, 8
test al, al
je 0x449f3d
mov ecx, dword [esp + 0x38]
sub ecx, dword [esp + 0x34]
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
jne 0x449f4c
mov dword [esi + 0x120], 0xd
mov byte [esp + 0x17], 0
lea ecx, [esp + 0x28]
call fcn.0040b110
lea ecx, [esp + 0x10c]
mov byte [esp + 0x1190], 0
call fcn.0040a260
jmp 0x449f77
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esi + 0x120], eax
cmp byte [esp + 0x17], 0
je 0x44937f
jmp 0x449f95
mov byte [esp + 0x16], 0
cmp byte [esp + 0x17], 0
jne 0x449f95
mov byte [esp + 0x16], 0
mov ecx, dword [esp + 0x20]
push ecx
call dword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
mov edi, dword [esp + 0x90]
push edi
call dword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
mov ebx, 8
cmp dword [esp + 0x140], ebx
jb 0x449fcc
mov edx, dword [esp + 0x12c]
push edx
call fcn.00469665
add esp, 4
mov al, byte [esp + 0x16]
jmp 0x449ff7
mov dword [esi + 0x120], 0x57
cmp dword [esp + 0x140], ebx
jb 0x449ff5
mov eax, dword [esp + 0x12c]
push eax
call fcn.00469665
add esp, 4
xor al, al
mov ecx, dword [esp + 0x1188]
mov dword fs:[0], ecx
pop ecx
pop edi
pop ebp
pop ebx
mov ecx, dword [esp + 0x1174]
xor ecx, esp
call fcn.00469e0a
add esp, 0x1184
ret