Function at 0x401de0
Capabilities:
Delete file
Move file

Disassembly:
push 0xffffffffffffffff
push 0x42ed4b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x4ac
push ebx
push ebp
mov ebp, dword [esp + 0x4c4]
push esi
push edi
push ebp
mov edi, 0x431df0
lea esi, [esp + 0x28]
call fcn.00402c50
add esp, 4
mov dword [esp + 0x4c4], 0
mov ecx, dword [esp + 0x28]
mov edi, 0x10
cmp dword [esp + 0x3c], edi
jae 0x401e36
lea ecx, [esp + 0x28]
cmp dword [ebp + 0x18], edi
lea esi, [ebp + 4]
jb 0x401e42
mov eax, dword [esi]
jmp 0x401e44
mov eax, esi
push ecx
push eax
call dword [sym.imp.KERNEL32.DLL_MoveFileA]
cmp dword [esp + 0x3c], edi
mov eax, dword [esp + 0x28]
jae 0x401e5a
lea eax, [esp + 0x28]
call fcn.004084f0
cmp dword [ebp + 0x18], edi
mov ebx, eax
jb 0x401e68
mov esi, dword [esi]
push esi
call fcn.004091e0
add esp, 4
test ebx, ebx
mov dword [esp + 0x1c], eax
je 0x401ea9
mov eax, dword [ebx + 0x44]
push 0
lea ecx, [ebx + 0x98]
push ecx
lea edx, [ebx + 0x48]
mov dword [ebx + 0x34], eax
push edx
xor eax, eax
mov ecx, ebx
mov dword [ebx + 0x30], 0
call fcn.00408730
add esp, 0xc
neg eax
sbb eax, eax
add eax, 1
mov dword [ebx + 0x38], eax
lea ebp, [esp + 0xb4]
sub ebp, 4
mov byte [esp + 0x17], 0
mov dword [esp + 0x20], ebp
jmp 0x401ec4
mov ebp, dword [esp + 0x20]
push 0x400
lea eax, [esp + 0x68]
push 0
push eax
lea eax, [esp + 0xc0]
mov ecx, ebx
call fcn.00408730
add esp, 0xc
push ebx
call fcn.00408c60
mov edi, dword [esp + 0x84]
add esp, 4
push edi
call fcn.0041bc9a
mov esi, eax
add esp, 4
push esi
push ebx
mov ecx, edi
mov dword [esp + 0x20], esi
call fcn.00408db0
add esp, 8
call fcn.00409020
lea eax, [esp + 0xb4]
lea edi, [eax + 1]
jmp 0x401f20
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x401f20
sub eax, edi
mov ecx, 4
mov edx, str..exe
add eax, ebp
mov edi, dword [eax]
cmp edi, dword [edx]
jne 0x401f4f
sub ecx, 4
add edx, 4
add eax, 4
cmp ecx, 4
jae 0x401f37
test ecx, ecx
je 0x401fac
movzx edi, byte [eax]
movzx ebp, byte [edx]
sub edi, ebp
jne 0x401f9e
sub ecx, 1
add edx, 1
add eax, 1
test ecx, ecx
je 0x401fac
movzx edi, byte [eax]
movzx ebp, byte [edx]
sub edi, ebp
jne 0x401f9e
sub ecx, 1
add edx, 1
add eax, 1
test ecx, ecx
je 0x401fac
movzx edi, byte [eax]
movzx ebp, byte [edx]
sub edi, ebp
jne 0x401f9e
sub ecx, 1
add edx, 1
add eax, 1
test ecx, ecx
je 0x401fac
movzx edi, byte [eax]
movzx ecx, byte [edx]
sub edi, ecx
je 0x401fac
test edi, edi
mov eax, 1
jg 0x401fae
or eax, 0xffffffff
jmp 0x401fae
xor eax, eax
test eax, eax
jne 0x401fcc
lea edx, [esp + 0x80]
push edx
push esi
mov byte [esp + 0x1f], 1
call fcn.00401cc0
add esp, 8
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x74]
mov ecx, dword [esp + 0x98]
mov edx, dword [esp + 0x94]
mov ebp, dword [esp + 0x70]
mov esi, dword [esp + 0x1c]
mov dword [esp + 0x58], eax
mov eax, dword [esp + 0x9c]
mov dword [esp + 0x60], ecx
mov ecx, dword [esp + 0xa0]
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0xa8]
mov dword [esp + 0x44], ecx
mov ecx, dword [esp + 0xac]
mov dword [esp + 0x5c], edx
mov edx, dword [esp + 0xa4]
mov dword [esp + 0x4c], eax
lea eax, [esp + 0x40]
mov dword [esp + 0x50], ecx
push eax
mov dword [esp + 0x4c], edx
mov edx, dword [esp + 0xb4]
lea ecx, [esp + 0xb8]
push ecx
mov eax, ebp
mov dword [esp + 0x5c], edx
call fcn.004092d0
mov edx, dword [esp + 0x88]
mov ecx, dword [esp + 0x20]
mov eax, esi
call fcn.00409900
push esi
call fcn.004099e0
add esp, 0xc
test ebx, ebx
je 0x4020c4
cmp dword [ebx + 0x38], 0
je 0x4020c4
mov eax, dword [ebx + 0x24]
cmp eax, 0xffff
je 0x402081
mov edx, dword [ebx + 0x30]
add edx, 1
cmp edx, eax
je 0x4020c4
mov eax, dword [ebx + 0x70]
add eax, dword [ebx + 0x6c]
mov ecx, dword [ebx + 0x68]
add dword [ebx + 0x30], 1
lea edx, [eax + ecx + 0x2e]
add dword [ebx + 0x34], edx
push 0
lea eax, [ebx + 0x98]
push eax
lea ecx, [ebx + 0x48]
push ecx
xor eax, eax
mov ecx, ebx
call fcn.00408730
xor edx, edx
add esp, 0xc
test eax, eax
sete dl
test eax, eax
mov dword [ebx + 0x38], edx
je 0x401ec0
mov esi, dword [esp + 0x1c]
cmp byte [esp + 0x17], 0
jne 0x402115
lea eax, [esp + 0x18]
push eax
push 1
mov dword [esp + 0x20], 0
call fcn.0041bc9a
add esp, 4
push eax
call fcn.00401cc0
mov esi, dword [esp + 0x24]
lea ecx, [esp + 0x48]
push ecx
mov edi, eax
push str.crack.exe
mov eax, ebp
call fcn.004092d0
mov edx, dword [esp + 0x28]
mov ecx, edi
mov eax, esi
call fcn.00409900
push edi
call fcn.0041bb78
add esp, 0x14
call fcn.00409cc0
test ebx, ebx
je 0x402142
cmp dword [ebx + 0x9c], 0
je 0x40212c
call fcn.00409020
mov edx, dword [ebx + 0x20]
mov eax, dword [ebx + 0x1c]
mov ecx, dword [ebx + 0x14]
push edx
push eax
call ecx
push ebx
call fcn.0041bb78
add esp, 0xc
mov eax, dword [esp + 0x28]
mov esi, 0x10
cmp dword [esp + 0x3c], esi
jae 0x402155
lea eax, [esp + 0x28]
push eax
call dword [sym.imp.KERNEL32.DLL_DeleteFileA]
cmp dword [esp + 0x3c], esi
jb 0x40216f
mov edx, dword [esp + 0x28]
push edx
call fcn.0041c141
add esp, 4
mov ecx, dword [esp + 0x4bc]
pop edi
pop esi
pop ebp
mov al, 1
mov dword fs:[0], ecx
pop ebx
add esp, 0x4b8
ret