Function at 0x40f480
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x6c
push ebx
push esi
mov esi, dword [sym.imp.KERNEL32.dll_lstrcatA]
push edi
mov ebx, eax
xor eax, eax
mov dword [esp + 0x10], 0x5b0a0d
mov ecx, 0x18
lea edi, [esp + 0x14]
rep stosd dword es:[edi], eax
push str.TabN
lea eax, [esp + 0x14]
push eax
call esi
push 0x4173ec
lea ecx, [esp + 0x14]
push ecx
call esi
lea edx, [esp + 0x10]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
push 0
lea ecx, [esp + 0x10]
push ecx
push eax
lea edx, [esp + 0x1c]
push edx
push ebx
mov dword [esp + 0x20], eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov edi, dword [ebp + 8]
mov esi, eax
and esi, 1
call fcn.0040f200
and esi, eax
xor eax, eax
mov dword [esp + 0x10], 0x5b0a0d
mov ecx, 0x18
lea edi, [esp + 0x14]
rep stosd dword es:[edi], eax
mov edi, dword [sym.imp.KERNEL32.dll_lstrcatA]
push str.TabH
lea eax, [esp + 0x14]
push eax
call edi
push 0x4173ec
lea ecx, [esp + 0x14]
push ecx
call edi
lea edx, [esp + 0x10]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
push 0
lea ecx, [esp + 0x10]
push ecx
push eax
lea edx, [esp + 0x1c]
push edx
push ebx
mov dword [esp + 0x20], eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov edi, dword [ebp + 8]
add edi, 0x28
and esi, eax
call fcn.0040f200
and esi, eax
xor eax, eax
mov dword [esp + 0x10], 0x5b0a0d
mov ecx, 0x18
lea edi, [esp + 0x14]
rep stosd dword es:[edi], eax
mov edi, dword [sym.imp.KERNEL32.dll_lstrcatA]
push str.TabS
lea eax, [esp + 0x14]
push eax
call edi
push 0x4173ec
lea ecx, [esp + 0x14]
push ecx
call edi
lea edx, [esp + 0x10]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
push 0
lea ecx, [esp + 0x10]
push ecx
push eax
lea edx, [esp + 0x1c]
push edx
push ebx
mov dword [esp + 0x20], eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov edi, dword [ebp + 8]
add edi, 0x50
and esi, eax
call fcn.0040f200
and esi, eax
xor eax, eax
mov dword [esp + 0x10], 0x5b0a0d
mov ecx, 0x18
lea edi, [esp + 0x14]
rep stosd dword es:[edi], eax
mov edi, dword [sym.imp.KERNEL32.dll_lstrcatA]
push str.ButtonN
lea eax, [esp + 0x14]
push eax
call edi
push 0x4173ec
lea ecx, [esp + 0x14]
push ecx
call edi
lea edx, [esp + 0x10]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
push 0
lea ecx, [esp + 0x10]
push ecx
push eax
lea edx, [esp + 0x1c]
push edx
push ebx
mov dword [esp + 0x20], eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov edi, dword [ebp + 8]
add edi, 0x78
and esi, eax
call fcn.0040f200
and esi, eax
xor eax, eax
mov dword [esp + 0x10], 0x5b0a0d
mov ecx, 0x18
lea edi, [esp + 0x14]
rep stosd dword es:[edi], eax
mov edi, dword [sym.imp.KERNEL32.dll_lstrcatA]
push str.ButtonH
lea eax, [esp + 0x14]
push eax
call edi
push 0x4173ec
lea ecx, [esp + 0x14]
push ecx
call edi
lea edx, [esp + 0x10]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
push 0
lea ecx, [esp + 0x10]
push ecx
push eax
lea edx, [esp + 0x1c]
push edx
push ebx
mov dword [esp + 0x20], eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov edi, dword [ebp + 8]
add edi, 0xa0
and esi, eax
call fcn.0040f200
and esi, eax
mov dword [esp + 0x10], 0x5b0a0d
mov ecx, 0x18
xor eax, eax
lea edi, [esp + 0x14]
rep stosd dword es:[edi], eax
mov edi, dword [sym.imp.KERNEL32.dll_lstrcatA]
push str.ButtonD
lea eax, [esp + 0x14]
push eax
call edi
push 0x4173ec
lea ecx, [esp + 0x14]
push ecx
call edi
lea edx, [esp + 0x10]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
push 0
lea ecx, [esp + 0x10]
push ecx
push eax
lea edx, [esp + 0x1c]
push edx
push ebx
mov dword [esp + 0x20], eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov edi, dword [ebp + 8]
add edi, 0xc8
and esi, eax
call fcn.0040f200
pop edi
and eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret