Function at 0x100efb60
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x19c
push esi
push edi
push ecx
lea edi, [ebp - 0x19c]
mov ecx, 0x67
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
pop ecx
mov eax, dword [0x101f3540]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 8], ecx
xor eax, eax
mov ecx, dword [ebp - 8]
mov word [ecx + 8], ax
mov dword [ebp - 0xc], 0
mov edx, 7
mov word [ebp - 0x10], dx
mov al, byte [ebp + 8]
mov byte [ebp - 0x18c], al
cmp byte [ebp - 0x18c], 1
je 0x100efbcb
cmp byte [ebp - 0x18c], 2
je 0x100efbdd
cmp byte [ebp - 0x18c], 3
je 0x100efbef
jmp 0x100efbff
mov dword [ebp - 0xc], str._info_
mov ecx, 3
mov word [ebp - 0x10], cx
jmp 0x100efbff
mov dword [ebp - 0xc], str._warning_
mov edx, 6
mov word [ebp - 0x10], dx
jmp 0x100efbff
mov dword [ebp - 0xc], str._error_
mov eax, 4
mov word [ebp - 0x10], ax
push 0
call fcn.100f02e0
add esp, 4
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], edx
lea ecx, [ebp - 0x1c]
push ecx
lea edx, [ebp - 0x48]
push edx
call fcn.100ef890
add esp, 8
lea eax, [ebp - 0x48]
push eax
push str._n__d__m__Y__T_
push 0x20
lea ecx, [ebp - 0x70]
push ecx
call fcn.100a9350
add esp, 0x10
mov edx, dword [ebp - 8]
movzx ecx, byte [edx]
sub eax, ecx
mov dword [ebp - 0x78], eax
mov esi, esp
push 0xa
mov edx, dword [0x102ca000]
push edx
call dword [sym.imp.KERNEL32.dll_SetConsoleTextAttribute]
cmp esi, esp
call fcn.100f3210
mov esi, esp
push 0
push 0
mov eax, dword [ebp - 0x78]
push eax
mov ecx, dword [ebp - 8]
movzx edx, byte [ecx]
lea eax, [ebp + edx - 0x70]
push eax
mov ecx, dword [0x102ca000]
push ecx
call dword [sym.imp.KERNEL32.dll_WriteConsoleA]
cmp esi, esp
call fcn.100f3210
nop
cmp dword [ebp + 0xc], 0
je 0x100efce5
mov esi, esp
push 8
mov edx, dword [0x102ca000]
push edx
call dword [sym.imp.KERNEL32.dll_SetConsoleTextAttribute]
cmp esi, esp
call fcn.100f3210
mov eax, dword [ebp + 0xc]
push eax
call fcn.100a3830
add esp, 4
mov dword [ebp - 0x190], eax
mov ecx, dword [0x102ca000]
mov dword [ebp - 0x194], ecx
mov esi, esp
push 0
push 0
mov edx, dword [ebp - 0x190]
push edx
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp - 0x194]
push ecx
call dword [sym.imp.KERNEL32.dll_WriteConsoleA]
cmp esi, esp
call fcn.100f3210
nop
cmp dword [ebp - 0xc], 0
je 0x100efd49
mov esi, esp
movzx edx, word [ebp - 0x10]
push edx
mov eax, dword [0x102ca000]
push eax
call dword [sym.imp.KERNEL32.dll_SetConsoleTextAttribute]
cmp esi, esp
call fcn.100f3210
mov ecx, dword [ebp - 0xc]
push ecx
call fcn.100a3830
add esp, 4
mov dword [ebp - 0x198], eax
mov edx, dword [0x102ca000]
mov dword [ebp - 0x19c], edx
mov esi, esp
push 0
push 0
mov eax, dword [ebp - 0x198]
push eax
mov ecx, dword [ebp - 0xc]
push ecx
mov edx, dword [ebp - 0x19c]
push edx
call dword [sym.imp.KERNEL32.dll_WriteConsoleA]
cmp esi, esp
call fcn.100f3210
nop
mov esi, esp
push 7
mov eax, dword [0x102ca000]
push eax
call dword [sym.imp.KERNEL32.dll_SetConsoleTextAttribute]
cmp esi, esp
call fcn.100f3210
mov esi, esp
push 0
push 0
mov ecx, dword [ebp - 0x78]
push ecx
mov edx, dword [ebp - 8]
movzx eax, byte [edx]
lea ecx, [ebp + eax - 0x70]
push ecx
mov edx, dword [0x102ca004]
push edx
call dword [sym.imp.KERNEL32.dll_WriteFile]
cmp esi, esp
call fcn.100f3210
push 0x104
push 0
lea eax, [ebp - 0x180]
push eax
call fcn.100f8530
add esp, 0xc
lea ecx, [ebp - 0x180]
mov dword [ebp - 0x188], ecx
cmp dword [ebp + 0xc], 0
je 0x100efdca
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp - 0x188]
push eax
call fcn.100c1340
add esp, 8
mov dword [ebp - 0x188], eax
cmp dword [ebp - 0xc], 0
je 0x100efde9
mov ecx, dword [ebp - 0xc]
push ecx
mov edx, dword [ebp - 0x188]
push edx
call fcn.100c1340
add esp, 8
mov dword [ebp - 0x188], eax
mov eax, 1
imul ecx, eax, 0
movsx edx, byte [ebp + ecx - 0x180]
test edx, edx
je 0x100efe2d
mov esi, esp
push 0
push 0
mov eax, dword [ebp - 0x188]
lea ecx, [ebp - 0x180]
sub eax, ecx
push eax
lea edx, [ebp - 0x180]
push edx
mov eax, dword [0x102ca004]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
cmp esi, esp
call fcn.100f3210
nop
mov ecx, dword [ebp - 8]
mov byte [ecx], 0
mov eax, dword [ebp - 8]
push edx
mov ecx, ebp
push eax
lea edx, [0x100efe68]
call fcn.100f31b0
pop eax
pop edx
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100f3240
add esp, 0x19c
cmp ebp, esp
call fcn.100f3210
mov esp, ebp
pop ebp
ret 8