Function at 0x44769b
Capabilities:
Initialize winhttp library
Prepare http request
Read http header
Receive http response
Set http header

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
push 0x133f
sub esp, 0x70
push fcn.0044769b
xor esi, esi
xor edi, edi
mov ecx, 0x73
push esi
dec ecx
jne 0x4476b7
mov edx, 0x18685b0
call fcn.0045b687
lea ebx, [ebp - 0x1c4]
call fcn.0045a876
mov edx, dword [ebp - 0x1c4]
call fcn.0045b670
xor eax, eax
call fcn.004557b7
lea ebx, [ebp - 0x1c4]
call fcn.0045a876
mov eax, 0x3c
mov dword [ebp - 0x21c], eax
mov dword [ebp - 0x214], 1
mov dword [ebp - 0x208], 1
mov dword [ebp - 0x1ec], 1
mov dword [ebp - 0x1fc], 1
mov dword [ebp - 0x1f4], 1
mov dword [ebp - 0x1e4], 1
lea ebx, [ebp - 0x21c]
push ebx
push 0
mov edx, dword [ebp - 0x1c4]
call fcn.0045b670
call fcn.0045b655
push eax
lea ebx, [ebp - 0x1c4]
call fcn.0045b77c
push ebx
call dword [sym.imp.WINHTTP.DLL_WinHttpCrackUrl]
fldcw word [ebp - 0x10]
test eax, eax
je 0x44781b
mov eax, dword [ebp - 0x20c]
mov ecx, eax
fild dword [0x186b3f0]
mov eax, dword [ebp - 0x208]
call fcn.0045a848
fmulp st(1)
fistp qword [ebp - 0x6c]
mov eax, dword [ebp - 0x6c]
call fcn.0045635d
mov edx, 0x185e7e4
call fcn.0045b687
call fcn.0045ab3a
lea ebx, [ebp - 0xb0]
call fcn.0045a876
mov eax, dword [ebp - 0x1f0]
mov ecx, eax
fild dword [0x186b3f0]
mov eax, dword [ebp - 0x1ec]
call fcn.0045a848
fmulp st(1)
fistp qword [ebp - 0x6c]
mov eax, dword [ebp - 0x6c]
call fcn.0045635d
mov eax, dword [ebp - 0x1e8]
mov ecx, eax
fild dword [0x186b3f0]
mov eax, dword [ebp - 0x1e4]
call fcn.0045a848
fmulp st(1)
fistp qword [ebp - 0x6c]
mov eax, dword [ebp - 0x6c]
call fcn.0045635d
call fcn.0045ab3a
mov edx, 0x185e7e4
call fcn.0045b687
call fcn.0045ab3a
lea ebx, [ebp - 0xac]
call fcn.0045a876
jmp 0x447820
jmp 0x447f11
mov edx, dword [ebp - 0xb0]
call fcn.0045b670
mov ecx, 1
mov eax, 1
mov edx, dword [ebp - 0xb0]
call fcn.0045b670
mov dword [ebp - 0x30], eax
call fcn.0045b655
sub eax, dword [ebp - 0x30]
call fcn.004527ff
xor eax, eax
call fcn.00455785
lea ebx, [ebp - 0x1b4]
mov ecx, 0x104
call fcn.0045b4a3
push 0
push 0
push 0
push 1
push 0
call dword [sym.imp.WINHTTP.DLL_WinHttpOpen]
fldcw word [ebp - 0x10]
mov esi, eax
fild dword [0x186b388]
mov dword [ebp - 0x6c], esi
mov dword [ebp - 0x68], 0
fild qword [ebp - 0x6c]
fcompp
fnstsw ax
sahf
je 0x447f11
push 0
push 0x7530
push 0x7530
push 0x7530
push 0x7530
mov eax, esi
push eax
call dword [sym.imp.WINHTTP.DLL_WinHttpSetTimeouts]
fldcw word [ebp - 0x10]
pop dword [ebp - 0x30]
cmp eax, dword [ebp - 0x30]
je 0x447f11
push 0
lea ebx, [ebp - 0x23c]
push ebx
lea ebx, [ebp - 0x1b4]
push ebx
call fcn.00447fc3
pop dword [ebp - 0x30]
cmp eax, dword [ebp - 0x30]
je 0x447f11
mov ebx, 0x45dd78
push ebx
lea ebx, [ebp - 0x23c]
push ebx
call fcn.004480bb
lea ebx, [ebp - 0x23c]
call fcn.0045b45a
xor eax, eax
call fcn.004557b7
mov edx, 0x185e7e4
call fcn.0045b687
call fcn.0045ab3a
lea ebx, [ebp - 0xb0]
call fcn.0045a876
push 0
movzx eax, word [ebp - 0x204]
push eax
lea ebx, [ebp - 0xb0]
call fcn.0045b77c
push ebx
mov eax, esi
push eax
call dword [sym.imp.WINHTTP.DLL_WinHttpConnect]
fldcw word [ebp - 0x10]
mov edi, eax
fild dword [0x186b388]
mov dword [ebp - 0x6c], edi
mov dword [ebp - 0x68], 0
fild qword [ebp - 0x6c]
fcompp
fnstsw ax
sahf
je 0x447f11
mov edx, dword [ebp - 0x1bc]
call fcn.0045b670
mov edx, 0x185e9a0
call fcn.0045b687
call fcn.0045abcf
jne 0x4479b9
mov edx, 0x18685e4
call fcn.0045b687
xor eax, eax
call fcn.004557b7
mov edx, 0x185e7e4
call fcn.0045b687
call fcn.0045ab3a
lea ebx, [ebp - 0xa8]
call fcn.0045a876
jmp 0x4479e4
mov edx, 0x18685ec
call fcn.0045b687
xor eax, eax
call fcn.004557b7
mov edx, 0x185e7e4
call fcn.0045b687
call fcn.0045ab3a
lea ebx, [ebp - 0xa8]
call fcn.0045a876
mov eax, 0x1bb
movzx ecx, word [ebp - 0x204]
cmp ecx, eax
jne 0x447a32
push 0x800000
push 0
push 0
push 0
lea ebx, [ebp - 0xac]
call fcn.0045b77c
push ebx
lea ebx, [ebp - 0xa8]
call fcn.0045b77c
push ebx
mov eax, edi
push eax
call dword [sym.imp.WINHTTP.DLL_WinHttpOpenRequest]
fldcw word [ebp - 0x10]
mov dword [ebp - 0xa4], eax
jmp 0x447a64
push 0
push 0
push 0
push 0
lea ebx, [ebp - 0xac]
call fcn.0045b77c
push ebx
lea ebx, [ebp - 0xa8]
call fcn.0045b77c
push ebx
mov eax, edi
push eax
call dword [sym.imp.WINHTTP.DLL_WinHttpOpenRequest]
fldcw word [ebp - 0x10]
mov dword [ebp - 0xa4], eax
fild dword [0x186b388]
mov eax, dword [ebp - 0xa4]
call fcn.0045a848
fcompp
fnstsw ax
sahf
je 0x447f11
mov edx, 0x186638c
call fcn.0045b687
mov edx, 0x185e7fc
call fcn.0045b687
call fcn.0045ab3a
lea ebx, [ebp - 0x1b8]
call fcn.0045a876
mov edx, dword [ebp - 0x1b8]
call fcn.0045b670
mov edx, 0x18685f8
call fcn.0045b687
call fcn.0045ab3a
mov edx, 0x185e7fc
call fcn.0045b687
call fcn.0045ab3a
lea ebx, [ebp - 0x1b8]
call fcn.0045a876
mov edx, dword [ebp - 0x1b8]
call fcn.0045b670
mov edx, 0x1868650
call fcn.0045b687
call fcn.0045ab3a
mov edx, 0x185e7fc
call fcn.0045b687
call fcn.0045ab3a
lea ebx, [ebp - 0x1b8]
call fcn.0045a876
mov edx, dword [ebp - 0x1b8]
call fcn.0045b670
mov edx, 0x18686c8
call fcn.0045b687
call fcn.0045ab3a
mov edx, 0x185e7fc
call fcn.0045b687
call fcn.0045ab3a
lea ebx, [ebp - 0x1b8]
call fcn.0045a876
mov edx, dword [ebp - 0x1b8]
call fcn.0045b670
mov edx, 0x18686f8
call fcn.0045b687
call fcn.0045ab3a
lea ebx, [ebp - 0x1b4]
call fcn.0045b45a
call fcn.0045ab3a
mov edx, 0x185e7fc
call fcn.0045b687
call fcn.0045ab3a
lea ebx, [ebp - 0x1b8]
call fcn.0045a876
mov edx, dword [ebp - 0x1c0]
call fcn.0045b670
call fcn.0045b655
test eax, eax
je 0x447bcd
mov edx, dword [ebp - 0x1b8]
call fcn.0045b670
mov edx, dword [ebp - 0x1c0]
call fcn.0045b670
call fcn.0045ab3a
mov edx, 0x185e7fc
call fcn.0045b687
call fcn.0045ab3a
lea ebx, [ebp - 0x1b8]
call fcn.0045a876
mov edx, dword [ebp - 0x1b8]
call fcn.0045b670
mov edx, 0x185e7e4
call fcn.0045b687
call fcn.0045ab3a
xor eax, eax
call fcn.004557b7
lea ebx, [ebp - 0x1b8]
call fcn.0045a876
push 0
push 0x20000000
fild dword [0x186b3c8]
fchs
call fcn.0045a86f
push eax
lea ebx, [ebp - 0x1b8]
call fcn.0045b77c
push ebx
push dword [ebp - 0xa4]
call dword [sym.imp.WINHTTP.DLL_WinHttpAddRequestHeaders]
fldcw word [ebp - 0x10]
pop dword [ebp - 0x30]
cmp eax, dword [ebp - 0x30]
je 0x447f11
mov eax, 0x1bb
movzx ecx, word [ebp - 0x204]
cmp ecx, eax
jne 0x447c98
fild dword [0x186b104]
fild dword [0x186b100]
call fcn.0045a6e9
fild dword [0x186b108]
call fcn.0045a6e9
call fcn.0045a86f
mov dword [ebp - 0x1d0], eax
push 0
push 4
lea ebx, [ebp - 0x1d0]
push ebx
push 0x1f
push dword [ebp - 0xa4]
call dword [sym.imp.WINHTTP.DLL_WinHttpSetOption]
fldcw word [ebp - 0x10]
pop dword [ebp - 0x30]
cmp eax, dword [ebp - 0x30]
je 0x447f11
mov edx, dword [ebp - 0x1bc]
call fcn.0045b670
mov edx, 0x185e9a0
call fcn.0045b687
call fcn.0045abcf
jne 0x447ce6
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push dword [ebp - 0xa4]
call dword [sym.imp.WINHTTP.DLL_WinHttpSendRequest]
fldcw word [ebp - 0x10]
pop dword [ebp - 0x30]
cmp eax, dword [ebp - 0x30]
je 0x447f11
jmp 0x447d37
mov edx, dword [ebp - 0x1bc]
call fcn.0045b670
call fcn.0045b655
mov dword [ebp - 0x1d4], eax
push 0
push 0
push dword [ebp - 0x1d4]
push dword [ebp - 0x1d4]
lea ebx, [ebp - 0x1bc]
call fcn.0045b77c
push ebx
push 0
push 0
push dword [ebp - 0xa4]
call dword [sym.imp.WINHTTP.DLL_WinHttpSendRequest]
fldcw word [ebp - 0x10]
pop dword [ebp - 0x30]
cmp eax, dword [ebp - 0x30]
je 0x447f11
push 0
push 0
push dword [ebp - 0xa4]
call dword [sym.imp.WINHTTP.DLL_WinHttpReceiveResponse]
fldcw word [ebp - 0x10]
pop dword [ebp - 0x30]
cmp eax, dword [ebp - 0x30]
je 0x447f11
push 0
xor eax, eax
lea ebx, [esp]
push ebx
mov dword [ebx], eax
lea ebx, [ebp - 0x1d4]
push ebx
push 0
push 0
push 0x16
push dword [ebp - 0xa4]
call dword [sym.imp.WINHTTP.DLL_WinHttpQueryHeaders]
add esp, 4
fldcw word [ebp - 0x10]
push 0x7a
call dword [sym.imp.KERNEL32.DLL_GetLastError]
fldcw word [ebp - 0x10]
pop dword [ebp - 0x30]
cmp eax, dword [ebp - 0x30]
jne 0x447e4d
mov eax, dword [ebp - 0x1d4]
call fcn.00455323
lea ebx, [ebp - 0x250]
call fcn.0045a876
push 0
xor eax, eax
lea ebx, [esp]
push ebx
mov dword [ebx], eax
lea ebx, [ebp - 0x1d4]
push ebx
lea ebx, [ebp - 0x250]
call fcn.0045b77c
push ebx
push 0
push 0x16
push dword [ebp - 0xa4]
call dword [sym.imp.WINHTTP.DLL_WinHttpQueryHeaders]
add esp, 4
fldcw word [ebp - 0x10]
mov edx, dword [ebp - 0x250]
call fcn.0045b670
xor eax, eax
call fcn.00455785
lea ebx, [ebp - 0x1c8]
call fcn.0045a876
mov edx, 0x185e7f4
call fcn.0045b687
push 0
mov ebx, esp
call fcn.0045a876
mov edx, 0x1868704
call fcn.0045b687
push 0
mov ebx, esp
call fcn.0045a876
mov edx, dword [ebp - 0x1c8]
call fcn.0045b670
push 0
mov ebx, esp
call fcn.0045a876
call fcn.00417388
call fcn.0045b69e
call fcn.00459410
fstp qword [ebp - 0x244]
fld qword [ebp - 0x244]
ftst
fnstsw ax
sahf
fstp st(0)
je 0x447f11
mov dword [ebp - 0x1d4], 0
push 0
lea ebx, [ebp - 0x1d4]
push ebx
push dword [ebp - 0xa4]
call dword [sym.imp.WINHTTP.DLL_WinHttpQueryDataAvailable]
fldcw word [ebp - 0x10]
pop dword [ebp - 0x30]
cmp eax, dword [ebp - 0x30]
jne 0x447e8f
jmp 0x447f11
mov eax, dword [ebp - 0x1d4]
call fcn.00455314
lea ebx, [ebp - 0x1cc]
call fcn.0045a876
lea ebx, [ebp - 0x1e0]
push ebx
push dword [ebp - 0x1d4]
lea ebx, [ebp - 0x1cc]
call fcn.0045b77c
push ebx
push dword [ebp - 0xa4]
call dword [sym.imp.WINHTTP.DLL_WinHttpReadData]
fldcw word [ebp - 0x10]
test eax, eax
je 0x447ee6
mov eax, dword [ebp - 0x1e0]
add dword [ebp - 0x1dc], eax
jmp 0x447eeb
jmp 0x447f11
mov eax, 0x32
call fcn.00455620
fild dword [0x186b388]
mov eax, dword [ebp - 0x1d4]
call fcn.0045a848
fcompp
fnstsw ax
sahf
ja 0x447e60
mov eax, dword [0x45db18]
test eax, eax
je 0x447f66
mov edx, 0x186871c
call fcn.0045b687
fld qword [ebp - 0x244]
call fcn.004592f4
call fcn.0045ab3a
mov edx, 0x185e9a8
call fcn.0045b687
call fcn.0045ab3a
fild dword [ebp - 0x1dc]
call fcn.004592f4
call fcn.0045ab3a
push 0
mov ebx, esp
call fcn.0045a876
call fcn.00417148
mov eax, dword [ebp - 0xa4]
test eax, eax
je 0x447f7f
push dword [ebp - 0xa4]
call dword [sym.imp.WINHTTP.DLL_WinHttpCloseHandle]
fldcw word [ebp - 0x10]
mov eax, edi
test eax, eax
je 0x447f91
mov eax, edi
push eax
call dword [sym.imp.WINHTTP.DLL_WinHttpCloseHandle]
fldcw word [ebp - 0x10]
mov eax, esi
test eax, eax
je 0x447fa3
mov eax, esi
push eax
call dword [sym.imp.WINHTTP.DLL_WinHttpCloseHandle]
fldcw word [ebp - 0x10]
call fcn.0045b4f9
mov eax, dword [ebp - 0x98]
lea esp, [ebp - 0xc]
pop edi
pop esi
pop ebx
pop ebp
ret