Function at 0x467770
Capabilities:
Delete file
Move file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x553868
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 0x467793
mov ecx, dword [ebp + 8]
lea eax, [ecx - 0x3010001]
cmp eax, 6
ja case.0x4677a5.50397190
jmp dword [eax*4 + 0x467c5c]
mov eax, dword [esi + 0x9e8]
mov ebx, 1
cmp eax, ebx
jne 0x467819
mov eax, dword [esi + 0x8a4]
lea edi, [esi + 0x8a4]
push eax
call fcn.004e5670
add esp, 4
cmp eax, ebx
jne 0x467819
push 0x24
push 0x5a27f8
mov ecx, esi
call fcn.00436100
cmp eax, 6
jne 0x467819
push ebx
push edi
mov ecx, esi
call fcn.0045ce40
cmp eax, ebx
jne 0x467819
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 0x467838
push 0
push 0
push 0
push 0x5a27f4
push 0x589720
mov ecx, esi
call fcn.00403490
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.00438210
test eax, eax
je 0x46792e
mov eax, dword [ebp - 0x1c]
test eax, eax
jge 0x467881
mov ecx, dword [ebp + 8]
mov eax, dword [ecx - 8]
test eax, eax
je 0x46792e
mov ecx, esi
call fcn.0045c300
cmp eax, ebx
jne 0x46792e
mov edx, dword [ebp + 8]
mov eax, dword [edx - 8]
test eax, eax
mov eax, dword [ebp - 0x1c]
je 0x4678f1
cmp eax, 0xffffffff
jne 0x4678b8
mov ecx, esi
call fcn.0045cb20
mov eax, dword [ebp + 8]
push 0
push eax
mov ecx, esi
call fcn.00469920
jmp 0x4678ca
cmp eax, 0xfffffffe
jne 0x4678ca
lea ecx, [ebp + 8]
push 0
push ecx
mov ecx, esi
call fcn.0045ce40
lea ecx, [ebp + 8]
mov dword [ebp - 4], 0xffffffff
call fcn.0052801f
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 0x46791c
lea ecx, [ebp + 8]
mov dword [ebp - 4], 0xffffffff
call fcn.0052801f
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.0045cb20
mov edx, dword [ebp - 0x1c]
mov ecx, esi
push edx
call fcn.0045d100
lea ecx, [ebp + 8]
mov dword [ebp - 4], 0xffffffff
call fcn.0052801f
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.00438ca0
cmp eax, 1
jne 0x46799f
lea edx, [ebp + 8]
mov ecx, esi
push edx
call fcn.0045cd50
test eax, eax
je 0x46799f
mov ecx, esi
call fcn.0045c300
test eax, eax
je 0x46799f
lea eax, [ebp + 8]
push 0
push eax
mov ecx, esi
call fcn.0045ce40
lea ecx, [ebp + 8]
mov dword [ebp - 4], 0xffffffff
call fcn.0052801f
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.0045c300
cmp eax, 1
jne 0x467c2e
mov ecx, esi
call fcn.0045cb20
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 0x467c2e
mov eax, dword [0x5ada84]
mov dword [ebp - 0x18], eax
cmp ecx, 0x3010005
mov dword [ebp - 4], 2
jne 0x467a6b
mov edi, dword [esi + 0x388]
lea ebx, [esi + 0x388]
mov eax, dword [edi - 8]
test eax, eax
je 0x467a6b
push 0x5c
push edi
call fcn.00511a6d
add esp, 8
test eax, eax
je 0x467a6b
cmp eax, edi
jbe 0x467a6b
sub eax, edi
lea ecx, [ebp - 0x20]
inc eax
push eax
push ecx
mov ecx, ebx
call fcn.0052446c
push eax
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 3
call fcn.00528158
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 2
call fcn.0052801f
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.0044b770
cmp eax, 1
jne 0x467bf4
push 0x5a27dc
lea ecx, [ebp - 0x28]
call fcn.004e2ce0
mov eax, dword [0x5b1084]
mov byte [ebp - 4], 5
cmp eax, 1
jne 0x467b5e
cmp dword [ebp + 8], 0x3010004
jne 0x467b5e
mov eax, dword [esi + 0x388]
lea edi, [esi + 0x388]
mov ecx, dword [eax - 8]
test ecx, ecx
je 0x467b5e
cmp dword [esi + 0x390], 1
jne 0x467b5e
push eax
call fcn.004e5670
add esp, 4
cmp eax, 1
jne 0x467b5e
add byte [ebx - 0x77cfb3c], al
add dword [ebp + 0x67], esi
push edi
lea ecx, [ebp - 0x10]
call fcn.00527d94
mov edx, dword [0x5aadf4]
lea eax, [ebp - 0x10]
push edx
push eax
mov byte [ebp - 4], 6
call fcn.004e5770
mov ecx, dword [ebp - 0x10]
push ecx
call fcn.004e5670
add esp, 0xc
cmp eax, 1
jne 0x467b2f
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 0x467b52
push 0x2710
push 0x5b1c10
call fcn.0046f9e0
add esp, 8
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 5
call fcn.0052801f
stc
jb 0x467b62
jg 0x467aee
mov ecx, dword [ebp - 0x14]
dec ebp
in al, dx
mov edi, 1
push edi
push ecx
mov ecx, ebx
call fcn.0044bdd0
cmp eax, edi
jne 0x467be8
mov eax, dword [esi + 0x8a8]
test eax, eax
jne 0x467b9c
cmp dword [esi + 0x95c], edi
jne 0x467b9c
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.00453e00
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.0045d8a0
cmp dword [ebp + 8], 0x3010005
jne 0x467be8
lea ecx, [ebp - 0x18]
push ecx
mov ecx, esi
call fcn.0046e8e0
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 4
call fcn.004e2d90
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 2
call fcn.0052801f
lea ecx, [ebp - 0x18]
mov dword [ebp - 4], 0xffffffff
call fcn.0052801f
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.0045d3a0
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