Function at 0x401768
Capabilities:
Create directory
Delete file
Move file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x148
nop
mov eax, 0
mov dword [ebp - 0x10], eax
mov eax, 3
mov dword [ebp - 0x14], eax
mov eax, str..jpg
push eax
mov eax, 0x403910
push eax
call sub.msvcrt.dll_strcpy
add esp, 8
mov eax, 0x40300f
push eax
mov eax, 0x4033a4
push eax
call sub.msvcrt.dll_strcpy
add esp, 8
mov eax, str.ACDEEILNOOORSTUUUYZaacdeeilnoooorstuuuuyz
push eax
mov eax, 0x4033d0
push eax
call sub.msvcrt.dll_strcpy
add esp, 8
mov eax, 0x403070
push eax
mov eax, str.FileMove.ini
push eax
call sub.msvcrt.dll_fopen
add esp, 8
mov dword [0x4033a0], eax
mov eax, dword [0x4033a0]
cmp eax, 0
je 0x401c4b
mov eax, dword [0x4033a0]
push eax
mov eax, 0xff
push eax
mov eax, 0x4033fc
push eax
call sub.msvcrt.dll_fgets
add esp, 0xc
cmp eax, 0
jne 0x401810
jmp 0x401c3c
mov eax, 0x4033fc
push eax
call fcn.00401524
add esp, 4
mov eax, 0x4033fc
push eax
call fcn.004013a7
add esp, 4
mov eax, 0x4033fc
push eax
mov eax, 0x403500
push eax
call sub.msvcrt.dll_strcpy
add esp, 8
mov eax, 0x403500
push eax
call fcn.004015ca
add esp, 4
mov eax, 0
push eax
mov eax, str.TYPR
push eax
mov eax, 0x403500
push eax
call fcn.004012c7
add esp, 0xc
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
cmp eax, 0
jne 0x40187f
mov eax, 1
mov dword [ebp - 0x14], eax
mov eax, 0
push eax
mov eax, str.TYPJ
push eax
mov eax, 0x403500
push eax
call fcn.004012c7
add esp, 0xc
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
cmp eax, 0
jne 0x4018b0
mov eax, 1
mov dword [ebp - 0x14], eax
mov eax, 0
push eax
mov eax, str.TYPEY
push eax
mov eax, 0x403500
push eax
call fcn.004012c7
add esp, 0xc
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
cmp eax, 0
jne 0x4018e1
mov eax, 1
mov dword [ebp - 0x14], eax
mov eax, 0
push eax
mov eax, str.TYPM
push eax
mov eax, 0x403500
push eax
call fcn.004012c7
add esp, 0xc
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
cmp eax, 0
jne 0x401912
mov eax, 2
mov dword [ebp - 0x14], eax
mov eax, 0
push eax
mov eax, str.TYPEM
push eax
mov eax, 0x403500
push eax
call fcn.004012c7
add esp, 0xc
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
cmp eax, 0
jne 0x401943
mov eax, 2
mov dword [ebp - 0x14], eax
mov eax, 0
push eax
mov eax, str.TYPD
push eax
mov eax, 0x403500
push eax
call fcn.004012c7
add esp, 0xc
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
cmp eax, 0
jne 0x401974
mov eax, 3
mov dword [ebp - 0x14], eax
mov eax, 0
push eax
mov eax, str.TYPT
push eax
mov eax, 0x403500
push eax
call fcn.004012c7
add esp, 0xc
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
cmp eax, 0
jne 0x4019a5
mov eax, 3
mov dword [ebp - 0x14], eax
mov eax, 0
push eax
mov eax, str.TYPED
push eax
mov eax, 0x403500
push eax
call fcn.004012c7
add esp, 0xc
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
cmp eax, 0
jne 0x4019d6
mov eax, 3
mov dword [ebp - 0x14], eax
mov eax, 0
push eax
mov eax, str.TYPA
push eax
mov eax, 0x403500
push eax
call fcn.004012c7
add esp, 0xc
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
cmp eax, 0
jne 0x401a07
mov eax, 4
mov dword [ebp - 0x14], eax
mov eax, 0
push eax
mov eax, str.TYPEA
push eax
mov eax, 0x403500
push eax
call fcn.004012c7
add esp, 0xc
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
cmp eax, 0
jne 0x401a38
mov eax, 4
mov dword [ebp - 0x14], eax
mov eax, 0
push eax
mov eax, str.DUPA
push eax
mov eax, 0x403500
push eax
call fcn.004012c7
add esp, 0xc
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
cmp eax, 0
jne 0x401a69
mov eax, 1
mov dword [ebp - 0x10], eax
mov eax, 0
push eax
mov eax, str.DUPJ
push eax
mov eax, 0x403500
push eax
call fcn.004012c7
add esp, 0xc
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
cmp eax, 0
jne 0x401a9a
mov eax, 1
mov dword [ebp - 0x10], eax
mov eax, 0
push eax
mov eax, str.DUPY
push eax
mov eax, 0x403500
push eax
call fcn.004012c7
add esp, 0xc
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
cmp eax, 0
jne 0x401acb
mov eax, 1
mov dword [ebp - 0x10], eax
mov eax, 0
mov dword [ebp - 4], eax
mov eax, 0
push eax
mov eax, 0x4030c6
push eax
mov eax, 0x403500
push eax
call fcn.004012c7
add esp, 0xc
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
cmp eax, 0
jne 0x401b0c
mov eax, 1
mov dword [ebp - 4], eax
mov eax, 2
mov dword [ebp - 0xc], eax
mov eax, 0
push eax
mov eax, str.PRIPONA
push eax
mov eax, 0x403500
push eax
call fcn.004012c7
add esp, 0xc
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
cmp eax, 0
jne 0x401b45
mov eax, 1
mov dword [ebp - 4], eax
mov eax, 8
mov dword [ebp - 0xc], eax
mov eax, 0
push eax
mov eax, 0x4030d2
push eax
mov eax, 0x403500
push eax
call fcn.004012c7
add esp, 0xc
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
cmp eax, 0
jne 0x401b7e
mov eax, 1
mov dword [ebp - 4], eax
mov eax, 2
mov dword [ebp - 0xc], eax
mov eax, 0
push eax
mov eax, str.EXTENSION
push eax
mov eax, 0x403500
push eax
call fcn.004012c7
add esp, 0xc
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
cmp eax, 0
jne 0x401bb7
mov eax, 1
mov dword [ebp - 4], eax
mov eax, 0xa
mov dword [ebp - 0xc], eax
mov eax, 0
push eax
mov eax, str.ERWEITERUNG
push eax
mov eax, 0x403500
push eax
call fcn.004012c7
add esp, 0xc
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
cmp eax, 0
jne 0x401bf0
mov eax, 1
mov dword [ebp - 4], eax
mov eax, 0xc
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 4]
cmp eax, 0
jle 0x401c37
mov eax, 0x4030ed
push eax
mov eax, 0x403910
push eax
call sub.msvcrt.dll_strcpy
add esp, 8
mov eax, 0x20
push eax
mov eax, dword [ebp - 0xc]
push eax
mov eax, 0x4033fc
push eax
call fcn.0040144c
add esp, 0xc
push eax
mov eax, 0x403910
push eax
call sub.msvcrt.dll_strcat
add esp, 8
jmp 0x4017e7
mov eax, dword [0x4033a0]
push eax
call sub.msvcrt.dll_fclose
add esp, 4
lea eax, [ebp - 0x148]
push eax
mov eax, 0x403910
push eax
call sub.msvcrt.dll__findfirst
add esp, 8
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x30]
cmp eax, 0
jle 0x40206d
lea eax, [ebp - 0x134]
push eax
mov eax, 0x403604
push eax
call sub.msvcrt.dll_strcpy
add esp, 8
lea eax, [ebp - 0x13c]
push eax
call sub.msvcrt.dll_localtime
add esp, 4
mov dword [0x403b30], eax
mov eax, dword [0x403b30]
add eax, 0x14
mov ecx, dword [eax]
add ecx, 0x76c
mov dword [ebp - 0x20], ecx
mov eax, dword [ebp - 0x20]
push eax
mov eax, 0x4030f0
push eax
lea eax, [ebp - 0x19]
push eax
call sub.msvcrt.dll_sprintf
add esp, 0xc
mov eax, dword [0x403b30]
add eax, 0x10
mov ecx, dword [eax]
inc ecx
mov dword [ebp - 0x24], ecx
mov eax, dword [0x403b30]
add eax, 0xc
mov ecx, dword [eax]
mov dword [ebp - 0x28], ecx
mov eax, dword [ebp - 0x14]
jmp 0x401cf5
cmp eax, 4
jne 0x401db7
mov eax, dword [ebp - 0x20]
push eax
mov eax, 0x4030f3
push eax
mov eax, 0x40380c
push eax
call sub.msvcrt.dll_sprintf
add esp, 0xc
mov eax, 0x40380c
push eax
call sub.msvcrt.dll__mkdir
add esp, 4
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x28]
push eax
mov eax, dword [ebp - 0x24]
push eax
mov eax, dword [ebp - 0x20]
push eax
mov eax, 0x4030f6
push eax
mov eax, 0x403708
push eax
call sub.msvcrt.dll_sprintf
add esp, 0x14
mov eax, 0xa
push eax
mov eax, 0x403708
push eax
lea eax, [ebp - 0x19]
push eax
call fcn.00401626
add esp, 0xc
push eax
mov eax, 0x4033fc
push eax
call sub.msvcrt.dll_strcpy
add esp, 8
mov eax, 0x4033fc
push eax
mov eax, dword [ebp - 0x20]
push eax
mov eax, str._d_s
push eax
mov eax, 0x40380c
push eax
call sub.msvcrt.dll_sprintf
add esp, 0x10
lea eax, [ebp - 0x134]
push eax
mov eax, 0x40380c
push eax
mov eax, 0x403109
push eax
mov eax, 0x403708
push eax
call sub.msvcrt.dll_sprintf
add esp, 0x10
jmp 0x401ff5
cmp eax, 3
jne 0x401e91
mov eax, dword [ebp - 0x28]
push eax
mov eax, dword [ebp - 0x24]
push eax
mov eax, dword [ebp - 0x20]
push eax
mov eax, str._d__02d__02d
push eax
mov eax, 0x403708
push eax
call sub.msvcrt.dll_sprintf
add esp, 0x14
mov eax, 0xa
push eax
mov eax, 0x403708
push eax
mov eax, 0x40311c
push eax
call fcn.00401626
add esp, 0xc
push eax
mov eax, 0x4033fc
push eax
call sub.msvcrt.dll_strcpy
add esp, 8
mov eax, 0x4033fc
push eax
call sub.msvcrt.dll_strlen
add esp, 4
cmp eax, 0xa
jbe 0x401e4e
mov eax, 0
mov dword [ebp - 0x2c], eax
lea eax, [ebp - 0x134]
push eax
mov eax, 0x4033fc
push eax
mov eax, 0x40311e
push eax
mov eax, 0x403708
push eax
call sub.msvcrt.dll_sprintf
add esp, 0x10
jmp 0x401e87
lea eax, [ebp - 0x134]
push eax
mov eax, dword [ebp - 0x28]
push eax
mov eax, dword [ebp - 0x24]
push eax
mov eax, dword [ebp - 0x20]
push eax
mov eax, 0x403124
push eax
mov eax, 0x403708
push eax
call sub.msvcrt.dll_sprintf
add esp, 0x18
lea eax, [ebp - 0x19]
push eax
mov eax, 0x40380c
push eax
call sub.msvcrt.dll_strcpy
add esp, 8
jmp 0x401ff5
cmp eax, 2
jne 0x401f69
mov eax, dword [ebp - 0x24]
push eax
mov eax, dword [ebp - 0x20]
push eax
mov eax, str._d__02d
push eax
mov eax, 0x403708
push eax
call sub.msvcrt.dll_sprintf
add esp, 0x10
mov eax, 7
push eax
mov eax, 0x403708
push eax
mov eax, 0x40313c
push eax
call fcn.00401626
add esp, 0xc
push eax
mov eax, 0x4033fc
push eax
call sub.msvcrt.dll_strcpy
add esp, 8
mov eax, 0x4033fc
push eax
call sub.msvcrt.dll_strlen
add esp, 4
cmp eax, 7
jbe 0x401f24
mov eax, 0
mov dword [ebp - 0x2c], eax
lea eax, [ebp - 0x134]
push eax
mov eax, 0x4033fc
push eax
mov eax, 0x40313e
push eax
mov eax, 0x403708
push eax
call sub.msvcrt.dll_sprintf
add esp, 0x10
jmp 0x401f5f
mov eax, 0x403708
push eax
mov eax, 0x40380c
push eax
call sub.msvcrt.dll_strcpy
add esp, 8
lea eax, [ebp - 0x134]
push eax
mov eax, dword [ebp - 0x28]
push eax
mov eax, dword [ebp - 0x24]
push eax
mov eax, dword [ebp - 0x20]
push eax
mov eax, str._d__02d__02d_s
push eax
mov eax, 0x403708
push eax
call sub.msvcrt.dll_sprintf
add esp, 0x18
jmp 0x401ff5
cmp eax, 1
jne 0x401ff5
mov eax, 4
push eax
lea eax, [ebp - 0x19]
push eax
mov eax, 0x403154
push eax
call fcn.00401626
add esp, 0xc
push eax
mov eax, 0x4033fc
push eax
call sub.msvcrt.dll_strcpy
add esp, 8
lea eax, [ebp - 0x134]
push eax
mov eax, 0x4033fc
push eax
mov eax, str._s_s
push eax
mov eax, 0x403708
push eax
call sub.msvcrt.dll_sprintf
add esp, 0x10
mov eax, 0x4033fc
push eax
call sub.msvcrt.dll_strlen
add esp, 4
cmp eax, 4
jbe 0x401fde
mov eax, 0
mov dword [ebp - 0x2c], eax
jmp 0x401ff0
lea eax, [ebp - 0x19]
push eax
mov eax, 0x40380c
push eax
call sub.msvcrt.dll_strcpy
add esp, 8
jmp 0x401ff5
mov eax, dword [ebp - 0x2c]
cmp eax, 1
jne 0x402012
mov eax, 0x40380c
push eax
call sub.msvcrt.dll__mkdir
add esp, 4
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x40202e
mov eax, 0x403708
push eax
call sub.msvcrt.dll_remove
add esp, 4
mov dword [ebp - 4], eax
mov eax, 0x403708
push eax
mov eax, 0x403604
push eax
call sub.msvcrt.dll_rename
add esp, 8
lea eax, [ebp - 0x148]
push eax
mov eax, dword [ebp - 0x30]
push eax
call sub.msvcrt.dll__findnext
add esp, 8
cmp eax, 0
je 0x401c6f
mov eax, dword [ebp - 0x30]
push eax
call sub.msvcrt.dll__findclose
add esp, 4
mov dword [ebp - 4], eax
leave
ret