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

Disassembly:
push 0xffffffffffffffff
push 0x457028
mov eax, dword fs:[0]
push eax
sub esp, 0x1b8
mov eax, dword [0x46c340]
xor eax, esp
mov dword [esp + 0x1b0], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x46c340]
xor eax, esp
push eax
lea eax, [esp + 0x1cc]
mov dword fs:[0], eax
mov eax, dword [esp + 0x1dc]
mov ebx, ecx
lea ecx, [esp + 0xfc]
push ecx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x38], eax
call fcn.0048beab
xor edi, edi
mov dword [esp + 0x1d4], edi
cmp dword [esp + 0x168], edi
jne 0x489374
lea esi, [esp + 0xfc]
call fcn.0048c00b
mov dword [esp + 0x168], eax
cmp eax, edi
je 0x48935a
mov dword [esp + 0x164], 1
jmp 0x489374
lea esi, [esp + 0xfc]
call fcn.0048c18b
mov dword [esp + 0x168], eax
mov dword [esp + 0x164], edi
xor edx, edx
mov ebp, 7
push edi
mov eax, 0x45f930
lea esi, [esp + 0xc8]
mov dword [esp + 0xe0], ebp
mov dword [esp + 0xdc], edi
mov word [esp + 0xcc], dx
call fcn.004735ab
mov byte [esp + 0x1d4], 1
xor eax, eax
mov word [esp + 0x74], ax
push edi
mov eax, 0x45f930
lea esi, [esp + 0x74]
mov dword [esp + 0x8c], ebp
mov dword [esp + 0x88], edi
call fcn.004735ab
mov byte [esp + 0x1d4], 2
xor ecx, ecx
push edi
mov eax, 0x45f930
lea esi, [esp + 0x90]
mov dword [esp + 0xa8], ebp
mov dword [esp + 0xa4], edi
mov word [esp + 0x94], cx
call fcn.004735ab
mov byte [esp + 0x1d4], 3
cmp dword [ebx + 0x24], 8
jb 0x489414
mov eax, dword [ebx + 0x10]
jmp 0x489417
lea eax, [ebx + 0x10]
xor edx, edx
mov ecx, eax
mov dword [esp + 0x50], ebp
mov dword [esp + 0x4c], edi
mov word [esp + 0x3c], dx
lea esi, [ecx + 2]
mov dx, word [ecx]
add ecx, 2
cmp dx, di
jne 0x48942b
sub ecx, esi
sar ecx, 1
push ecx
lea esi, [esp + 0x3c]
call fcn.004735ab
lea eax, [esp + 0xc4]
push eax
mov ecx, esi
push ecx
lea edx, [esp + 0x94]
lea ecx, [esp + 0x78]
mov byte [esp + 0x1dc], 4
call fcn.0048910b
mov byte [esp + 0x1d4], 3
cmp dword [esp + 0x50], 8
jb 0x489483
mov edx, dword [esp + 0x3c]
push edx
call fcn.004a12b0
add esp, 4
mov eax, dword [esp + 0x28]
lea ebp, [eax + 0x28]
add eax, 0x44
push eax
push ebp
lea edi, [esp + 0xb0]
call fcn.0048b61b
mov eax, edi
push eax
mov ebx, 0x461184
lea esi, [esp + 0x60]
mov byte [esp + 0x1e0], 5
call fcn.0048b6cb
add esp, 0xc
mov byte [esp + 0x1d4], 6
cmp dword [ebp + 0x18], 8
jb 0x4894ca
mov ebp, dword [ebp + 4]
jmp 0x4894cd
add ebp, 4
xor ebx, ebx
push ebx
push ebp
call dword [0x4590b8]
mov eax, dword [esp + 0x58]
mov ebp, 8
cmp dword [esp + 0x6c], ebp
jae 0x4894ea
lea eax, [esp + 0x58]
push eax
call dword [0x459108]
lea edi, [esp + 0xe0]
call fcn.0047559b
mov byte [esp + 0x1d4], 7
xor edi, edi
mov dword [esp + 0x20], ebx
cmp dword [esp + 0xf4], ebx
je 0x48955c
mov eax, dword [esp + 0xe4]
cmp dword [esp + 0xf8], ebp
jae 0x48952b
lea eax, [esp + 0xe4]
push ebx
push ebx
push eax
push 3
push 0x461190
cmp dword [esp + 0x178], ebx
je 0x48954d
call dword [esp + 0x114]
mov esi, eax
mov dword [esp + 0x14], esi
jmp 0x489585
call dword [esp + 0x148]
mov esi, eax
mov dword [esp + 0x14], esi
jmp 0x489585
push ebx
push ebx
push ebx
push 1
push 0x461190
cmp dword [esp + 0x178], ebx
je 0x489578
call dword [esp + 0x114]
jmp 0x48957f
call dword [esp + 0x148]
mov esi, eax
mov dword [esp + 0x14], eax
cmp esi, ebx
jne 0x489593
mov ebp, 2
jmp 0x48986b
mov eax, dword [esp + 0x74]
cmp dword [esp + 0x88], ebp
jae 0x4895a4
lea eax, [esp + 0x74]
cmp dword [esp + 0x168], ebx
jne 0x4895bb
mov dword [esp + 0x20], ebx
mov ebp, 3
jmp 0x48986b
push ebx
cmp dword [esp + 0x168], ebx
je 0x4895d2
push 0x50
push eax
push esi
call dword [esp + 0x114]
jmp 0x4895e2
push ebx
push 3
push ebx
push ebx
push 0x50
push eax
push esi
call dword [esp + 0x158]
mov dword [esp + 0x20], eax
cmp eax, ebx
jne 0x4895f4
mov ebp, 3
jmp 0x48986b
mov ecx, dword [esp + 0x90]
cmp dword [esp + 0xa4], ebp
jae 0x48960b
lea ecx, [esp + 0x90]
push eax
xor eax, eax
mov edx, 0x4611c8
lea esi, [esp + 0x100]
call fcn.0048c2eb
mov edi, eax
mov dword [esp + 0x1c], edi
cmp edi, ebx
jne 0x489633
mov ebp, 4
jmp 0x489867
cmp dword [esp + 0x168], ebx
je 0x489661
push ebx
push ebx
push ebx
push ebx
cmp dword [esp + 0x174], ebx
je 0x489655
push ebx
push ebx
push edi
call dword [esp + 0x12c]
jmp 0x48965d
push edi
call dword [esp + 0x158]
cmp eax, ebx
jne 0x48966b
mov ebp, 5
jmp 0x489867
cmp dword [esp + 0x168], ebx
je 0x48968a
cmp dword [esp + 0x164], ebx
je 0x489694
push ebx
push edi
call dword [esp + 0x11c]
cmp eax, ebx
jne 0x489694
mov ebp, 6
jmp 0x489867
lea ecx, [esp + 0xfc]
push ecx
lea ecx, [esp + 0x28]
lea edx, [esp + 0x30]
mov esi, 0x20000013
mov dword [esp + 0x30], ebx
mov dword [esp + 0x28], 4
call fcn.0048c43b
mov eax, dword [esp + 0x2c]
cmp eax, 0xc8
je 0x4896cc
mov ebp, eax
jmp 0x489867
mov edi, dword [esp + 0x1c]
lea edx, [esp + 0xfc]
push edx
xor ebp, ebp
lea ecx, [esp + 0x28]
lea edx, [esp + 0x34]
mov esi, 0x20000005
mov dword [esp + 0x34], ebp
call fcn.0048c43b
push 0x4000
call fcn.004a1834
mov ebx, dword [esp + 0x2c]
add esp, 4
cmp byte [ebx + 4], 0
mov edi, eax
mov dword [esp + 0x18], ebp
jne 0x4897f1
push 0x4000
push 0
push edi
call fcn.004a7fbb
add esp, 0xc
cmp dword [esp + 0x168], 0
je 0x4897f8
cmp dword [esp + 0x164], 0
je 0x489752
mov ecx, dword [esp + 0x1c]
lea eax, [esp + 0x18]
push eax
push 0x4000
push edi
push ecx
call dword [esp + 0x12c]
jmp 0x489769
mov eax, dword [esp + 0x1c]
lea edx, [esp + 0x18]
push edx
push 0x4000
push edi
push eax
call dword [esp + 0x15c]
test eax, eax
je 0x4897f8
cmp dword [esp + 0x18], 0
je 0x4897ff
cmp dword [esp + 0x6c], 8
mov eax, dword [esp + 0x58]
jae 0x48978b
lea eax, [esp + 0x58]
push 0x4611d0
push eax
call fcn.004a2908
mov esi, eax
add esp, 8
test esi, esi
je 0x489803
mov ecx, dword [esp + 0x18]
push esi
push 1
push ecx
push edi
call fcn.004a2a81
push esi
call fcn.004a2b7a
add esp, 0x14
push 0x4000
push 0
push edi
call fcn.004a7fbb
add ebp, dword [esp + 0x24]
add esp, 0xc
cmp dword [ebx + 8], 0
je 0x4897df
mov ecx, dword [ebx + 8]
mov edx, dword [ecx]
mov eax, dword [esp + 0x30]
mov edx, dword [edx]
push ebp
push eax
call edx
push 0xa
call dword [0x4590f0]
cmp byte [ebx + 4], 0
je 0x489711
mov ebp, 1
jmp 0x489808
mov ebp, 8
jmp 0x489808
xor ebp, ebp
jmp 0x489808
mov ebp, 7
push edi
call fcn.004a1757
mov eax, dword [esp + 0xb0]
mov esi, 8
add esp, 4
cmp dword [esp + 0xc0], esi
jae 0x48982d
lea eax, [esp + 0xac]
push eax
call dword [0x459108]
mov ecx, dword [esp + 0xac]
cmp dword [esp + 0xc0], esi
jae 0x48984b
lea ecx, [esp + 0xac]
mov eax, dword [esp + 0x58]
cmp dword [esp + 0x6c], esi
jae 0x489859
lea eax, [esp + 0x58]
push ecx
push eax
call dword [0x4590fc]
mov edi, dword [esp + 0x1c]
xor ebx, ebx
mov esi, dword [esp + 0x14]
call dword [fcn.00459090]
mov ecx, dword [esp + 0x34]
mov dword [ecx], eax
cmp edi, ebx
je 0x48989e
cmp dword [esp + 0x168], ebx
je 0x48989e
push edi
cmp dword [esp + 0x168], ebx
je 0x489897
call dword [esp + 0x124]
jmp 0x48989e
call dword [esp + 0x154]
mov eax, dword [esp + 0x20]
cmp eax, ebx
je 0x4898c9
cmp dword [esp + 0x168], ebx
je 0x4898c9
push eax
cmp dword [esp + 0x168], ebx
je 0x4898c2
call dword [esp + 0x124]
jmp 0x4898c9
call dword [esp + 0x154]
cmp esi, ebx
je 0x4898f0
cmp dword [esp + 0x168], ebx
je 0x4898f0
push esi
cmp dword [esp + 0x168], ebx
je 0x4898e9
call dword [esp + 0x124]
jmp 0x4898f0
call dword [esp + 0x154]
push 0x34
lea edx, [esp + 0x100]
push ebx
push edx
mov dword [esp + 0x174], ebx
call fcn.004a7fbb
add esp, 0xc
push 0x2c
lea eax, [esp + 0x134]
push ebx
push eax
call fcn.004a7fbb
mov eax, dword [esp + 0x168]
mov esi, dword [0x459058]
add esp, 0xc
cmp eax, ebx
je 0x489931
push eax
call esi
mov eax, dword [esp + 0x160]
mov dword [esp + 0x15c], ebx
cmp eax, ebx
je 0x489946
push eax
call esi
mov edi, 8
mov dword [esp + 0x160], ebx
cmp dword [esp + 0xf8], edi
jb 0x48996b
mov ecx, dword [esp + 0xe4]
push ecx
call fcn.004a12b0
add esp, 4
xor edx, edx
mov esi, 7
mov dword [esp + 0xf8], esi
mov dword [esp + 0xf4], ebx
mov word [esp + 0xe4], dx
cmp dword [esp + 0x6c], edi
jb 0x48999b
mov eax, dword [esp + 0x58]
push eax
call fcn.004a12b0
add esp, 4
xor ecx, ecx
mov dword [esp + 0x6c], esi
mov dword [esp + 0x68], ebx
mov word [esp + 0x58], cx
cmp dword [esp + 0xc0], edi
jb 0x4899c3
mov edx, dword [esp + 0xac]
push edx
call fcn.004a12b0
add esp, 4
xor eax, eax
mov dword [esp + 0xc0], esi
mov dword [esp + 0xbc], ebx
mov word [esp + 0xac], ax
cmp dword [esp + 0xa4], edi
jb 0x4899f4
mov ecx, dword [esp + 0x90]
push ecx
call fcn.004a12b0
add esp, 4
xor edx, edx
mov dword [esp + 0xa4], esi
mov dword [esp + 0xa0], ebx
mov word [esp + 0x90], dx
cmp dword [esp + 0x88], edi
jb 0x489a22
mov eax, dword [esp + 0x74]
push eax
call fcn.004a12b0
add esp, 4
xor ecx, ecx
mov dword [esp + 0x88], esi
mov dword [esp + 0x84], ebx
mov word [esp + 0x74], cx
cmp dword [esp + 0xdc], edi
jb 0x489a50
mov edx, dword [esp + 0xc8]
push edx
call fcn.004a12b0
add esp, 4
mov dword [esp + 0xdc], esi
xor eax, eax
lea esi, [esp + 0xfc]
mov dword [esp + 0xd8], ebx
mov word [esp + 0xc8], ax
call fcn.0048bf6b
mov eax, ebp
mov ecx, dword [esp + 0x1cc]
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.004a12bb
add esp, 0x1c4
ret 4