Function at 0x403d60
Capabilities:
Check if file exists
Delete file
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
sub esp, 0x20
mov eax, dword [ebp + 8]
mov dword [ebp - 0x24], eax
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 0xc], eax
mov ecx, dword [0x42137c]
mov eax, dword [0x421378]
mov edx, ecx
add edx, 0x8e8e29d0
sub edx, 1
sub edx, 0x8e8e29d0
imul ecx, edx
and ecx, 1
cmp ecx, 0
sete cl
and cl, 1
mov byte [ebp - 0x1a], cl
cmp eax, 0xa
setl al
and al, 1
mov byte [ebp - 0x19], al
mov dword [ebp - 0x20], 0x6fcf8ed9
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x28], eax
sub eax, 0x96cc7da4
je 0x403fd3
jmp 0x403dce
mov eax, dword [ebp - 0x28]
sub eax, 0x974d43b9
je 0x403fa8
jmp 0x403de1
mov eax, dword [ebp - 0x28]
sub eax, 0xb0481eed
je 0x404179
jmp 0x403df4
mov eax, dword [ebp - 0x28]
sub eax, 0xb3acf466
je 0x404019
jmp 0x403e07
mov eax, dword [ebp - 0x28]
sub eax, 0xb6ff1654
je 0x4041bf
jmp 0x403e1a
mov eax, dword [ebp - 0x28]
sub eax, 0xc478e831
je 0x403f3c
jmp 0x403e2d
mov eax, dword [ebp - 0x28]
sub eax, 0xd170a526
je 0x404073
jmp 0x403e40
mov eax, dword [ebp - 0x28]
sub eax, 0xecaccef4
je 0x4041a2
jmp 0x403e53
mov eax, dword [ebp - 0x28]
sub eax, 0xfdf8f859
je 0x404099
jmp 0x403e66
mov eax, dword [ebp - 0x28]
sub eax, 0x22ff41e0
je 0x40411f
jmp 0x403e79
mov eax, dword [ebp - 0x28]
sub eax, 0x2530bc17
je 0x404196
jmp 0x403e8c
mov eax, dword [ebp - 0x28]
sub eax, 0x2ed5ba44
je 0x403f94
jmp 0x403e9f
mov eax, dword [ebp - 0x28]
sub eax, 0x403a8a67
je 0x403f88
jmp 0x403eb2
mov eax, dword [ebp - 0x28]
sub eax, 0x50088b8b
je 0x40416d
jmp 0x403ec5
mov eax, dword [ebp - 0x28]
sub eax, 0x65ec487d
je 0x404185
jmp 0x403ed8
mov eax, dword [ebp - 0x28]
sub eax, 0x6fcf8ed9
je 0x403f16
jmp 0x403eeb
mov eax, dword [ebp - 0x28]
sub eax, 0x797e41da
je 0x4040b4
jmp 0x403efe
mov eax, dword [ebp - 0x28]
sub eax, 0x7d14c089
je 0x40407f
jmp 0x403f11
jmp 0x4041c6
mov al, byte [ebp - 0x1a]
mov cl, byte [ebp - 0x19]
mov dl, al
and dl, cl
xor al, cl
or dl, al
mov eax, 0x2530bc17
mov ecx, 0xc478e831
test dl, 1
cmovne eax, ecx
mov dword [ebp - 0x20], eax
jmp 0x4041c6
push eax
mov eax, esp
mov dword [ebp - 0x18], eax
mov eax, dword [0x42137c]
mov ecx, dword [0x421378]
xor esi, esi
sub esi, 1
mov edx, eax
add edx, esi
imul eax, edx
and eax, 1
cmp eax, 0
sete al
cmp ecx, 0xa
setl cl
mov dl, al
and dl, cl
xor al, cl
or dl, al
mov eax, 0x2530bc17
mov ecx, 0x403a8a67
test dl, 1
cmovne eax, ecx
mov dword [ebp - 0x20], eax
jmp 0x4041c6
mov dword [ebp - 0x20], 0x2ed5ba44
jmp 0x4041c6
mov ecx, dword [ebp - 0x24]
mov eax, dword [ebp - 0x18]
mov dword [eax], ecx
mov dword [ebp - 0x20], 0x974d43b9
jmp 0x4041c6
mov eax, dword [ebp - 0x18]
mov eax, dword [eax]
sub esp, 4
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
mov edx, eax
mov eax, 0x65ec487d
mov ecx, 0x96cc7da4
cmp edx, 0xffffffff
cmovne eax, ecx
mov dword [ebp - 0x20], eax
jmp 0x4041c6
mov eax, dword [0x42137c]
mov ecx, dword [0x421378]
xor esi, esi
sub esi, 1
mov edx, eax
add edx, esi
imul eax, edx
and eax, 1
cmp eax, 0
sete al
cmp ecx, 0xa
setl cl
mov dl, al
and dl, cl
xor al, cl
or dl, al
mov eax, 0xecaccef4
mov ecx, 0xb3acf466
test dl, 1
cmovne eax, ecx
mov dword [ebp - 0x20], eax
jmp 0x4041c6
mov eax, dword [ebp - 0x18]
mov eax, dword [eax]
sub esp, 4
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov dword [ebp - 0x14], eax
mov eax, dword [0x42137c]
mov ecx, dword [0x421378]
xor esi, esi
sub esi, 1
mov edx, eax
add edx, esi
imul eax, edx
and eax, 1
cmp eax, 0
sete al
cmp ecx, 0xa
setl cl
mov dl, al
and dl, cl
xor al, cl
or dl, al
mov eax, 0xecaccef4
mov ecx, 0xd170a526
test dl, 1
cmovne eax, ecx
mov dword [ebp - 0x20], eax
jmp 0x4041c6
mov dword [ebp - 0x20], 0x7d14c089
jmp 0x4041c6
mov eax, dword [ebp - 0x14]
cmp eax, 0
setne al
and al, 1
mov byte [ebp - 0xd], al
mov dword [ebp - 0x20], 0xfdf8f859
jmp 0x4041c6
mov dl, byte [ebp - 0xd]
mov eax, 0x797e41da
mov ecx, 0xb0481eed
test dl, 1
cmovne eax, ecx
mov dword [ebp - 0x20], eax
jmp 0x4041c6
mov ecx, dword [0x42137c]
mov eax, dword [0x421378]
xor esi, esi
sub esi, 1
mov edx, ecx
add edx, esi
imul ecx, edx
and ecx, 1
cmp ecx, 0
sete bl
cmp eax, 0xa
setl dh
mov al, bl
xor al, 0xff
mov ah, dh
xor ah, 0xff
mov cl, 1
xor cl, 1
mov dl, al
and dl, 0xff
and bl, cl
mov ch, ah
and ch, 0xff
and dh, cl
or dl, bl
or ch, dh
xor dl, ch
or al, ah
xor al, 0xff
or cl, 1
and al, cl
or dl, al
mov eax, 0xb6ff1654
mov ecx, 0x22ff41e0
test dl, 1
cmovne eax, ecx
mov dword [ebp - 0x20], eax
jmp 0x4041c6
mov eax, dword [0x42137c]
mov ecx, dword [0x421378]
mov edx, eax
sub edx, 0x65dae095
sub edx, 1
add edx, 0x65dae095
imul eax, edx
and eax, 1
cmp eax, 0
sete al
cmp ecx, 0xa
setl cl
mov dl, al
and dl, cl
xor al, cl
or dl, al
mov eax, 0xb6ff1654
mov ecx, 0x50088b8b
test dl, 1
cmovne eax, ecx
mov dword [ebp - 0x20], eax
jmp 0x4041c6
mov dword [ebp - 0x20], 0x65ec487d
jmp 0x4041c6
mov dword [ebp - 0x20], 0x65ec487d
jmp 0x4041c6
mov ecx, dword [ebp - 0xc]
xor ecx, ebp
call fcn.0040bb90
lea esp, [ebp - 8]
pop esi
pop ebx
pop ebp
ret
mov dword [ebp - 0x20], 0xc478e831
jmp 0x4041c6
mov eax, dword [ebp - 0x18]
mov eax, dword [eax]
sub esp, 4
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov dword [ebp - 0x20], 0xb3acf466
jmp 0x4041c6
mov dword [ebp - 0x20], 0x22ff41e0
jmp 0x403db8