Function at 0x44d4d0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x536318
mov eax, dword fs:[0]
push eax
sub esp, 0x38
mov eax, dword [0x59099c]
xor eax, esp
mov dword [esp + 0x30], eax
push ebx
push esi
push edi
mov eax, dword [0x59099c]
xor eax, esp
push eax
lea eax, [esp + 0x48]
mov dword fs:[0], eax
mov ebx, dword [ebp + 8]
cmp ebx, 0xffffffff
mov edx, ecx
mov dword [esp + 0x14], edx
jne 0x44d51c
xor eax, eax
jmp 0x44d94f
mov eax, dword [edx + 0x24]
mov ecx, dword [eax]
xor esi, esi
cmp ecx, esi
je 0x44d548
mov eax, dword [edx + 0x34]
mov edi, dword [eax]
add edi, ecx
cmp ecx, edi
jae 0x44d548
add dword [eax], 0xffffffff
mov eax, dword [edx + 0x24]
mov ecx, dword [eax]
lea edx, [ecx + 1]
mov dword [eax], edx
mov byte [ecx], bl
mov eax, ebx
jmp 0x44d94f
mov eax, dword [edx + 0x4c]
cmp eax, esi
je 0x44d94c
cmp dword [edx + 0x3c], esi
jne 0x44d575
push eax
movsx eax, bl
push eax
call fcn.0050fff8
add esp, 8
cmp eax, 0xffffffff
je 0x44d94c
mov eax, ebx
jmp 0x44d94f
push 8
lea ecx, [esp + 0x2c]
push esi
push ecx
mov byte [esp + 0x1c], bl
mov dword [esp + 0x48], 0xf
mov dword [esp + 0x44], esi
mov byte [esp + 0x34], 0
call fcn.00509c30
mov eax, dword [esp + 0x34]
add esp, 0xc
cmp dword [esp + 0x3c], 0x10
mov dword [esp + 0x38], 8
jae 0x44d5b1
lea eax, [esp + 0x28]
mov byte [eax + 8], 0
mov dword [esp + 0x50], esi
mov eax, dword [esp + 0x3c]
mov edx, dword [esp + 0x38]
mov ebx, dword [esp + 0x28]
cmp eax, 0x10
jb 0x44d892
test ebx, ebx
mov esi, ebx
mov dword [esp + 0x18], esi
je 0x44d5f8
cmp eax, 0x10
mov ecx, ebx
jae 0x44d5e3
lea ecx, [esp + 0x28]
cmp ecx, esi
ja 0x44d5f8
cmp eax, 0x10
mov ecx, ebx
jae 0x44d5f2
lea ecx, [esp + 0x28]
add ecx, edx
cmp esi, ecx
jbe 0x44d609
call fcn.0050bbb1
mov eax, dword [esp + 0x3c]
mov edx, dword [esp + 0x38]
mov ebx, dword [esp + 0x28]
lea ecx, [esp + 0x24]
cmp ecx, 0xfffffffe
je 0x44d634
cmp eax, 0x10
mov ecx, ebx
jae 0x44d61d
lea ecx, [esp + 0x28]
add ecx, edx
cmp esi, ecx
jb 0x44d634
call fcn.0050bbb1
mov eax, dword [esp + 0x3c]
mov edx, dword [esp + 0x38]
mov ebx, dword [esp + 0x28]
cmp eax, 0x10
mov edi, edx
jb 0x44d89f
test ebx, ebx
mov esi, ebx
je 0x44d665
cmp eax, 0x10
mov ecx, ebx
jae 0x44d650
lea ecx, [esp + 0x28]
cmp ecx, esi
ja 0x44d665
cmp eax, 0x10
mov ecx, ebx
jae 0x44d65f
lea ecx, [esp + 0x28]
add ecx, edx
cmp esi, ecx
jbe 0x44d676
call fcn.0050bbb1
mov eax, dword [esp + 0x3c]
mov edx, dword [esp + 0x38]
mov ebx, dword [esp + 0x28]
lea ecx, [esp + 0x24]
cmp ecx, 0xfffffffe
je 0x44d695
cmp eax, 0x10
mov eax, ebx
jae 0x44d68a
lea eax, [esp + 0x28]
add eax, edx
cmp esi, eax
jb 0x44d695
call fcn.0050bbb1
mov ebx, dword [esp + 0x14]
mov ecx, dword [ebx + 0x3c]
mov edx, dword [ecx]
mov edx, dword [edx + 0x14]
lea eax, [esp + 0x20]
push eax
mov eax, dword [esp + 0x1c]
add eax, edi
push eax
push esi
lea eax, [esp + 0x28]
push eax
lea eax, [esp + 0x21]
push eax
lea eax, [esp + 0x24]
push eax
lea eax, [ebx + 0x44]
push eax
call edx
test eax, eax
jl 0x44d938
cmp eax, 1
jg 0x44d8d5
mov eax, dword [esp + 0x3c]
cmp eax, 0x10
mov ebx, dword [esp + 0x28]
jb 0x44d8a8
test ebx, ebx
mov esi, ebx
je 0x44d70f
cmp eax, 0x10
mov ecx, ebx
jae 0x44d6f6
lea ecx, [esp + 0x28]
cmp ecx, esi
ja 0x44d70f
cmp eax, 0x10
mov ecx, ebx
jae 0x44d705
lea ecx, [esp + 0x28]
mov edx, dword [esp + 0x38]
add ecx, edx
cmp esi, ecx
jbe 0x44d720
call fcn.0050bbb1
mov eax, dword [esp + 0x3c]
mov edx, dword [esp + 0x38]
mov ebx, dword [esp + 0x28]
lea ecx, [esp + 0x24]
cmp ecx, 0xfffffffe
je 0x44d74b
cmp eax, 0x10
mov ecx, ebx
jae 0x44d734
lea ecx, [esp + 0x28]
add ecx, edx
cmp esi, ecx
jb 0x44d74b
call fcn.0050bbb1
mov eax, dword [esp + 0x3c]
mov edx, dword [esp + 0x38]
mov ebx, dword [esp + 0x28]
mov edi, dword [esp + 0x20]
sub edi, esi
je 0x44d7de
cmp eax, 0x10
jb 0x44d8b1
test ebx, ebx
mov esi, ebx
je 0x44d786
cmp eax, 0x10
mov ecx, ebx
jae 0x44d771
lea ecx, [esp + 0x28]
cmp ecx, esi
ja 0x44d786
cmp eax, 0x10
mov ecx, ebx
jae 0x44d780
lea ecx, [esp + 0x28]
add ecx, edx
cmp esi, ecx
jbe 0x44d797
call fcn.0050bbb1
mov eax, dword [esp + 0x3c]
mov edx, dword [esp + 0x38]
mov ebx, dword [esp + 0x28]
lea ecx, [esp + 0x24]
cmp ecx, 0xfffffffe
je 0x44d7b6
cmp eax, 0x10
mov eax, ebx
jae 0x44d7ab
lea eax, [esp + 0x28]
add eax, edx
cmp esi, eax
jb 0x44d7b6
call fcn.0050bbb1
mov edx, dword [esp + 0x14]
mov eax, dword [edx + 0x4c]
push eax
push edi
push 1
push esi
call fcn.00508f25
add esp, 0x10
cmp edi, eax
jne 0x44d90f
mov eax, dword [esp + 0x3c]
mov edx, dword [esp + 0x38]
mov ebx, dword [esp + 0x28]
mov ecx, dword [esp + 0x14]
mov byte [ecx + 0x41], 1
lea ecx, [esp + 0x10]
cmp dword [esp + 0x1c], ecx
jne 0x44d91d
test edi, edi
ja 0x44d5c5
cmp edx, 0x20
jae 0x44d930
or ecx, 0xffffffff
sub ecx, edx
cmp ecx, 8
ja 0x44d820
call fcn.005079dd
mov eax, dword [esp + 0x3c]
mov edx, dword [esp + 0x38]
mov ebx, dword [esp + 0x28]
lea esi, [edx + 8]
cmp esi, 0xfffffffe
jbe 0x44d839
call fcn.005079dd
mov eax, dword [esp + 0x3c]
mov edx, dword [esp + 0x38]
mov ebx, dword [esp + 0x28]
cmp eax, esi
jae 0x44d8ba
push edx
push esi
lea ecx, [esp + 0x2c]
call fcn.0040c366
mov eax, dword [esp + 0x3c]
mov edx, dword [esp + 0x38]
mov ebx, dword [esp + 0x28]
test esi, esi
jbe 0x44d5c5
cmp eax, 0x10
mov eax, ebx
jae 0x44d867
lea eax, [esp + 0x28]
push 8
add eax, edx
push 0
push eax
call fcn.00509c30
mov eax, dword [esp + 0x34]
add esp, 0xc
cmp dword [esp + 0x3c], 0x10
mov dword [esp + 0x38], esi
jae 0x44d889
lea eax, [esp + 0x28]
mov byte [eax + esi], 0
jmp 0x44d5b9
lea esi, [esp + 0x28]
mov dword [esp + 0x18], esi
jmp 0x44d5d8
lea esi, [esp + 0x28]
jmp 0x44d645
lea esi, [esp + 0x28]
jmp 0x44d6eb
lea esi, [esp + 0x28]
jmp 0x44d766
test esi, esi
jne 0x44d856
cmp eax, 0x10
mov dword [esp + 0x38], esi
mov eax, ebx
jae 0x44d8cd
lea eax, [esp + 0x28]
mov byte [eax], 0
jmp 0x44d5b9
cmp eax, 3
jne 0x44d938
mov edx, dword [ebx + 0x4c]
mov eax, dword [esp + 0x10]
push edx
push eax
call fcn.0044a430
add esp, 8
test al, al
je 0x44d8f4
mov esi, dword [ebp + 8]
jmp 0x44d8f7
or esi, 0xffffffff
cmp dword [esp + 0x3c], 0x10
jb 0x44d90b
mov ecx, dword [esp + 0x28]
push ecx
call fcn.0050b609
add esp, 4
mov eax, esi
jmp 0x44d94f
cmp dword [esp + 0x3c], 0x10
jb 0x44d94c
mov edx, dword [esp + 0x28]
push edx
jmp 0x44d944
cmp eax, 0x10
jb 0x44d92b
push ebx
call fcn.0050b609
add esp, 4
mov eax, dword [ebp + 8]
jmp 0x44d94f
cmp eax, 0x10
jb 0x44d94c
push ebx
jmp 0x44d944
cmp dword [esp + 0x3c], 0x10
jb 0x44d94c
mov eax, dword [esp + 0x28]
push eax
call fcn.0050b609
add esp, 4
or eax, 0xffffffff
mov ecx, dword [esp + 0x48]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x30]
xor ecx, esp
call fcn.0050bc9c
mov esp, ebp
pop ebp
ret 4