Function at 0x4066c0
Capabilities:
Write file on windows

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x6ac
mov eax, dword [esp + 0xe0c]
lea ebx, [esp + 0x56]
mov edi, dword [esp + 0x6ec]
mov esi, dword [esp + 0x6f0]
mov ebp, dword [esp + 0x6f4]
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x6c0]
mov dword [esp + 0x48], eax
mov eax, dword [esp + 0x6c8]
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x6cc]
mov dword [esp + 0x4c], eax
mov eax, dword [esp + 0x6d4]
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x6d8]
mov dword [esp + 0x44], eax
mov eax, dword [esp + 0x6e0]
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x6e4]
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x6e8]
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x6f8]
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0xe04]
mov dword [esp + 0x24], eax
call sym.vWfLogOpen__
mov dword [esp], 0x445711
call sym._puts
mov dword [esp + 4], str.
mov dword [esp], ebx
call sym._strcpy
mov dword [esp + 4], 1
mov dword [esp], ebx
call sym.vWfMsgLogBuffer_char__int_
cmp dword [esp + 0xe10], 1
je 0x406a60
cmp dword [esp + 0xe10], 2
je 0x4068e0
mov eax, dword [esp + 0x24]
test eax, eax
jne 0x40690c
mov eax, dword [esp + 0xe08]
test eax, eax
jne 0x406967
mov dword [esp + 4], str.________________________________________________________________________________
mov dword [esp], ebx
call sym._strcpy
mov dword [esp + 4], 0
mov dword [esp], ebx
call sym.vWfMsgLogBuffer_char__int_
mov eax, dword [esp + 0x28]
test eax, eax
jne 0x406b30
mov ecx, dword [esp + 0x2c]
test ecx, ecx
jne 0x406b00
mov eax, dword [esp + 0x38]
test eax, eax
je 0x406820
mov dword [esp + 4], eax
mov dword [esp], ebx
call sym._strcpy
mov dword [esp + 4], 0
mov dword [esp], ebx
call sym.vWfMsgLogBuffer_char__int_
test edi, edi
je 0x40682d
cmp byte [edi], 0
jne 0x406ba2
test esi, esi
je 0x40683a
cmp byte [esi], 0
jne 0x406b81
test ebp, ebp
je 0x406848
cmp byte [ebp], 0
jne 0x406b60
mov edx, dword [esp + 0x30]
test edx, edx
jne 0x406ac5
mov dword [esp + 8], str.
mov dword [esp + 4], 0x44572f
mov dword [esp], ebx
call sym._sprintf
mov dword [esp + 4], 0
mov dword [esp], ebx
call sym.vWfMsgLogBuffer_char__int_
call sym.vWfLogClose__
mov eax, dword [esp + 0x24]
test eax, eax
jne 0x406a80
mov eax, dword [esp + 0x34]
mov dword [esp], eax
call sym.vWfCmdWaitTaste_int_
cmp dword [esp + 0xe10], 1
je 0x406a70
cmp dword [esp + 0xe10], 2
jne 0x4068cd
mov edi, 0x453900
mov esi, 0x4531a0
mov ecx, 0x1d4
rep movsd dword es:[edi], dword [esi]
call sym.__errno
mov dword [eax], 0
add esp, 0x6ac
pop ebx
pop esi
pop edi
pop ebp
ret
mov dword [esp + 4], str.Hinweis
mov dword [esp], ebx
call sym._strcpy
mov dword [esp + 4], 0
mov dword [esp], ebx
call sym.vWfMsgLogBuffer_char__int_
mov eax, dword [esp + 0x24]
test eax, eax
je 0x4067b5
mov dword [esp], 0x445715
call sym._printf
mov dword [esp + 4], str.Programm_Abbruch
mov dword [esp], ebx
call sym._strcpy
mov dword [esp + 4], 0
mov dword [esp], ebx
call sym.vWfMsgLogBuffer_char__int_
mov dword [esp + 4], str.________________________________________________________________________________
mov dword [esp], ebx
call sym._strcpy
mov dword [esp + 4], 0
mov dword [esp], ebx
call sym.vWfMsgLogBuffer_char__int_
mov eax, dword [esp + 0xe08]
test eax, eax
je 0x4067c4
mov eax, dword [0x444430]
mov dword [esp], ebx
mov dword [esp + 4], eax
call sym._strcpy
mov dword [esp + 4], 0
mov dword [esp], ebx
call sym.vWfMsgLogBuffer_char__int_
mov eax, dword [esp + 0x3c]
mov edx, dword [esp + 0x48]
mov dword [esp + 4], str._s_d___d
mov dword [esp], ebx
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x6c4]
mov dword [esp + 8], edx
mov dword [esp + 0xc], eax
call sym._sprintf
mov dword [esp + 4], 0
mov dword [esp], ebx
call sym.vWfMsgLogBuffer_char__int_
mov eax, dword [esp + 0x3c]
cmp eax, dword [esp + 0x40]
jne 0x4069d7
mov eax, dword [esp + 0x4c]
cmp dword [esp + 0x48], eax
je 0x406a12
mov eax, dword [esp + 0x40]
mov dword [esp + 4], str._s_d___d
mov dword [esp], ebx
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x6d0]
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x4c]
mov dword [esp + 8], eax
call sym._sprintf
mov dword [esp + 4], 0
mov dword [esp], ebx
call sym.vWfMsgLogBuffer_char__int_
mov eax, dword [esp + 0x44]
test eax, eax
je 0x4067c4
mov eax, dword [esp + 0x44]
mov dword [esp], eax
call sym._strerror
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x44]
mov dword [esp + 4], str.errno_d__s
mov dword [esp], ebx
mov dword [esp + 8], eax
call sym._sprintf
mov dword [esp + 4], 0
mov dword [esp], ebx
call sym.vWfMsgLogBuffer_char__int_
jmp 0x4067c4
mov dword [esp + 4], str.Interner_Fehler
jmp 0x4068e8
mov edi, 0x454060
jmp 0x4068b6
mov eax, dword [sym.imp.msvcrt.dll__iob]
mov dword [esp + 8], 2
mov dword [esp + 4], 1
mov dword [esp], 0x445733
add eax, 0x40
mov dword [esp + 0xc], eax
call sym._fwrite
mov eax, dword [esp + 0x34]
mov dword [esp], eax
call sym.vWfCmdWaitTaste_int_
mov eax, dword [esp + 0x28]
mov dword [esp], eax
call sym.vMainExit_int_
jmp 0x406899
imul eax, dword [esp + 0x30], 0xb7
mov dword [esp + 4], 0x44572f
mov dword [esp], ebx
add eax, str.ERROR_KEINFEHLER
mov dword [esp + 8], eax
call sym._sprintf
mov dword [esp + 4], 0
mov dword [esp], ebx
call sym.vWfMsgLogBuffer_char__int_
jmp 0x406854
imul eax, dword [esp + 0x2c], 0xb7
mov dword [esp], ebx
add eax, str.ERROR_KEINFEHLER
mov dword [esp + 4], eax
call sym._strcpy
mov dword [esp + 4], 0
mov dword [esp], ebx
call sym.vWfMsgLogBuffer_char__int_
jmp 0x4067fc
imul eax, dword [esp + 0x28], 0xb7
mov dword [esp], ebx
add eax, str.ERROR_KEINFEHLER
mov dword [esp + 4], eax
call sym._strcpy
mov dword [esp + 4], 0
mov dword [esp], ebx
call sym.vWfMsgLogBuffer_char__int_
jmp 0x4067f0
mov dword [esp + 4], ebp
mov dword [esp], ebx
call sym._strcpy
mov dword [esp + 4], 0
mov dword [esp], ebx
call sym.vWfMsgLogBuffer_char__int_
jmp 0x406848
mov dword [esp + 4], esi
mov dword [esp], ebx
call sym._strcpy
mov dword [esp + 4], 0
mov dword [esp], ebx
call sym.vWfMsgLogBuffer_char__int_
jmp 0x40683a
mov dword [esp + 4], edi
mov dword [esp], ebx
call sym._strcpy
mov dword [esp + 4], 0
mov dword [esp], ebx
call sym.vWfMsgLogBuffer_char__int_
jmp 0x40682d