Function at 0x447fdb
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.00447fdb
xor esi, esi
xor edi, edi
mov ecx, 0x73
push esi
dec ecx
jne 0x447ff7
mov edx, 0x186a768
call fcn.0045d0ba
lea ebx, [ebp - 0x1c4]
call fcn.0045c2a9
mov edx, dword [ebp - 0x1c4]
call fcn.0045d0a3
xor eax, eax
call fcn.004571ea
lea ebx, [ebp - 0x1c4]
call fcn.0045c2a9
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.0045d0a3
call fcn.0045d088
push eax
lea ebx, [ebp - 0x1c4]
call fcn.0045d1af
push ebx
call dword [sym.imp.WINHTTP.DLL_WinHttpCrackUrl]
fldcw word [ebp - 0x10]
test eax, eax
je 0x44815b
mov eax, dword [ebp - 0x20c]
mov ecx, eax
fild dword [0x186d70c]
mov eax, dword [ebp - 0x208]
call fcn.0045c27b
fmulp st(1)
fistp qword [ebp - 0x6c]
mov eax, dword [ebp - 0x6c]
call fcn.00457d90
mov edx, 0x186080c
call fcn.0045d0ba
call fcn.0045c56d
lea ebx, [ebp - 0xb0]
call fcn.0045c2a9
mov eax, dword [ebp - 0x1f0]
mov ecx, eax
fild dword [0x186d70c]
mov eax, dword [ebp - 0x1ec]
call fcn.0045c27b
fmulp st(1)
fistp qword [ebp - 0x6c]
mov eax, dword [ebp - 0x6c]
call fcn.00457d90
mov eax, dword [ebp - 0x1e8]
mov ecx, eax
fild dword [0x186d70c]
mov eax, dword [ebp - 0x1e4]
call fcn.0045c27b
fmulp st(1)
fistp qword [ebp - 0x6c]
mov eax, dword [ebp - 0x6c]
call fcn.00457d90
call fcn.0045c56d
mov edx, 0x186080c
call fcn.0045d0ba
call fcn.0045c56d
lea ebx, [ebp - 0xac]
call fcn.0045c2a9
jmp 0x448160
jmp 0x448851
mov edx, dword [ebp - 0xb0]
call fcn.0045d0a3
mov ecx, 1
mov eax, 1
mov edx, dword [ebp - 0xb0]
call fcn.0045d0a3
mov dword [ebp - 0x30], eax
call fcn.0045d088
sub eax, dword [ebp - 0x30]
call fcn.00454232
xor eax, eax
call fcn.004571b8
lea ebx, [ebp - 0x1b4]
mov ecx, 0x104
call fcn.0045ced6
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 [0x186d6a4]
mov dword [ebp - 0x6c], esi
mov dword [ebp - 0x68], 0
fild qword [ebp - 0x6c]
fcompp
fnstsw ax
sahf
je 0x448851
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 0x448851
push 0
lea ebx, [ebp - 0x23c]
push ebx
lea ebx, [ebp - 0x1b4]
push ebx
call fcn.00448903
pop dword [ebp - 0x30]
cmp eax, dword [ebp - 0x30]
je 0x448851
mov ebx, str.SYSTEMCurrentControlSetServicesTPMODUID
push ebx
lea ebx, [ebp - 0x23c]
push ebx
call fcn.004489fb
lea ebx, [ebp - 0x23c]
call fcn.0045ce8d
xor eax, eax
call fcn.004571ea
mov edx, 0x186080c
call fcn.0045d0ba
call fcn.0045c56d
lea ebx, [ebp - 0xb0]
call fcn.0045c2a9
push 0
movzx eax, word [ebp - 0x204]
push eax
lea ebx, [ebp - 0xb0]
call fcn.0045d1af
push ebx
mov eax, esi
push eax
call dword [sym.imp.WINHTTP.DLL_WinHttpConnect]
fldcw word [ebp - 0x10]
mov edi, eax
fild dword [0x186d6a4]
mov dword [ebp - 0x6c], edi
mov dword [ebp - 0x68], 0
fild qword [ebp - 0x6c]
fcompp
fnstsw ax
sahf
je 0x448851
mov edx, dword [ebp - 0x1bc]
call fcn.0045d0a3
mov edx, 0x18609c8
call fcn.0045d0ba
call fcn.0045c602
jne 0x4482f9
mov edx, 0x186a79c
call fcn.0045d0ba
xor eax, eax
call fcn.004571ea
mov edx, 0x186080c
call fcn.0045d0ba
call fcn.0045c56d
lea ebx, [ebp - 0xa8]
call fcn.0045c2a9
jmp 0x448324
mov edx, 0x186a7a4
call fcn.0045d0ba
xor eax, eax
call fcn.004571ea
mov edx, 0x186080c
call fcn.0045d0ba
call fcn.0045c56d
lea ebx, [ebp - 0xa8]
call fcn.0045c2a9
mov eax, 0x1bb
movzx ecx, word [ebp - 0x204]
cmp ecx, eax
jne 0x448372
push 0x800000
push 0
push 0
push 0
lea ebx, [ebp - 0xac]
call fcn.0045d1af
push ebx
lea ebx, [ebp - 0xa8]
call fcn.0045d1af
push ebx
mov eax, edi
push eax
call dword [sym.imp.WINHTTP.DLL_WinHttpOpenRequest]
fldcw word [ebp - 0x10]
mov dword [ebp - 0xa4], eax
jmp 0x4483a4
push 0
push 0
push 0
push 0
lea ebx, [ebp - 0xac]
call fcn.0045d1af
push ebx
lea ebx, [ebp - 0xa8]
call fcn.0045d1af
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 [0x186d6a4]
mov eax, dword [ebp - 0xa4]
call fcn.0045c27b
fcompp
fnstsw ax
sahf
je 0x448851
mov edx, 0x186877c
call fcn.0045d0ba
mov edx, 0x1860824
call fcn.0045d0ba
call fcn.0045c56d
lea ebx, [ebp - 0x1b8]
call fcn.0045c2a9
mov edx, dword [ebp - 0x1b8]
call fcn.0045d0a3
mov edx, 0x186a7b0
call fcn.0045d0ba
call fcn.0045c56d
mov edx, 0x1860824
call fcn.0045d0ba
call fcn.0045c56d
lea ebx, [ebp - 0x1b8]
call fcn.0045c2a9
mov edx, dword [ebp - 0x1b8]
call fcn.0045d0a3
mov edx, 0x186a808
call fcn.0045d0ba
call fcn.0045c56d
mov edx, 0x1860824
call fcn.0045d0ba
call fcn.0045c56d
lea ebx, [ebp - 0x1b8]
call fcn.0045c2a9
mov edx, dword [ebp - 0x1b8]
call fcn.0045d0a3
mov edx, 0x186a880
call fcn.0045d0ba
call fcn.0045c56d
mov edx, 0x1860824
call fcn.0045d0ba
call fcn.0045c56d
lea ebx, [ebp - 0x1b8]
call fcn.0045c2a9
mov edx, dword [ebp - 0x1b8]
call fcn.0045d0a3
mov edx, 0x186a8b0
call fcn.0045d0ba
call fcn.0045c56d
lea ebx, [ebp - 0x1b4]
call fcn.0045ce8d
call fcn.0045c56d
mov edx, 0x1860824
call fcn.0045d0ba
call fcn.0045c56d
lea ebx, [ebp - 0x1b8]
call fcn.0045c2a9
mov edx, dword [ebp - 0x1c0]
call fcn.0045d0a3
call fcn.0045d088
test eax, eax
je 0x44850d
mov edx, dword [ebp - 0x1b8]
call fcn.0045d0a3
mov edx, dword [ebp - 0x1c0]
call fcn.0045d0a3
call fcn.0045c56d
mov edx, 0x1860824
call fcn.0045d0ba
call fcn.0045c56d
lea ebx, [ebp - 0x1b8]
call fcn.0045c2a9
mov edx, dword [ebp - 0x1b8]
call fcn.0045d0a3
mov edx, 0x186080c
call fcn.0045d0ba
call fcn.0045c56d
xor eax, eax
call fcn.004571ea
lea ebx, [ebp - 0x1b8]
call fcn.0045c2a9
push 0
push 0x20000000
fild dword [0x186d6e4]
fchs
call fcn.0045c2a2
push eax
lea ebx, [ebp - 0x1b8]
call fcn.0045d1af
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 0x448851
mov eax, 0x1bb
movzx ecx, word [ebp - 0x204]
cmp ecx, eax
jne 0x4485d8
fild dword [0x186d418]
fild dword [0x186d414]
call fcn.0045c11c
fild dword [0x186d41c]
call fcn.0045c11c
call fcn.0045c2a2
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 0x448851
mov edx, dword [ebp - 0x1bc]
call fcn.0045d0a3
mov edx, 0x18609c8
call fcn.0045d0ba
call fcn.0045c602
jne 0x448626
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 0x448851
jmp 0x448677
mov edx, dword [ebp - 0x1bc]
call fcn.0045d0a3
call fcn.0045d088
mov dword [ebp - 0x1d4], eax
push 0
push 0
push dword [ebp - 0x1d4]
push dword [ebp - 0x1d4]
lea ebx, [ebp - 0x1bc]
call fcn.0045d1af
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 0x448851
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 0x448851
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 0x44878d
mov eax, dword [ebp - 0x1d4]
call fcn.00456d56
lea ebx, [ebp - 0x250]
call fcn.0045c2a9
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.0045d1af
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.0045d0a3
xor eax, eax
call fcn.004571b8
lea ebx, [ebp - 0x1c8]
call fcn.0045c2a9
mov edx, 0x186081c
call fcn.0045d0ba
push 0
mov ebx, esp
call fcn.0045c2a9
mov edx, 0x186a8bc
call fcn.0045d0ba
push 0
mov ebx, esp
call fcn.0045c2a9
mov edx, dword [ebp - 0x1c8]
call fcn.0045d0a3
push 0
mov ebx, esp
call fcn.0045c2a9
call fcn.00417388
call fcn.0045d0d1
call fcn.0045ae43
fstp qword [ebp - 0x244]
fld qword [ebp - 0x244]
ftst
fnstsw ax
sahf
fstp st(0)
je 0x448851
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 0x4487cf
jmp 0x448851
mov eax, dword [ebp - 0x1d4]
call fcn.00456d47
lea ebx, [ebp - 0x1cc]
call fcn.0045c2a9
lea ebx, [ebp - 0x1e0]
push ebx
push dword [ebp - 0x1d4]
lea ebx, [ebp - 0x1cc]
call fcn.0045d1af
push ebx
push dword [ebp - 0xa4]
call dword [sym.imp.WINHTTP.DLL_WinHttpReadData]
fldcw word [ebp - 0x10]
test eax, eax
je 0x448826
mov eax, dword [ebp - 0x1e0]
add dword [ebp - 0x1dc], eax
jmp 0x44882b
jmp 0x448851
mov eax, 0x32
call fcn.00457053
fild dword [0x186d6a4]
mov eax, dword [ebp - 0x1d4]
call fcn.0045c27b
fcompp
fnstsw ax
sahf
ja 0x4487a0
mov eax, dword [0x45fb18]
test eax, eax
je 0x4488a6
mov edx, 0x186a8d4
call fcn.0045d0ba
fld qword [ebp - 0x244]
call fcn.0045ad27
call fcn.0045c56d
mov edx, 0x18609d0
call fcn.0045d0ba
call fcn.0045c56d
fild dword [ebp - 0x1dc]
call fcn.0045ad27
call fcn.0045c56d
push 0
mov ebx, esp
call fcn.0045c2a9
call fcn.00417148
mov eax, dword [ebp - 0xa4]
test eax, eax
je 0x4488bf
push dword [ebp - 0xa4]
call dword [sym.imp.WINHTTP.DLL_WinHttpCloseHandle]
fldcw word [ebp - 0x10]
mov eax, edi
test eax, eax
je 0x4488d1
mov eax, edi
push eax
call dword [sym.imp.WINHTTP.DLL_WinHttpCloseHandle]
fldcw word [ebp - 0x10]
mov eax, esi
test eax, eax
je 0x4488e3
mov eax, esi
push eax
call dword [sym.imp.WINHTTP.DLL_WinHttpCloseHandle]
fldcw word [ebp - 0x10]
call fcn.0045cf2c
mov eax, dword [ebp - 0x98]
lea esp, [ebp - 0xc]
pop edi
pop esi
pop ebx
pop ebp
ret