Function at 0x423660
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x340
push ebx
push esi
push edi
mov al, byte [0x43dea0]
mov byte [ebp - 0x108], al
mov ecx, 0x3f
xor eax, eax
lea edi, [ebp - 0x107]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov dword [ebp - 0x29c], 1
mov ecx, dword [ebp + 0xc]
push ecx
call sub.MSVCRT.dll_strlen
add esp, 4
cmp eax, 0x7f
jbe 0x4236ab
xor eax, eax
jmp 0x423938
push 0x7f
mov edx, dword [ebp + 0xc]
push edx
lea eax, [ebp - 0x294]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpynA]
push 0
push 8
call sub.WINDCS32.dll_Ordinal_69
push eax
push 0x441224
lea ecx, [ebp - 0x108]
push ecx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
push str.proj.tmp
lea edx, [ebp - 0x108]
push edx
call sub.MSVCRT.dll_strcat
add esp, 8
push 0
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.MSVCRT.dll__access]
add esp, 8
test eax, eax
je 0x42371a
push 0x43e09c
lea ecx, [ebp - 0x214]
push ecx
call sub.MSVCRT.dll_strcpy
add esp, 8
jmp 0x42372e
push 0x441210
lea edx, [ebp - 0x214]
push edx
call sub.MSVCRT.dll_strcpy
add esp, 8
lea eax, [ebp - 0x214]
push eax
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.MSVCRT.dll_fopen]
add esp, 8
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x423752
xor eax, eax
jmp 0x423938
push 0x43e09c
lea edx, [ebp - 0x108]
push edx
call dword [sym.imp.MSVCRT.dll_fopen]
add esp, 8
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x4237a9
lea eax, [ebp - 0x108]
push eax
push str.Fatal_Error___No_Access_To___s_
lea ecx, [ebp - 0x300]
push ecx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
push 0x10
push str.RecHead.DLL
lea edx, [ebp - 0x300]
push edx
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
xor eax, eax
jmp 0x423938
mov word [ebp - 0x298], 0
jmp 0x4237c6
mov ax, word [ebp - 0x298]
add ax, 1
mov word [ebp - 0x298], ax
movsx ecx, word [ebp - 0x298]
movsx edx, word [ebp + 0x14]
cmp ecx, edx
jge 0x42384e
mov eax, dword [ebp - 8]
push eax
push 0xff
lea ecx, [ebp - 0x208]
push ecx
call dword [sym.imp.MSVCRT.dll_fgets]
add esp, 0xc
test eax, eax
jne 0x423835
movsx edx, word [ebp - 0x298]
test edx, edx
jne 0x423814
push 0x43ed24
lea eax, [ebp - 0x208]
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 8
jmp 0x423835
movsx ecx, word [ebp - 0x298]
push ecx
mov edx, dword [ebp + 0x10]
push edx
push str._s__d_n
lea eax, [ebp - 0x208]
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x10
mov ecx, dword [ebp - 4]
push ecx
lea edx, [ebp - 0x208]
push edx
call dword [sym.imp.MSVCRT.dll_fputs]
add esp, 8
jmp 0x4237b4
lea eax, [ebp - 0x294]
push eax
call sub.MSVCRT.dll_strlen
add esp, 4
movsx ecx, byte [ebp + eax - 0x295]
cmp ecx, 0xa
je 0x42387c
push 0x43ed24
lea edx, [ebp - 0x294]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcatA]
mov eax, dword [ebp - 4]
push eax
lea ecx, [ebp - 0x294]
push ecx
call dword [sym.imp.MSVCRT.dll_fputs]
add esp, 8
mov edx, dword [ebp - 8]
push edx
push 0xff
lea eax, [ebp - 0x208]
push eax
call dword [sym.imp.MSVCRT.dll_fgets]
add esp, 0xc
mov ecx, 1
test ecx, ecx
je 0x4238e7
mov edx, dword [ebp - 8]
push edx
push 0xff
lea eax, [ebp - 0x208]
push eax
call dword [sym.imp.MSVCRT.dll_fgets]
add esp, 0xc
test eax, eax
jne 0x4238d1
jmp 0x4238e7
mov ecx, dword [ebp - 4]
push ecx
lea edx, [ebp - 0x208]
push edx
call dword [sym.imp.MSVCRT.dll_fputs]
add esp, 8
jmp 0x4238a9
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.MSVCRT.dll_fclose]
add esp, 4
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.MSVCRT.dll_fclose]
add esp, 4
mov edx, dword [ebp + 8]
push edx
lea eax, [ebp - 0x108]
push eax
call fcn.0043560a
add esp, 8
test eax, eax
jne 0x423922
mov dword [ebp - 0x29c], 0
lea ecx, [ebp - 0x108]
push ecx
call dword [sym.imp.MSVCRT.dll_remove]
add esp, 4
mov eax, dword [ebp - 0x29c]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret