Function at 0x438e74
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push eax
mov eax, 2
add esp, 0xfffff004
push eax
dec eax
jne 0x438e7d
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 0x438ea6
call fcn.0040330c
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 0x438ec5
lea eax, [ebp - 0x200c]
push eax
call fcn.00405d44
pop ecx
jmp 0x438eee
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 0x438efb
or esi, 0x10
test bl, 4
je 0x438f03
or esi, 4
mov eax, ebx
and eax, 0x10000000
test eax, eax
je 0x438f54
mov edx, dword [ebp + 8]
lea ecx, [ebp - 0x100c]
push edx
push 0x5d11da
push ecx
call fcn.004d26c8
add esp, 0xc
mov eax, ebx
and eax, 0x10000000
test eax, eax
je 0x438f54
push 0
push 0x2006
push 0x3c
push 0xffffffffffffff9c
push 0x8c
push 0x50
push 0
lea edx, [ebp - 0x100c]
push edx
call fcn.0040312c
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.00437dd8
add esp, 0x1c
test eax, eax
je 0x43932f
push 1
lea edx, [ebp - 0x200c]
push edx
call fcn.00403da4
add esp, 8
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
test ecx, ecx
jne 0x438fad
push 5
lea eax, [ebp - 0x200c]
push eax
call fcn.00403da4
add esp, 8
mov dword [ebp - 4], eax
mov edx, dword [ebp - 4]
test edx, edx
je 0x43932f
mov ecx, dword [ebp - 8]
test ecx, ecx
je 0x438fea
lea eax, [ebp - 0x200c]
push eax
call fcn.004cdfec
pop ecx
push eax
lea edx, [ebp - 0x200c]
push edx
mov ecx, dword [ebp - 8]
push ecx
call fcn.004042b4
add esp, 0xc
mov eax, dword [ebp - 8]
push eax
call fcn.00404388
pop ecx
mov edx, dword [ebp - 8]
test edx, edx
je 0x43900e
push 0xb
push 0x5d11e5
mov ecx, dword [ebp - 8]
push ecx
call fcn.004042b4
add esp, 0xc
mov eax, dword [ebp - 8]
push eax
call fcn.00404388
pop ecx
mov edi, 1
mov eax, dword [ebp - 4]
push eax
call fcn.00404018
pop ecx
lea edx, [ebp - 0x100c]
push edx
push 0x1000
mov ecx, dword [ebp - 4]
push ecx
call fcn.0040498c
add esp, 0xc
test eax, eax
jl 0x43932f
push 1
lea eax, [ebp - 0x100c]
push eax
call fcn.00436bac
add esp, 8
movsx edx, byte [ebp - 0x100c]
cmp edx, 0x3c
jne 0x43908a
movsx ecx, byte [ebp - 0x100b]
cmp ecx, 0x42
jne 0x43908a
movsx eax, byte [ebp - 0x100a]
cmp eax, 0x41
jne 0x43908a
movsx edx, byte [ebp - 0x1009]
cmp edx, 0x53
jne 0x43908a
movsx ecx, byte [ebp - 0x1008]
cmp ecx, 0x3e
je 0x43901d
movsx eax, byte [ebp - 0x100c]
cmp eax, 0x3c
jne 0x439189
movsx edx, byte [ebp - 0x100b]
cmp edx, 0x44
jne 0x439189
movsx ecx, byte [ebp - 0x100a]
cmp ecx, 0x49
jne 0x439189
movsx eax, byte [ebp - 0x1009]
cmp eax, 0x52
jne 0x439189
movsx edx, byte [ebp - 0x1008]
cmp edx, 0x3e
jne 0x439189
mov ecx, dword [ebp - 8]
test ecx, ecx
je 0x43910c
lea eax, [ebp - 0x100c]
push eax
call fcn.004cdfec
pop ecx
push eax
lea edx, [ebp - 0x100c]
push edx
mov ecx, dword [ebp - 8]
push ecx
call fcn.004042b4
add esp, 0xc
mov eax, dword [ebp - 8]
push eax
call fcn.00404388
pop ecx
mov eax, ebx
and eax, 0x10000000
test eax, eax
je 0x43913e
test eax, eax
je 0x43913e
push 0
push 0x2006
push 0x3c
push 0xffffffffffffff9c
push 0x8c
push 0x50
push 0
lea edx, [ebp - 0x100c]
push edx
call fcn.0040312c
add esp, 0x20
lea ecx, [ebp - 0x1007]
push ecx
call fcn.00438e24
pop ecx
test al, al
jne 0x43901d
push 0x200
lea eax, [ebp - 0x1007]
push eax
call fcn.00404efc
add esp, 8
test al, al
je 0x43901d
lea edx, [ebp - 0x1007]
push edx
call fcn.00438e24
pop ecx
test al, al
jne 0x43901d
jmp 0x43901d
movsx ecx, byte [ebp - 0x100c]
cmp ecx, 0x3c
jne 0x439288
movsx eax, byte [ebp - 0x100b]
cmp eax, 0x4c
jne 0x439288
movsx edx, byte [ebp - 0x100a]
cmp edx, 0x4e
jne 0x439288
movsx ecx, byte [ebp - 0x1009]
cmp ecx, 0x4b
jne 0x439288
movsx eax, byte [ebp - 0x1008]
cmp eax, 0x3e
jne 0x439288
mov edx, dword [ebp - 8]
test edx, edx
je 0x43920b
lea ecx, [ebp - 0x100c]
push ecx
call fcn.004cdfec
pop ecx
push eax
lea eax, [ebp - 0x100c]
push eax
mov edx, dword [ebp - 8]
push edx
call fcn.004042b4
add esp, 0xc
mov ecx, dword [ebp - 8]
push ecx
call fcn.00404388
pop ecx
mov eax, ebx
and eax, 0x10000000
test eax, eax
je 0x43923d
test eax, eax
je 0x43923d
push 0
push 0x2006
push 0x3c
push 0xffffffffffffff9c
push 0x8c
push 0x50
push 0
lea edx, [ebp - 0x100c]
push edx
call fcn.0040312c
add esp, 0x20
lea ecx, [ebp - 0x1007]
push ecx
call fcn.00436928
pop ecx
test eax, eax
je 0x43901d
push 0x200
lea eax, [ebp - 0x1007]
push eax
call fcn.00404efc
add esp, 8
test al, al
je 0x43901d
lea edx, [ebp - 0x1007]
push edx
call fcn.00436928
pop ecx
test eax, eax
je 0x43901d
jmp 0x43901d
mov ecx, dword [ebp - 8]
test ecx, ecx
je 0x4392ba
lea eax, [ebp - 0x100c]
push eax
call fcn.004cdfec
pop ecx
push eax
lea edx, [ebp - 0x100c]
push edx
mov ecx, dword [ebp - 8]
push ecx
call fcn.004042b4
add esp, 0xc
mov eax, dword [ebp - 8]
push eax
call fcn.00404388
pop ecx
mov eax, ebx
and eax, 0x10000000
test eax, eax
je 0x4392ec
test eax, eax
je 0x4392ec
push 0
push 0x2006
push 0x3c
push 0xffffffffffffff9c
push 0x8c
push 0x50
push 0
lea edx, [ebp - 0x100c]
push edx
call fcn.0040312c
add esp, 0x20
lea ecx, [ebp - 0x100c]
push ecx
call sub.KERNEL32.dll_DeleteFileA
test eax, eax
jne 0x43901d
push 0x200
lea eax, [ebp - 0x100c]
push eax
call fcn.00404efc
add esp, 8
test al, al
je 0x43901d
lea edx, [ebp - 0x100c]
push edx
call sub.KERNEL32.dll_DeleteFileA
test eax, eax
jmp 0x43901d
mov eax, ebx
and eax, 0x10000000
test eax, eax
je 0x43936d
mov dl, byte [ebp - 9]
test dl, dl
je 0x439368
test eax, eax
je 0x43936d
push 0
push 0x2006
push 0x3c
push 0xffffffffffffff9c
push 0x8c
push 0x50
push 0
push 0x5d11f3
call fcn.0040312c
add esp, 0x20
jmp 0x43936d
call fcn.00403324
mov ecx, dword [ebp - 4]
test ecx, ecx
je 0x43937e
lea eax, [ebp - 4]
push eax
call fcn.00403e78
pop ecx
mov edx, dword [ebp - 8]
test edx, edx
je 0x439399
mov ecx, dword [ebp - 8]
push ecx
call fcn.00404388
pop ecx
lea eax, [ebp - 8]
push eax
call fcn.00403e78
pop ecx
test bh, 0x10
jne 0x4393ab
lea edx, [ebp - 0x200c]
push edx
call fcn.00404c28
pop ecx
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret