Function at 0x44ada0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5668f8
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
mov eax, dword [0x5d26e8]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor esi, esi
mov dword [ebp - 0x30], ecx
cmp dword [ecx + 0x3c], esi
je 0x44b07a
cmp byte [ecx + 0x41], 0
je 0x44b07a
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push 0xffffffffffffffff
call edx
cmp eax, 0xffffffff
je 0x44af31
mov ecx, 0xf
mov dword [ebp - 0x14], ecx
xor eax, eax
mov byte [ebp - 0x28], 0
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x18], 8
cmp ecx, 0x10
jae 0x44ae1b
lea eax, [ebp - 0x28]
mov byte [eax + 8], 0
mov dword [ebp - 4], esi
mov eax, dword [ebp - 0x28]
mov edx, dword [ebp - 0x14]
jmp 0x44ae30
cmp edx, 0x10
jb 0x44af38
mov ebx, eax
mov dword [ebp - 0x34], ebx
test eax, eax
je 0x44ae63
mov ecx, eax
cmp edx, 0x10
jae 0x44ae4c
lea ecx, [ebp - 0x28]
cmp ecx, ebx
ja 0x44ae63
mov ecx, eax
cmp edx, 0x10
jae 0x44ae5a
lea ecx, [ebp - 0x28]
mov esi, dword [ebp - 0x18]
add ecx, esi
cmp ebx, ecx
jbe 0x44ae6e
call fcn.004cde77
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x28]
lea ecx, [ebp - 0x2c]
cmp ecx, 0xfffffffc
je 0x44ae94
mov ecx, eax
cmp edx, 0x10
jae 0x44ae80
lea ecx, [ebp - 0x28]
mov esi, dword [ebp - 0x18]
add ecx, esi
cmp ebx, ecx
jb 0x44ae94
call fcn.004cde77
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x28]
mov edi, dword [ebp - 0x18]
cmp edx, 0x10
jb 0x44af43
mov esi, eax
test eax, eax
je 0x44aeca
mov ecx, eax
cmp edx, 0x10
jae 0x44aeb0
lea ecx, [ebp - 0x28]
cmp ecx, esi
ja 0x44aeca
mov ecx, eax
cmp edx, 0x10
jae 0x44aebe
lea ecx, [ebp - 0x28]
mov ebx, dword [ebp - 0x18]
add ecx, ebx
mov ebx, dword [ebp - 0x34]
cmp esi, ecx
jbe 0x44aed5
call fcn.004cde77
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x28]
lea ecx, [ebp - 0x2c]
cmp ecx, 0xfffffffc
je 0x44aef3
cmp edx, 0x10
jae 0x44aee5
lea eax, [ebp - 0x28]
mov edx, dword [ebp - 0x18]
add eax, edx
cmp esi, eax
jb 0x44aef3
call fcn.004cde77
mov eax, dword [ebp - 0x30]
mov ecx, dword [eax + 0x3c]
mov edx, dword [ecx]
mov edx, dword [edx + 0x18]
lea eax, [ebp - 0x38]
push eax
mov eax, dword [ebp - 0x30]
add ebx, edi
push ebx
push esi
add eax, 0x44
push eax
call edx
sub eax, 0
je 0x44af4b
sub eax, 1
je 0x44af52
sub eax, 2
je 0x44b06b
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2c]
call fcn.00405ed0
xor al, al
jmp 0x44b07c
lea ebx, [ebp - 0x28]
mov dword [ebp - 0x34], ebx
jmp 0x44ae42
lea esi, [ebp - 0x28]
jmp 0x44aea6
mov eax, dword [ebp - 0x30]
mov byte [eax + 0x41], 0
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x28]
cmp edx, 0x10
jb 0x44b05b
mov esi, eax
test eax, eax
je 0x44af88
mov ecx, eax
cmp edx, 0x10
jae 0x44af71
lea ecx, [ebp - 0x28]
cmp ecx, esi
ja 0x44af88
mov ecx, eax
cmp edx, 0x10
jae 0x44af7f
lea ecx, [ebp - 0x28]
mov edi, dword [ebp - 0x18]
add ecx, edi
cmp esi, ecx
jbe 0x44af93
call fcn.004cde77
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x28]
lea ecx, [ebp - 0x2c]
cmp ecx, 0xfffffffc
je 0x44afb9
mov ecx, eax
cmp edx, 0x10
jae 0x44afa5
lea ecx, [ebp - 0x28]
mov edi, dword [ebp - 0x18]
add ecx, edi
cmp esi, ecx
jb 0x44afb9
call fcn.004cde77
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x28]
mov edi, dword [ebp - 0x38]
sub edi, esi
je 0x44b03a
cmp edx, 0x10
jb 0x44b063
mov esi, eax
test eax, eax
je 0x44aff0
mov ecx, eax
cmp edx, 0x10
jae 0x44afd9
lea ecx, [ebp - 0x28]
cmp ecx, esi
ja 0x44aff0
mov ecx, eax
cmp edx, 0x10
jae 0x44afe7
lea ecx, [ebp - 0x28]
mov ebx, dword [ebp - 0x18]
add ecx, ebx
cmp esi, ecx
jbe 0x44affb
call fcn.004cde77
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x28]
lea ecx, [ebp - 0x2c]
cmp ecx, 0xfffffffc
je 0x44b019
cmp edx, 0x10
jae 0x44b00b
lea eax, [ebp - 0x28]
mov edx, dword [ebp - 0x18]
add eax, edx
cmp esi, eax
jb 0x44b019
call fcn.004cde77
mov eax, dword [ebp - 0x30]
mov ecx, dword [eax + 0x4c]
push ecx
push edi
push 1
push esi
call fcn.004cfeff
add esp, 0x10
cmp edi, eax
jne 0x44af22
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x30]
cmp byte [ecx + 0x41], 0
je 0x44b06b
test edi, edi
jne 0x44ae30
push edi
push 8
lea ecx, [ebp - 0x2c]
call fcn.00406df0
jmp 0x44ae22
lea esi, [ebp - 0x28]
jmp 0x44af67
lea esi, [ebp - 0x28]
jmp 0x44afcf
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2c]
call fcn.00405ed0
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004cdc91
mov esp, ebp
pop ebp
ret