Function at 0x423110
Capabilities:
Delete file

Disassembly:
sub esp, 8
cmp dword [0x4fa3dc], 0
push esi
push edi
je 0x423158
cmp dword [0x4fa3e0], 0
jne 0x423165
cmp byte [0x86cba8], 0
je 0x4236be
xor ecx, ecx
nop word [eax + eax]
mov al, byte [ecx + 0x86cba8]
lea ecx, [ecx + 1]
mov byte [ecx + 0x486ebe7], al
test al, al
jne 0x423140
jmp 0x4236be
cmp dword [0x4fa3e0], 0
je 0x4236be
push 0x86cba8
mov dword [0x4f9d60], 0
call fcn.00431fe0
mov ecx, dword [0x4f9d60]
add esp, 4
mov edx, 1
test eax, eax
mov esi, 0x486dbe8
cmovne ecx, edx
mov dword [0x4f9d60], ecx
mov ecx, esi
lea edx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4231a0
sub ecx, edx
push ecx
call fcn.0041b150
mov edx, eax
add esp, 4
sub edx, 0x486dbe8
nop word [eax + eax]
mov cl, byte [esi]
lea esi, [esi + 1]
mov byte [edx + esi - 1], cl
test cl, cl
jne 0x4231c0
push eax
call dword [sym.imp.USER32.dll_CharUpperA]
mov esi, eax
lea edx, [eax + 1]
nop dword [eax]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4231e0
sub eax, edx
push eax
call fcn.0041b150
push 0x4af248
push esi
mov edi, eax
call fcn.0048e680
add esp, 0xc
test eax, eax
je 0x423214
sub eax, esi
push eax
push esi
push edi
call fcn.0048e8f0
add esp, 0xc
mov edi, eax
jmp 0x42322d
mov ecx, edi
sub ecx, esi
nop dword [eax + eax]
mov al, byte [esi]
lea esi, [esi + 1]
mov byte [ecx + esi - 1], al
test al, al
jne 0x423220
push str.__.rc
push edi
push 2
call fcn.0048a460
mov edx, dword [0x4fa588]
add esp, 0xc
mov esi, edx
sub esi, eax
mov cl, byte [eax]
lea eax, [eax + 1]
mov byte [esi + eax - 1], cl
test cl, cl
jne 0x423247
mov ecx, 0x486ebe8
sub ecx, edx
nop dword [eax + eax]
mov al, byte [edx]
lea edx, [edx + 1]
mov byte [ecx + edx - 1], al
test al, al
jne 0x423260
push 0x4af3b4
push 0x4877be8
call fcn.004961ba
add esp, 8
mov dword [0x4fa608], eax
test eax, eax
je 0x42376b
push 0x4af3ec
push dword [0x4fa588]
call fcn.004961ba
add esp, 8
mov dword [0x4fa60c], eax
test eax, eax
je 0x42378f
push str.____BCX_Generated_Resource_File
push 0x4aedd4
push eax
call fcn.00447300
mov eax, dword [0x4887b88]
add esp, 0xc
inc eax
and eax, 0x7ff
mov dword [0x4887b88], eax
mov eax, dword [eax*4 + 0x4887b90]
test eax, eax
je 0x4232f3
push eax
call fcn.004912bf
mov eax, dword [0x4887b88]
add esp, 4
mov dword [eax*4 + 0x4887b90], 0
push 1
push 0x101
call fcn.004912b4
mov ecx, dword [0x4887b88]
mov esi, eax
lea eax, [esp + 0x10]
push eax
mov dword [ecx*4 + 0x4887b90], esi
call fcn.00499280
lea eax, [esp + 0x14]
push eax
call fcn.00498eb8
push eax
push str._H:_M:_S
push 0x100
push esi
call fcn.00499261
push 0
call fcn.00489c00
push esi
push str._Time:
push eax
push str.____Date:
push str._s_s_s_s_n
push dword [0x4fa60c]
call fcn.00447300
push 0x4ad0f1
push 0x4aedd4
push dword [0x4fa60c]
call fcn.00447300
add esp, 0x48
push str.include__windows.h_
push 0x4aedd4
push dword [0x4fa60c]
call fcn.00447300
push 0x4ad0f1
push 0x4aedd4
push dword [0x4fa60c]
call fcn.00447300
add esp, 0x18
cmp dword [0x4f9d60], 0
je 0x423509
push 0x4af3b4
push 0x86cba8
call fcn.004961ba
add esp, 8
mov dword [0x4fa610], eax
test eax, eax
jne 0x4233cd
push 0x86cba8
jmp 0x423770
push str.___Users_.rc_file_listing
push 0x4aedd4
push dword [0x4fa60c]
call fcn.00447300
push 0x4ad0f1
push 0x4aedd4
push dword [0x4fa60c]
call fcn.00447300
mov edi, dword [0x4fa610]
push edi
call fcn.00495e7b
mov esi, eax
push edi
push esi
call fcn.004962ca
add esp, 0x24
cmp esi, 0xffffffff
je 0x423509
nop dword [eax + eax]
push dword [0x4fa610]
mov byte [0x4870be8], 0
push 0x800
push 0x4870be8
call fcn.004960d1
push dword [0x4fa610]
call fcn.00495a9f
add esp, 0x10
test eax, eax
jne 0x42346c
mov ecx, 0x4870be8
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x423456
sub ecx, edx
cmp byte [ecx + 0x4870be7], 0xa
jne 0x4236e0
push 0x4af3f0
push 0x4870be8
call fcn.00490f00
add esp, 8
cmp eax, 0x800
jae 0x423766
mov ecx, 0x4870be8
mov byte [eax + 0x4870be8], 0
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x423498
sub ecx, edx
js 0x4234d3
push str.windows.h
push 0x4870be8
call fcn.00489690
add esp, 8
test eax, eax
je 0x4234d3
movzx ecx, byte [0x4870be8]
sub eax, 0x4870be8
inc eax
xor edx, edx
test eax, eax
cmovg ecx, edx
mov byte [0x4870be8], cl
push 0x4870be8
push 0x4aedd4
push dword [0x4fa60c]
call fcn.00447300
mov edi, dword [0x4fa610]
push edi
call fcn.00495e7b
mov esi, eax
push edi
push esi
call fcn.004962ca
add esp, 0x18
cmp esi, 0xffffffff
jne 0x423420
push 0x4ad0f1
push 0x4aedd4
push dword [0x4fa60c]
call fcn.00447300
push str.___BCX_generated_.rc_file_listing
push 0x4aedd4
push dword [0x4fa60c]
call fcn.00447300
push 0x4ad0f1
push 0x4aedd4
push dword [0x4fa60c]
call fcn.00447300
mov edi, dword [0x4fa608]
push edi
call fcn.00495e7b
mov esi, eax
push edi
push esi
call fcn.004962ca
add esp, 0x30
cmp esi, 0xffffffff
je 0x423661
nop dword [eax]
push dword [0x4fa608]
mov byte [0x4870be8], 0
push 0x800
push 0x4870be8
call fcn.004960d1
push dword [0x4fa608]
call fcn.00495a9f
add esp, 0x10
test eax, eax
jne 0x4235bc
mov ecx, 0x4870be8
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4235a6
sub ecx, edx
cmp byte [ecx + 0x4870be7], 0xa
jne 0x423723
push 0x4af3f0
push 0x4870be8
call fcn.00490f00
add esp, 8
cmp eax, 0x800
jae 0x423766
mov ecx, 0x4870be8
mov byte [eax + 0x4870be8], 0
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4235e8
sub ecx, edx
js 0x42362b
push 0x4ba0c4
push 0x4870be8
call fcn.00489690
add esp, 8
test eax, eax
je 0x42362b
sub eax, 0x4870be8
inc eax
test eax, eax
jle 0x42362b
push 0x4ad0f1
push 0x4aedd4
push dword [0x4fa60c]
call fcn.00447300
add esp, 0xc
push 0x4870be8
push 0x4aedd4
push dword [0x4fa60c]
call fcn.00447300
mov edi, dword [0x4fa608]
push edi
call fcn.00495e7b
mov esi, eax
push edi
push esi
call fcn.004962ca
add esp, 0x18
cmp esi, 0xffffffff
jne 0x423570
mov eax, dword [0x4fa60c]
test eax, eax
je 0x42367d
push eax
call fcn.004959c4
add esp, 4
mov dword [0x4fa60c], 0
mov eax, dword [0x4fa608]
test eax, eax
je 0x423699
push eax
call fcn.004959c4
add esp, 4
mov dword [0x4fa608], 0
cmp dword [0x4f9d60], 0
je 0x4236be
mov eax, dword [0x4fa610]
test eax, eax
je 0x4236be
push eax
call fcn.004959c4
add esp, 4
mov dword [0x4fa610], 0
push 0x4877be8
call fcn.00431fe0
add esp, 4
test eax, eax
je 0x4236da
push 0x4877be8
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
pop edi
pop esi
add esp, 8
ret
push dword [0x4fa610]
call fcn.00440c00
push eax
push 0x5fef
push str.Error____LINE_INPUT_truncation_detected_at_PROGRAM_line:
push 0x4af430
call fcn.0048d860
push str.The_actual_truncated_line_of_text:
push 0x4aedd4
call fcn.0048d860
push 0x4870be8
push 0x4af474
call fcn.0048d860
add esp, 0x24
jmp 0x423788
push dword [0x4fa608]
call fcn.00440c00
push eax
push 0x6006
push str.Error____LINE_INPUT_truncation_detected_at_PROGRAM_line:
push 0x4af430
call fcn.0048d860
push str.The_actual_truncated_line_of_text:
push 0x4aedd4
call fcn.0048d860
push 0x4870be8
push 0x4af474
call fcn.0048d860
add esp, 0x24
jmp 0x423788
call fcn.0048da22
push 0x4877be8
push 0x4af3b8
push 2
call fcn.0049581b
add esp, 4
push eax
call fcn.00447300
add esp, 0xc
push 1
call fcn.00491649
mov esi, dword [0x4fa588]
push 2
call fcn.0049581b
push esi
push 0x4af3b8
push eax
call fcn.00447300
add esp, 0x10
push 1
call fcn.00491649
int3