Function at 0x450200
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x562ad9
mov eax, dword fs:[0]
push eax
sub esp, 0x80
mov eax, dword [0x5cc5b0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [ebp + 8]
mov edi, dword [ebp + 0x10]
mov dword [ebp - 0x64], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x60], eax
lea eax, [esi + 0x14]
push eax
mov dword [ebp - 0x6c], edi
mov dword [ebp - 0x8c], vtable.ProtocolFilters::AutoLock.0
mov dword [ebp - 0x88], eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
lea ecx, [ebp - 0x84]
mov dword [ebp - 4], 0
call fcn.0044cf40
push dword [ebp - 0x64]
lea eax, [ebp - 0x48]
mov byte [ebp - 4], 1
push eax
mov ecx, esi
call fcn.00454570
mov eax, dword [ebp - 0x64]
mov byte [ebp - 4], 2
cmp dword [eax + 0x10], 0
je 0x4504b0
mov ecx, dword [ebp - 0x60]
call fcn.0044d280
test eax, eax
je 0x4504b0
mov ecx, edi
call fcn.0044d280
test eax, eax
je 0x4504b0
push dword [ebp - 0x64]
mov ecx, esi
call fcn.00451310
push 2
push 0
push dword [esi + 0x10]
call fcn.005056c8
push dword [esi + 0x10]
call fcn.00505adb
mov ecx, dword [ebp - 0x60]
add esp, 0x10
mov dword [ebp - 0x68], eax
push 1
call fcn.0044d280
mov ecx, dword [ebp - 0x60]
push eax
call fcn.0046d4f0
push eax
lea ecx, [ebp - 0x84]
call fcn.0044d0e0
test al, al
je 0x4504b0
push 1
mov ecx, edi
call fcn.0044d280
push eax
mov ecx, edi
call fcn.0046d4f0
push eax
lea ecx, [ebp - 0x84]
call fcn.0044d0e0
test al, al
je 0x4504b0
lea ecx, [ebp - 0x84]
call fcn.0044d280
test al, 0xf
je 0x450365
lea ecx, [ebp - 0x84]
call fcn.0044d280
and eax, 0xf
mov ecx, 0x10
sub ecx, eax
xorps xmm0, xmm0
push 1
push ecx
lea eax, [ebp - 0x20]
push eax
lea ecx, [ebp - 0x84]
movdqu xmmword [ebp - 0x20], xmm0
call fcn.0044d0e0
test al, al
je 0x4504b0
push 1
lea ecx, [ebp - 0x84]
call fcn.0044d280
push eax
lea ecx, [ebp - 0x84]
call fcn.0046d4f0
push eax
call fcn.00451250
mov eax, dword [ebp - 0x64]
add esp, 0xc
mov ecx, dword [ebp - 0x60]
mov eax, dword [eax + 0x10]
mov word [ebp - 0x56], ax
call fcn.0044d280
mov ecx, edi
mov word [ebp - 0x54], ax
call fcn.0044d280
lea ecx, [ebp - 0x84]
mov word [ebp - 0x52], ax
call fcn.0044d280
mov ecx, dword [ebp - 0x56]
xorps xmm0, xmm0
push dword [esi + 0x10]
add ecx, 0x10
movlpd qword [ebp - 0x50], xmm0
add eax, ecx
push 0x10
mov word [ebp - 0x58], ax
lea eax, [ebp - 0x58]
push 1
push eax
call fcn.00503c46
add esp, 0x10
cmp eax, 0x10
jne 0x4504b0
cmp dword [ebp - 0x34], 0x10
lea eax, [ebp - 0x48]
push dword [ebp - 0x38]
cmovae eax, dword [ebp - 0x48]
mov ecx, esi
push eax
call fcn.00454f90
test al, al
je 0x4504b0
lea ecx, [ebp - 0x84]
call fcn.0044d280
push eax
lea ecx, [ebp - 0x84]
call fcn.0046d4f0
push eax
mov ecx, esi
call fcn.00454f90
test al, al
je 0x4504b0
mov eax, dword [ebp - 0x68]
xorps xmm0, xmm0
push 0
mov dword [ebp - 0x30], eax
movlpd qword [ebp - 0x20], xmm0
call fcn.00505c26
push 0x30
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], edx
call fcn.00503ec5
add esp, 8
mov dword [ebp - 0x68], eax
mov byte [ebp - 4], 3
test eax, eax
je 0x450463
mov ecx, eax
call fcn.0044eb40
mov edi, eax
jmp 0x450465
xor edi, edi
push dword [ebp - 0x60]
mov ecx, edi
mov byte [ebp - 4], 2
mov dword [ebp - 0x18], edi
call fcn.0044cfa0
push dword [ebp - 0x6c]
lea ecx, [edi + 0x18]
call fcn.0044cfa0
lea eax, [ebp - 0x48]
mov ecx, esi
push eax
call fcn.0044f380
movdqu xmm0, xmmword [ebp - 0x30]
movdqu xmmword [eax], xmm0
movdqu xmm0, xmmword [ebp - 0x20]
movdqu xmmword [eax + 0x10], xmm0
push dword [esi + 0x10]
call fcn.00502e30
add esp, 4
mov byte [ebp - 0x59], 1
jmp 0x4504b4
mov byte [ebp - 0x59], 0
cmp dword [ebp - 0x34], 0x10
jb 0x4504c5
push dword [ebp - 0x48]
call fcn.00503a69
add esp, 4
lea ecx, [ebp - 0x84]
mov dword [ebp - 0x34], 0xf
mov dword [ebp - 0x38], 0
mov byte [ebp - 0x48], 0
mov byte [ebp - 4], 0
call fcn.0044cf70
lea eax, [esi + 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov al, byte [ebp - 0x59]
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.00501f35
mov esp, ebp
pop ebp
ret 0xc