Function at 0x44e770
Capabilities:
Write file on windows

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x51831e
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x80
mov eax, dword [0x575054]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov edi, dword [ebx + 0xc]
test esi, esi
je 0x44eb8a
cmp word [esi], 0
je 0x44eb8a
lea ecx, [ebp - 0x78]
mov dword [ebp - 0x78], 0
call fcn.004c8db0
mov ecx, esi
mov dword [ebp - 4], 0
xor eax, eax
mov dword [ebp - 0x80], 0
mov dword [ebp - 0x7c], 0
mov dword [ebp - 0x80], 0
mov dword [ebp - 0x7c], 7
lea edx, [ecx + 2]
mov word [ebp - 0x90], ax
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x44e810
sub ecx, edx
sar ecx, 1
push ecx
push esi
lea ecx, [ebp - 0x90]
call fcn.004033d0
push 0x80
push 2
push 1
push 0x40000000
lea eax, [ebp - 0x90]
mov byte [ebp - 4], 1
push eax
lea ecx, [ebp - 0x78]
call fcn.004c95e0
mov byte [ebp - 0x71], al
lea ecx, [ebp - 0x90]
mov byte [ebp - 4], 2
call fcn.00403370
cmp byte [ebp - 0x71], 0
mov byte [ebp - 4], 0
mov esi, dword [ebp - 0x78]
jne 0x44e873
xor edi, edi
jmp 0x44eb5b
lea ecx, [ebp - 0x70]
call fcn.004f0190
push edi
lea eax, [ebp - 0x2c]
mov byte [ebp - 4], 6
push eax
lea ecx, [ebp - 0x70]
call fcn.004f0200
mov byte [ebp - 4], 7
mov ecx, 1
movups xmm0, xmmword [0x575078]
xor eax, eax
movaps xmm2, xmmword [0x543280]
movups xmmword [ebp - 0x50], xmm0
movups xmm0, xmmword [0x575088]
movd xmm3, ecx
movups xmmword [ebp - 0x40], xmm0
nop dword [eax + eax]
movd xmm0, eax
pshufd xmm1, xmm0, 0
movups xmm0, xmmword [ebp + eax*4 - 0x50]
paddd xmm1, xmm2
pslld xmm0, xmm3
paddd xmm1, xmm0
movups xmmword [ebp + eax*4 - 0x50], xmm1
add eax, 4
cmp eax, 8
jl 0x44e8c0
xorps xmm0, xmm0
mov dword [ebp - 0x7c], 0
movq qword [ebp - 0x84], xmm0
mov dword [ebp - 0x84], 0
mov dword [ebp - 0x80], 0
mov dword [ebp - 0x7c], 0
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x84]
cmp dword [ebp - 0x18], 0x10
lea eax, [ebp - 0x2c]
push ecx
push dword [ebp - 0x1c]
cmovae eax, dword [ebp - 0x2c]
lea ecx, [ebp - 0x50]
push eax
call fcn.00461ef0
test al, al
jne 0x44e9e6
mov byte [ebp - 4], 7
mov edi, 0xfffffffe
mov ecx, dword [ebp - 0x84]
test ecx, ecx
je 0x44e995
mov edx, dword [ebp - 0x7c]
mov eax, ecx
sub edx, ecx
cmp edx, 0x1000
jb 0x44e973
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x44e973
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.0050f64c
add esp, 8
mov dword [ebp - 0x84], 0
mov dword [ebp - 0x80], 0
mov dword [ebp - 0x7c], 0
mov byte [ebp - 4], 9
mov edx, dword [ebp - 0x18]
cmp edx, 0x10
jb 0x44e9cf
mov ecx, dword [ebp - 0x2c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x44e9c5
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x44e9c5
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.0050f64c
add esp, 8
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0xf
mov byte [ebp - 0x2c], 0
jmp 0x44eb4f
cmp dword [ebp - 0x18], 0x10
lea eax, [ebp - 0x2c]
mov dword [ebp - 0x1c], 0
lea ecx, [ebp - 0x2c]
cmovae eax, dword [ebp - 0x2c]
mov byte [eax], 0
push dword [ebp - 0x80]
push dword [ebp - 0x84]
call fcn.0044eca0
mov byte [ebp - 4], 7
mov ecx, dword [ebp - 0x84]
test ecx, ecx
je 0x44ea61
mov edx, dword [ebp - 0x7c]
mov eax, ecx
sub edx, ecx
cmp edx, 0x1000
jb 0x44ea3f
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x44ea3f
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.0050f64c
add esp, 8
mov dword [ebp - 0x84], 0
mov dword [ebp - 0x80], 0
mov dword [ebp - 0x7c], 0
cmp dword [ebp - 0x18], 0x10
lea eax, [ebp - 0x2c]
mov edi, dword [ebp - 0x1c]
cmovae eax, dword [ebp - 0x2c]
mov dword [ebp - 0x30], 0
test esi, esi
je 0x44eb00
test eax, eax
je 0x44eb00
mov ecx, dword [esi]
cmp ecx, 0xffffffff
je 0x44eb00
push 0
lea edx, [ebp - 0x30]
push edx
push edi
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x44eb00
cmp edi, dword [ebp - 0x30]
jne 0x44eb00
mov byte [ebp - 4], 0x11
mov edx, dword [ebp - 0x18]
cmp edx, 0x10
jb 0x44eadb
mov ecx, dword [ebp - 0x2c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x44ead1
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x44ead1
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.0050f64c
add esp, 8
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0xf
mov byte [ebp - 0x2c], 0
lea ecx, [ebp - 0x70]
mov byte [ebp - 4], 0
call fcn.0044e1d0
mov edi, 1
jmp 0x44eb5b
or edi, 0xffffffff
mov byte [ebp - 4], 0xd
mov edx, dword [ebp - 0x18]
cmp edx, 0x10
jb 0x44eb3d
mov ecx, dword [ebp - 0x2c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x44eb33
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x44eb33
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.0050f64c
add esp, 8
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0xf
mov byte [ebp - 0x2c], 0
lea ecx, [ebp - 0x70]
mov byte [ebp - 4], 0
call fcn.0044e1d0
test esi, esi
je 0x44eb77
mov eax, dword [esi]
cmp eax, 0xffffffff
je 0x44eb77
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
je 0x44eb77
mov dword [esi], 0xffffffff
lea ecx, [ebp - 0x78]
mov dword [ebp - 4], 0xffffffff
call fcn.004c95a0
mov eax, edi
jmp 0x44eb8d
or eax, 0xffffffff
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0050f27d
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret