Function at 0x43ad94
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push eax
mov eax, 2
add esp, 0xfffff004
push eax
dec eax
jne 0x43ad9d
mov eax, dword [ebp - 4]
add esp, 0xfffffff8
push ebx
push esi
push edi
mov ebx, dword [ebp + 0x1c]
mov esi, dword [ebp + 0xc]
test ebx, 0x10000000
je 0x43adc6
call fcn.00403314
mov byte [ebp - 9], al
xor eax, eax
mov dword [ebp - 4], eax
xor edx, edx
mov dword [ebp - 8], edx
xor edi, edi
test esi, esi
jne 0x43ade5
lea eax, [ebp - 0x200c]
push eax
call fcn.00405e00
pop ecx
jmp 0x43ae0e
push esi
push edi
xor eax, eax
mov edi, esi
or ecx, 0xffffffff
lea esi, [ebp - 0x200c]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov edx, ecx
xchg edi, esi
shr ecx, 2
mov eax, edi
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
pop edi
pop esi
test bl, 0x10
mov esi, 0x8204140
je 0x43ae1b
or esi, 0x10
test bl, 4
je 0x43ae23
or esi, 4
mov eax, ebx
and eax, 0x10000000
test eax, eax
je 0x43ae74
mov edx, dword [ebp + 8]
lea ecx, [ebp - 0x100c]
push edx
push 0x5ea6fe
push ecx
call fcn.004d75f8
add esp, 0xc
mov eax, ebx
and eax, 0x10000000
test eax, eax
je 0x43ae74
push 0
push 0x2006
push 0x3c
push 0xffffffffffffff9c
push 0x8c
push 0x50
push 0
lea edx, [ebp - 0x100c]
push edx
call fcn.00403134
add esp, 0x20
push esi
push 0
mov ecx, dword [ebp + 0x18]
push ecx
lea ecx, [ebp - 0x200c]
mov eax, dword [ebp + 0x14]
push eax
mov edx, dword [ebp + 0x10]
push edx
push ecx
mov eax, dword [ebp + 8]
push eax
call fcn.00439b2c
add esp, 0x1c
test eax, eax
je 0x43b24f
push 1
lea edx, [ebp - 0x200c]
push edx
call fcn.00403dc0
add esp, 8
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
test ecx, ecx
jne 0x43aecd
push 5
lea eax, [ebp - 0x200c]
push eax
call fcn.00403dc0
add esp, 8
mov dword [ebp - 4], eax
mov edx, dword [ebp - 4]
test edx, edx
je 0x43b24f
mov ecx, dword [ebp - 8]
test ecx, ecx
je 0x43af0a
lea eax, [ebp - 0x200c]
push eax
call fcn.004d2f1c
pop ecx
push eax
lea edx, [ebp - 0x200c]
push edx
mov ecx, dword [ebp - 8]
push ecx
call fcn.004042d0
add esp, 0xc
mov eax, dword [ebp - 8]
push eax
call fcn.004043a4
pop ecx
mov edx, dword [ebp - 8]
test edx, edx
je 0x43af2e
push 0xb
push 0x5ea709
mov ecx, dword [ebp - 8]
push ecx
call fcn.004042d0
add esp, 0xc
mov eax, dword [ebp - 8]
push eax
call fcn.004043a4
pop ecx
mov edi, 1
mov eax, dword [ebp - 4]
push eax
call fcn.00404034
pop ecx
lea edx, [ebp - 0x100c]
push edx
push 0x1000
mov ecx, dword [ebp - 4]
push ecx
call fcn.004049a8
add esp, 0xc
test eax, eax
jl 0x43b24f
push 1
lea eax, [ebp - 0x100c]
push eax
call fcn.00438900
add esp, 8
movsx edx, byte [ebp - 0x100c]
cmp edx, 0x3c
jne 0x43afaa
movsx ecx, byte [ebp - 0x100b]
cmp ecx, 0x42
jne 0x43afaa
movsx eax, byte [ebp - 0x100a]
cmp eax, 0x41
jne 0x43afaa
movsx edx, byte [ebp - 0x1009]
cmp edx, 0x53
jne 0x43afaa
movsx ecx, byte [ebp - 0x1008]
cmp ecx, 0x3e
je 0x43af3d
movsx eax, byte [ebp - 0x100c]
cmp eax, 0x3c
jne 0x43b0a9
movsx edx, byte [ebp - 0x100b]
cmp edx, 0x44
jne 0x43b0a9
movsx ecx, byte [ebp - 0x100a]
cmp ecx, 0x49
jne 0x43b0a9
movsx eax, byte [ebp - 0x1009]
cmp eax, 0x52
jne 0x43b0a9
movsx edx, byte [ebp - 0x1008]
cmp edx, 0x3e
jne 0x43b0a9
mov ecx, dword [ebp - 8]
test ecx, ecx
je 0x43b02c
lea eax, [ebp - 0x100c]
push eax
call fcn.004d2f1c
pop ecx
push eax
lea edx, [ebp - 0x100c]
push edx
mov ecx, dword [ebp - 8]
push ecx
call fcn.004042d0
add esp, 0xc
mov eax, dword [ebp - 8]
push eax
call fcn.004043a4
pop ecx
mov eax, ebx
and eax, 0x10000000
test eax, eax
je 0x43b05e
test eax, eax
je 0x43b05e
push 0
push 0x2006
push 0x3c
push 0xffffffffffffff9c
push 0x8c
push 0x50
push 0
lea edx, [ebp - 0x100c]
push edx
call fcn.00403134
add esp, 0x20
lea ecx, [ebp - 0x1007]
push ecx
call fcn.0043ad44
pop ecx
test al, al
jne 0x43af3d
push 0x200
lea eax, [ebp - 0x1007]
push eax
call fcn.00404f34
add esp, 8
test al, al
je 0x43af3d
lea edx, [ebp - 0x1007]
push edx
call fcn.0043ad44
pop ecx
test al, al
jne 0x43af3d
jmp 0x43af3d
movsx ecx, byte [ebp - 0x100c]
cmp ecx, 0x3c
jne 0x43b1a8
movsx eax, byte [ebp - 0x100b]
cmp eax, 0x4c
jne 0x43b1a8
movsx edx, byte [ebp - 0x100a]
cmp edx, 0x4e
jne 0x43b1a8
movsx ecx, byte [ebp - 0x1009]
cmp ecx, 0x4b
jne 0x43b1a8
movsx eax, byte [ebp - 0x1008]
cmp eax, 0x3e
jne 0x43b1a8
mov edx, dword [ebp - 8]
test edx, edx
je 0x43b12b
lea ecx, [ebp - 0x100c]
push ecx
call fcn.004d2f1c
pop ecx
push eax
lea eax, [ebp - 0x100c]
push eax
mov edx, dword [ebp - 8]
push edx
call fcn.004042d0
add esp, 0xc
mov ecx, dword [ebp - 8]
push ecx
call fcn.004043a4
pop ecx
mov eax, ebx
and eax, 0x10000000
test eax, eax
je 0x43b15d
test eax, eax
je 0x43b15d
push 0
push 0x2006
push 0x3c
push 0xffffffffffffff9c
push 0x8c
push 0x50
push 0
lea edx, [ebp - 0x100c]
push edx
call fcn.00403134
add esp, 0x20
lea ecx, [ebp - 0x1007]
push ecx
call fcn.0043867c
pop ecx
test eax, eax
je 0x43af3d
push 0x200
lea eax, [ebp - 0x1007]
push eax
call fcn.00404f34
add esp, 8
test al, al
je 0x43af3d
lea edx, [ebp - 0x1007]
push edx
call fcn.0043867c
pop ecx
test eax, eax
je 0x43af3d
jmp 0x43af3d
mov ecx, dword [ebp - 8]
test ecx, ecx
je 0x43b1da
lea eax, [ebp - 0x100c]
push eax
call fcn.004d2f1c
pop ecx
push eax
lea edx, [ebp - 0x100c]
push edx
mov ecx, dword [ebp - 8]
push ecx
call fcn.004042d0
add esp, 0xc
mov eax, dword [ebp - 8]
push eax
call fcn.004043a4
pop ecx
mov eax, ebx
and eax, 0x10000000
test eax, eax
je 0x43b20c
test eax, eax
je 0x43b20c
push 0
push 0x2006
push 0x3c
push 0xffffffffffffff9c
push 0x8c
push 0x50
push 0
lea edx, [ebp - 0x100c]
push edx
call fcn.00403134
add esp, 0x20
lea ecx, [ebp - 0x100c]
push ecx
call sub.KERNEL32.dll_DeleteFileA
test eax, eax
jne 0x43af3d
push 0x200
lea eax, [ebp - 0x100c]
push eax
call fcn.00404f34
add esp, 8
test al, al
je 0x43af3d
lea edx, [ebp - 0x100c]
push edx
call sub.KERNEL32.dll_DeleteFileA
test eax, eax
jmp 0x43af3d
mov eax, ebx
and eax, 0x10000000
test eax, eax
je 0x43b28d
mov dl, byte [ebp - 9]
test dl, dl
je 0x43b288
test eax, eax
je 0x43b28d
push 0
push 0x2006
push 0x3c
push 0xffffffffffffff9c
push 0x8c
push 0x50
push 0
push 0x5ea717
call fcn.00403134
add esp, 0x20
jmp 0x43b28d
call fcn.0040332c
mov ecx, dword [ebp - 4]
test ecx, ecx
je 0x43b29e
lea eax, [ebp - 4]
push eax
call fcn.00403e94
pop ecx
mov edx, dword [ebp - 8]
test edx, edx
je 0x43b2b9
mov ecx, dword [ebp - 8]
push ecx
call fcn.004043a4
pop ecx
lea eax, [ebp - 8]
push eax
call fcn.00403e94
pop ecx
test bh, 0x10
jne 0x43b2cb
lea edx, [ebp - 0x200c]
push edx
call fcn.00404c44
pop ecx
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret