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

Disassembly:
push 0xffffffffffffffff
push 0x457958
mov eax, dword fs:[0]
push eax
sub esp, 0x1b4
mov eax, dword [0x46e460]
xor eax, esp
mov dword [esp + 0x1b0], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x46e460]
xor eax, esp
push eax
lea eax, [esp + 0x1c8]
mov dword fs:[0], eax
mov eax, dword [esp + 0x1dc]
mov ebp, dword [esp + 0x1d8]
lea ecx, [esp + 0xfc]
push ecx
mov dword [esp + 0x38], eax
call fcn.0041d780
xor edi, edi
mov dword [esp + 0x1d0], edi
cmp dword [esp + 0x168], edi
jne 0x41adca
lea esi, [esp + 0xfc]
call fcn.0041d8e0
mov dword [esp + 0x168], eax
cmp eax, edi
je 0x41adb0
mov dword [esp + 0x164], 1
jmp 0x41adca
lea esi, [esp + 0xfc]
call fcn.0041da60
mov dword [esp + 0x168], eax
mov dword [esp + 0x164], edi
push edi
xor edx, edx
mov esi, 7
push 0x4625d8
lea ecx, [esp + 0xcc]
mov dword [esp + 0xe4], esi
mov dword [esp + 0xe0], edi
mov word [esp + 0xd0], dx
call fcn.004079f0
mov byte [esp + 0x1d0], 1
push edi
xor eax, eax
push 0x4625d8
lea ecx, [esp + 0x78]
mov dword [esp + 0x90], esi
mov dword [esp + 0x8c], edi
mov word [esp + 0x7c], ax
call fcn.004079f0
mov byte [esp + 0x1d0], 2
xor ecx, ecx
push edi
mov word [esp + 0x94], cx
push 0x4625d8
lea ecx, [esp + 0x94]
mov dword [esp + 0xac], esi
mov dword [esp + 0xa8], edi
call fcn.004079f0
mov bl, 3
mov byte [esp + 0x1d0], bl
cmp dword [ebp + 0x24], 8
jb 0x41ae6b
mov edx, dword [ebp + 0x10]
jmp 0x41ae6e
lea edx, [ebp + 0x10]
xor eax, eax
mov word [esp + 0x3c], ax
mov eax, edx
mov dword [esp + 0x50], esi
mov dword [esp + 0x4c], edi
lea esi, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x41ae82
sub eax, esi
sar eax, 1
push eax
push edx
lea ecx, [esp + 0x40]
call fcn.004079f0
lea ecx, [esp + 0x70]
push ecx
lea edx, [esp + 0x3c]
push edx
lea ecx, [esp + 0x94]
lea edx, [esp + 0xcc]
mov byte [esp + 0x1d8], 4
call fcn.0041ab90
mov byte [esp + 0x1d0], bl
cmp dword [esp + 0x50], 8
jb 0x41aedc
mov eax, dword [esp + 0x3c]
push eax
call fcn.00432bc3
add esp, 4
lea ecx, [ebp + 0x44]
lea edi, [ebp + 0x28]
push ecx
mov ecx, edi
lea esi, [esp + 0xac]
call fcn.0041cf10
add esp, 4
mov ecx, esi
mov ebx, 0x463b38
lea esi, [esp + 0x54]
mov byte [esp + 0x1d0], 5
call fcn.0041cfc0
mov byte [esp + 0x1d0], 6
cmp dword [edi + 0x18], 8
jb 0x41af1f
mov edi, dword [edi + 4]
jmp 0x41af22
add edi, 4
xor ebx, ebx
push ebx
push edi
call dword [0x45a1c8]
mov eax, dword [esp + 0x58]
mov edi, 8
cmp dword [esp + 0x6c], edi
jae 0x41af3f
lea eax, [esp + 0x58]
push eax
call dword [0x45a0d0]
lea esi, [esp + 0xe0]
call fcn.00405080
mov byte [esp + 0x1d0], 7
mov dword [esp + 0x20], ebx
mov dword [esp + 0x18], ebx
cmp dword [esp + 0xf4], ebx
je 0x41afb3
mov eax, dword [esp + 0xe4]
cmp dword [esp + 0xf8], edi
jae 0x41af82
lea eax, [esp + 0xe4]
push ebx
push ebx
push eax
push 3
push 0x463b44
cmp dword [esp + 0x178], ebx
je 0x41afa4
call dword [esp + 0x114]
mov ecx, eax
mov dword [esp + 0x30], ecx
jmp 0x41afdc
call dword [esp + 0x148]
mov ecx, eax
mov dword [esp + 0x30], ecx
jmp 0x41afdc
push ebx
push ebx
push ebx
push 1
push 0x463b44
cmp dword [esp + 0x178], ebx
je 0x41afcf
call dword [esp + 0x114]
jmp 0x41afd6
call dword [esp + 0x148]
mov ecx, eax
mov dword [esp + 0x30], eax
cmp ecx, ebx
jne 0x41afea
mov ebx, 2
jmp 0x41b2b3
mov eax, dword [esp + 0x74]
cmp dword [esp + 0x88], edi
jae 0x41affb
lea eax, [esp + 0x74]
cmp dword [esp + 0x168], ebx
jne 0x41b012
mov dword [esp + 0x20], ebx
mov ebx, 3
jmp 0x41b2b3
push ebx
cmp dword [esp + 0x168], ebx
je 0x41b029
push 0x50
push eax
push ecx
call dword [esp + 0x114]
jmp 0x41b039
push ebx
push 3
push ebx
push ebx
push 0x50
push eax
push ecx
call dword [esp + 0x158]
mov dword [esp + 0x20], eax
cmp eax, ebx
jne 0x41b04b
mov ebx, 3
jmp 0x41b2b3
mov ecx, dword [esp + 0x90]
cmp dword [esp + 0xa4], edi
jae 0x41b062
lea ecx, [esp + 0x90]
push eax
xor eax, eax
mov edx, 0x463b7c
lea esi, [esp + 0x100]
call fcn.0041dbc0
mov edi, eax
mov dword [esp + 0x18], edi
cmp edi, ebx
jne 0x41b08a
mov ebx, 4
jmp 0x41b2b3
cmp dword [esp + 0x168], ebx
je 0x41b0b8
push ebx
push ebx
push ebx
push ebx
cmp dword [esp + 0x174], ebx
je 0x41b0ac
push ebx
push ebx
push edi
call dword [esp + 0x12c]
jmp 0x41b0b4
push edi
call dword [esp + 0x158]
cmp eax, ebx
jne 0x41b0c2
mov ebx, 5
jmp 0x41b2b3
cmp dword [esp + 0x168], ebx
je 0x41b0e1
cmp dword [esp + 0x164], ebx
je 0x41b0eb
push ebx
push edi
call dword [esp + 0x11c]
cmp eax, ebx
jne 0x41b0eb
mov ebx, 6
jmp 0x41b2b3
lea edx, [esp + 0xfc]
push edx
lea ecx, [esp + 0x30]
lea edx, [esp + 0x28]
mov esi, 0x20000013
mov dword [esp + 0x28], ebx
mov dword [esp + 0x30], 4
call fcn.0041dd10
mov eax, dword [esp + 0x24]
cmp eax, 0xc8
je 0x41b123
mov ebx, eax
jmp 0x41b2b3
mov edi, dword [esp + 0x18]
lea eax, [esp + 0xfc]
xor ebx, ebx
push eax
lea ecx, [esp + 0x30]
lea edx, [esp + 0x2c]
mov esi, 0x20000005
mov dword [esp + 0x2c], ebx
call fcn.0041dd10
push 0x4000
call fcn.00433147
add esp, 4
mov edi, eax
mov dword [esp + 0x1c], ebx
cmp byte [ebp + 4], bl
jne 0x41b243
push 0x4000
push 0
push edi
call fcn.004364e0
add esp, 0xc
cmp dword [esp + 0x168], 0
je 0x41b24a
cmp dword [esp + 0x164], 0
je 0x41b1a4
mov edx, dword [esp + 0x18]
lea ecx, [esp + 0x1c]
push ecx
push 0x4000
push edi
push edx
call dword [esp + 0x12c]
jmp 0x41b1bb
mov ecx, dword [esp + 0x18]
lea eax, [esp + 0x1c]
push eax
push 0x4000
push edi
push ecx
call dword [esp + 0x15c]
test eax, eax
je 0x41b24a
cmp dword [esp + 0x1c], 0
je 0x41b251
cmp dword [esp + 0x6c], 8
mov eax, dword [esp + 0x58]
jae 0x41b1dd
lea eax, [esp + 0x58]
push 0x463b84
push eax
call fcn.0043421c
mov esi, eax
add esp, 8
test esi, esi
je 0x41b255
mov edx, dword [esp + 0x1c]
push esi
push 1
push edx
push edi
call fcn.00434395
push esi
call fcn.0043448e
add esp, 0x14
push 0x4000
push 0
push edi
call fcn.004364e0
add ebx, dword [esp + 0x28]
add esp, 0xc
cmp dword [ebp + 8], 0
je 0x41b231
mov ecx, dword [ebp + 8]
mov eax, dword [ecx]
mov edx, dword [esp + 0x28]
mov eax, dword [eax]
push ebx
push edx
call eax
push 0xa
call dword [0x45a0b8]
cmp byte [ebp + 4], 0
je 0x41b163
mov ebx, 1
jmp 0x41b25a
mov ebx, 8
jmp 0x41b25a
xor ebx, ebx
jmp 0x41b25a
mov ebx, 7
push edi
call fcn.0043306a
mov eax, dword [esp + 0xb0]
mov esi, 8
add esp, 4
cmp dword [esp + 0xc0], esi
jae 0x41b27f
lea eax, [esp + 0xac]
push eax
call dword [0x45a0d0]
mov ecx, dword [esp + 0xac]
cmp dword [esp + 0xc0], esi
jae 0x41b29d
lea ecx, [esp + 0xac]
mov eax, dword [esp + 0x58]
cmp dword [esp + 0x6c], esi
jae 0x41b2ab
lea eax, [esp + 0x58]
push ecx
push eax
call dword [0x45a0c4]
call dword [0x45a060]
mov ecx, dword [esp + 0x34]
mov dword [ecx], eax
mov eax, dword [esp + 0x18]
xor edi, edi
cmp eax, edi
je 0x41b2ec
cmp dword [esp + 0x168], edi
je 0x41b2ec
push eax
cmp dword [esp + 0x168], edi
je 0x41b2e5
call dword [esp + 0x124]
jmp 0x41b2ec
call dword [esp + 0x154]
mov eax, dword [esp + 0x20]
cmp eax, edi
je 0x41b317
cmp dword [esp + 0x168], edi
je 0x41b317
push eax
cmp dword [esp + 0x168], edi
je 0x41b310
call dword [esp + 0x124]
jmp 0x41b317
call dword [esp + 0x154]
mov eax, dword [esp + 0x30]
cmp eax, edi
je 0x41b342
cmp dword [esp + 0x168], edi
je 0x41b342
push eax
cmp dword [esp + 0x168], edi
je 0x41b33b
call dword [esp + 0x124]
jmp 0x41b342
call dword [esp + 0x154]
push 0x34
lea edx, [esp + 0x100]
push edi
push edx
mov dword [esp + 0x174], edi
call fcn.004364e0
add esp, 0xc
push 0x2c
lea eax, [esp + 0x134]
push edi
push eax
call fcn.004364e0
mov eax, dword [esp + 0x168]
mov esi, dword [0x45a1d8]
add esp, 0xc
cmp eax, edi
je 0x41b383
push eax
call esi
mov eax, dword [esp + 0x160]
mov dword [esp + 0x15c], edi
cmp eax, edi
je 0x41b398
push eax
call esi
mov esi, 8
mov dword [esp + 0x160], edi
cmp dword [esp + 0xf8], esi
jb 0x41b3bd
mov ecx, dword [esp + 0xe4]
push ecx
call fcn.00432bc3
add esp, 4
xor edx, edx
mov ebp, 7
mov dword [esp + 0xf8], ebp
mov dword [esp + 0xf4], edi
mov word [esp + 0xe4], dx
cmp dword [esp + 0x6c], esi
jb 0x41b3ed
mov eax, dword [esp + 0x58]
push eax
call fcn.00432bc3
add esp, 4
xor ecx, ecx
mov dword [esp + 0x6c], ebp
mov dword [esp + 0x68], edi
mov word [esp + 0x58], cx
cmp dword [esp + 0xc0], esi
jb 0x41b415
mov edx, dword [esp + 0xac]
push edx
call fcn.00432bc3
add esp, 4
xor eax, eax
mov dword [esp + 0xc0], ebp
mov dword [esp + 0xbc], edi
mov word [esp + 0xac], ax
cmp dword [esp + 0xa4], esi
jb 0x41b446
mov ecx, dword [esp + 0x90]
push ecx
call fcn.00432bc3
add esp, 4
xor edx, edx
mov dword [esp + 0xa4], ebp
mov dword [esp + 0xa0], edi
mov word [esp + 0x90], dx
cmp dword [esp + 0x88], esi
jb 0x41b474
mov eax, dword [esp + 0x74]
push eax
call fcn.00432bc3
add esp, 4
xor ecx, ecx
mov dword [esp + 0x88], ebp
mov dword [esp + 0x84], edi
mov word [esp + 0x74], cx
cmp dword [esp + 0xdc], esi
jb 0x41b4a2
mov edx, dword [esp + 0xc8]
push edx
call fcn.00432bc3
add esp, 4
xor eax, eax
lea esi, [esp + 0xfc]
mov dword [esp + 0xdc], ebp
mov dword [esp + 0xd8], edi
mov word [esp + 0xc8], ax
call fcn.0041d840
mov eax, ebx
mov ecx, dword [esp + 0x1c8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x1b0]
xor ecx, esp
call fcn.00432bce
add esp, 0x1c0
ret 8