Function at 0x43ef24
Capabilities:
Check http status code
Resolve function by parsing pe exports
Write file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x443dfe
mov eax, dword fs:[0]
push eax
sub esp, 0xd8
push ebx
push esi
push edi
mov eax, dword [0x45e2a0]
xor eax, esp
push eax
lea eax, [esp + 0xe8]
mov dword fs:[0], eax
mov edi, ecx
xor ebx, ebx
cmp dword [edi + 0xb8], ebx
je 0x43efec
push str.errdescr
lea eax, [edi + 0x78]
push eax
lea eax, [esp + 0x98]
push eax
call fcn.00403075
lea ecx, [edi + 0xa4]
push ecx
push eax
lea eax, [esp + 0x88]
push eax
mov dword [esp + 0x108], ebx
call fcn.00403116
add esp, 0x18
mov byte [esp + 0xf0], 1
cmp dword [eax + 0x18], 8
jb 0x43efae
mov eax, dword [eax + 4]
jmp 0x43efb1
add eax, 4
push eax
push dword [edi + 0xf0]
push dword [ebp + 8]
call fcn.004409b6
add esp, 0xc
push ebx
push 1
lea esi, [esp + 0x7c]
mov dword [esp + 0x1c], eax
call fcn.0040115a
or dword [esp + 0xf0], 0xffffffff
push ebx
push 1
lea esi, [esp + 0x98]
call fcn.0040115a
jmp 0x43f013
cmp dword [edi + 0x90], 8
jb 0x43effa
mov eax, dword [edi + 0x7c]
jmp 0x43effd
lea eax, [edi + 0x7c]
push eax
push dword [edi + 0xf0]
push dword [ebp + 8]
call fcn.004409b6
add esp, 0xc
mov dword [esp + 0x14], eax
cmp dword [esp + 0x14], ebx
jne 0x43f094
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea ecx, [esp + 0x74]
call fcn.00430e5b
push eax
lea eax, [esp + 0x94]
push str.Error_creating_request_
push eax
mov dword [esp + 0xfc], 2
call fcn.004031bc
add esp, 0xc
add edi, 0xa4
push edi
mov byte [esp + 0xf4], 3
call fcn.00401922
push ebx
push 1
lea esi, [esp + 0x98]
call fcn.0040115a
push ebx
push 1
lea esi, [esp + 0x7c]
call fcn.0040115a
xor eax, eax
xor edx, edx
mov ecx, dword [esp + 0xe8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x18
mov eax, dword [ebp + 0x10]
cmp dword [eax + 0x18], 0x10
mov esi, dword [eax + 0x14]
jb 0x43f0a5
mov edx, dword [eax + 4]
jmp 0x43f0a8
lea edx, [eax + 4]
mov eax, dword [ebp + 0xc]
cmp dword [eax + 0x18], 8
mov ecx, dword [eax + 0x14]
jb 0x43f0b9
mov eax, dword [eax + 4]
jmp 0x43f0bc
add eax, 4
push esi
push edx
push ecx
push eax
push dword [esp + 0x24]
call fcn.004408e6
add esp, 0x14
test eax, eax
jne 0x43f140
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea ecx, [esp + 0x3c]
call fcn.00430e5b
push eax
lea eax, [esp + 0x5c]
push str.Error_sending_request_
push eax
mov dword [esp + 0xfc], 4
call fcn.004031bc
add esp, 0xc
add edi, 0xa4
push edi
mov byte [esp + 0xf4], 5
call fcn.00401922
push ebx
push 1
lea esi, [esp + 0x60]
call fcn.0040115a
or dword [esp + 0xf0], 0xffffffff
push ebx
push 1
lea esi, [esp + 0x44]
call fcn.0040115a
push dword [esp + 0x14]
call fcn.004409f2
pop ecx
jmp 0x43f078
mov esi, 0x2000
cmp byte [ebp + 0x1c], bl
je 0x43f1a6
lea eax, [esp + 0x2c]
push eax
lea eax, [esp + 0x34]
push eax
push dword [edi]
mov dword [esp + 0x3c], esi
push 0x16
push dword [esp + 0x24]
mov dword [esp + 0x40], ebx
call fcn.004408b1
mov eax, dword [edi + 0xe8]
add esp, 0x14
cmp eax, ebx
je 0x43f1a6
push ebx
push edi
call eax
pop ecx
pop ecx
test al, al
jne 0x43f1a6
push str.User_abort__info_event_
add edi, 0xa4
push edi
call fcn.00401e4f
xor esi, esi
push dword [esp + 0x14]
call fcn.004409f2
pop ecx
mov eax, esi
mov edx, ebx
jmp 0x43f07c
push ebx
lea eax, [esp + 0x3c]
push eax
lea eax, [esp + 0x2c]
push eax
push 0x20000013
push dword [esp + 0x24]
mov dword [esp + 0x30], ebx
mov dword [esp + 0x34], ebx
mov dword [esp + 0x38], ebx
mov dword [esp + 0x4c], 4
call fcn.004408b1
add esp, 0x14
test eax, eax
jne 0x43f211
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea ecx, [esp + 0x58]
call fcn.00430e5b
push eax
lea eax, [esp + 0x40]
push str.Error_getting_HTTP_status_
push eax
mov dword [esp + 0xfc], 6
call fcn.004031bc
add esp, 0xc
mov byte [esp + 0xf0], 7
jmp 0x43f256
mov eax, dword [esp + 0x24]
mov dword [edi + 0x9c], eax
cmp byte [ebp + 0x1c], bl
je 0x43f28f
cmp eax, 0xc8
je 0x43f296
lea ecx, [esp + 0x58]
call fcn.00430e5b
push eax
lea eax, [esp + 0x40]
push str.Error_HTTP_status
push eax
mov dword [esp + 0xfc], 8
call fcn.004031bc
add esp, 0xc
mov byte [esp + 0xf0], 9
add edi, 0xa4
push edi
call fcn.00401922
push ebx
push 1
lea esi, [esp + 0x44]
call fcn.0040115a
or dword [esp + 0xf0], 0xffffffff
push ebx
push 1
lea esi, [esp + 0x60]
call fcn.0040115a
mov esi, dword [esp + 0x1c]
mov ebx, dword [esp + 0x20]
jmp 0x43f193
cmp eax, 0xce
jne 0x43f227
push esi
call fcn.0041a320
mov esi, eax
pop ecx
mov dword [esp + 0x28], esi
cmp byte [edi + 0xdd], bl
jne 0x43f412
jmp 0x43f380
mov eax, dword [esp + 0x18]
cmp eax, ebx
je 0x43f412
add dword [esp + 0x1c], eax
adc dword [esp + 0x20], ebx
cmp dword [ebp + 0x18], 0xffffffff
je 0x43f35b
push ebx
lea ecx, [esp + 0x38]
push ecx
push eax
push esi
push dword [ebp + 0x18]
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
mov eax, dword [esp + 0x18]
je 0x43f2f1
cmp dword [esp + 0x34], eax
je 0x43f365
sub dword [esp + 0x1c], eax
sbb dword [esp + 0x20], ebx
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea ecx, [esp + 0xc8]
call fcn.00430e5b
push eax
lea eax, [esp + 0xb0]
push str.Error_writing_file_
push eax
mov dword [esp + 0xfc], 0xc
call fcn.004031bc
add esp, 0xc
add edi, 0xa4
push edi
mov byte [esp + 0xf4], 0xd
call fcn.00401922
push ebx
push 1
lea esi, [esp + 0xb4]
call fcn.0040115a
lea esi, [esp + 0xc8]
jmp 0x43f3ef
push eax
mov eax, dword [ebp + 0x14]
push esi
call fcn.00407c05
mov eax, dword [edi + 0xec]
cmp eax, ebx
je 0x43f380
push dword [esp + 0x18]
push edi
call eax
pop ecx
pop ecx
test al, al
je 0x43f401
lea eax, [esp + 0x18]
push eax
push esi
push dword [esp + 0x1c]
mov dword [esp + 0x24], ebx
call fcn.0044087d
add esp, 0xc
test eax, eax
jne 0x43f2b4
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea ecx, [esp + 0x58]
call fcn.00430e5b
push eax
lea eax, [esp + 0x40]
push str.Error_receiving_data_
push eax
mov dword [esp + 0xfc], 0xa
call fcn.004031bc
add esp, 0xc
add edi, 0xa4
push edi
mov byte [esp + 0xf4], 0xb
call fcn.00401922
push ebx
push 1
lea esi, [esp + 0x44]
call fcn.0040115a
lea esi, [esp + 0x58]
or dword [esp + 0xf0], 0xffffffff
push ebx
push 1
call fcn.0040115a
jmp 0x43f412
push str.User_abort__processing_event_
add edi, 0xa4
push edi
call fcn.00401e4f
push dword [esp + 0x28]
call fcn.0041b531
pop ecx
jmp 0x43f282