Function at 0x44f700
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5c859d
mov eax, dword fs:[0]
push eax
sub esp, 0x34
mov eax, dword [0x647f80]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x38], edx
mov esi, ecx
mov dword [ebp - 0x30], esi
mov dword [ebp - 0x34], esi
mov eax, dword [ebp + 8]
mov dword [ebp - 0x34], esi
cmp dword [eax + 0x14], 0xf
jbe 0x44f743
mov eax, dword [eax]
push 0
push 0x80
push 2
push 0
push 0
push 0x40000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov edi, eax
mov dword [ebp - 0x2c], edi
cmp edi, 0xffffffff
jne 0x44f7a7
mov edx, str.Error:_Unable_to_open_file_for_writing.
mov ecx, 0x6490c8
call fcn.00453850
push eax
call fcn.00453b00
add esp, 4
xorps xmm0, xmm0
movups xmmword [esi], xmm0
mov ecx, esi
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
push 0x27
push str.Error:_Unable_to_open_file_for_writing.
call fcn.00454080
mov eax, esi
jmp 0x44f95c
push 8
lea eax, [ebp - 0x18]
push eax
push dword [ebp - 0x38]
call fcn.0045d920
add esp, 0xc
cmp eax, 8
je 0x44f7ed
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xorps xmm0, xmm0
mov ecx, esi
push 0x23
movups xmmword [esi], xmm0
push str.Error:_Unable_to_receive_file_size.
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
call fcn.00454080
mov eax, esi
jmp 0x44f95c
xorps xmm0, xmm0
mov dword [ebp - 0x20], 0
push 0x400
movq qword [ebp - 0x28], xmm0
call fcn.0059e4e6
mov esi, eax
push 0x400
push 0
push esi
lea edi, [esi + 0x400]
mov dword [ebp - 0x28], esi
mov dword [ebp - 0x20], edi
call fcn.005a0390
add esp, 0x10
mov dword [ebp - 0x24], edi
mov dword [ebp - 4], 0
xor ecx, ecx
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x3c], ecx
test edx, edx
jl 0x44f8aa
jg 0x44f850
test eax, eax
je 0x44f8aa
nop word [eax + eax]
sub eax, ecx
mov ecx, 0x400
cmp eax, 0x400
cmova eax, ecx
push eax
push esi
push dword [ebp - 0x38]
call fcn.0045d920
add esp, 0xc
mov dword [ebp - 0x34], eax
test eax, eax
jle 0x44f8de
push 0
lea ecx, [ebp - 0x1c]
push ecx
push eax
push esi
push dword [ebp - 0x2c]
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x44f8cc
mov eax, dword [ebp - 0x1c]
cmp eax, dword [ebp - 0x34]
jne 0x44f8cc
mov ecx, dword [ebp - 0x3c]
mov edx, dword [ebp - 0x14]
add ecx, eax
xor eax, eax
mov dword [ebp - 0x3c], ecx
cmp eax, edx
mov eax, dword [ebp - 0x18]
jl 0x44f850
jg 0x44f8aa
cmp ecx, eax
jb 0x44f850
mov dword [ebp - 0x34], 0
cmp ecx, eax
jne 0x44f901
cmp dword [ebp - 0x34], edx
jne 0x44f901
push dword [ebp - 0x2c]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0x1f
push str.OK:_File_uploadfile_successful.
jmp 0x44f911
push dword [ebp - 0x2c]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0x1f
push str.Error:_Unable_to_write_to_file.
jmp 0x44f911
push dword [ebp - 0x2c]
jne 0x44f8f2
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0x36
push str.Connection_closed_before_the_entire_file_was_received.
jmp 0x44f911
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0x16
push str.Error:_Receive_failed.
jmp 0x44f911
push dword [ebp - 0x2c]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0x17
push str.File_uploadfile_falied.
mov eax, dword [ebp - 0x30]
xorps xmm0, xmm0
mov ecx, eax
movups xmmword [eax], xmm0
mov dword [eax + 0x14], 0
mov dword [eax + 0x10], 0
call fcn.00454080
test esi, esi
je 0x44f959
sub edi, esi
cmp edi, 0x1000
jb 0x44f94f
mov ecx, dword [esi - 4]
add edi, 0x23
sub esi, ecx
lea eax, [esi - 4]
cmp eax, 0x1f
ja 0x44f977
mov esi, ecx
push edi
push esi
call fcn.0059e516
add esp, 8
mov eax, dword [ebp - 0x30]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0059e4d3
mov esp, ebp
pop ebp
ret
call fcn.005a920f
int3