Function at 0x44d0a0
Capabilities:
Write file on windows

Disassembly:
push ebp
lea ebp, [esp - 0x74]
sub esp, 0x74
push 0xffffffffffffffff
push 0x550018
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x30
push esi
mov dword [ebp + 0x70], ecx
mov dword [ebp + 0x14], 0xffffffff
mov eax, dword [ebp + 0x14]
cmp eax, dword [ebp + 0x7c]
jne 0x44d0dc
mov dword [ebp + 0x54], 1
jmp 0x44d0e3
mov dword [ebp + 0x54], 0
movzx ecx, byte [ebp + 0x54]
test ecx, ecx
je 0x44d121
cmp dword [ebp + 0x7c], 0xffffffff
je 0x44d0f9
mov edx, dword [ebp + 0x7c]
mov dword [ebp + 0x48], edx
jmp 0x44d114
or eax, 0xffffffff
jne 0x44d107
mov dword [ebp + 0x40], 1
jmp 0x44d10e
mov dword [ebp + 0x40], 0
mov ecx, dword [ebp + 0x40]
mov dword [ebp + 0x48], ecx
mov eax, dword [ebp + 0x48]
jmp 0x44d452
mov edx, dword [ebp + 0x70]
mov eax, dword [edx + 0x20]
mov ecx, dword [eax]
mov dword [ebp - 0x24], ecx
cmp dword [ebp - 0x24], 0
je 0x44d19b
mov edx, dword [ebp + 0x70]
mov eax, dword [edx + 0x20]
mov ecx, dword [eax]
mov dword [ebp + 0x1c], ecx
mov edx, dword [ebp + 0x70]
mov eax, dword [edx + 0x30]
mov ecx, dword [ebp + 0x70]
mov edx, dword [ecx + 0x20]
mov ecx, dword [edx]
add ecx, dword [eax]
cmp dword [ebp + 0x1c], ecx
jae 0x44d19b
mov dl, byte [ebp + 0x7c]
mov byte [ebp + 0x66], dl
mov eax, dword [ebp + 0x70]
mov ecx, dword [eax + 0x30]
mov edx, dword [ecx]
sub edx, 1
mov eax, dword [ebp + 0x70]
mov ecx, dword [eax + 0x30]
mov dword [ecx], edx
mov edx, dword [ebp + 0x70]
mov eax, dword [edx + 0x20]
mov ecx, dword [eax]
mov dword [ebp - 0x1c], ecx
mov edx, dword [ebp + 0x70]
mov eax, dword [edx + 0x20]
mov ecx, dword [eax]
add ecx, 1
mov edx, dword [ebp + 0x70]
mov eax, dword [edx + 0x20]
mov dword [eax], ecx
mov ecx, dword [ebp - 0x1c]
mov dl, byte [ebp + 0x66]
mov byte [ecx], dl
mov eax, dword [ebp + 0x7c]
jmp 0x44d452
mov eax, dword [ebp + 0x70]
cmp dword [eax + 0x50], 0
jne 0x44d1ac
or eax, 0xffffffff
jmp 0x44d452
mov ecx, dword [ebp + 0x70]
call fcn.0044ebb0
mov ecx, dword [ebp + 0x70]
cmp dword [ecx + 0x40], 0
jne 0x44d216
mov dl, byte [ebp + 0x7c]
mov byte [ebp + 0x67], dl
mov eax, dword [ebp + 0x70]
mov ecx, dword [eax + 0x50]
mov dword [ebp + 0xc], ecx
mov edx, dword [ebp + 0xc]
push edx
movsx eax, byte [ebp + 0x67]
push eax
call fcn.0050ec00
add esp, 8
cmp eax, 0xffffffff
je 0x44d1eb
mov dword [ebp + 0x38], 1
jmp 0x44d1f2
mov dword [ebp + 0x38], 0
movzx ecx, byte [ebp + 0x38]
test ecx, ecx
je 0x44d202
mov edx, dword [ebp + 0x7c]
mov dword [ebp + 0x50], edx
jmp 0x44d209
mov dword [ebp + 0x50], 0xffffffff
mov eax, dword [ebp + 0x50]
jmp 0x44d452
mov dword [ebp - 0x2c], 8
mov al, byte [ebp + 0x7c]
mov byte [ebp + 0x6e], al
lea ecx, [ebp + 0x5f]
call fcn.004076c0
push eax
lea ecx, [ebp + 0x20]
call fcn.0040f630
push 0
push 0
lea ecx, [ebp + 0x20]
call fcn.0040f580
push 0
push 8
lea ecx, [ebp + 0x20]
call fcn.00462870
mov dword [ebp - 4], 0
lea ecx, [ebp + 0x20]
call fcn.00407680
mov esi, eax
lea ecx, [ebp - 0x3c]
push ecx
lea ecx, [ebp + 0x20]
call fcn.0040f460
mov ecx, eax
call fcn.0040e460
add eax, esi
mov dword [ebp - 0x14], eax
lea edx, [ebp - 0x38]
push edx
lea ecx, [ebp + 0x20]
call fcn.0040f460
mov ecx, eax
call fcn.0040e460
mov dword [ebp + 4], eax
mov eax, dword [ebp + 0x70]
mov ecx, dword [eax + 0x40]
mov dword [ebp + 0x4c], ecx
mov edx, dword [ebp + 0x4c]
mov eax, dword [edx]
lea ecx, [ebp - 0x18]
push ecx
mov edx, dword [ebp - 0x14]
push edx
mov ecx, dword [ebp + 4]
push ecx
lea edx, [ebp - 0x20]
push edx
lea ecx, [ebp + 0x6f]
push ecx
lea edx, [ebp + 0x6e]
push edx
mov ecx, dword [ebp + 0x70]
add ecx, 0x48
push ecx
mov ecx, dword [ebp + 0x4c]
mov edx, dword [eax + 0x1c]
call edx
mov dword [ebp + 0x58], eax
cmp dword [ebp + 0x58], 0
jl 0x44d423
cmp dword [ebp + 0x58], 1
jle 0x44d2e2
cmp dword [ebp + 0x58], 3
je 0x44d3bd
jmp 0x44d423
lea eax, [ebp - 0x30]
push eax
lea ecx, [ebp + 0x20]
call fcn.0040f460
mov ecx, eax
call fcn.0040e460
mov ecx, dword [ebp - 0x18]
sub ecx, eax
mov dword [ebp + 0x60], ecx
je 0x44d34b
mov edx, dword [ebp + 0x70]
mov eax, dword [edx + 0x50]
push eax
mov ecx, dword [ebp + 0x60]
push ecx
push 1
lea edx, [ebp - 0x34]
push edx
lea ecx, [ebp + 0x20]
call fcn.0040f460
mov ecx, eax
call fcn.0040e460
push eax
call fcn.0050ea08
add esp, 0x10
cmp dword [ebp + 0x60], eax
je 0x44d34b
mov dword [ebp - 0x10], 0xffffffff
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x20]
call fcn.0040d980
mov eax, dword [ebp - 0x10]
jmp 0x44d452
mov eax, dword [ebp + 0x70]
mov byte [eax + 0x45], 1
lea ecx, [ebp + 0x6e]
cmp dword [ebp - 0x20], ecx
je 0x44d377
mov edx, dword [ebp + 0x7c]
mov dword [ebp - 0x28], edx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x20]
call fcn.0040d980
mov eax, dword [ebp - 0x28]
jmp 0x44d452
cmp dword [ebp + 0x60], 0
jbe 0x44d37f
jmp 0x44d3b8
lea ecx, [ebp + 0x20]
call fcn.00407680
cmp eax, 0x20
jae 0x44d39a
push 0
push 8
lea ecx, [ebp + 0x20]
call fcn.0040f250
jmp 0x44d3b8
mov dword [ebp + 0x18], 0xffffffff
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x20]
call fcn.0040d980
mov eax, dword [ebp + 0x18]
jmp 0x44d452
jmp 0x44d43e
mov eax, dword [ebp + 0x70]
mov ecx, dword [eax + 0x50]
mov dword [ebp + 0x10], ecx
mov dl, byte [ebp + 0x6e]
mov byte [ebp + 0x68], dl
mov eax, dword [ebp + 0x10]
push eax
movsx ecx, byte [ebp + 0x68]
push ecx
call fcn.0050ec00
add esp, 8
cmp eax, 0xffffffff
je 0x44d3eb
mov dword [ebp + 0x44], 1
jmp 0x44d3f2
mov dword [ebp + 0x44], 0
movzx edx, byte [ebp + 0x44]
test edx, edx
je 0x44d402
mov eax, dword [ebp + 0x7c]
mov dword [ebp + 0x3c], eax
jmp 0x44d409
mov dword [ebp + 0x3c], 0xffffffff
mov ecx, dword [ebp + 0x3c]
mov dword [ebp + 8], ecx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x20]
call fcn.0040d980
mov eax, dword [ebp + 8]
jmp 0x44d452
mov dword [ebp], 0xffffffff
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x20]
call fcn.0040d980
mov eax, dword [ebp]
jmp 0x44d452
jmp 0x44d253
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop esi
add ebp, 0x74
mov esp, ebp
pop ebp
ret 4