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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x6f8
mov dword [esp + 4], edx
mov edx, dword [ebp + 8]
lea esi, [esp + 0x80]
mov dword [esp], ecx
mov ecx, esi
call fcn.0046a5cd
cmp dword [esi], 2
jne 0x402501
mov ebx, dword [esp + 0x84]
mov ecx, 0x4a5ac4
call fcn.00436c8c
xor edi, edi
push 3
pop esi
jmp 0x402580
lea esi, [esp + 0x220]
mov ecx, esi
call fcn.00421b1b
mov eax, 0x2020202
mov dword [esi + 0xbc], eax
mov dword [esi + 0xb8], eax
mov dword [esi + 0xb4], eax
mov dword [esi + 0xb0], eax
mov dword [esi + 0xac], eax
lea eax, [esp + 0x260]
push 0x12
pop ecx
lea esi, [esp + 0x80]
mov edi, eax
lea edx, [esp + 0x638]
rep movsd dword es:[edi], dword [esi]
mov ecx, 0xbc
and dword [eax + 0x58], 0
mov dword [eax + 0x50], 0x3b9aca00
mov byte [eax + 0x80], 2
mov esi, dword [eax - 0x40]
mov edi, dword [eax - 0x3c]
mov ebx, dword [eax - 0x38]
lea eax, [esp + 0x22c]
push ecx
push eax
push edx
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
mov ecx, dword [esp + 4]
lock inc dword [ecx]
jle 0x402a0f
lea eax, [esp + 0x15c]
mov dword [eax + 0xbc], ecx
mov dword [eax - 8], edi
mov dword [eax - 0xc], esi
mov dword [eax - 4], ebx
lea ecx, [esp + 0x638]
push 0xbc
push ecx
push eax
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
xor esi, 3
or esi, edi
je 0x402749
mov ecx, dword [esp + 0x1a4]
mov edx, dword [esp + 0x1a8]
push dword [esp + 0x1b0]
call fcn.00447c09
pop ecx
mov ecx, eax
push 3
push 0x5077fd
call fcn.004766cb
pop ecx
pop edx
test al, al
je 0x402749
lea esi, [esp + 0x190]
mov ecx, esi
call fcn.0049b739
mov ebx, edx
lea edi, [esp + 0x220]
mov edx, eax
add ebx, eax
mov ecx, edi
push ebx
call fcn.004340f7
pop eax
mov eax, dword [edi]
cmp eax, 0x80000001
je 0x402749
mov ecx, dword [esp + 0x224]
mov edi, dword [esp + 0x228]
lea edx, [esp + 0x30]
mov dword [edx], eax
mov dword [edx + 4], ecx
lea ecx, [esp + 8]
mov dword [edx + 8], edi
call fcn.0040b7e0
mov ecx, esi
call fcn.0049b770
mov ebx, edx
mov dl, 1
mov ecx, 0x80000000
test eax, eax
je 0x4026b3
add ebx, eax
lea edi, [esp + 0x220]
mov edx, eax
mov ecx, edi
push ebx
call fcn.004340f7
pop eax
mov eax, dword [edi]
cmp eax, 0x80000001
jne 0x402685
mov ecx, 0x80000000
mov dl, 1
jmp 0x4026b3
lea edx, [esp + 0x220]
mov edi, dword [edx + 8]
mov ecx, dword [edx + 4]
mov dword [edx], eax
mov dword [edx + 8], edi
lea edi, [esp + 0x80]
mov dword [edx + 4], ecx
mov ecx, edi
call fcn.0040b7e0
mov ecx, dword [edi]
cmp ecx, 0x80000000
sete dl
cmp dword [esp + 0x10], 0
jne 0x4026d9
test dl, dl
je 0x4026d9
mov edx, dword [esp + 0x84]
call fcn.0046aa27
mov ecx, dword [esp + 8]
mov edx, dword [esp + 0xc]
call fcn.0049eabd
jmp 0x402749
mov dword [esp + 4], ecx
mov ecx, esi
call fcn.0049b4d4
push 0x2f
pop edi
movzx ecx, al
mov edx, 0x4dd39f
push 0x4dd3d0
push edi
call fcn.00445e29
pop eax
pop ecx
mov ecx, esi
call fcn.0049b66f
movzx ecx, al
mov edx, str.has_authority_means_set_password_shouldnt_fail
push 0x4dd410
push edi
call fcn.00445e29
pop eax
pop ecx
mov ecx, dword [esp + 0xc]
mov eax, dword [esp + 8]
mov edx, dword [esp + 0x10]
mov esi, dword [esp + 0x88]
mov dword [esp + 0x50], ecx
mov ecx, dword [esp + 0x84]
cmp eax, 0x80000000
mov dword [esp + 0x54], edx
mov dword [esp + 0x4c], esi
mov dword [esp + 0x48], ecx
jne 0x40276a
lea eax, [esp + 0x150]
push 0xd0
push eax
push dword [esp + 8]
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
lea esi, [esp + 0x6c]
mov ecx, dword [esp + 0x54]
mov dword [esi], eax
mov eax, dword [esp + 0x50]
mov dword [esi + 8], ecx
mov dword [esi + 4], eax
lea eax, [esp + 0x150]
push 0xd0
push eax
lea eax, [esp + 0x88]
push eax
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
push 6
pop ecx
call fcn.00435565
mov dword [edx], 0x69736142
mov word [edx + 4], 0x2063
and word [esp + 0x630], 0
lea edi, [esp + 0x58]
xor ebx, ebx
mov dword [edi], eax
mov dword [edi + 4], edx
mov dword [edi + 8], 6
mov byte [esp + 0x632], bl
push 0x400
push 0
lea eax, [esp + 0x228]
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov dword [esp + 0x62c], 0x4ddac9
mov dword [esp + 0x620], edi
and dword [esp + 0x624], 0
and dword [esp + 0x628], 0
mov dword [esp + 0x30], 0x4d8ddc
mov dword [esp + 0x34], 2
and dword [esp + 0x40], 0
lea edi, [esp + 0x20]
mov byte [esp + 0x633], bl
lea ebx, [esp + 0x30]
lea edx, [esp + 0x220]
mov dword [edi], esi
lea esi, [esp + 0x64]
mov dword [esp + 0x38], edi
mov dword [edi + 4], fcn.004023fa
mov dword [esp + 0x3c], 1
mov ecx, esi
push ebx
call fcn.0046924c
pop eax
mov ecx, esi
call fcn.00446262
mov eax, dword [esp + 4]
cmp eax, 0x80000000
je 0x4028cd
mov edx, dword [esp + 0x48]
mov dword [esp + 0x20], eax
mov ecx, dword [esp + 0x4c]
mov dword [esp + 0x30], 0x507740
mov dword [esp + 0x64], edi
mov dword [esp + 0x68], fcn.004023fa
mov dword [esp + 0x24], edx
xor edx, edx
mov dword [esp + 0x28], ecx
inc edx
mov dword [esp + 0x34], edx
and dword [esp + 0x40], 0
mov dword [esp + 0x38], esi
lea esi, [esp + 0x78]
mov dword [esp + 0x3c], edx
lea edx, [esp + 0x220]
mov ecx, esi
push ebx
call fcn.0046924c
pop eax
mov ecx, esi
call fcn.00446262
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x24]
call fcn.0049eabd
lea ecx, [esp + 0x220]
call fcn.0046a03e
mov edx, dword [esp + 0x5c]
lea esi, [esp + 0x220]
mov ecx, esi
push dword [esp + 0x60]
call fcn.00415e79
pop eax
lea edi, [esp + 0x30]
mov edx, esi
mov ecx, edi
push 0x4ddc80
push 0x22
push str.base64_is_always_valid_HeaderValue.cargo_registry_srcindex.crates.io_1cd66030c949c28d_reqwest_0.12.2_srcutil.rs
call fcn.004673ed
add esp, 0xc
mov byte [edi + 0x10], 1
mov ecx, dword [esp + 0x58]
mov edx, dword [esp + 0x5c]
movsd xmm0, qword [edi]
movsd xmm1, qword [edi + 8]
mov eax, dword [edi + 0x10]
movsd qword [esp + 8], xmm0
movsd qword [esp + 0x10], xmm1
mov dword [esp + 0x18], eax
call fcn.0049eabd
mov ecx, dword [esp + 0x6c]
mov edx, dword [esp + 0x70]
call fcn.0049eabd
mov eax, dword [esp + 0x80]
and dword [esp + 0x2c], 0
and dword [esp + 0x28], 0
and dword [esp + 0x20], 0
mov dword [esp + 0x24], 0x10
xor eax, 3
or eax, dword [esp + 0x84]
jne 0x4029a0
push 0xd0
lea eax, [esp + 0x84]
push eax
push dword [esp + 8]
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
lea ecx, [esp + 8]
call fcn.0042b2a1
lea ecx, [esp + 0x20]
call fcn.00438256
jmp 0x402762
lea edx, [esp + 0x30]
movsd xmm0, qword [esp + 8]
movsd xmm1, qword [esp + 0x10]
movzx eax, word [esp + 0x19]
mov cl, byte [esp + 0x1b]
lea edi, [esp + 0x80]
and dword [edx + 0xc], 0
and dword [edx + 8], 0
and dword [edx], 0
mov dword [edx + 4], 0x10
movsd qword [esp + 0x228], xmm1
movsd qword [esp + 0x220], xmm0
mov byte [esp + 0x233], cl
mov word [esp + 0x231], ax
mov byte [esp + 0x230], 1
mov ecx, edi
push esi
call fcn.00415b5a
pop eax
push 0xd0
push edi
jmp 0x402756
ud2