Function at 0x488860
Capabilities:
Check http status code
Move file
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4ce4c5
mov eax, dword fs:[0]
push eax
sub esp, 0x54
push ebx
push esi
push edi
mov eax, dword [0x4ff080]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x54], ecx
xor ebx, ebx
mov dword [ebp - 0x48], ebx
mov dword [ebp - 4], ebx
lea ecx, [ebp - 0x20]
call fcn.004740a0
mov byte [ebp - 4], 1
push str..tmp
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x30]
push eax
call fcn.004698c0
add esp, 0xc
mov byte [ebp - 4], 2
xor edi, edi
mov ecx, dword [ebp - 0x20]
call fcn.004969b0
mov dword [ebp - 0x4c], eax
mov dword [ebp - 0x48], edx
mov ecx, eax
and ecx, edx
cmp ecx, 0xffffffff
cmovne edi, eax
xor al, al
mov dword [ebp - 0x2c], eax
mov byte [ebp - 0x11], al
sub esp, 8
lea ecx, [ebp - 0x50]
call fcn.00469090
push ebx
push ebx
push ebx
push 1
push 0x4e88e8
mov eax, dword [eax + 8]
call eax
mov dword [ebp - 0x3c], eax
test eax, eax
je 0x488b61
push 0xd
lea eax, [ebp - 0x38]
push eax
call fcn.0048bc00
mov esi, eax
mov byte [ebp - 4], 3
sub esp, 8
lea ecx, [ebp - 0x50]
call fcn.00468f70
push ebx
push ebx
push 3
push ebx
push ebx
push ebx
push dword [esi]
push dword [ebp - 0x3c]
mov eax, dword [eax + 8]
call eax
mov esi, eax
mov dword [ebp - 0x28], esi
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x38]
call fcn.00460950
test esi, esi
je 0x488b40
lea ecx, [ebp - 0x1c]
call fcn.00475bb0
mov esi, eax
mov byte [ebp - 4], 4
push 0x11
lea eax, [ebp - 0x34]
push eax
call fcn.0048bc00
mov byte [ebp - 4], 5
push str.ekpgae4
push dword [esi]
push dword [eax]
push 0x64
lea eax, [ebp - 0x38]
push eax
call fcn.00495600
mov esi, eax
mov byte [ebp - 4], 6
add esp, 0xc
lea ecx, [ebp - 0x50]
call fcn.00468e50
push ebx
push 0x8400f200
push ebx
push ebx
push ebx
push dword [esi]
push ebx
mov esi, dword [ebp - 0x28]
push esi
mov eax, dword [eax + 8]
call eax
mov dword [ebp - 0x18], eax
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x38]
call fcn.00460950
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x34]
call fcn.00460950
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x1c]
call fcn.00460950
cmp dword [ebp - 0x18], ebx
je 0x488b2f
sub esp, 8
lea ecx, [ebp - 0x50]
call fcn.00468c10
push ebx
push ebx
push ebx
push ebx
push dword [ebp - 0x18]
mov eax, dword [eax + 8]
call eax
test eax, eax
je 0x488b1c
lea edx, [ebx + 0x13]
lea ecx, [ebp - 0x18]
call fcn.00472fc0
cmp eax, 0xc8
jne 0x488b1c
lea edx, [ebx + 5]
lea ecx, [ebp - 0x18]
call fcn.00472fc0
mov dword [ebp - 0x48], eax
test eax, eax
jle 0x488b1c
cmp eax, edi
je 0x488b1c
xor edi, edi
mov dword [ebp - 0x24], edi
push edi
push edi
push 2
push edi
push 1
push 0x40000000
push dword [ebp - 0x30]
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
mov dword [ebp - 0x38], esi
mov byte [ebp - 4], 7
cmp esi, 0xffffffff
je 0x488ad4
mov dword [ebp - 0x1c], edi
push 0x10000
lea ecx, [ebp - 0x34]
call fcn.004695e0
mov byte [ebp - 4], 8
mov edi, dword [ebp - 0x34]
or ebx, 1
mov dword [ebp - 0x44], ebx
mov ebx, dword [edi + 4]
mov eax, dword [edi]
mov dword [ebp - 0x40], eax
sub esp, 8
lea ecx, [ebp - 0x60]
call fcn.00468af0
lea ecx, [ebp - 0x1c]
push ecx
push ebx
push dword [ebp - 0x40]
push dword [ebp - 0x18]
mov eax, dword [eax + 8]
call eax
test eax, eax
je 0x488abe
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x488abe
mov ebx, dword [ebp - 0x44]
and ebx, 0xfffffffe
push 0
lea ecx, [ebp - 0x1c]
push ecx
push eax
push dword [edi]
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x488abe
mov eax, dword [ebp - 0x24]
add eax, dword [ebp - 0x1c]
mov dword [ebp - 0x24], eax
jmp 0x488a65
push esi
call dword [sym.imp.KERNEL32.dll_FlushFileBuffers]
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x34]
call fcn.00469560
mov edi, dword [ebp - 0x24]
cmp edi, dword [ebp - 0x48]
jne 0x488b09
push ecx
lea ecx, [ebp - 0x38]
call fcn.0047ac10
push 1
push dword [ebp - 0x20]
push dword [ebp - 0x30]
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
mov ecx, dword [ebp - 0x2c]
movzx ecx, cl
mov edx, 1
test eax, eax
cmovne ecx, edx
mov dword [ebp - 0x2c], ecx
mov byte [ebp - 0x11], cl
mov esi, dword [ebp - 0x38]
mov byte [ebp - 4], 2
cmp esi, 0xffffffff
je 0x488b19
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov esi, dword [ebp - 0x28]
sub esp, 8
lea ecx, [ebp - 0x60]
call fcn.004689d0
push dword [ebp - 0x18]
mov eax, dword [eax + 8]
call eax
sub esp, 8
lea ecx, [ebp - 0x60]
call fcn.004689d0
push esi
mov eax, dword [eax + 8]
call eax
sub esp, 8
lea ecx, [ebp - 0x60]
call fcn.004689d0
push dword [ebp - 0x3c]
mov eax, dword [eax + 8]
call eax
cmp byte [ebp - 0x2c], 0
je 0x488b61
mov ecx, dword [ebp - 0x54]
call fcn.00489950
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x30]
call fcn.00460950
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x20]
call fcn.00460950
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret