Function at 0x451ca0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x48b530
mov eax, dword fs:[0]
push eax
mov eax, 0x4124
call fcn.00460980
mov eax, dword [0x4a0270]
xor eax, ebp
mov dword [ebp - 0x24], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x4130], ecx
lea eax, [ebp - 0x10]
push eax
call fcn.00451af0
add esp, 4
lea ecx, [ebp - 0x10]
push ecx
call fcn.00451ad0
add esp, 4
mov dword [ebp - 0x14], eax
mov edx, dword [ebp + 8]
mov eax, dword [ebp - 0x4130]
cmp dword [eax + edx*4 + 0x10c], 0
jne 0x451d0e
mov ecx, dword [ebp - 0x4130]
call fcn.00451f40
mov ecx, dword [ebp - 0x4130]
add ecx, 0x114
push ecx
lea ecx, [ebp - 0x18]
call fcn.004521d0
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x18]
call fcn.00452220
movzx edx, al
test edx, edx
je 0x451d3e
jmp 0x451eef
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0x4130]
mov edx, dword [ebp - 0x10]
cmp edx, dword [ecx + eax*4 + 0x10c]
jle 0x451ecc
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0x4130]
cmp dword [ecx + eax*4 + 0x104], 0
je 0x451d97
mov edx, dword [ebp + 8]
mov eax, dword [ebp - 0x4130]
mov ecx, dword [eax + edx*4 + 0x104]
push ecx
call fcn.0045f737
add esp, 4
mov edx, dword [ebp + 8]
mov eax, dword [ebp - 0x4130]
mov dword [eax + edx*4 + 0x104], 0
mov byte [ebp - 0x124], 0
push 0xff
push 0
lea ecx, [ebp - 0x123]
push ecx
call fcn.0045f1b0
add esp, 0xc
mov edx, dword [ebp + 8]
mov eax, dword [edx*4 + 0x49f068]
push eax
mov ecx, dword [ebp - 0x14]
mov edx, dword [ecx + 0xc]
push edx
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax + 0x10]
add ecx, 1
push ecx
mov edx, dword [ebp - 0x14]
mov eax, dword [edx + 0x14]
cdq
mov ecx, 0x64
idiv ecx
push edx
mov edx, dword [ebp - 0x4130]
add edx, 4
push edx
push str._s_02d_02d_02d._s
push 0x100
lea eax, [ebp - 0x124]
push eax
call fcn.0045ef32
add esp, 0x20
mov dword [ebp - 0x1c], eax
push 0x492588
lea ecx, [ebp - 0x124]
push ecx
call fcn.0045fb49
add esp, 8
mov edx, dword [ebp + 8]
mov ecx, dword [ebp - 0x4130]
mov dword [ecx + edx*4 + 0x104], eax
mov edx, dword [ebp + 8]
mov eax, dword [ebp - 0x4130]
cmp dword [eax + edx*4 + 0x104], 0
jne 0x451e8c
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.FILE_OPEN_ERROR___d__n
push 0x4000
lea ecx, [ebp - 0x412c]
push ecx
call fcn.0045ef32
add esp, 0x10
mov dword [ebp - 0x1c], eax
lea edx, [ebp - 0x412c]
push edx
push 0xae
push str..UtilLog.cpp
mov ecx, dword [ebp - 0x4130]
call fcn.00451c80
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x18]
call fcn.00452200
jmp 0x451efe
mov dword [ebp - 0x128], 0x18
mov dword [ebp - 0x20], 0xe10
mov eax, dword [ebp - 0x14]
push eax
call fcn.00451f20
add esp, 4
mov ecx, dword [ebp - 0x14]
mov edx, 0x19
sub edx, dword [ecx + 8]
imul edx, edx, 0xe10
add eax, edx
mov ecx, dword [ebp + 8]
mov edx, dword [ebp - 0x4130]
mov dword [edx + ecx*4 + 0x10c], eax
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0x4130]
mov edx, dword [ecx + eax*4 + 0x104]
push edx
mov eax, dword [ebp + 0x10]
push eax
push 1
mov ecx, dword [ebp + 0xc]
push ecx
call fcn.0046736d
add esp, 0x10
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x18]
call fcn.00452200
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x24]
xor ecx, ebp
call fcn.0045ee62
mov esp, ebp
pop ebp
ret 0xc