Function at 0x44ec70
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x5372f8
mov eax, dword fs:[0]
push eax
sub esp, 0x30
mov eax, dword [0x59099c]
xor eax, esp
mov dword [esp + 0x28], eax
push ebx
push esi
push edi
mov eax, dword [0x59099c]
xor eax, esp
push eax
lea eax, [esp + 0x40]
mov dword fs:[0], eax
xor esi, esi
cmp dword [ecx + 0x3c], esi
mov dword [esp + 0x10], ecx
je 0x44f06c
cmp byte [ecx + 0x41], 0
je 0x44f06c
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push 0xffffffffffffffff
call edx
cmp eax, 0xffffffff
je 0x44f05a
push 8
lea eax, [esp + 0x24]
push esi
push eax
mov dword [esp + 0x40], 0xf
mov dword [esp + 0x3c], esi
mov byte [esp + 0x2c], 0
call fcn.00509c30
mov eax, dword [esp + 0x2c]
add esp, 0xc
cmp dword [esp + 0x34], 0x10
mov dword [esp + 0x30], 8
jae 0x44ed0a
lea eax, [esp + 0x20]
mov byte [eax + 8], 0
mov dword [esp + 0x48], esi
mov edx, dword [esp + 0x34]
mov eax, dword [esp + 0x20]
lea ebx, [ebx]
cmp edx, 0x10
jb 0x44ee49
test eax, eax
mov ebx, eax
mov dword [esp + 0x14], ebx
je 0x44ed57
cmp edx, 0x10
mov ecx, eax
jae 0x44ed3e
lea ecx, [esp + 0x20]
cmp ecx, ebx
ja 0x44ed57
cmp edx, 0x10
mov ecx, eax
jae 0x44ed4d
lea ecx, [esp + 0x20]
mov esi, dword [esp + 0x30]
add ecx, esi
cmp ebx, ecx
jbe 0x44ed64
call fcn.0050bbb1
mov edx, dword [esp + 0x34]
mov eax, dword [esp + 0x20]
lea ecx, [esp + 0x1c]
cmp ecx, 0xfffffffe
je 0x44ed8f
cmp edx, 0x10
mov ecx, eax
jae 0x44ed78
lea ecx, [esp + 0x20]
mov esi, dword [esp + 0x30]
add ecx, esi
cmp ebx, ecx
jb 0x44ed8f
call fcn.0050bbb1
mov edx, dword [esp + 0x34]
mov eax, dword [esp + 0x20]
cmp edx, 0x10
mov edi, dword [esp + 0x30]
jb 0x44ee56
test eax, eax
mov esi, eax
je 0x44edca
cmp edx, 0x10
mov ecx, eax
jae 0x44edad
lea ecx, [esp + 0x20]
cmp ecx, esi
ja 0x44edca
cmp edx, 0x10
mov ecx, eax
jae 0x44edbc
lea ecx, [esp + 0x20]
mov ebx, dword [esp + 0x30]
add ecx, ebx
cmp esi, ecx
mov ebx, dword [esp + 0x14]
jbe 0x44edd7
call fcn.0050bbb1
mov edx, dword [esp + 0x34]
mov eax, dword [esp + 0x20]
lea ecx, [esp + 0x1c]
cmp ecx, 0xfffffffe
je 0x44edf8
cmp edx, 0x10
jae 0x44ede9
lea eax, [esp + 0x20]
mov edx, dword [esp + 0x30]
add eax, edx
cmp esi, eax
jb 0x44edf8
call fcn.0050bbb1
mov eax, dword [esp + 0x10]
mov ecx, dword [eax + 0x3c]
mov edx, dword [ecx]
mov edx, dword [edx + 0x18]
lea eax, [esp + 0x18]
push eax
mov eax, dword [esp + 0x14]
add ebx, edi
push ebx
push esi
add eax, 0x44
push eax
call edx
sub eax, 0
je 0x44ee5f
sub eax, 1
je 0x44ee67
sub eax, 2
je 0x44f039
cmp dword [esp + 0x34], 0x10
jb 0x44f05a
mov edx, dword [esp + 0x20]
push edx
call fcn.0050b609
add esp, 4
xor al, al
jmp 0x44f06e
lea ebx, [esp + 0x20]
mov dword [esp + 0x14], ebx
jmp 0x44ed33
lea esi, [esp + 0x20]
jmp 0x44eda2
mov eax, dword [esp + 0x10]
mov byte [eax + 0x41], 0
mov edx, dword [esp + 0x34]
cmp edx, 0x10
mov eax, dword [esp + 0x20]
jb 0x44f00e
test eax, eax
mov esi, eax
je 0x44eea2
cmp edx, 0x10
mov ecx, eax
jae 0x44ee89
lea ecx, [esp + 0x20]
cmp ecx, esi
ja 0x44eea2
cmp edx, 0x10
mov ecx, eax
jae 0x44ee98
lea ecx, [esp + 0x20]
mov edi, dword [esp + 0x30]
add ecx, edi
cmp esi, ecx
jbe 0x44eeaf
call fcn.0050bbb1
mov edx, dword [esp + 0x34]
mov eax, dword [esp + 0x20]
lea ecx, [esp + 0x1c]
cmp ecx, 0xfffffffe
je 0x44eeda
cmp edx, 0x10
mov ecx, eax
jae 0x44eec3
lea ecx, [esp + 0x20]
mov edi, dword [esp + 0x30]
add ecx, edi
cmp esi, ecx
jb 0x44eeda
call fcn.0050bbb1
mov edx, dword [esp + 0x34]
mov eax, dword [esp + 0x20]
mov edi, dword [esp + 0x18]
sub edi, esi
je 0x44ef6b
cmp edx, 0x10
jb 0x44f017
test eax, eax
mov esi, eax
je 0x44ef19
cmp edx, 0x10
mov ecx, eax
jae 0x44ef00
lea ecx, [esp + 0x20]
cmp ecx, esi
ja 0x44ef19
cmp edx, 0x10
mov ecx, eax
jae 0x44ef0f
lea ecx, [esp + 0x20]
mov ebx, dword [esp + 0x30]
add ecx, ebx
cmp esi, ecx
jbe 0x44ef26
call fcn.0050bbb1
mov edx, dword [esp + 0x34]
mov eax, dword [esp + 0x20]
lea ecx, [esp + 0x1c]
cmp ecx, 0xfffffffe
je 0x44ef47
cmp edx, 0x10
jae 0x44ef38
lea eax, [esp + 0x20]
mov edx, dword [esp + 0x30]
add eax, edx
cmp esi, eax
jb 0x44ef47
call fcn.0050bbb1
mov eax, dword [esp + 0x10]
mov ecx, dword [eax + 0x4c]
push ecx
push edi
push 1
push esi
call fcn.00508f25
add esp, 0x10
cmp edi, eax
jne 0x44f046
mov edx, dword [esp + 0x34]
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x10]
cmp byte [ecx + 0x41], 0
je 0x44f05e
test edi, edi
jne 0x44ed20
or ecx, 0xffffffff
sub ecx, dword [esp + 0x30]
cmp ecx, 8
ja 0x44ef9a
call fcn.005079dd
mov edx, dword [esp + 0x34]
mov eax, dword [esp + 0x20]
mov esi, dword [esp + 0x30]
add esi, 8
cmp esi, 0xfffffffe
jbe 0x44efb3
call fcn.005079dd
mov edx, dword [esp + 0x34]
mov eax, dword [esp + 0x20]
cmp edx, esi
jae 0x44f020
mov edx, dword [esp + 0x30]
push edx
push esi
lea ecx, [esp + 0x24]
call fcn.0040c366
mov edx, dword [esp + 0x34]
mov eax, dword [esp + 0x20]
test esi, esi
jbe 0x44ed20
cmp edx, 0x10
jae 0x44efdf
lea eax, [esp + 0x20]
mov ecx, dword [esp + 0x30]
push 8
add eax, ecx
push 0
push eax
call fcn.00509c30
mov eax, dword [esp + 0x2c]
add esp, 0xc
cmp dword [esp + 0x34], 0x10
mov dword [esp + 0x30], esi
jae 0x44f005
lea eax, [esp + 0x20]
mov byte [eax + esi], 0
jmp 0x44ed12
lea esi, [esp + 0x20]
jmp 0x44ee7e
lea esi, [esp + 0x20]
jmp 0x44eef5
test esi, esi
jne 0x44efd0
cmp edx, 0x10
mov dword [esp + 0x30], esi
jae 0x44f031
lea eax, [esp + 0x20]
mov byte [eax], 0
jmp 0x44ed12
cmp dword [esp + 0x34], 0x10
jb 0x44f06c
mov eax, dword [esp + 0x20]
jmp 0x44f063
cmp dword [esp + 0x34], 0x10
jb 0x44f05a
mov ecx, dword [esp + 0x20]
push ecx
call fcn.0050b609
add esp, 4
xor al, al
jmp 0x44f06e
cmp edx, 0x10
jb 0x44f06c
push eax
call fcn.0050b609
add esp, 4
mov al, 1
mov ecx, dword [esp + 0x40]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x28]
xor ecx, esp
call fcn.0050bc9c
mov esp, ebp
pop ebp
ret