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

Disassembly:
sub esp, 0x64
mov eax, dword [0x1006a744]
xor eax, esp
mov dword [esp + 0x60], eax
mov ecx, dword [esp + 0x68]
push ebx
mov ebx, dword [esp + 0x70]
push ebp
mov ebp, dword [esp + 0x78]
push esi
xor esi, esi
mov dword [esp + 0x14], ecx
mov dword [esp + 0x20], ebx
mov dword [esp + 0xc], esi
test ebx, ebx
jne 0x1001ac63
pop esi
pop ebp
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x60]
xor ecx, esp
call fcn.10056613
add esp, 0x64
ret
test ebp, ebp
jne 0x1001ac6f
mov eax, dword [ebx + 0x10]
test eax, eax
cmovne ebp, eax
test byte [ebx + 0x14], 2
push edi
jne 0x1001adc0
test ebp, ebp
je 0x1001adc0
cmp byte [ebp], 0
je 0x1001adc0
lea eax, [esp + 0x10]
push eax
lea eax, [esp + 0x18]
push eax
push ebp
push ecx
call fcn.10010fe0
mov esi, eax
add esp, 0x10
test esi, esi
jne 0x1001adae
push dword [esp + 0x14]
push str._Your_HSTS_cache._https:__curl.se_docs_hsts.html_n_This_file_was_generated_by_libcurl__Edit_at_your_own_risk._n
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fputs]
mov ebx, dword [ebx]
add esp, 8
test ebx, ebx
je 0x1001ad74
mov edi, dword [ebx]
mov edx, dword [esp + 0x14]
mov ebx, dword [ebx + 8]
mov dword [esp + 0x20], edx
mov ecx, dword [edi + 0x18]
mov eax, dword [edi + 0x1c]
cmp ecx, 0xffffffff
jne 0x1001ad0f
cmp eax, 0x7fffffff
jne 0x1001ad0f
cmp byte [edi + 0x10], 0
mov ecx, 0x1005835b
push str.unlimited
push dword [edi + 0xc]
mov eax, 0x10058f80
cmove eax, ecx
push eax
push str._s_s___s__n
push edx
call sym.libcurl.dll_curl_mfprintf
add esp, 0x14
jmp 0x1001ad6c
lea edx, [esp + 0x28]
push edx
push eax
push ecx
call fcn.1002ea80
add esp, 0xc
test eax, eax
jne 0x1001ae4d
push dword [esp + 0x28]
mov eax, dword [esp + 0x3c]
mov ecx, 0x1005835b
push dword [esp + 0x30]
inc eax
push dword [esp + 0x38]
push dword [esp + 0x40]
push eax
mov eax, dword [esp + 0x50]
add eax, 0x76c
cmp byte [edi + 0x10], 0
push eax
push dword [edi + 0xc]
mov eax, 0x10058f80
cmove eax, ecx
push eax
push str._s_s___d_02d_02d__02d:_02d:_02d__n
push dword [esp + 0x44]
call sym.libcurl.dll_curl_mfprintf
add esp, 0x28
test ebx, ebx
jne 0x1001acc6
push dword [esp + 0x14]
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov eax, dword [esp + 0x14]
add esp, 4
test eax, eax
je 0x1001adb2
push ebp
push eax
call fcn.10032360
add esp, 8
test eax, eax
je 0x1001adae
mov esi, 0x17
mov eax, dword [esp + 0x10]
test eax, eax
je 0x1001adb2
push eax
call dword [sym.imp.api_ms_win_crt_filesystem_l1_1_0.dll__unlink]
add esp, 4
mov eax, dword [esp + 0x10]
push eax
call dword [0x100691b0]
mov ebx, dword [esp + 0x28]
add esp, 4
mov ebp, dword [esp + 0x18]
cmp dword [ebp + 0x1e0], 0
je 0x1001aee9
mov edi, dword [ebx]
mov eax, dword [ebx + 0xc]
mov dword [esp + 0x1c], eax
mov dword [esp + 0x18], 0
test edi, edi
je 0x1001aee9
mov ebx, 0x2b
nop
mov edx, dword [edi]
mov edi, dword [edi + 8]
mov eax, dword [edx + 0xc]
mov dword [esp + 0x28], eax
lea esi, [eax + 1]
nop
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x1001ae00
mov ecx, dword [esp + 0x30]
sub eax, esi
mov dword [esp + 0x2c], eax
movzx eax, byte [edx + 0x10]
xor eax, ecx
and eax, 1
xor ecx, eax
mov eax, dword [edx + 0x1c]
mov dword [esp + 0x30], ecx
mov ecx, dword [edx + 0x18]
cmp ecx, 0xffffffff
jne 0x1001ae61
cmp eax, 0x7fffffff
jne 0x1001ae61
movq xmm0, qword [str.unlimited]
mov ax, word [0x1005bce8]
movq qword [esp + 0x34], xmm0
mov word [esp + 0x3c], ax
jmp 0x1001aeaa
push dword [esp + 0x14]
mov esi, eax
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
add esp, 4
jmp 0x1001ad9c
lea edx, [esp + 0x4c]
push edx
push eax
push ecx
call fcn.1002ea80
mov esi, eax
add esp, 0xc
test esi, esi
jne 0x1001aee9
push dword [esp + 0x4c]
mov eax, dword [esp + 0x60]
push dword [esp + 0x54]
inc eax
push dword [esp + 0x5c]
push dword [esp + 0x64]
push eax
mov eax, dword [esp + 0x74]
add eax, 0x76c
push eax
push str._d_02d_02d__02d:_02d:_02d
lea eax, [esp + 0x50]
push 0x12
push eax
call sym.libcurl.dll_curl_msnprintf
add esp, 0x24
push dword [ebp + 0x1e4]
lea eax, [esp + 0x1c]
push eax
lea eax, [esp + 0x30]
push eax
mov eax, dword [ebp + 0x1e0]
push ebp
call eax
add esp, 0x10
test eax, eax
setne dl
xor ecx, ecx
cmp eax, 2
cmove ecx, ebx
mov esi, ecx
test ecx, ecx
jne 0x1001aee9
test dl, dl
jne 0x1001aee9
inc dword [esp + 0x18]
test edi, edi
jne 0x1001adf0
mov ecx, dword [esp + 0x70]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.10056613
add esp, 0x64
ret