Function at 0x42d79a
Capabilities:
Delete file

Disassembly:
mov eax, 0x4bde28
call fcn.00483820
sub esp, 0x160
push ebx
push esi
push edi
mov edi, ecx
xor ebx, ebx
mov dword [ebp - 0x10], esp
cmp dword [edi + 0x80], ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x14], 1
je 0x42d7cd
mov dword [ebp - 0x14], 2
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x60]
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x2c], eax
mov eax, dword [edi]
push ecx
mov ecx, edi
call dword [eax + 0x64]
mov ecx, dword [0x4f4b30]
push ebx
mov dword [ebp - 0x4c], eax
call fcn.0047b427
mov ecx, eax
call fcn.004aeae9
mov esi, eax
mov eax, dword [0x4f4b30]
mov ecx, dword [eax + 0xdea]
mov dword [0x4f4b34], ecx
mov ecx, dword [eax + 0xdf6]
mov dword [0x4f4b40], ecx
cmp dword [eax + 0xdee], ebx
je 0x42d828
mov eax, dword [eax + 0xdf2]
dec eax
jmp 0x42d835
mov ecx, esi
call fcn.0043d368
mov eax, dword [esi + 0x1f0]
mov dword [0x4f4b3c], eax
mov eax, dword [esi + 0x200]
push ebx
push ebx
mov eax, dword [eax*4 + 0x4f4d54]
mov ecx, edi
shr eax, 2
mov dword [0x4f4b38], eax
call fcn.0042ab3f
mov ecx, edi
call fcn.0049b2b0
lea eax, [ebp - 0x16c]
lea ecx, [edi + 0x8c]
push eax
call fcn.0049d58c
cmp dword [ebp - 0x160], ebx
je 0x42dcf0
mov ecx, dword [0x4f4b30]
cmp dword [ecx + 0xe0e], ebx
je 0x42d8c2
xor eax, eax
cmp dword [ecx + 0xdea], ebx
je 0x42d898
push 4
pop eax
cmp dword [ecx + 0xde6], ebx
je 0x42d8a2
or al, 2
cmp dword [ecx + 0xdf6], ebx
je 0x42d8ac
or al, 1
cmp dword [ecx + 0xdee], ebx
je 0x42d8b6
or al, 8
push eax
push dword [ecx + 0xdf2]
call fcn.00460e40
mov ecx, esi
call fcn.0043c2bf
mov dword [ebp - 0x48], eax
lea eax, [ebp - 0x50]
push eax
lea eax, [ebp - 0x34]
push eax
mov ecx, esi
call fcn.0043a6f9
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x18], ebx
mov ebx, dword [esi + 0xbc]
push 0
add ebx, eax
cdq
idiv dword [ebp - 0x14]
push eax
push 0xc9
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_SendMessageA]
push 0
push eax
push 0xbb
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_SendMessageA]
imul eax, dword [ebp - 0x14]
mov dword [ebp - 0x34], eax
mov ecx, dword [esi + 0xbc]
lea edx, [ecx + eax]
mov eax, dword [esi + 0xc8]
cmp eax, 0xffffffff
mov dword [ebp - 0x14], edx
jne 0x42d937
mov eax, dword [ebp - 0x50]
add ecx, eax
mov dword [ebp - 0x24], ecx
jmp 0x42d93a
mov dword [ebp - 0x24], eax
cmp ebx, dword [ebp - 0x24]
je 0x42da0b
cmp edx, dword [ebp - 0x24]
je 0x42da0b
mov dword [ebp - 0x1c], 1
call fcn.004b563d
mov eax, dword [eax + 4]
push 0xffffffffffffffff
push str.SortDrive
push 0x4eaa9c
mov ecx, eax
call fcn.004b5822
cmp eax, 0xffffffff
je 0x42d97a
push eax
call fcn.00487025
pop ecx
xor ebx, ebx
push str.UESRT
push ebx
call fcn.00486dea
pop ecx
mov dword [ebp - 0x18], eax
pop ecx
mov eax, dword [edi + 0x1c]
mov ecx, dword [ebp - 0x24]
push ebx
sub ecx, dword [ebp - 0x14]
push ebx
push ecx
mov ecx, esi
push dword [ebp - 0x14]
push dword [ebp - 0x18]
push eax
lea eax, [edi + 0x8c]
push eax
call fcn.00433528
test eax, eax
jne 0x42da0b
mov eax, dword [0x4eec8c]
mov dword [ebp - 0x24], eax
mov dword [ebp - 4], ebx
mov dword [ebp - 0x14], eax
push 0x61
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 1
call fcn.0049be1e
push 0x62
lea ecx, [ebp - 0x14]
call fcn.0049be1e
push 0x30
mov ecx, esi
push dword [ebp - 0x14]
push dword [ebp - 0x24]
call fcn.004995e0
push dword [ebp - 0x18]
call fcn.00484777
and byte [ebp - 4], bl
pop ecx
lea ecx, [ebp - 0x14]
call fcn.0049b7ff
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x24]
call fcn.0049b7ff
jmp 0x42dcf7
mov eax, dword [edi + 0x8c]
lea ebx, [edi + 0x8c]
mov ecx, ebx
call dword [eax + 0x4c]
cmp dword [ebp - 0x160], 0xfa000
jge 0x42da2e
cmp dword [ebp - 0x1c], 0
je 0x42da51
mov eax, dword [edi + 0x80]
test eax, eax
je 0x42da85
cmp dword [ebp - 0x1c], 0
je 0x42da51
push 1
push eax
mov eax, dword [0x4f4b30]
push dword [eax + 0xde6]
push dword [ebp - 0x18]
jmp 0x42da69
mov ecx, dword [0x4f4b30]
mov eax, dword [edi + 0x50]
push 0
push dword [edi + 0x80]
push dword [ecx + 0xde6]
push eax
call fcn.0042d302
mov eax, dword [edi + 0x50]
mov edx, dword [ebx]
add esp, 0x10
mov ecx, ebx
push 0
push 2
push eax
call dword [edx + 0x20]
jmp 0x42db7b
call fcn.004b563d
mov eax, dword [eax + 4]
push 3
push str.SortDrive
push 0x4eaa9c
mov ecx, eax
call fcn.004b5822
push eax
call fcn.00487025
cmp dword [ebp - 0x1c], 0
pop ecx
je 0x42dab2
push dword [ebp - 0x18]
jmp 0x42dabd
push 1
lea ecx, [edi + 0x50]
call fcn.0049bbe3
push eax
call fcn.0042d789
mov dword [ebp - 0x20], eax
mov eax, dword [0x4f4b30]
pop ecx
mov cl, byte [eax + 0xdf6]
push ecx
mov cl, byte [eax + 0xde6]
mov al, byte [eax + 0xdea]
push ecx
push eax
push dword [0x4f4b38]
push dword [0x4f4b3c]
push dword [ebp - 0x20]
call fcn.00481a30
add esp, 0x18
lea ecx, [edi + 0x50]
push 0xffffffffffffffff
call fcn.0049bc32
push dword [ebp - 0x20]
call fcn.00486c67
push dword [ebp - 0x20]
mov dword [ebp - 0x30], eax
call fcn.00486541
push dword [ebp - 0x20]
call fcn.00484f59
mov eax, dword [edi + 0x50]
mov edx, dword [ebx]
add esp, 0xc
mov ecx, ebx
push 0
push 2
push eax
call dword [edx + 0x20]
cmp dword [ebp - 0x1c], 0
jne 0x42db40
mov eax, dword [ebx]
push dword [ebp - 0x30]
mov ecx, ebx
call dword [eax + 0x2c]
jmp 0x42db7b
lea ecx, [ebp - 0x44]
call fcn.0049c82d
push 2
lea ecx, [ebp - 0x44]
pop eax
push 0
push eax
push dword [ebp - 0x18]
mov dword [ebp - 4], eax
call fcn.0049c9df
push dword [ebp - 0x30]
lea ecx, [ebp - 0x44]
call fcn.0049ccad
lea ecx, [ebp - 0x44]
call fcn.0049cbfa
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x44]
call fcn.0049c922
mov eax, dword [ebx]
push 0
push 0
mov ecx, ebx
call dword [eax + 0x28]
lea eax, [edi + 0xac]
mov ecx, ebx
push eax
call fcn.0049d58c
xor ebx, ebx
cmp dword [ebp - 0x1c], ebx
je 0x42dc35
push ebx
push ebx
push 1
push ebx
push ebx
mov ecx, esi
push dword [ebp - 0x24]
push dword [ebp - 0x14]
call fcn.0043abe2
cmp eax, 0xffffffff
je 0x42dc19
lea ecx, [ebp - 0x44]
call fcn.0049c82d
lea ecx, [ebp - 0x28]
mov dword [ebp - 4], 3
call fcn.0049d3ed
push ebx
push ebx
push dword [ebp - 0x18]
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 5
call fcn.0049c9df
push ebx
push ebx
lea ecx, [ebp - 0x44]
call fcn.0049cb81
push 1
lea eax, [ebp - 0x44]
push dword [ebp - 0x14]
mov ecx, esi
push eax
call fcn.0043cebb
lea ecx, [ebp - 0x44]
call fcn.0049cbfa
mov dword [ebp - 4], 3
call fcn.0049d42b
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x44]
call fcn.0049c922
push 0xffffffffffffffff
push ebx
mov ecx, edi
call fcn.00477237
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
push dword [ebp - 0x18]
call fcn.00484777
pop ecx
mov eax, dword [ebp - 0x4c]
mov ecx, dword [edi + 0xb0]
add eax, 0x21c
push eax
mov dword [eax], ecx
push dword [edi + 0xb8]
mov ecx, dword [0x4f4b30]
call fcn.0045e9fb
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x60]
cmp eax, ebx
mov dword [ebp - 0x2c], eax
je 0x42dcd5
mov eax, dword [edi]
lea ecx, [ebp - 0x2c]
push ecx
mov ecx, edi
call dword [eax + 0x64]
mov ebx, eax
test ebx, ebx
je 0x42dccd
cmp dword [ebp - 0x1c], 0
je 0x42dc80
cmp ebx, esi
je 0x42dccd
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax]
push str.CMyEditView
push dword [eax]
call fcn.00485390
pop ecx
test eax, eax
pop ecx
jne 0x42dccd
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x54]
push eax
push dword [ebx + 0x1c]
call fcn.0042412e
xor eax, eax
mov ecx, ebx
mov dword [ebx + 0x1b0], eax
mov dword [ebx + 0x1b4], eax
mov dword [ebx + 0x1ac], eax
mov dword [ebx + 0x1bc], 1
call fcn.004352c7
cmp dword [ebp - 0x2c], 0
jne 0x42dc65
xor ebx, ebx
cmp dword [ebp - 0x1c], ebx
je 0x42dce7
push dword [ebp - 0x48]
mov ecx, esi
push dword [ebp - 0x14]
call fcn.0043bd41
mov eax, dword [edi]
push 1
mov ecx, edi
call dword [eax + 0x5c]
mov ecx, edi
call fcn.0049b2c5
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret