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

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
sub esp, 0x24
mov eax, dword [ebp + 8]
mov dword [ebp - 0x28], eax
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 0xc], eax
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 cl
and cl, 1
mov byte [ebp - 0x1e], cl
cmp eax, 0xa
setl al
and al, 1
mov byte [ebp - 0x1d], al
mov dword [ebp - 0x24], 0x2806670c
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x2c], eax
sub eax, 0x88dc238c
je 0x403172
jmp 0x402ee6
mov eax, dword [ebp - 0x2c]
sub eax, 0x9711cb57
je 0x403079
jmp 0x402ef9
mov eax, dword [ebp - 0x2c]
sub eax, 0x977764c1
je 0x4031f9
jmp 0x402f0c
mov eax, dword [ebp - 0x2c]
sub eax, 0xa1753918
je 0x4031ed
jmp 0x402f1f
mov eax, dword [ebp - 0x2c]
sub eax, 0xb43d82fe
je 0x4032b1
jmp 0x402f32
mov eax, dword [ebp - 0x2c]
sub eax, 0xbf6ef06f
je 0x403341
jmp 0x402f45
mov eax, dword [ebp - 0x2c]
sub eax, 0xc88bf8d8
je 0x40334d
jmp 0x402f58
mov eax, dword [ebp - 0x2c]
sub eax, 0xdc10f999
je 0x403330
jmp 0x402f6b
mov eax, dword [ebp - 0x2c]
sub eax, 0x1344a38c
je 0x4030d9
jmp 0x402f7e
mov eax, dword [ebp - 0x2c]
sub eax, 0x161bb7e9
je 0x40321f
jmp 0x402f91
mov eax, dword [ebp - 0x2c]
sub eax, 0x2806670c
je 0x40302e
jmp 0x402fa4
mov eax, dword [ebp - 0x2c]
sub eax, 0x28f722df
je 0x403124
jmp 0x402fb7
mov eax, dword [ebp - 0x2c]
sub eax, 0x3c6d0c07
je 0x40335c
jmp 0x402fca
mov eax, dword [ebp - 0x2c]
sub eax, 0x408ae448
je 0x403246
jmp 0x402fdd
mov eax, dword [ebp - 0x2c]
sub eax, 0x514e2f63
je 0x403109
jmp 0x402ff0
mov eax, dword [ebp - 0x2c]
sub eax, 0x57078c86
je 0x403324
jmp 0x403003
mov eax, dword [ebp - 0x2c]
sub eax, 0x59114164
je 0x4030cd
jmp 0x403016
mov eax, dword [ebp - 0x2c]
sub eax, 0x64fcd529
je 0x40323a
jmp 0x403029
jmp 0x403363
mov bl, byte [ebp - 0x1e]
mov dh, byte [ebp - 0x1d]
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, 0xbf6ef06f
mov ecx, 0x9711cb57
test dl, 1
cmovne eax, ecx
mov dword [ebp - 0x24], eax
jmp 0x403363
push eax
mov eax, esp
mov dword [ebp - 0x1c], eax
mov eax, dword [0x42137c]
mov ecx, dword [0x421378]
mov edx, eax
add edx, 0x7e031dd2
sub edx, 1
sub edx, 0x7e031dd2
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, 0xbf6ef06f
mov ecx, 0x59114164
test dl, 1
cmovne eax, ecx
mov dword [ebp - 0x24], eax
jmp 0x403363
mov dword [ebp - 0x24], 0x1344a38c
jmp 0x403363
mov ecx, dword [ebp - 0x28]
mov eax, dword [ebp - 0x1c]
mov dword [eax], ecx
mov eax, dword [ebp - 0x1c]
mov eax, dword [eax]
sub esp, 4
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
setne al
and al, 1
mov byte [ebp - 0x15], al
mov dword [ebp - 0x24], 0x514e2f63
jmp 0x403363
mov dl, byte [ebp - 0x15]
mov eax, 0xdc10f999
mov ecx, 0x28f722df
test dl, 1
cmovne eax, ecx
mov dword [ebp - 0x24], eax
jmp 0x403363
mov eax, dword [0x42137c]
mov ecx, dword [0x421378]
mov edx, eax
sub edx, 0x4cc6db63
sub edx, 1
add edx, 0x4cc6db63
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, 0xc88bf8d8
mov ecx, 0x88dc238c
test dl, 1
cmovne eax, ecx
mov dword [ebp - 0x24], eax
jmp 0x403363
mov eax, dword [ebp - 0x1c]
mov eax, dword [eax]
mov dword [ebp - 0x14], eax
mov ecx, dword [0x42137c]
mov eax, dword [0x421378]
mov edx, ecx
add edx, 0x2e032cf3
sub edx, 1
sub edx, 0x2e032cf3
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, 0
mov dl, al
and dl, 0
and bl, cl
mov ch, ah
and ch, 0
and dh, cl
or dl, bl
or ch, dh
xor dl, ch
or al, ah
xor al, 0xff
or cl, 0
and al, cl
or dl, al
mov eax, 0xc88bf8d8
mov ecx, 0xa1753918
test dl, 1
cmovne eax, ecx
mov dword [ebp - 0x24], eax
jmp 0x403363
mov dword [ebp - 0x24], 0x977764c1
jmp 0x403363
mov eax, dword [ebp - 0x14]
sub esp, 4
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
cmp eax, 0
setne al
and al, 1
mov byte [ebp - 0xd], al
mov dword [ebp - 0x24], 0x161bb7e9
jmp 0x403363
mov dl, byte [ebp - 0xd]
mov eax, 0x64fcd529
mov ecx, 0x408ae448
test dl, 1
cmovne eax, ecx
mov dword [ebp - 0x24], eax
jmp 0x403363
mov dword [ebp - 0x24], 0xdc10f999
jmp 0x403363
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, 0x3c6d0c07
mov ecx, 0xb43d82fe
test dl, 1
cmovne eax, ecx
mov dword [ebp - 0x24], eax
jmp 0x403363
mov ecx, dword [0x42137c]
mov eax, dword [0x421378]
mov edx, ecx
add edx, 0xb455a243
sub edx, 1
sub edx, 0xb455a243
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, 0x3c6d0c07
mov ecx, 0x57078c86
test dl, 1
cmovne eax, ecx
mov dword [ebp - 0x24], eax
jmp 0x403363
mov dword [ebp - 0x24], 0xdc10f999
jmp 0x403363
mov ecx, dword [ebp - 0xc]
xor ecx, ebp
call fcn.0040b7cb
lea esp, [ebp - 8]
pop esi
pop ebx
pop ebp
ret
mov dword [ebp - 0x24], 0x9711cb57
jmp 0x403363
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x24], 0x88dc238c
jmp 0x403363
mov dword [ebp - 0x24], 0xb43d82fe
jmp 0x402ed0