Function at 0x40daf4
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xfb4
push ebx
push esi
mov ebx, 0x230
push edi
push ebx
call fcn.004179b4
cmp byte [0x42f158], 0
pop ecx
mov dword [ebp - 4], eax
je 0x40db3d
fld qword [0x42dad8]
push 0x640
lea eax, [ebp - 0x7fc]
push dword [0x42f154]
fstp qword [ebp - 0x854]
push eax
call fcn.00417bc0
jmp 0x40db5c
fld qword [0x42daa0]
push 0x640
lea eax, [ebp - 0x7fc]
fstp qword [ebp - 0x854]
push 0
push eax
call fcn.004174b0
mov eax, dword [0x42f150]
add esp, 0xc
test eax, eax
je 0x40db6b
push eax
jmp 0x40db70
push 0x42f190
lea eax, [ebp - 0x84c]
push eax
call fcn.00418030
mov edi, dword [ebp + 8]
pop ecx
pop ecx
mov esi, 0x22c
push esi
lea eax, [ebp - 0xfb0]
push edi
push eax
call fcn.00417bc0
lea eax, [edi + 4]
push 0x14
push 0
push eax
call fcn.004174b0
call fcn.00418593
mov dword [edi], eax
lea eax, [edi + 4]
push eax
push esi
push edi
call fcn.0040840b
push esi
push edi
push dword [ebp - 4]
call fcn.00417bc0
push 8
lea eax, [ebp - 0x1c]
pop edi
push edi
push dword [0x42f100]
push eax
call fcn.00417bc0
push edi
lea eax, [ebp - 0xc]
push dword [0x42f104]
push eax
call fcn.00417bc0
add esp, 0x48
lea eax, [ebp - 0x14]
push edi
push dword [0x42f108]
push eax
call fcn.00417bc0
lea eax, [ebp - 0x14]
push 0
push eax
lea eax, [ebp - 0x1c]
push edi
push eax
call fcn.0040d197
lea eax, [ebp - 0x1c]
push 0
push eax
lea eax, [ebp - 0xc]
push edi
push eax
call fcn.0040d197
lea eax, [ebp - 0xc]
push 1
push eax
lea eax, [ebp - 0x14]
push edi
push eax
call fcn.0040d197
lea eax, [ebp - 0xc]
push edi
push eax
lea eax, [ebp - 0x24]
push eax
call fcn.00417bc0
add esp, 0x48
lea eax, [ebp - 0x13c]
push eax
lea eax, [ebp - 0x1c]
push eax
call fcn.004025ef
lea eax, [ebp - 0x1bc]
push eax
lea eax, [ebp - 0xc]
push eax
call fcn.004025ef
lea eax, [ebp - 0xbc]
push eax
lea eax, [ebp - 0x14]
push eax
call fcn.004025ef
lea eax, [ebp - 0xbc]
push eax
lea eax, [ebp - 0x1bc]
push eax
lea eax, [ebp - 0x13c]
push eax
lea eax, [ebp - 0x24]
push eax
push ebx
push dword [ebp - 4]
call fcn.0040ce50
push ebx
lea eax, [ebp - 0xfb0]
push dword [ebp - 4]
push eax
call fcn.00417bc0
push 0x408
lea eax, [ebp - 0xc6c]
push dword [0x42f0fc]
push eax
call fcn.00417bc0
mov eax, 0x425498
add esp, 0x48
mov dword [ebp - 0x85c], 0xface0ff1
xor ecx, ecx
mov esi, eax
mov dl, byte [esi]
add eax, 4
mov byte [ebp + ecx - 0xd34], dl
inc ecx
cmp dword [eax], 0xffffffff
mov esi, eax
jne 0x40dcc3
mov dword [ebp - 0xcb4], ecx
mov ecx, 0x42559c
xor eax, eax
mov esi, ecx
mov dl, byte [esi]
add ecx, 4
mov byte [ebp + eax - 0xcb0], dl
inc eax
cmp dword [ecx], 0xffffffff
mov esi, ecx
jne 0x40dce6
mov dword [ebp - 0xc70], eax
call fcn.00418593
push 0x14
mov dword [ebp - 0xfb4], eax
pop ebx
lea eax, [ebp - 0xd68]
push ebx
push 0x42efb8
push eax
call fcn.00417bc0
push ebx
lea eax, [ebp - 0xd4c]
push 0x42dae0
push eax
call fcn.00417bc0
mov eax, dword [0x42db88]
push ebx
mov dword [ebp - 0xd54], eax
mov eax, dword [0x42da98]
mov dword [ebp - 0xd50], eax
mov eax, dword [0x42e46c]
mov dword [ebp - 0xd38], eax
lea eax, [ebp - 0xd7c]
push 0
push eax
call fcn.004174b0
lea eax, [ebp - 0x3c]
mov esi, 0xdf8
push eax
lea eax, [ebp - 0xfb4]
push esi
push eax
call fcn.0040840b
lea eax, [ebp - 0x3c]
push ebx
push eax
lea eax, [ebp - 0xd7c]
push eax
call fcn.00417bc0
push esi
call fcn.004179b4
add esp, 0x40
mov dword [ebp + 8], eax
lea eax, [ebp - 0x1c]
push edi
push dword [0x42f10c]
push eax
call fcn.00417bc0
push edi
lea eax, [ebp - 0xc]
push dword [0x42f110]
push eax
call fcn.00417bc0
push edi
lea eax, [ebp - 0x14]
push dword [0x42f114]
push eax
call fcn.00417bc0
lea eax, [ebp - 0xc]
push 1
push eax
lea eax, [ebp - 0x1c]
push edi
push eax
call fcn.0040d197
xor ebx, ebx
lea eax, [ebp - 0x14]
push ebx
push eax
lea eax, [ebp - 0xc]
push edi
push eax
call fcn.0040d197
add esp, 0x44
lea eax, [ebp - 0x1c]
push 1
push eax
lea eax, [ebp - 0x14]
push edi
push eax
call fcn.0040d197
lea eax, [ebp - 0x14]
push edi
push eax
lea eax, [ebp - 0x24]
push eax
call fcn.00417bc0
lea eax, [ebp - 0x13c]
push eax
lea eax, [ebp - 0x1c]
push eax
call fcn.004025ef
lea eax, [ebp - 0x1bc]
push eax
lea eax, [ebp - 0xc]
push eax
call fcn.004025ef
lea eax, [ebp - 0xbc]
push eax
lea eax, [ebp - 0x14]
push eax
call fcn.004025ef
lea eax, [ebp - 0xfb4]
push esi
push eax
push dword [ebp + 8]
call fcn.00417bc0
add esp, 0x40
lea eax, [ebp - 0xbc]
push eax
lea eax, [ebp - 0x1bc]
push eax
lea eax, [ebp - 0x13c]
push eax
lea eax, [ebp - 0x24]
push eax
push esi
push dword [ebp + 8]
call fcn.0040ce50
add esp, 0x18
push ebx
push 0x80
push 2
push ebx
push ebx
push 0x40000000
push dword [0x42f0d4]
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov edi, eax
cmp edi, 0xffffffff
jne 0x40dea3
push dword [0x42f0d4]
push str.Cannot_access_the_Softwrap_License_file:__s
call fcn.004099b6
pop ecx
pop ecx
lea eax, [ebp - 0x28]
push ebx
push eax
push esi
push dword [ebp + 8]
push edi
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x40debc
cmp dword [ebp - 0x28], esi
je 0x40dece
push dword [0x42f0d4]
push str.Cannot_write_to_the_Softwrap_License_file:__s
call fcn.004099b6
pop ecx
pop ecx
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push dword [ebp + 8]
call fcn.00417985
push dword [ebp - 4]
call fcn.00417985
pop ecx
pop ecx
pop edi
pop esi
pop ebx
leave
ret