Function at 0x1004c6e1
Capabilities:
Delete file

Disassembly:
mov eax, 0x1008928e
call fcn.10087660
sub esp, 0x98
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x18], 0xc93b4e1a
push 4
mov dword [ebp - 0x14], ebx
pop esi
jmp 0x1004c716
mov eax, dword [ebp - 0x14]
mov dword [ebp + eax*4 - 0xa4], 0xfffffffd
inc dword [ebp - 0x14]
cmp dword [ebp - 0x14], esi
jl 0x1004c705
mov dword [ebp - 0x18], 0xc
jmp 0x1004c74d
mov dword [ebp - 0x14], 0xf759609c
mov dword [ebp - 0x14], ebx
jmp 0x1004c744
mov eax, dword [ebp - 0x14]
cmp dword [ebp + eax*4 - 0xa4], ebx
jne 0x1004c74a
cmp dword [ebp - 0x14], ebx
jne 0x1004c74a
inc dword [ebp - 0x14]
cmp dword [ebp - 0x14], 3
jle 0x1004c730
dec dword [ebp - 0x18]
cmp dword [ebp - 0x18], ebx
jg 0x1004c724
mov eax, dword [ebp - 0x18]
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x18], eax
test cl, cl
je 0x1004c86a
cmp byte [edx], bl
je 0x1004c76e
push ebx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov dword [ebp - 0x28], 0x10f7
lea ecx, [ebp - 0x34]
mov dword [ebp - 0x14], 0x528ace4b
push esi
call fcn.100280d9
push 2
mov dword [ebp - 4], ebx
lea ecx, [ebp - 0x64]
pop edi
mov dword [ebp - 0x20], 0x53f3ac9d
mov dword [ebp - 0x24], 9
push edi
call fcn.100280d9
mov dword [ebp - 0x14], 0xffffffff
mov dword [ebp - 0x18], ebx
cmp dword [ebp - 0x18], esi
push 1
pop esi
jge 0x1004c7c6
mov ecx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x34]
mov dword [eax + ecx*4], esi
inc dword [ebp - 0x18]
cmp dword [ebp - 0x18], 4
jl 0x1004c7b4
mov dword [ebp - 0x18], ebx
jmp 0x1004c7db
mov ecx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x64]
mov dword [eax + ecx*4], 0x79facd4a
inc dword [ebp - 0x18]
cmp dword [ebp - 0x18], edi
jl 0x1004c7cb
mov eax, dword [ebp - 0x28]
xor ecx, ecx
mov eax, dword [ebp - 0x28]
cmp eax, 0xad94
setl cl
mov dword [ebp - 0x14], ecx
mov ecx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x34]
mov dword [eax], ecx
mov eax, dword [ebp - 0x20]
imul eax, ecx
test eax, eax
je 0x1004c80c
mov edx, esi
cmp dword [ebp - 0x14], ebx
jne 0x1004c80e
mov edx, ebx
mov eax, dword [ebp - 0x24]
xor ecx, ecx
cmp edx, eax
setg cl
add ecx, 0x6d8ff8cd
jne 0x1004c829
mov eax, dword [ebp - 0x34]
cmp dword [eax], ebx
jne 0x1004c829
mov esi, ebx
mov eax, dword [ebp - 0x20]
sub esi, eax
je 0x1004c833
mov eax, dword [ebp - 0x20]
mov eax, dword [ebp - 0x34]
xor ecx, ecx
cmp dword [eax], ebx
mov eax, dword [ebp - 0x64]
setne cl
mov dword [eax], ecx
xor eax, eax
cmp ecx, 0x351f2000
lea ecx, [ebp - 0x64]
setge al
sub eax, 0x13532fe2
neg eax
sbb eax, eax
inc eax
mov dword [ebp - 0x14], eax
call fcn.1002815b
lea ecx, [ebp - 0x34]
jmp 0x1004cb53
push 2
pop edi
push edi
lea ecx, [ebp - 0x70]
call fcn.100280d9
mov dword [ebp - 0x20], edi
mov dword [ebp - 0x14], ebx
jmp 0x1004c88e
mov ecx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x70]
mov dword [eax + ecx*4], 9
inc dword [ebp - 0x14]
cmp dword [ebp - 0x14], edi
jl 0x1004c87e
xor esi, esi
inc esi
mov dword [ebp - 0x20], esi
cmp dword [ebp - 0x20], ebx
jl 0x1004c8db
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x14], ebx
jmp 0x1004c8d1
mov byte [ebp - 0x19], bl
cmp byte [ebp - 0x19], bl
je 0x1004c8c3
push ebx
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.USER32.dll_GetDC]
push eax
call dword [sym.imp.GDI32.dll_RectVisible]
mov ecx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x70]
cmp dword [eax + ecx*4], ebx
jne 0x1004c8d6
inc dword [ebp - 0x14]
cmp dword [ebp - 0x14], esi
jle 0x1004c8a6
dec dword [ebp - 0x20]
jns 0x1004c89e
lea ecx, [ebp - 0x70]
call fcn.1002815b
mov dword [ebp - 0x14], 0x9696
lea ecx, [ebp - 0x4c]
push esi
call fcn.100280d9
mov dword [ebp - 0x20], ebx
jmp 0x1004c905
mov ecx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x4c]
or dword [eax + ecx*4], 0xffffffff
inc dword [ebp - 0x20]
cmp dword [ebp - 0x20], esi
jl 0x1004c8f8
mov eax, dword [ebp - 0x14]
cmp esi, eax
mov eax, dword [ebp - 0x4c]
sbb ecx, ecx
neg ecx
mov dword [eax], ecx
mov dword [ebp - 0x14], ebx
jmp 0x1004c935
mov byte [ebp - 0x19], bl
cmp byte [ebp - 0x19], bl
je 0x1004c932
push 0x851
push ebx
push ebx
call dword [sym.imp.GDI32.dll_TranslateCharsetInfo]
inc dword [ebp - 0x14]
cmp dword [ebp - 0x14], 0x37
je 0x1004c91d
lea ecx, [ebp - 0x4c]
call fcn.1002815b
mov byte [ebp - 0x19], bl
cmp byte [ebp - 0x19], bl
je 0x1004c990
push esi
lea ecx, [ebp - 0x58]
call fcn.100280d9
mov dword [ebp - 0x14], ebx
jmp 0x1004c969
mov ecx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x58]
mov dword [eax + ecx*4], 4
inc dword [ebp - 0x14]
cmp dword [ebp - 0x14], esi
jl 0x1004c959
mov eax, dword [ebp - 0x58]
lea ecx, [ebp - 0x58]
mov dword [eax], ebx
call fcn.1002815b
push ebx
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.USER32.dll_GetDC]
push eax
call dword [sym.imp.GDI32.dll_GetWindowOrgEx]
push dword [ebp - 0x24]
movdqa xmm0, xmmword [0x10007b50]
lea eax, [ebp - 0x70]
push eax
mov dword [ebp - 0x20], 0xfcc58a01
lea eax, [ebp - 0x80]
mov dword [ebp - 0x28], 0xe76d238e
lea ecx, [ebp - 0x40]
push eax
mov dword [ebp - 0x18], 0xffffffff
mov dword [ebp - 0x14], 0xffffffff
mov dword [ebp - 0x14], 0xffffffff
push ebx
movdqu xmmword [ebp - 0x80], xmm0
mov dword [ebp - 0x40], ebx
mov dword [ebp - 0x3c], ebx
mov dword [ebp - 0x38], ebx
call fcn.10029248
cmp dword [ebp - 0x20], edi
jl 0x1004ca2a
cmp dword [ebp - 0x20], ebx
mov eax, esi
add eax, 8
mov ecx, 0xf068cd54
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x20]
cmp ecx, eax
sbb eax, eax
neg eax
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0xe6fc2e60
sbb edx, edx
inc edx
sub edx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x20]
neg edx
sbb edx, edx
xor ecx, ecx
inc edx
cmp edx, eax
setl cl
mov dword [ebp - 0x14], ecx
mov ecx, esi
cmp dword [ebp - 0x14], ebx
jne 0x1004ca2c
mov ecx, ebx
mov eax, dword [ebp - 0x20]
xor edx, edx
cmp ecx, eax
setle dl
xor ecx, ecx
imul edx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x40]
cmp edx, dword [eax + 8]
setg cl
cmp ecx, esi
jb 0x1004cae6
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x24], esi
mov dword [ebp - 0x18], 0xffffffff
mov dword [ebp - 0x14], ebx
jmp 0x1004ca6c
mov eax, dword [ebp - 0x14]
mov dword [ebp + eax*4 - 0x94], ebx
inc dword [ebp - 0x14]
cmp dword [ebp - 0x14], edi
jl 0x1004ca5f
mov dword [ebp - 0x14], 0xfffffffe
jmp 0x1004ca8c
mov byte [ebp - 0x19], bl
cmp byte [ebp - 0x19], bl
je 0x1004ca89
push ebx
call dword [sym.imp.USER32.dll_RegisterClassA]
dec dword [ebp - 0x14]
cmp dword [ebp - 0x14], 0xfffffff3
jle 0x1004ca7a
mov dword [ebp - 0x14], ebx
jmp 0x1004cade
mov dword [ebp - 0x18], 0xa7b48fe2
xor edx, edx
mov dword [ebp - 0x18], 7
mov eax, dword [ebp - 0x24]
cmp eax, 0x81cd
setl dl
xor ecx, ecx
imul edx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x28]
cmp edx, eax
setne cl
mov dword [ebp - 0x18], ecx
mov eax, dword [ebp - 0x20]
sub eax, dword [ebp - 0x18]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x18], ebx
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x18], eax
inc dword [ebp - 0x14]
cmp dword [ebp - 0x14], 9
je 0x1004ca97
jmp 0x1004cb50
mov dword [ebp - 0x14], ebx
jmp 0x1004cafc
mov eax, dword [ebp - 0x14]
mov dword [ebp + eax*4 - 0x8c], 0xffffffff
inc dword [ebp - 0x14]
cmp dword [ebp - 0x14], 3
jl 0x1004caeb
mov dword [ebp - 0x18], ebx
jmp 0x1004cb33
mov dword [ebp - 0x24], 0xffffffff
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x14], eax
mov byte [ebp - 0x19], bl
cmp byte [ebp - 0x19], bl
je 0x1004cb30
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.USER32.dll_GetDC]
push eax
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
inc dword [ebp - 0x18]
cmp dword [ebp - 0x18], esi
jl 0x1004cb07
mov dword [ebp - 0x18], ebx
jmp 0x1004cb4a
mov dword [ebp - 0x84], 0x609e00c2
inc dword [ebp - 0x18]
cmp dword [ebp - 0x18], 0xf
jne 0x1004cb3d
lea ecx, [ebp - 0x40]
call fcn.1002815b
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret