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

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
sub esp, 0x28
mov eax, dword [ebp + 8]
mov dword [ebp - 0x2c], eax
mov eax, dword [0x444080]
xor eax, ebp
mov dword [ebp - 0xc], eax
mov ecx, dword [0x445524]
mov eax, dword [0x445520]
mov edx, ecx
sub edx, 0x5dcac072
sub edx, 1
add edx, 0x5dcac072
imul ecx, edx
and ecx, 1
cmp ecx, 0
sete cl
and cl, 1
mov byte [ebp - 0x22], cl
cmp eax, 0xa
setl al
and al, 1
mov byte [ebp - 0x21], al
mov dword [ebp - 0x28], 0xb2d29f49
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x30], eax
sub eax, 0x884a2f72
je 0x41409a
jmp 0x413dae
mov eax, dword [ebp - 0x30]
sub eax, 0x9b7b9dc0
je 0x413f1c
jmp 0x413dc1
mov eax, dword [ebp - 0x30]
sub eax, 0xb2d29f49
je 0x413ef6
jmp 0x413dd4
mov eax, dword [ebp - 0x30]
sub eax, 0xbb0088fc
je 0x4141fe
jmp 0x413de7
mov eax, dword [ebp - 0x30]
sub eax, 0xc3f9be62
je 0x4141cd
jmp 0x413dfa
mov eax, dword [ebp - 0x30]
sub eax, 0xc40e9ec6
je 0x413fa5
jmp 0x413e0d
mov eax, dword [ebp - 0x30]
sub eax, 0xded47856
je 0x4140c0
jmp 0x413e20
mov eax, dword [ebp - 0x30]
sub eax, 0xe418e626
je 0x413fd7
jmp 0x413e33
mov eax, dword [ebp - 0x30]
sub eax, 0xcddb199
je 0x414086
jmp 0x413e46
mov eax, dword [ebp - 0x30]
sub eax, 0x1306258e
je 0x4141ea
jmp 0x413e59
mov eax, dword [ebp - 0x30]
sub eax, 0x1b28c24e
je 0x4141c1
jmp 0x413e6c
mov eax, dword [ebp - 0x30]
sub eax, 0x36f63b85
je 0x41420a
jmp 0x413e7f
mov eax, dword [ebp - 0x30]
sub eax, 0x39a45194
je 0x41414e
jmp 0x413e92
mov eax, dword [ebp - 0x30]
sub eax, 0x4511aff7
je 0x413fb1
jmp 0x413ea5
mov eax, dword [ebp - 0x30]
sub eax, 0x48816a6d
je 0x41406b
jmp 0x413eb8
mov eax, dword [ebp - 0x30]
sub eax, 0x4d7846d7
je 0x4141d9
jmp 0x413ecb
mov eax, dword [ebp - 0x30]
sub eax, 0x6b848522
je 0x4140db
jmp 0x413ede
mov eax, dword [ebp - 0x30]
sub eax, 0x775e23a3
je 0x414025
jmp 0x413ef1
jmp 0x414211
mov al, byte [ebp - 0x22]
mov cl, byte [ebp - 0x21]
mov dl, al
and dl, cl
xor al, cl
or dl, al
mov eax, 0x1306258e
mov ecx, 0x9b7b9dc0
test dl, 1
cmovne eax, ecx
mov dword [ebp - 0x28], eax
jmp 0x414211
mov ecx, dword [ebp - 0x2c]
push eax
mov eax, esp
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
mov dword [eax], ecx
mov eax, dword [ebp - 0x20]
mov eax, dword [eax]
mov dword [ebp - 0x1c], eax
mov ecx, dword [0x445524]
mov eax, dword [0x445520]
mov edx, ecx
sub edx, 0x92f842f
sub edx, 1
add edx, 0x92f842f
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, 0x1306258e
mov ecx, 0xc40e9ec6
test dl, 1
cmovne eax, ecx
mov dword [ebp - 0x28], eax
jmp 0x414211
mov dword [ebp - 0x28], 0x4511aff7
jmp 0x414211
mov eax, dword [ebp - 0x1c]
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 - 0x28], 0xe418e626
jmp 0x414211
mov eax, dword [0x445524]
mov ecx, dword [0x445520]
mov edx, eax
add edx, 0xca9df441
sub edx, 1
sub edx, 0xca9df441
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, 0xbb0088fc
mov ecx, 0x775e23a3
test dl, 1
cmovne eax, ecx
mov dword [ebp - 0x28], eax
jmp 0x414211
mov eax, dword [0x445524]
mov ecx, dword [0x445520]
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, 0xbb0088fc
mov ecx, 0x48816a6d
test dl, 1
cmovne eax, ecx
mov dword [ebp - 0x28], eax
jmp 0x414211
mov dl, byte [ebp - 0x15]
mov eax, 0x4d7846d7
mov ecx, 0xcddb199
test dl, 1
cmovne eax, ecx
mov dword [ebp - 0x28], eax
jmp 0x414211
mov eax, dword [ebp - 0x20]
mov eax, dword [eax]
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x28], 0x884a2f72
jmp 0x414211
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 - 0x28], 0xded47856
jmp 0x414211
mov dl, byte [ebp - 0xd]
mov eax, 0x6b848522
mov ecx, 0xc3f9be62
test dl, 1
cmovne eax, ecx
mov dword [ebp - 0x28], eax
jmp 0x414211
mov ecx, dword [0x445524]
mov eax, dword [0x445520]
mov edx, ecx
add edx, 0xa26badfa
sub edx, 1
sub edx, 0xa26badfa
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, 0x36f63b85
mov ecx, 0x39a45194
test dl, 1
cmovne eax, ecx
mov dword [ebp - 0x28], eax
jmp 0x414211
mov ecx, dword [0x445524]
mov eax, dword [0x445520]
mov edx, ecx
sub edx, 0x81ea2bd2
sub edx, 1
add edx, 0x81ea2bd2
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, 0x36f63b85
mov ecx, 0x1b28c24e
test dl, 1
cmovne eax, ecx
mov dword [ebp - 0x28], eax
jmp 0x414211
mov dword [ebp - 0x28], 0x4d7846d7
jmp 0x414211
mov dword [ebp - 0x28], 0x4d7846d7
jmp 0x414211
mov ecx, dword [ebp - 0xc]
xor ecx, ebp
call fcn.0042cfd0
lea esp, [ebp - 8]
pop esi
pop ebx
pop ebp
ret
mov ecx, dword [ebp - 0x2c]
push eax
mov eax, esp
mov dword [eax], ecx
mov dword [ebp - 0x28], 0x9b7b9dc0
jmp 0x414211
mov dword [ebp - 0x28], 0x775e23a3
jmp 0x414211
mov dword [ebp - 0x28], 0x39a45194
jmp 0x413d98