Function at 0x4472b0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4dbd19
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 0x447314
mov ecx, dword [esi + 4]
mov ebx, dword [ebp + 8]
cmp dword [ecx], ebx
jne 0x4472f1
cmp byte [ecx + 8], 0
je 0x4472fb
inc eax
add ecx, 0xc
cmp eax, edx
jl 0x4472e7
jmp 0x447314
mov edi, dword [ecx + 4]
dec edx
cmp eax, edx
je 0x447314
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 0x4474f5
mov eax, dword [esi + 0x23c]
mov dword [ebp - 4], 0
test eax, eax
je 0x4474f5
mov ecx, dword [ebp - 0x14]
test ecx, ecx
jne 0x447367
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 0x44736d
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 0x4473f4
lea ecx, [edi + 0x21c]
call fcn.0041a4b0
xor eax, eax
push 0x579b44
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.0041a520
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 3
push ecx
lea ecx, [edi + 0x21c]
call fcn.0041a640
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 2
call fcn.0041a500
xor eax, eax
jmp 0x4473f6
xor edi, edi
mov byte [ebp - 4], 0
mov edx, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x18]
cmp ecx, edx
jge 0x4474dd
cmp edi, eax
je 0x4474f5
push 0x579b44
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.0041a520
lea eax, [ebp - 0x28]
lea ecx, [edi + 0x21c]
push eax
mov byte [ebp - 4], 4
call fcn.0041a640
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0
call fcn.0041a500
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.004458e0
cmp eax, 0xffffffff
je 0x4474db
mov eax, dword [ebp - 0x1c]
mov edx, dword [edi + 0x10]
mov ecx, dword [ebp + 0xc]
sub eax, edx
cmp eax, ecx
jge 0x4474c5
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 0x4473fa
xor eax, eax
cmp edi, eax
je 0x4474f5
lea ecx, [edi + 0x21c]
call fcn.0041a500
push edi
call fcn.004d7f79
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