Function at 0x467680
Capabilities:
Delete file
Move file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x553748
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1c
push ebx
push esi
push edi
mov esi, ecx
jmp 0x4676a3
mov ecx, dword [ebp + 8]
lea eax, [ecx - 0x3010001]
cmp eax, 6
ja case.0x4676b5.50397190
jmp dword [eax*4 + 0x467b6c]
mov eax, dword [esi + 0x9e8]
mov ebx, 1
cmp eax, ebx
jne 0x467729
mov eax, dword [esi + 0x8a4]
lea edi, [esi + 0x8a4]
push eax
call fcn.004e5570
add esp, 4
cmp eax, ebx
jne 0x467729
push 0x24
push 0x5a27f4
mov ecx, esi
call fcn.00435fe0
cmp eax, 6
jne 0x467729
push ebx
push edi
mov ecx, esi
call fcn.0045cd40
cmp eax, ebx
jne 0x467729
mov dword [esi + 0x390], 0
mov dword [esi + 0x39c], ebx
pop edi
mov eax, ebx
pop esi
pop ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 0x10
cmp dword [esi + 0x9ec], ebx
jne 0x467748
push 0
push 0
push 0
push 0x5a27f0
push 0x589720
mov ecx, esi
call fcn.00403480
mov eax, dword [0x5ada84]
mov dword [ebp + 8], eax
mov edi, dword [esi + 0x9ec]
xor eax, eax
lea ecx, [ebp + 8]
cmp edi, ebx
lea edx, [ebp - 0x1c]
push ecx
sete al
push edx
push eax
mov ecx, esi
mov dword [ebp - 4], 0
call fcn.004380f0
test eax, eax
je 0x46783e
mov eax, dword [ebp - 0x1c]
test eax, eax
jge 0x467791
mov ecx, dword [ebp + 8]
mov eax, dword [ecx - 8]
test eax, eax
je 0x46783e
mov ecx, esi
call fcn.0045c200
cmp eax, ebx
jne 0x46783e
mov edx, dword [ebp + 8]
mov eax, dword [edx - 8]
test eax, eax
mov eax, dword [ebp - 0x1c]
je 0x467801
cmp eax, 0xffffffff
jne 0x4677c8
mov ecx, esi
call fcn.0045ca20
mov eax, dword [ebp + 8]
push 0
push eax
mov ecx, esi
call fcn.00469820
jmp 0x4677da
cmp eax, 0xfffffffe
jne 0x4677da
lea ecx, [ebp + 8]
push 0
push ecx
mov ecx, esi
call fcn.0045cd40
lea ecx, [ebp + 8]
mov dword [ebp - 4], 0xffffffff
call fcn.00527eff
pop edi
pop esi
mov eax, 1
pop ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 0x10
test eax, eax
jge 0x46782c
lea ecx, [ebp + 8]
mov dword [ebp - 4], 0xffffffff
call fcn.00527eff
pop edi
pop esi
mov eax, 1
pop ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 0x10
mov ecx, esi
call fcn.0045ca20
mov edx, dword [ebp - 0x1c]
mov ecx, esi
push edx
call fcn.0045d000
lea ecx, [ebp + 8]
mov dword [ebp - 4], 0xffffffff
call fcn.00527eff
pop edi
pop esi
mov eax, 1
pop ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 0x10
mov eax, dword [0x5ada84]
mov dword [ebp + 8], eax
lea ecx, [ebp + 8]
push 0
push ecx
push 0
mov ecx, esi
mov dword [ebp - 4], 1
call fcn.00438b80
cmp eax, 1
jne 0x4678af
lea edx, [ebp + 8]
mov ecx, esi
push edx
call fcn.0045cc50
test eax, eax
je 0x4678af
mov ecx, esi
call fcn.0045c200
test eax, eax
je 0x4678af
lea eax, [ebp + 8]
push 0
push eax
mov ecx, esi
call fcn.0045cd40
lea ecx, [ebp + 8]
mov dword [ebp - 4], 0xffffffff
call fcn.00527eff
pop edi
pop esi
mov eax, 1
pop ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 0x10
mov ecx, esi
call fcn.0045c200
cmp eax, 1
jne 0x467b3e
mov ecx, esi
call fcn.0045ca20
pop edi
pop esi
mov eax, 1
pop ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 0x10
mov edx, dword [esi + 0x384]
not edx
test dl, 1
jne 0x467b3e
mov eax, dword [0x5ada84]
mov dword [ebp - 0x18], eax
cmp ecx, 0x3010005
mov dword [ebp - 4], 2
jne 0x46797b
mov edi, dword [esi + 0x388]
lea ebx, [esi + 0x388]
mov eax, dword [edi - 8]
test eax, eax
je 0x46797b
push 0x5c
push edi
call fcn.00511947
add esp, 8
test eax, eax
je 0x46797b
cmp eax, edi
jbe 0x46797b
sub eax, edi
lea ecx, [ebp - 0x20]
inc eax
push eax
push ecx
mov ecx, ebx
call fcn.0052434c
push eax
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 3
call fcn.00528038
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 2
call fcn.00527eff
mov edx, dword [0x5ada84]
mov dword [ebp - 0x14], edx
mov ecx, dword [ebp + 8]
xor eax, eax
cmp ecx, 0x3010005
lea ecx, [ebp - 0x14]
sete al
lea ebx, [esi + 0xc0]
push eax
push ecx
mov ecx, ebx
mov byte [ebp - 4], 4
call fcn.0044b670
cmp eax, 1
jne 0x467b04
push 0x5a27d8
lea ecx, [ebp - 0x28]
call fcn.004e2be0
mov eax, dword [0x5b1084]
mov byte [ebp - 4], 5
cmp eax, 1
jne 0x467a6e
cmp dword [ebp + 8], 0x3010004
jne 0x467a6e
mov eax, dword [esi + 0x388]
lea edi, [esi + 0x388]
mov ecx, dword [eax - 8]
test ecx, ecx
je 0x467a6e
cmp dword [esi + 0x390], 1
jne 0x467a6e
push eax
call fcn.004e5570
add esp, 4
cmp eax, 1
jne 0x467a6e
add byte [ebx - 0x77cfb3c], al
add dword [ebp + 0x67], esi
push edi
lea ecx, [ebp - 0x10]
call fcn.00527c74
mov edx, dword [0x5aadf4]
lea eax, [ebp - 0x10]
push edx
push eax
mov byte [ebp - 4], 6
call fcn.004e5670
mov ecx, dword [ebp - 0x10]
push ecx
call fcn.004e5570
add esp, 0xc
cmp eax, 1
jne 0x467a3f
mov edx, dword [ebp - 0x10]
push edx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov eax, dword [ebp - 0x10]
mov edi, dword [edi]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_MoveFileA]
test eax, eax
jne 0x467a62
push 0x2710
push 0x5b1c10
call fcn.0046f8e0
add esp, 8
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 5
call fcn.00527eff
stc
jb 0x467a72
jg 0x4679fe
mov ecx, dword [ebp - 0x14]
dec ebp
in al, dx
mov edi, 1
push edi
push ecx
mov ecx, ebx
call fcn.0044bcd0
cmp eax, edi
jne 0x467af8
mov eax, dword [esi + 0x8a8]
test eax, eax
jne 0x467aac
cmp dword [esi + 0x95c], edi
jne 0x467aac
mov eax, dword [esi + 0x8a4]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov dword [esi + 0x8a8], edi
mov ecx, ebx
mov dword [esi + 0x390], 0
call fcn.00453d00
mov eax, dword [esi + 0x388]
mov edx, dword [esi]
push eax
mov ecx, esi
call dword [edx + 0x80]
mov ecx, dword [esi + 0x8b0]
push edi
mov eax, dword [ecx]
call dword [eax + 0xe0]
mov ecx, esi
call fcn.0045d7a0
cmp dword [ebp + 8], 0x3010005
jne 0x467af8
lea ecx, [ebp - 0x18]
push ecx
mov ecx, esi
call fcn.0046e7e0
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 4
call fcn.004e2c90
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 2
call fcn.00527eff
lea ecx, [ebp - 0x18]
mov dword [ebp - 4], 0xffffffff
call fcn.00527eff
pop edi
pop esi
mov eax, 1
pop ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 0x10
mov ecx, esi
call fcn.0045d2a0
pop edi
pop esi
mov eax, 1
pop ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 0x10
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
xor eax, eax
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 0x10