Function at 0x448140
Capabilities:
Initialize winhttp library
Prepare http request
Receive http response

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x582e81
mov eax, dword fs:[0]
push eax
sub esp, 0x98
mov eax, dword [0x5f6040]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x84], edi
mov dword [ebp - 0x94], edi
mov dword [ebp - 0x80], 0
mov dword [ebp - 4], 3
lea eax, [ebp + 0x38]
cmp dword [ebp + 0x4c], 0xf
cmova eax, dword [ebp + 0x38]
mov esi, eax
mov dword [ebp - 0x88], eax
lea ecx, [esi + 1]
nop
mov al, byte [esi]
inc esi
test al, al
jne 0x4481a0
sub esi, ecx
lea edx, [ebp + 8]
push ecx
lea ecx, [ebp - 0x40]
call fcn.00448030
lea edx, [ebp + 0x20]
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x28]
call fcn.00448030
add esp, 4
mov byte [ebp - 4], 5
xorps xmm0, xmm0
movups xmmword [edi], xmm0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0xf
mov byte [edi], 0
xor eax, eax
mov dword [ebp - 0x80], 1
push eax
push eax
push eax
push eax
push str.WinHTTP_Example_1.0
mov dword [ebp - 0x74], 0
mov dword [ebp - 0x90], 0
call dword [sym.imp.WINHTTP.dll_WinHttpOpen]
mov edx, eax
mov dword [ebp - 0x84], edx
test edx, edx
je 0x4484bf
cmp dword [ebp - 0x2c], 7
lea eax, [ebp - 0x40]
push 0
cmova eax, dword [ebp - 0x40]
push 0x50
push eax
push edx
call dword [sym.imp.WINHTTP.dll_WinHttpConnect]
mov ecx, eax
mov dword [ebp - 0x78], ecx
test ecx, ecx
je 0x4484bb
cmp dword [ebp - 0x14], 7
lea eax, [ebp - 0x28]
push 0
cmova eax, dword [ebp - 0x28]
push 0
push 0
push 0
push eax
push str.POST
push ecx
call dword [sym.imp.WINHTTP.dll_WinHttpOpenRequest]
mov dword [ebp - 0x7c], eax
test eax, eax
je 0x44848a
push 0
push esi
push esi
push dword [ebp - 0x88]
mov esi, eax
push 0xffffffffffffffff
push str.Content_Type:_application_x_www_form_urlencoded_r_n
push esi
call dword [sym.imp.WINHTTP.dll_WinHttpSendRequest]
test eax, eax
je 0x44848c
push 0
push esi
call dword [sym.imp.WINHTTP.dll_WinHttpReceiveResponse]
test eax, eax
je 0x44848c
nop dword [eax + eax]
lea eax, [ebp - 0x74]
mov dword [ebp - 0x74], 0
push eax
push esi
call dword [sym.imp.WINHTTP.dll_WinHttpQueryDataAvailable]
test eax, eax
jne 0x4482da
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.Error__u_in_WinHttpQueryDataAvailable._n
call fcn.00447260
add esp, 8
mov eax, dword [ebp - 0x74]
inc eax
push eax
call fcn.0044b8dc
mov esi, eax
mov eax, dword [ebp - 0x74]
inc eax
push eax
push 0
push esi
call sub.VCRUNTIME140.dll_memset
add esp, 0x10
lea eax, [ebp - 0x90]
push eax
push dword [ebp - 0x74]
mov eax, dword [ebp - 0x7c]
push esi
push eax
call dword [sym.imp.WINHTTP.dll_WinHttpReadData]
test eax, eax
jne 0x448325
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.Error__u_in_WinHttpReadData._n
call fcn.00447260
jmp 0x448470
mov ecx, esi
mov dword [ebp - 0x48], 0
xorps xmm0, xmm0
mov dword [ebp - 0x44], 0
movups xmmword [ebp - 0x58], xmm0
lea edx, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x448340
sub ecx, edx
push ecx
push esi
lea ecx, [ebp - 0x58]
call fcn.00447170
mov byte [ebp - 4], 6
mov eax, edi
cmp dword [edi + 0x14], 0xf
jbe 0x448361
mov eax, dword [edi]
push dword [edi + 0x10]
push eax
push ecx
lea ecx, [ebp - 0x58]
call fcn.0044ac90
or dword [ebp - 0x80], 2
movups xmm0, xmmword [eax]
movq xmm1, qword [eax + 0x10]
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
lea eax, [ebp - 0x70]
movq qword [ebp - 0x8c], xmm1
movq qword [ebp - 0x60], xmm1
movups xmmword [ebp - 0xa4], xmm0
movups xmmword [ebp - 0x70], xmm0
cmp edi, eax
je 0x448407
mov ecx, dword [edi + 0x14]
cmp ecx, 0xf
jbe 0x4483ec
mov eax, dword [edi]
inc ecx
cmp ecx, 0x1000
jb 0x4483d3
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x448629
mov eax, edx
push ecx
push eax
call fcn.0044b50c
movups xmm0, xmmword [ebp - 0xa4]
add esp, 8
movq xmm1, qword [ebp - 0x8c]
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0xf
mov byte [edi], 0
movups xmmword [edi], xmm0
movq qword [edi + 0x10], xmm1
jmp 0x44843b
mov ecx, dword [ebp - 0x5c]
cmp ecx, 0xf
jbe 0x44843b
mov edx, dword [ebp - 0x70]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x448431
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x448629
push ecx
push edx
call fcn.0044b50c
add esp, 8
mov byte [ebp - 4], 5
mov ecx, dword [ebp - 0x44]
cmp ecx, 0xf
jbe 0x448473
mov edx, dword [ebp - 0x58]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x448469
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x448629
push ecx
push edx
call fcn.0044b50c
add esp, 8
push esi
call fcn.0044b571
mov esi, dword [ebp - 0x7c]
add esp, 4
cmp dword [ebp - 0x74], 0
jbe 0x4484ad
jmp 0x4482b0
mov esi, eax
mov ecx, dword [ebp - 0x78]
mov dword [ebp - 0x78], ecx
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.Error__d_has_occurred._n
call fcn.00447260
mov eax, dword [ebp - 0x78]
add esp, 8
test esi, esi
je 0x4484c5
push esi
mov esi, dword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
call esi
mov eax, dword [ebp - 0x78]
jmp 0x4484cb
xor esi, esi
jmp 0x44848f
xor esi, esi
xor ecx, ecx
jmp 0x44848f
mov esi, dword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
test eax, eax
je 0x4484d2
push eax
call esi
mov eax, dword [ebp - 0x84]
test eax, eax
je 0x4484df
push eax
call esi
mov ecx, dword [ebp - 0x14]
cmp ecx, 7
jbe 0x448519
mov edx, dword [ebp - 0x28]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x44850f
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x448629
push ecx
push edx
call fcn.0044b50c
add esp, 8
mov ecx, dword [ebp - 0x2c]
xor eax, eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
cmp ecx, 7
jbe 0x448567
mov edx, dword [ebp - 0x40]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x44855d
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x448629
push ecx
push edx
call fcn.0044b50c
add esp, 8
mov ecx, dword [ebp + 0x1c]
xor eax, eax
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 7
mov word [ebp - 0x40], ax
cmp ecx, 0xf
jbe 0x4485af
mov edx, dword [ebp + 8]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4485a5
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x448629
push ecx
push edx
call fcn.0044b50c
add esp, 8
mov ecx, dword [ebp + 0x34]
mov dword [ebp + 0x18], 0
mov dword [ebp + 0x1c], 0xf
mov byte [ebp + 8], 0
cmp ecx, 0xf
jbe 0x4485f1
mov edx, dword [ebp + 0x20]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4485e7
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x448629
push ecx
push edx
call fcn.0044b50c
add esp, 8
mov ecx, dword [ebp + 0x4c]
mov dword [ebp + 0x30], 0
mov dword [ebp + 0x34], 0xf
mov byte [ebp + 0x20], 0
cmp ecx, 0xf
jbe 0x448639
mov edx, dword [ebp + 0x38]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x44862f
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x44862f
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.0044b50c
add esp, 8
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0044b4ce
mov esp, ebp
pop ebp
ret