Function at 0x45eb50
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x250
mov eax, dword [0x58005c]
xor eax, ebp
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x250], ecx
mov ecx, dword [ebp - 0x250]
call fcn.00402a40
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0x250]
mov ecx, dword [eax + 4]
add ecx, 1
push ecx
push str.chartchart_d.xtx
lea edx, [ebp - 0x110]
push edx
call dword [0x5582d0]
add esp, 0xc
mov dword [ebp - 4], 0
push 0x55e3ec
lea eax, [ebp - 0x110]
push eax
lea ecx, [ebp - 4]
push ecx
call fcn.00413174
add esp, 0xc
cmp dword [ebp - 4], 0
je 0x45efd7
mov edx, dword [ebp - 0x250]
mov eax, dword [edx + 0x38]
push eax
push str._d_r_n
lea ecx, [ebp - 0x210]
push ecx
call dword [0x5582d0]
add esp, 0xc
mov edx, dword [ebp - 4]
push edx
lea eax, [ebp - 0x210]
push eax
call fcn.00417de0
add esp, 4
push eax
push 1
lea ecx, [ebp - 0x210]
push ecx
call fcn.0041d70e
add esp, 0x10
mov dword [ebp - 0x214], 0
jmp 0x45ec21
mov edx, dword [ebp - 0x214]
add edx, 1
mov dword [ebp - 0x214], edx
mov eax, dword [ebp - 0x214]
cmp eax, dword [ebp - 8]
jge 0x45efcb
mov ecx, dword [ebp - 4]
push ecx
push 1
push 1
push 0x55e3f8
call fcn.0041d70e
add esp, 0x10
mov edx, dword [ebp - 0x214]
push edx
mov ecx, dword [ebp - 0x250]
call fcn.0045e9c0
mov dword [ebp - 0x230], eax
mov eax, dword [ebp - 0x230]
push eax
push 0x55e3fc
lea ecx, [ebp - 0x210]
push ecx
call dword [0x5582d0]
add esp, 0xc
mov edx, dword [ebp - 4]
push edx
lea eax, [ebp - 0x210]
push eax
call fcn.00417de0
add esp, 4
push eax
push 1
lea ecx, [ebp - 0x210]
push ecx
call fcn.0041d70e
add esp, 0x10
mov edx, dword [ebp - 0x230]
push edx
mov ecx, dword [ebp - 0x250]
call fcn.0045e810
mov dword [ebp - 0x224], eax
mov eax, dword [ebp - 0x224]
push eax
push 0x55e400
lea ecx, [ebp - 0x210]
push ecx
call dword [0x5582d0]
add esp, 0xc
mov edx, dword [ebp - 4]
push edx
lea eax, [ebp - 0x210]
push eax
call fcn.00417de0
add esp, 4
push eax
push 1
lea ecx, [ebp - 0x210]
push ecx
call fcn.0041d70e
add esp, 0x10
mov edx, dword [ebp - 0x230]
push edx
lea eax, [ebp - 0x220]
push eax
mov ecx, dword [ebp - 0x250]
call fcn.0045e4d0
mov ecx, dword [ebp - 0x21c]
push ecx
mov edx, dword [ebp - 0x220]
push edx
push str.__d__d
lea eax, [ebp - 0x210]
push eax
call dword [0x5582d0]
add esp, 0x10
mov ecx, dword [ebp - 4]
push ecx
lea edx, [ebp - 0x210]
push edx
call fcn.00417de0
add esp, 4
push eax
push 1
lea eax, [ebp - 0x210]
push eax
call fcn.0041d70e
add esp, 0x10
mov ecx, dword [ebp - 0x230]
push ecx
mov ecx, dword [ebp - 0x250]
call fcn.0045e660
mov dword [ebp - 0x228], eax
mov dword [ebp - 0x238], 0
jmp 0x45ed8b
mov edx, dword [ebp - 0x238]
add edx, 1
mov dword [ebp - 0x238], edx
mov eax, dword [ebp - 0x238]
cmp eax, dword [ebp - 0x228]
jge 0x45edfb
mov ecx, dword [ebp - 0x238]
push ecx
mov edx, dword [ebp - 0x230]
push edx
mov ecx, dword [ebp - 0x250]
call fcn.0045e6a0
mov dword [ebp - 0x23c], eax
mov eax, dword [ebp - 0x23c]
push eax
push 0x55e40c
lea ecx, [ebp - 0x210]
push ecx
call dword [0x5582d0]
add esp, 0xc
mov edx, dword [ebp - 4]
push edx
lea eax, [ebp - 0x210]
push eax
call fcn.00417de0
add esp, 4
push eax
push 1
lea ecx, [ebp - 0x210]
push ecx
call fcn.0041d70e
add esp, 0x10
jmp 0x45ed7c
mov edx, dword [ebp - 0x230]
push edx
mov ecx, dword [ebp - 0x250]
call fcn.0045e850
mov dword [ebp - 0x234], eax
cmp dword [ebp - 0x234], 0
je 0x45ee5d
mov eax, dword [ebp - 0x234]
push eax
push 0x55e410
lea ecx, [ebp - 0x210]
push ecx
call dword [0x5582d0]
add esp, 0xc
mov edx, dword [ebp - 4]
push edx
lea eax, [ebp - 0x210]
push eax
call fcn.00417de0
add esp, 4
push eax
push 1
lea ecx, [ebp - 0x210]
push ecx
call fcn.0041d70e
add esp, 0x10
push 0
mov edx, dword [ebp - 0x230]
push edx
mov ecx, dword [ebp - 0x250]
call fcn.0045e700
mov dword [ebp - 0x218], eax
mov dword [ebp - 0x240], 0
jmp 0x45ee92
mov eax, dword [ebp - 0x240]
add eax, 1
mov dword [ebp - 0x240], eax
mov ecx, dword [ebp - 0x240]
cmp ecx, dword [ebp - 0x218]
jge 0x45ef07
push 0
mov edx, dword [ebp - 0x240]
push edx
mov eax, dword [ebp - 0x230]
push eax
mov ecx, dword [ebp - 0x250]
call fcn.0045e750
mov dword [ebp - 0x244], eax
mov ecx, dword [ebp - 0x244]
push ecx
push 0x55e418
lea edx, [ebp - 0x210]
push edx
call dword [0x5582d0]
add esp, 0xc
mov eax, dword [ebp - 4]
push eax
lea ecx, [ebp - 0x210]
push ecx
call fcn.00417de0
add esp, 4
push eax
push 1
lea edx, [ebp - 0x210]
push edx
call fcn.0041d70e
add esp, 0x10
jmp 0x45ee83
push 1
mov eax, dword [ebp - 0x230]
push eax
mov ecx, dword [ebp - 0x250]
call fcn.0045e700
mov dword [ebp - 0x22c], eax
mov dword [ebp - 0x248], 0
jmp 0x45ef3c
mov ecx, dword [ebp - 0x248]
add ecx, 1
mov dword [ebp - 0x248], ecx
mov edx, dword [ebp - 0x248]
cmp edx, dword [ebp - 0x22c]
jge 0x45efb1
push 1
mov eax, dword [ebp - 0x248]
push eax
mov ecx, dword [ebp - 0x230]
push ecx
mov ecx, dword [ebp - 0x250]
call fcn.0045e750
mov dword [ebp - 0x24c], eax
mov edx, dword [ebp - 0x24c]
push edx
push 0x55e41c
lea eax, [ebp - 0x210]
push eax
call dword [0x5582d0]
add esp, 0xc
mov ecx, dword [ebp - 4]
push ecx
lea edx, [ebp - 0x210]
push edx
call fcn.00417de0
add esp, 4
push eax
push 1
lea eax, [ebp - 0x210]
push eax
call fcn.0041d70e
add esp, 0x10
jmp 0x45ef2d
mov ecx, dword [ebp - 4]
push ecx
push 2
push 1
push 0x55e424
call fcn.0041d70e
add esp, 0x10
jmp 0x45ec12
mov edx, dword [ebp - 4]
push edx
call fcn.0041329a
add esp, 4
mov ecx, dword [ebp - 0xc]
xor ecx, ebp
call fcn.004130a1
mov esp, ebp
pop ebp
ret