Function at 0x44c8c1
Capabilities:
Write file on windows

Disassembly:
sub esp, 0x24
push ebx
push ebp
push esi
push edi
mov edi, ecx
cmp byte [edi + 0x228], 0
je 0x44cc20
and dword [edi + 0x234], 0
push 4
pop ebp
cmp dword [edi + 0x244], 0
jne 0x44c92a
push dword [edi + 0x274]
lea ecx, [edi + 0x214]
push dword [edi + 0x28c]
call fcn.00408deb
cmp eax, dword [edi + 0x274]
jne 0x44cc20
mov eax, dword [edi + 0x28c]
and dword [edi + 0x274], 0
mov dword [edi + 0x244], 0x100000
mov dword [edi + 0x240], eax
mov eax, dword [edi + 0x24c]
lea ebx, [edi + 0x230]
mov esi, dword [edi + 0x248]
mov edx, ebp
mov ecx, ebx
mov dword [esp + 0x18], eax
call fcn.00455861
mov ecx, dword [edi + 0x248]
sub ecx, esi
add dword [edi + 0x274], ecx
mov esi, dword [edi + 0x274]
test eax, eax
je 0x44c8e1
xor ecx, ecx
cmp eax, 1
cmovne ecx, eax
test ecx, ecx
je 0x44c976
cmp ecx, 2
jne 0x44cc20
test esi, esi
je 0x44c9b8
mov edx, dword [edi + 0x218]
xor eax, eax
mov ecx, dword [edi + 0x28c]
mov dword [esp + 0x14], eax
cmp edx, 0xffffffff
je 0x44c9ac
test ecx, ecx
je 0x44c9ac
push eax
lea eax, [esp + 0x18]
push eax
push esi
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_WriteFile]
neg eax
sbb eax, eax
and eax, dword [esp + 0x14]
cmp eax, dword [edi + 0x274]
jne 0x44cc20
mov ecx, ebx
call fcn.0045610d
xor ebx, ebx
mov dword [edi + 0x270], ebx
test eax, eax
je 0x44c9d4
cmp eax, 2
jne 0x44cc20
push ebp
push dword [edi + 0x294]
mov ecx, edi
push 0x10
call fcn.0044d165
cmp dword [edi + 0x23c], ebx
ja 0x44ca3b
jb 0x44c9f7
cmp dword [edi + 0x238], 0xffffffff
jae 0x44ca3b
cmp dword [edi + 0x24c], ebx
ja 0x44ca3b
jb 0x44ca0a
cmp dword [edi + 0x248], 0xffffffff
jae 0x44ca3b
push ebp
push dword [edi + 0x248]
mov ecx, edi
push 0x14
call fcn.0044d165
push ebp
push dword [edi + 0x238]
mov ecx, edi
push 0x18
call fcn.0044d165
push dword [edi + 0x280]
push dword [edi + 0x27c]
jmp 0x44caef
push ebp
push 0xffffffffffffffff
push 0x14
pop esi
push esi
mov ecx, edi
call fcn.0044d165
push ebp
push 0xffffffffffffffff
push 0x18
mov ecx, edi
call fcn.0044d165
push 2
push ebx
push 1
push esi
lea eax, [esp + 0x30]
push eax
call fcn.0044d12a
test al, al
je 0x44cc20
push 2
push ebx
push 0x10
push 0x12
lea eax, [esp + 0x32]
push eax
call fcn.0044d12a
test al, al
je 0x44cc20
push 8
push dword [edi + 0x23c]
lea eax, [esp + 0x2c]
push dword [edi + 0x238]
push 0x10
push eax
call fcn.0044d12a
test al, al
je 0x44cc20
push 8
push dword [edi + 0x24c]
lea eax, [esp + 0x34]
push dword [edi + 0x248]
push 8
push eax
call fcn.0044d12a
test al, al
je 0x44cc20
push 2
push esi
push 0x1e
mov ecx, edi
call fcn.0044d165
push dword [edi + 0x280]
mov ecx, edi
push dword [edi + 0x27c]
call fcn.0044c7fb
push esi
lea eax, [esp + 0x24]
push eax
mov ecx, edi
call fcn.0044c7fb
mov eax, dword [edi + 0x27c]
test eax, eax
je 0x44cb0d
push eax
call fcn.0041b848
pop ecx
mov dword [edi + 0x27c], ebx
push 1
push ebx
lea esi, [edi + 0x214]
push ebx
mov ecx, esi
call fcn.004011ad
mov ebx, eax
mov ebp, edx
mov ecx, ebx
and ecx, ebp
cmp ecx, 0xffffffff
je 0x44cc20
mov eax, dword [edi + 0x278]
mov ecx, esi
push 0
add eax, 0xe
push 0
push eax
call fcn.004011ad
and eax, edx
cmp eax, 0xffffffff
je 0x44cc20
push 4
push dword [edi + 0x294]
mov ecx, edi
call fcn.0044d0f4
cmp byte [edi + 0x2a4], 0
mov ecx, edi
push 4
jne 0x44cb87
push dword [edi + 0x248]
call fcn.0044d0f4
push 4
push dword [edi + 0x238]
mov ecx, edi
call fcn.0044d0f4
jmp 0x44cbfd
push 0xffffffffffffffff
call fcn.0044d0f4
push 4
push 0xffffffffffffffff
mov ecx, edi
call fcn.0044d0f4
mov ecx, dword [edi + 0x2a0]
mov eax, dword [edi + 0x278]
add ecx, 0x1e
push 0
add eax, ecx
mov ecx, esi
push 0
push eax
call fcn.004011ad
and eax, edx
cmp eax, 0xffffffff
je 0x44cc20
push 2
push 1
mov ecx, edi
call fcn.0044d0f4
push 2
push 0x10
mov ecx, edi
call fcn.0044d0f4
push 8
push dword [edi + 0x23c]
mov ecx, edi
push dword [edi + 0x238]
call fcn.0044d0b5
push 8
push dword [edi + 0x24c]
mov ecx, edi
push dword [edi + 0x248]
call fcn.0044d0b5
push 0
push ebp
push ebx
mov ecx, esi
call fcn.004011ad
and eax, edx
cmp eax, 0xffffffff
je 0x44cc20
inc dword [edi + 0x2ac]
mov al, 1
mov byte [edi + 0x228], 0
jmp 0x44cc22
xor al, al
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x24
ret