Function at 0x445af0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d6bc9
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1c
push ebx
push esi
mov esi, ecx
push edi
xor eax, eax
xor edi, edi
mov edx, dword [esi + 8]
mov dword [ebp - 0x10], esp
cmp edx, eax
mov dword [ebp - 0x14], eax
jle 0x445b54
mov ecx, dword [esi + 4]
mov ebx, dword [ebp + 8]
cmp dword [ecx], ebx
jne 0x445b31
cmp byte [ecx + 8], 0
je 0x445b3b
inc eax
add ecx, 0xc
cmp eax, edx
jl 0x445b27
jmp 0x445b54
mov edi, dword [ecx + 4]
dec edx
cmp eax, edx
je 0x445b54
lea ecx, [eax + eax*2 + 3]
mov eax, dword [esi + 4]
mov edx, dword [eax + ecx*4 + 4]
lea eax, [eax + ecx*4]
mov dword [ebp - 0x14], edx
lea eax, [ebp - 0x1c]
push eax
call dword [sym.imp.MSVCRT.dll_time]
add esp, 4
test edi, edi
jle 0x445d35
mov eax, dword [esi + 0x23c]
mov dword [ebp - 4], 0
test eax, eax
je 0x445d35
mov ecx, dword [ebp - 0x14]
test ecx, ecx
jne 0x445ba7
push 2
push 0
push eax
call dword [sym.imp.MSVCRT.dll_fseek]
mov ecx, dword [esi + 0x23c]
mov ebx, dword [sym.imp.MSVCRT.dll_ftell]
push ecx
call ebx
add esp, 0x10
mov dword [ebp - 0x14], eax
jmp 0x445bad
mov ebx, dword [sym.imp.MSVCRT.dll_ftell]
mov edx, dword [esi + 0x23c]
push 0
push edi
push edx
call dword [sym.imp.MSVCRT.dll_fseek]
mov eax, dword [esi + 0x23c]
push eax
call ebx
push 0x228
mov dword [ebp - 0x18], eax
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
mov edi, eax
add esp, 0x14
mov dword [ebp + 8], edi
xor eax, eax
mov byte [ebp - 4], 1
cmp edi, eax
je 0x445c34
lea ecx, [edi + 0x21c]
call fcn.00419700
xor eax, eax
push 0x573524
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 2
mov dword [edi], eax
mov dword [edi + 4], eax
mov dword [edi + 8], eax
mov dword [edi + 0xc], eax
mov dword [edi + 0x10], eax
call fcn.00419770
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 3
push ecx
lea ecx, [edi + 0x21c]
call fcn.00419890
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 2
call fcn.00419750
xor eax, eax
jmp 0x445c36
xor edi, edi
mov byte [ebp - 4], 0
mov edx, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x18]
cmp ecx, edx
jge 0x445d1d
cmp edi, eax
je 0x445d35
push 0x573524
lea ecx, [ebp - 0x28]
mov dword [edi], eax
mov dword [edi + 4], eax
mov dword [edi + 8], eax
mov dword [edi + 0xc], eax
mov dword [edi + 0x10], eax
call fcn.00419770
lea eax, [ebp - 0x28]
lea ecx, [edi + 0x21c]
push eax
mov byte [ebp - 4], 4
call fcn.00419890
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0
call fcn.00419750
mov ecx, dword [esi + 0x23c]
lea edx, [ebp + 0xb]
push ecx
push edx
push edi
mov ecx, esi
mov byte [ebp + 0xb], 0
call fcn.00444120
cmp eax, 0xffffffff
je 0x445d1b
mov eax, dword [ebp - 0x1c]
mov edx, dword [edi + 0x10]
mov ecx, dword [ebp + 0xc]
sub eax, edx
cmp eax, ecx
jge 0x445d05
mov ecx, dword [esi + 0x23c]
mov byte [ebp + 0xb], 1
push ecx
call ebx
mov edx, dword [ebp - 0x18]
mov ebx, eax
mov eax, dword [esi + 0x23c]
push 0
push edx
push eax
call dword [sym.imp.MSVCRT.dll_fseek]
mov ecx, dword [esi + 0x23c]
lea edx, [ebp + 0xb]
push ecx
push 1
push 1
push edx
call dword [sym.imp.MSVCRT.dll_fwrite]
mov eax, dword [esi + 0x23c]
push 0
push ebx
push eax
call dword [sym.imp.MSVCRT.dll_fseek]
mov ebx, dword [sym.imp.MSVCRT.dll_ftell]
add esp, 0x2c
mov ecx, dword [esi + 0x23c]
push ecx
call ebx
add esp, 4
mov dword [ebp - 0x18], eax
xor eax, eax
jmp 0x445c3a
xor eax, eax
cmp edi, eax
je 0x445d35
lea ecx, [edi + 0x21c]
call fcn.00419750
push edi
call fcn.004d2e69
add esp, 4
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 8