Function at 0x401bb0
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x70
push edi
mov dword [ebp - 0x24], 0x67
push 0
push 0
call dword [sym.imp.USER32.dll_EndDialog]
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0xc], 0x67
push 0x407504
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov dword [ebp - 8], eax
mov dword [ebp - 0x10], 0x3f
push 0
push 0
call dword [sym.imp.USER32.dll_EndDialog]
mov dword [ebp - 4], eax
mov dword [ebp - 0x28], 0x5a
call fcn.00401170
mov dword [ebp - 0x30], 1
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x20], 3
push 0x407500
mov eax, dword [0x407034]
push eax
call fcn.00401fd2
add esp, 8
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x18], 0x68a
cmp dword [ebp - 0x14], 0
je 0x401f72
mov dword [ebp - 0x4c], 0x64
mov ecx, dword [ebp - 0x1c]
add ecx, 1
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x68], 0x41
cmp dword [ebp - 0x1c], 5
jne 0x401c6e
mov edx, dword [ebp - 0x14]
push edx
mov eax, dword [0x409988]
push eax
call dword [0x409d08]
mov dword [0x409cac], eax
mov dword [ebp - 0x38], 0x86
cmp dword [ebp - 0x1c], 9
jne 0x401c91
mov ecx, dword [ebp - 0x14]
push ecx
mov edx, dword [0x409988]
push edx
call dword [0x409d08]
mov dword [0x409c8c], eax
mov dword [ebp - 0x5c], 0x2208
cmp dword [ebp - 0x1c], 1
jne 0x401cad
mov eax, dword [ebp - 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov dword [0x409988], eax
mov dword [ebp - 0x70], 1
cmp dword [ebp - 0x1c], 8
jne 0x401cd0
mov ecx, dword [ebp - 0x14]
push ecx
mov edx, dword [0x409988]
push edx
call dword [0x409d08]
mov dword [0x409cfc], eax
mov eax, dword [0x409f20]
cdq
mov ecx, 0x64
idiv ecx
mov dword [0x409ca0], eax
cmp dword [ebp - 0x1c], 6
jne 0x401d02
call fcn.004010c0
mov edx, dword [ebp - 0x14]
push edx
mov eax, dword [0x409988]
push eax
call dword [0x409d08]
mov dword [0x409d0c], eax
mov dword [ebp - 0x64], 0x3f
cmp dword [ebp - 0x1c], 0x11
jne 0x401d25
mov ecx, dword [ebp - 0x14]
push ecx
mov edx, dword [0x409988]
push edx
call dword [0x409d08]
mov dword [0x409f30], eax
mov dword [ebp - 0x58], 0x65
cmp dword [ebp - 0x1c], 0x10
jne 0x401d48
mov eax, dword [ebp - 0x14]
push eax
mov ecx, dword [0x409988]
push ecx
call dword [0x409d08]
mov dword [0x409d04], eax
mov eax, dword [0x409f20]
cdq
sub eax, edx
sar eax, 1
mov dword [0x409ca0], eax
cmp dword [ebp - 0x1c], 0x13
jne 0x401d79
mov edx, dword [ebp - 0x14]
push edx
mov eax, dword [0x409988]
push eax
call dword [0x409d08]
mov dword [0x409c84], eax
push 0
call fcn.00401ad0
mov dword [ebp - 0x54], 0x36
cmp dword [ebp - 0x1c], 3
jne 0x401d9c
mov ecx, dword [ebp - 0x14]
push ecx
mov edx, dword [0x409988]
push edx
call dword [0x409d08]
mov dword [0x409ca8], eax
mov dword [ebp - 0x3c], 0x4b
cmp dword [ebp - 0x1c], 0xd
jne 0x401dbf
mov eax, dword [ebp - 0x14]
push eax
mov ecx, dword [0x409988]
push ecx
call dword [0x409d08]
mov dword [0x409d00], eax
mov dword [ebp - 0x6c], 1
cmp dword [ebp - 0x1c], 0xc
jne 0x401de1
mov edx, dword [ebp - 0x14]
push edx
mov eax, dword [0x409988]
push eax
call dword [0x409d08]
mov dword [0x409f28], eax
mov dword [ebp - 0x50], 0xb
cmp dword [ebp - 0x1c], 0x12
jne 0x401e04
mov ecx, dword [ebp - 0x14]
push ecx
mov edx, dword [0x409988]
push edx
call dword [0x409d08]
mov dword [0x409c9c], eax
mov dword [ebp - 0x44], 2
cmp dword [ebp - 0x1c], 7
jne 0x401e27
mov eax, dword [ebp - 0x14]
push eax
mov ecx, dword [0x409988]
push ecx
call dword [0x409d08]
mov dword [0x409d14], eax
mov eax, dword [0x409f20]
cdq
mov ecx, 0x22
idiv ecx
mov eax, dword [0x409ca0]
imul eax, edx
mov dword [0x409f20], eax
cmp dword [ebp - 0x1c], 0xb
jne 0x401e5d
mov ecx, dword [ebp - 0x14]
push ecx
mov edx, dword [0x409988]
push edx
call dword [0x409d08]
mov dword [0x4099ac], eax
mov dword [ebp - 0x34], 0xa48
cmp dword [ebp - 0x1c], 4
jne 0x401e79
mov eax, dword [ebp - 0x14]
push eax
call dword [0x409ca8]
mov dword [0x409c90], eax
mov dword [ebp - 0x40], 0x3d
cmp dword [ebp - 0x1c], 0xe
jne 0x401e9c
mov ecx, dword [ebp - 0x14]
push ecx
mov edx, dword [0x409988]
push edx
call dword [0x409d08]
mov dword [0x4099a8], eax
mov dword [ebp - 0x48], 0x73
cmp dword [ebp - 0x1c], 2
jne 0x401ede
mov edi, dword [ebp - 0x14]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
add ecx, 0xffffffff
cmp ecx, 5
jae 0x401ec8
mov eax, dword [ebp - 0x1c]
sub eax, 1
mov dword [ebp - 0x1c], eax
jmp 0x401ede
mov ecx, dword [ebp - 0x14]
push ecx
mov edx, dword [0x409988]
push edx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x409d08], eax
mov eax, dword [0x409ca0]
xor edx, edx
mov ecx, 0xf
div ecx
mov eax, dword [0x409f20]
sub eax, 0x47
imul edx, eax
mov dword [0x409f20], edx
cmp dword [ebp - 0x1c], 0xf
jne 0x401f19
mov ecx, dword [ebp - 0x14]
push ecx
mov edx, dword [0x409c90]
push edx
call dword [0x409d08]
mov dword [0x409c88], eax
mov eax, dword [0x409ca0]
xor edx, edx
mov ecx, 0x44
div ecx
mov eax, dword [0x409f20]
sub eax, 0x47
imul edx, eax
mov dword [0x409f20], edx
cmp dword [ebp - 0x1c], 0xa
jne 0x401f54
mov ecx, dword [ebp - 0x14]
push ecx
mov edx, dword [0x409988]
push edx
call dword [0x409d08]
mov dword [0x409cb4], eax
mov dword [ebp - 0x60], 1
push 0x407500
push 0
call fcn.00401fd2
add esp, 8
mov dword [ebp - 0x14], eax
jmp 0x401c32
xor eax, eax
pop edi
mov esp, ebp
pop ebp
ret