Function at 0x45218c
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0xd8
mov dword [esp + 8], ecx
cmp byte [edx + 0x10], 0
jne 0x452911
mov ebp, dword [edx]
mov ebx, dword [edx + 4]
mov eax, dword [edx + 8]
mov dword [esp + 0x64], eax
mov dword [esp + 0x74], edx
mov eax, dword [edx + 0xc]
mov dword [esp + 0x60], eax
mov ecx, 0x95c14ab1
call fcn.0040aef9
mov esi, eax
mov ecx, eax
mov edx, 0x95d39559
call fcn.0040af30
mov edi, eax
mov ecx, esi
mov edx, 0x2409bd09
call fcn.0040af30
mov dword [esp + 4], eax
mov ecx, esi
mov edx, 0xdd6c4c11
call fcn.0040af30
mov dword [esp + 0xc], eax
mov ecx, esi
mov edx, 0x2d41ee02
call fcn.0040af30
mov dword [esp + 0x2c], eax
mov ecx, esi
mov edx, 0xf40e2eda
call fcn.0040af30
mov dword [esp + 0x28], eax
mov ecx, esi
mov edx, 0x192f52d9
call fcn.0040af30
mov dword [esp + 0x68], eax
mov ecx, esi
mov edx, 0xe37aa639
call fcn.0040af30
mov dword [esp + 0x5c], eax
mov ecx, esi
mov edx, 0x7bd8bf78
call fcn.0040af30
mov dword [esp + 0x70], eax
mov ecx, esi
mov edx, 0x42024dfd
call fcn.0040af30
mov dword [esp + 0x6c], eax
lea eax, [0x537b28]
lea esi, [esp + 0x80]
mov dword [esi], eax
mov ecx, dword [esi]
mov dword [esi], 0x1c037e3e
mov edx, dword [esi]
call fcn.0044b5af
xorps xmm0, xmm0
movups xmmword [esi], xmm0
xor ecx, ecx
cmp ecx, 0xf
ja 0x452295
mov edx, dword [ecx + 0x539f21]
xor edx, dword [eax + ecx]
mov dword [esp + ecx + 0x80], edx
add ecx, 4
jmp 0x45227b
mov al, byte [eax + 0x10]
xor al, 5
movups xmm0, xmmword [esp + 0x80]
lea edx, [esp + 0x10]
movups xmmword [edx], xmm0
mov byte [edx + 0x10], al
lea esi, [esp + 0xc0]
mov ecx, esi
push 0x11
call fcn.0040911a
pop eax
mov esi, dword [esi]
test edi, edi
mov dword [esp + 0x4c], esi
je 0x452314
sub esp, 0x14
xorps xmm0, xmm0
movups xmmword [esp + 4], xmm0
mov dword [esp], esi
call edi
mov dword [esp], eax
test eax, eax
je 0x452314
mov ecx, ebp
mov edx, ebx
push 8
push str.https:__
call fcn.0041a15b
pop ecx
pop edx
mov ecx, ebp
mov edx, ebx
test al, al
je 0x45235e
push 8
push str.https:__
call fcn.00444c8d
pop ecx
pop ecx
test eax, eax
je 0x452926
mov esi, eax
mov edi, edx
jmp 0x452378
call sub.kernel32.dll_GetLastError
lea ecx, [esp + 0x40]
mov dword [ecx], eax
lea edx, [esp + 0x80]
mov dword [edx], str.WinHttpOpen_failed_with_error:
xor eax, eax
inc eax
mov dword [edx + 4], eax
and dword [edx + 0x10], 0
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], fcn.0041ded0
lea ecx, [esp + 0x10]
mov dword [edx + 8], ecx
mov dword [edx + 0xc], eax
lea ecx, [esp + 0x34]
call fcn.004520f3
mov esi, dword [esp + 8]
jmp 0x4528d7
push 7
push str.http:__
call fcn.00444c8d
pop ecx
pop ecx
mov esi, eax
mov edi, edx
test eax, eax
cmove esi, ebp
cmove edi, ebx
mov ecx, ebp
mov edx, ebx
push 8
push str.https:__
call fcn.0041a15b
pop ecx
pop edx
mov ebx, eax
lea ecx, [esp + 0x9c]
mov edx, esi
push edi
call fcn.0040911a
pop eax
mov edx, dword [esp + 0xc]
test edx, edx
je 0x45255e
mov edi, dword [esp + 0x9c]
test bl, bl
mov eax, 0x1bb
push 0x50
pop ecx
cmovne ecx, eax
push 0
push ecx
push edi
push dword [esp + 0xc]
call edx
test eax, eax
je 0x45255e
mov esi, eax
lea ecx, [esp + 0xa8]
mov edx, str.POSTHTTP_1.1Content_Type:_application_jsonFailed_to_receive_status_code._Error_is
push 4
call fcn.0040911a
pop eax
lea ecx, [esp + 0xb4]
mov edx, 0x539f48
push 8
call fcn.0040911a
pop eax
mov edx, dword [esp + 0x2c]
test edx, edx
je 0x4525c1
mov eax, dword [esp + 0xa8]
mov ecx, dword [esp + 0xb4]
push 0
push 0
push 0
mov dword [esp + 0x30], ecx
push ecx
push 0
mov dword [esp + 0x20], eax
push eax
push esi
call edx
test eax, eax
je 0x4525c1
mov ebp, eax
lea ecx, [esp + 0x40]
mov edx, 0x539f50
push 0x1e
call fcn.0040911a
pop eax
mov ecx, dword [esp + 0x28]
test ecx, ecx
je 0x452469
push 0
mov eax, dword [esp + 0x64]
push eax
push eax
push dword [esp + 0x70]
push dword [esp + 0x58]
push dword [esp + 0x54]
push ebp
call ecx
test eax, eax
je 0x4526f8
mov eax, dword [esp + 0x68]
test eax, eax
je 0x45247e
push 0
push ebp
call eax
test eax, eax
je 0x452729
and dword [esp + 0x78], 0
mov dword [esp + 0x7c], 4
mov edx, dword [esp + 0x5c]
test edx, edx
je 0x4524b1
lea eax, [esp + 0x7c]
lea ecx, [esp + 0x78]
push 0
push eax
push ecx
push 0
push 0x20000013
push ebp
call edx
test eax, eax
je 0x45275a
mov dword [esp + 0x28], esi
mov dword [esp + 0x2c], edi
lea eax, [esp + 0x10]
mov dword [eax], 1
and dword [eax + 4], 0
and dword [eax + 8], 0
and dword [esp + 0x30], 0
mov eax, dword [esp + 0x70]
test eax, eax
je 0x452632
lea ecx, [esp + 0x30]
push ecx
push ebp
call eax
test eax, eax
je 0x4527bc
mov esi, dword [esp + 0x30]
test esi, esi
je 0x452632
mov ecx, esi
xor edx, edx
inc edx
call fcn.004177eb
mov ebx, eax
mov edi, edx
and dword [esp + 0x50], 0
mov eax, dword [esp + 0x6c]
test eax, eax
je 0x45252e
lea ecx, [esp + 0x50]
push ecx
push dword [esp + 0x34]
push ebx
push ebp
call eax
test eax, eax
je 0x45281c
mov ecx, dword [esp + 0x50]
jmp 0x452530
xor ecx, ecx
mov edx, ebx
push 0x53a014
push esi
call fcn.00439ae0
pop ecx
pop ecx
mov esi, edx
add esi, eax
lea ecx, [esp + 0x10]
mov edx, eax
push esi
call fcn.0042b753
pop eax
mov ecx, ebx
mov edx, edi
call fcn.0043e571
jmp 0x4524cb
mov eax, dword [esp + 4]
test eax, eax
je 0x45256b
push dword [esp]
call eax
call sub.kernel32.dll_GetLastError
lea ecx, [esp + 0x40]
mov dword [ecx], eax
lea edx, [esp + 0x80]
mov dword [edx], str.Failed_to_connect_WinHTTP._Error
mov dword [edx + 4], 2
and dword [edx + 0x10], 0
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], fcn.0041ded0
lea eax, [esp + 0x10]
mov dword [edx + 8], eax
mov dword [edx + 0xc], 1
lea ecx, [esp + 0x34]
call fcn.004520f3
mov edi, dword [esp + 0x9c]
mov esi, dword [esp + 8]
jmp 0x4528c9
mov ecx, esi
mov eax, dword [esp + 4]
test eax, eax
mov esi, dword [esp + 8]
je 0x4525d9
push ecx
mov ebx, eax
call eax
push dword [esp]
call ebx
call sub.kernel32.dll_GetLastError
lea ecx, [esp + 0x40]
mov dword [ecx], eax
lea edx, [esp + 0x80]
mov dword [edx], str.Failed_to_open_request._Error
mov dword [edx + 4], 2
and dword [edx + 0x10], 0
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], fcn.0041ded0
lea eax, [esp + 0x10]
mov dword [edx + 8], eax
mov dword [edx + 0xc], 1
lea ecx, [esp + 0x34]
call fcn.004520f3
mov ebp, dword [esp + 0xb4]
mov ebx, dword [esp + 0xa8]
jmp 0x4528ad
mov esi, dword [esp + 0x10]
lea edi, [esp + 0x80]
mov ecx, edi
mov edx, esi
push dword [esp + 0x18]
call fcn.00415cf0
pop eax
lea ecx, [esp + 0xcc]
mov edx, edi
call fcn.004054f4
mov ecx, dword [edi]
mov edx, dword [edi + 4]
call fcn.00403392
mov eax, dword [esp + 4]
test eax, eax
je 0x45267b
push ebp
mov edi, eax
call eax
push dword [esp + 0x28]
call edi
push dword [esp]
call edi
mov eax, dword [esp + 0xd4]
mov dword [esp + 0x3c], eax
movsd xmm0, qword [esp + 0xcc]
movsd qword [esp + 0x34], xmm0
mov edx, dword [esp + 0x14]
mov ecx, esi
call fcn.0043e571
mov ecx, dword [esp + 0x40]
mov edx, dword [esp + 0x44]
call fcn.0042b815
mov edx, dword [esp + 0xb8]
mov ecx, dword [esp + 0x24]
call fcn.0042b815
mov edx, dword [esp + 0xac]
mov ecx, dword [esp + 0xc]
call fcn.0042b815
mov edx, dword [esp + 0xa0]
mov ecx, dword [esp + 0x2c]
call fcn.0042b815
mov edx, dword [esp + 0xc4]
mov ecx, dword [esp + 0x4c]
call fcn.0042b815
xor eax, eax
mov esi, dword [esp + 8]
jmp 0x4528ea
mov eax, dword [esp + 4]
test eax, eax
je 0x45270f
push ebp
mov ebx, esi
mov esi, eax
call eax
push ebx
call esi
push dword [esp]
call esi
call sub.kernel32.dll_GetLastError
lea ecx, [esp + 0x54]
mov dword [ecx], eax
lea edx, [esp + 0x80]
mov dword [edx], 0x539d90
jmp 0x452789
mov eax, dword [esp + 4]
test eax, eax
je 0x452740
push ebp
mov ebx, esi
mov esi, eax
call eax
push ebx
call esi
push dword [esp]
call esi
call sub.kernel32.dll_GetLastError
lea ecx, [esp + 0x54]
mov dword [ecx], eax
lea edx, [esp + 0x80]
mov dword [edx], str.Failed_to_receive_response._Error
jmp 0x452789
mov eax, dword [esp + 4]
test eax, eax
je 0x452771
push ebp
mov ebx, esi
mov esi, eax
call eax
push ebx
call esi
push dword [esp]
call esi
call sub.kernel32.dll_GetLastError
lea ecx, [esp + 0x54]
mov dword [ecx], eax
lea edx, [esp + 0x80]
mov dword [edx], 0x539f98
mov dword [edx + 4], 2
and dword [edx + 0x10], 0
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], fcn.0041ded0
lea eax, [esp + 0x10]
mov dword [edx + 8], eax
mov dword [edx + 0xc], 1
lea ecx, [esp + 0x34]
call fcn.004520f3
jmp 0x452894
mov eax, dword [esp + 4]
test eax, eax
je 0x4527d4
push ebp
mov esi, eax
call eax
push dword [esp + 0x28]
call esi
push dword [esp]
call esi
call sub.kernel32.dll_GetLastError
lea ecx, [esp + 0x98]
mov dword [ecx], eax
lea eax, [esp + 0x54]
lea edx, [esp + 0x80]
mov dword [edx], str.Failed_to_query_available_data._Error_is
mov dword [edx + 4], 2
and dword [edx + 0x10], 0
mov dword [eax], ecx
mov dword [eax + 4], fcn.0041ded0
mov dword [edx + 8], eax
mov dword [edx + 0xc], 1
lea ecx, [esp + 0x34]
call fcn.004520f3
jmp 0x452883
mov eax, dword [esp + 4]
test eax, eax
je 0x452834
push ebp
mov esi, eax
call eax
push dword [esp + 0x28]
call esi
push dword [esp]
call esi
call sub.kernel32.dll_GetLastError
lea ecx, [esp + 0x98]
mov dword [ecx], eax
lea eax, [esp + 0x54]
lea edx, [esp + 0x80]
mov dword [edx], str.Failed_to_read_data._Error_is
mov dword [edx + 4], 2
and dword [edx + 0x10], 0
mov dword [eax], ecx
mov dword [eax + 4], fcn.0041ded0
mov dword [edx + 8], eax
mov dword [edx + 0xc], 1
lea ecx, [esp + 0x34]
call fcn.004520f3
mov ecx, ebx
mov edx, edi
call fcn.0043e571
mov edi, dword [esp + 0x2c]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
call fcn.0043e571
mov esi, dword [esp + 8]
mov ebx, dword [esp + 0xc]
mov ebp, dword [esp + 0x24]
mov ecx, dword [esp + 0x40]
mov edx, dword [esp + 0x44]
call fcn.0042b815
mov edx, dword [esp + 0xb8]
mov ecx, ebp
call fcn.0042b815
mov edx, dword [esp + 0xac]
mov ecx, ebx
call fcn.0042b815
mov edx, dword [esp + 0xa0]
mov ecx, edi
call fcn.0042b815
mov edx, dword [esp + 0xc4]
mov ecx, dword [esp + 0x4c]
call fcn.0042b815
xor eax, eax
inc eax
mov dword [esi], eax
movsd xmm0, qword [esp + 0x34]
movsd qword [esi + 4], xmm0
mov eax, dword [esp + 0x3c]
mov dword [esi + 0xc], eax
mov eax, dword [esp + 0x74]
mov byte [eax + 0x10], 1
add esp, 0xd8
pop esi
pop edi
pop ebx
pop ebp
ret
push 0x23
pop edx
mov ecx, str._async_fn__resumed_after_completionunable_to_find_any_user_specified_roots_in_the_final_cert_chainpolling_StreamFuture_twicemain.rs_src_stream_streaminto_future.rs
push 0x53a04c
call fcn.00506cd0
pop eax
ud2
push 0x2b
pop edx
mov ecx, str.called__Option::unwrap____on_a__None__valueNoneSome
push 0x539f34
jmp 0x45291e