Function at 0x4ee400
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5dc5e5
mov eax, dword fs:[0]
push eax
sub esp, 0x4c8
mov eax, dword [0x63d284]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x4d0], 0
push 0x28
mov dword [ebp - 0x4bc], 0
mov dword [ebp - 0x4b8], 0
call fcn.00591cad
add esp, 4
test eax, eax
je 0x4eecbe
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [eax + 8], eax
mov word [eax + 0xc], 0x101
mov dword [ebp - 0x4bc], eax
mov dword [ebp - 4], 0
mov eax, 0x5c
mov word [ebp - 0x4c], ax
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 0
mov eax, dword [0x61c7d8]
mov ecx, 7
movq xmm0, qword [0x61c7d0]
mov esi, 6
mov dword [ebp - 0x38], eax
xor eax, eax
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x30], esi
movq qword [ebp - 0x40], xmm0
mov word [ebp - 0x34], ax
add edi, 4
mov byte [ebp - 4], 3
xor ebx, ebx
mov edx, dword [edi + 0x10]
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x14], ecx
mov word [ebp - 0x28], ax
mov dword [ebp - 0x4d0], 1
test edx, edx
jne 0x4ee506
mov dword [ebp - 0x18], esi
lea ebx, [ebp - 0x40]
add esi, esi
lea eax, [ebp - 0x28]
push esi
push ebx
push eax
call fcn.00572f50
add esp, 0xc
xor eax, eax
mov word [ebp + esi - 0x28], ax
jmp 0x4ee9d6
cmp dword [ebp - 0x30], eax
je 0x4ee9d6
lea eax, [ebp - 0x28]
cmp eax, edi
je 0x4ee555
cmp dword [edi + 0x14], 8
mov eax, edi
mov dword [ebp - 0x4a8], edi
jb 0x4ee52c
mov eax, dword [edi]
mov dword [ebp - 0x4a8], eax
mov ebx, edx
cmp ebx, 7
ja 0x4ee651
lea esi, [ebx + ebx]
mov dword [ebp - 0x18], ebx
push esi
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.00572f50
add esp, 0xc
xor eax, eax
mov word [ebp + esi - 0x28], ax
mov ebx, dword [ebp - 0x18]
cmp dword [edi + 0x14], 8
mov eax, dword [edi + 0x10]
jb 0x4ee560
mov edi, dword [edi]
movzx eax, word [edi + eax*2 - 2]
mov esi, 0x2f
mov edx, SysReAllocString
lea edi, [esi + 0x2d]
cmp si, ax
je 0x4ee5a9
cmp di, ax
je 0x4ee5a9
mov esi, dword [ebp - 0x14]
mov eax, esi
sub eax, ebx
cmp eax, 1
jb 0x4ee712
cmp esi, 8
lea eax, [ebp - 0x28]
lea ecx, [ebx + 1]
cmovae eax, dword [ebp - 0x28]
xor esi, esi
mov dword [ebp - 0x18], ecx
mov word [eax + ebx*2], di
mov word [eax + ecx*2], si
mov ebx, dword [ebp - 0x18]
cmp dword [ebp - 0x2c], 8
lea eax, [ebp - 0x40]
mov esi, dword [ebp - 0x40]
mov ecx, 0x2f
cmovae eax, esi
mov dword [ebp - 0x4a8], 0
movzx eax, word [eax]
cmp cx, ax
je 0x4ee5d2
cmp di, ax
jne 0x4ee5dc
mov dword [ebp - 0x4a8], 1
cmp dword [ebp - 0x2c], 8
lea ecx, [ebp - 0x40]
mov eax, dword [ebp - 0x30]
cmovae ecx, esi
lea esi, [ecx + eax*2]
mov ecx, dword [ebp - 0x4a8]
lea eax, [ebp - 0x40]
cmovae eax, dword [ebp - 0x40]
lea eax, [eax + ecx*2]
mov ecx, dword [ebp - 0x14]
sub esi, eax
mov dword [ebp - 0x4ac], eax
mov eax, ecx
sar esi, 1
sub eax, ebx
mov dword [ebp - 0x4b4], esi
cmp esi, eax
ja 0x4ee868
mov eax, dword [ebp - 0x4b4]
lea edi, [esi + ebx]
cmp ecx, 8
mov dword [ebp - 0x18], edi
lea esi, [ebp - 0x28]
cmovae esi, dword [ebp - 0x28]
add eax, eax
push eax
push dword [ebp - 0x4ac]
lea ecx, [esi + ebx*2]
push ecx
call fcn.00572f50
add esp, 0xc
xor eax, eax
mov word [esi + edi*2], ax
jmp 0x4ee9d6
cmp ebx, 0x7ffffffe
ja 0x4eeccf
mov esi, ebx
or esi, 7
cmp esi, 0x7ffffffe
jbe 0x4ee676
mov esi, SysReAllocString
mov eax, 0xfffffffe
jmp 0x4ee697
mov eax, 0xa
cmp esi, eax
cmovb esi, eax
lea eax, [esi + 1]
cmp eax, 0x7fffffff
ja 0x4eecf6
add eax, eax
cmp eax, 0x1000
jb 0x4ee6c0
lea ecx, [eax + 0x23]
cmp ecx, eax
jbe 0x4eecf6
push ecx
call fcn.00591cad
mov ecx, eax
add esp, 4
test ecx, ecx
je 0x4eecd4
lea eax, [ecx + 0x23]
and eax, 0xffffffe0
mov dword [eax - 4], ecx
jmp 0x4ee6df
test eax, eax
je 0x4ee6dd
push eax
call fcn.00591cad
add esp, 4
mov dword [ebp - 0x4ac], eax
test eax, eax
je 0x4eece5
jmp 0x4ee6e5
xor eax, eax
mov dword [ebp - 0x4ac], eax
mov dword [ebp - 0x14], esi
lea esi, [ebx + ebx]
push esi
push dword [ebp - 0x4a8]
mov dword [ebp - 0x18], ebx
push eax
call fcn.005729d0
mov eax, dword [ebp - 0x4ac]
add esp, 0xc
xor ecx, ecx
mov dword [ebp - 0x28], eax
mov word [eax + esi], cx
jmp 0x4ee555
mov eax, edx
sub eax, ebx
cmp eax, 1
jb 0x4eecfb
mov esi, dword [ebp - 0x14]
lea eax, [ebx + 1]
mov edi, eax
mov dword [ebp - 0x4a8], eax
or edi, 7
mov dword [ebp - 0x4b4], esi
cmp edi, edx
jbe 0x4ee743
mov edi, edx
mov eax, 0xfffffffe
jmp 0x4ee777
mov ecx, esi
mov eax, edx
shr ecx, 1
sub eax, ecx
cmp esi, eax
jbe 0x4ee758
mov edi, edx
mov eax, 0xfffffffe
jmp 0x4ee777
lea eax, [esi + ecx]
cmp edi, eax
cmovb edi, eax
lea eax, [edi + 1]
cmp eax, 0x7fffffff
ja 0x4eecf6
add eax, eax
cmp eax, 0x1000
jb 0x4ee79e
lea ecx, [eax + 0x23]
cmp ecx, eax
jbe 0x4eecf6
push ecx
call fcn.00591cad
add esp, 4
test eax, eax
je 0x4eed00
lea esi, [eax + 0x23]
and esi, 0xffffffe0
mov dword [esi - 4], eax
jmp 0x4ee7b9
test eax, eax
je 0x4ee7b7
push eax
call fcn.00591cad
mov esi, eax
add esp, 4
test esi, esi
je 0x4eed11
jmp 0x4ee7b9
xor esi, esi
lea eax, [ebx + 1]
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x18], eax
lea eax, [ebx + ebx]
mov ebx, dword [ebp - 0x4b4]
lea edi, [esi + eax]
mov dword [ebp - 0x4ac], edi
push eax
cmp ebx, 8
jb 0x4ee845
mov edi, dword [ebp - 0x28]
push edi
push esi
call fcn.005729d0
mov eax, dword [ebp - 0x4ac]
mov ecx, 0x5c
add esp, 0xc
mov word [eax], cx
xor ecx, ecx
mov eax, dword [ebp - 0x4a8]
mov word [esi + eax*2], cx
lea ecx, [ebx*2 + 2]
cmp ecx, 0x1000
jb 0x4ee826
mov edx, dword [edi - 4]
add ecx, 0x23
sub edi, edx
lea eax, [edi - 4]
cmp eax, 0x1f
ja 0x4eed49
mov edi, edx
push ecx
push edi
call fcn.0056c61e
add esp, 8
mov ebx, dword [ebp - 0x18]
mov edx, SysReAllocString
mov dword [ebp - 0x28], esi
mov edi, 0x5c
jmp 0x4ee5a9
lea eax, [ebp - 0x28]
push eax
push esi
call fcn.005729d0
mov eax, dword [ebp - 0x4a8]
mov ecx, 0x5c
mov word [edi], cx
add esp, 0xc
xor ecx, ecx
mov word [esi + eax*2], cx
jmp 0x4ee830
mov eax, edx
sub eax, ebx
cmp eax, esi
jb 0x4eed22
mov eax, dword [ebp - 0x14]
lea ecx, [esi + ebx]
mov edi, ecx
mov dword [ebp - 0x4a8], ecx
or edi, 7
mov dword [ebp - 0x4cc], eax
cmp edi, 0x7ffffffe
jbe 0x4ee89f
mov edi, SysReAllocString
mov eax, 0xfffffffe
jmp 0x4ee8d3
mov ecx, eax
shr ecx, 1
sub edx, ecx
cmp eax, edx
jbe 0x4ee8b5
mov edi, SysReAllocString
mov eax, 0xfffffffe
jmp 0x4ee8d3
add eax, ecx
cmp edi, eax
cmovb edi, eax
lea eax, [edi + 1]
cmp eax, 0x7fffffff
ja 0x4eecf6
add eax, eax
cmp eax, 0x1000
jb 0x4ee8fa
lea ecx, [eax + 0x23]
cmp ecx, eax
jbe 0x4eecf6
push ecx
call fcn.00591cad
add esp, 4
test eax, eax
je 0x4eed27
lea esi, [eax + 0x23]
and esi, 0xffffffe0
mov dword [esi - 4], eax
jmp 0x4ee915
test eax, eax
je 0x4ee913
push eax
call fcn.00591cad
mov esi, eax
add esp, 4
test esi, esi
je 0x4eed38
jmp 0x4ee915
xor esi, esi
mov eax, dword [ebp - 0x4a8]
lea ecx, [ebx + ebx]
mov ebx, dword [ebp - 0x4cc]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x4b4]
mov dword [ebp - 0x14], edi
add eax, eax
mov dword [ebp - 0x4b4], eax
lea edi, [esi + ecx]
mov dword [ebp - 0x4c8], edi
push ecx
cmp ebx, 8
jb 0x4ee9a8
mov edi, dword [ebp - 0x28]
push edi
push esi
call fcn.005729d0
push dword [ebp - 0x4b4]
push dword [ebp - 0x4ac]
push dword [ebp - 0x4c8]
call fcn.005729d0
mov eax, dword [ebp - 0x4a8]
xor ecx, ecx
add esp, 0x18
mov word [esi + eax*2], cx
lea ecx, [ebx*2 + 2]
cmp ecx, 0x1000
jb 0x4ee99c
mov edx, dword [edi - 4]
add ecx, 0x23
sub edi, edx
lea eax, [edi - 4]
cmp eax, 0x1f
ja 0x4eed49
mov edi, edx
push ecx
push edi
call fcn.0056c61e
add esp, 8
jmp 0x4ee9d3
lea eax, [ebp - 0x28]
push eax
push esi
call fcn.005729d0
push dword [ebp - 0x4b4]
push dword [ebp - 0x4ac]
push edi
call fcn.005729d0
mov eax, dword [ebp - 0x4a8]
add esp, 0x18
xor ecx, ecx
mov word [esi + eax*2], cx
mov dword [ebp - 0x28], esi
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
lea ecx, [ebp - 0x4a4]
cmovae eax, dword [ebp - 0x28]
push eax
call fcn.004c5a20
mov byte [ebp - 4], 2
mov esi, eax
mov edx, dword [ebp - 0x14]
cmp edx, 8
jb 0x4eea2d
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4eea23
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4eed49
push edx
push ecx
call fcn.0056c61e
add esp, 8
xor eax, eax
mov byte [ebp - 4], 1
mov edx, dword [ebp - 0x2c]
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
cmp edx, 8
jb 0x4eea7f
mov ecx, dword [ebp - 0x40]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4eea75
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4eed49
push edx
push ecx
call fcn.0056c61e
add esp, 8
test esi, esi
je 0x4eebe0
mov ecx, dword [ebp - 0x44]
mov edi, dword [sym.imp.KERNEL32.dll_FindNextFileW]
test ecx, ecx
je 0x4eead2
mov eax, dword [ebp - 0x4a4]
shr eax, 4
and eax, 1
je 0x4eead4
cmp word [ebp - 0x478], 0x2e
jne 0x4eead4
mov dx, word [ebp - 0x476]
test dx, dx
je 0x4eebbe
cmp dx, 0x2e
jne 0x4eead4
cmp word [ebp - 0x474], 0
je 0x4eebbe
jmp 0x4eead4
xor eax, eax
test eax, eax
jne 0x4eebbe
lea eax, [ebp - 0x4c8]
push eax
lea ecx, [ebp - 0x4a4]
call fcn.004ed810
mov byte [ebp - 4], 4
mov edx, dword [eax]
mov ecx, edx
xor eax, eax
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 7
mov word [ebp - 0x40], ax
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4eeb14
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x40]
call fcn.00407cc7
lea eax, [ebp - 0x40]
mov byte [ebp - 4], 5
push eax
lea eax, [ebp - 0x4d4]
push eax
lea ecx, [ebp - 0x4bc]
call fcn.004f0c00
mov byte [ebp - 4], 4
mov edx, dword [ebp - 0x2c]
cmp edx, 8
jb 0x4eeb85
mov ecx, dword [ebp - 0x40]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4eeb7b
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4eed49
push edx
push ecx
call fcn.0056c61e
add esp, 8
xor eax, eax
mov byte [ebp - 4], 1
mov edx, dword [ebp - 0x4c8]
mov word [ebp - 0x40], ax
add edx, 0xfffffff0
mov dword [ebp - 0x30], 0
or eax, 0xffffffff
mov dword [ebp - 0x2c], 7
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4eebbb
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp - 0x44]
mov edx, dword [ebp - 0x48]
test edx, edx
je 0x4eebe3
test ecx, ecx
je 0x4eebe3
lea eax, [ebp - 0x4a4]
push eax
push edx
call edi
mov ecx, eax
mov dword [ebp - 0x44], ecx
test ecx, ecx
jne 0x4eea94
mov edx, dword [ebp - 0x48]
mov esi, dword [ebp - 0x4bc]
xor edi, edi
mov eax, dword [ebp - 0x4b8]
add eax, 0xfffffffb
mov esi, dword [esi]
test eax, eax
jle 0x4eec5d
mov ebx, dword [sym.imp.KERNEL32.dll_DeleteFileW]
cmp dword [esi + 0x24], 8
lea eax, [esi + 0x10]
jb 0x4eec0b
mov eax, dword [eax]
push eax
call ebx
mov eax, dword [esi + 8]
cmp byte [eax + 0xd], 0
je 0x4eec34
mov eax, dword [esi + 4]
cmp byte [eax + 0xd], 0
jne 0x4eec30
cmp esi, dword [eax + 8]
jne 0x4eec30
mov esi, eax
mov eax, dword [eax + 4]
cmp byte [eax + 0xd], 0
je 0x4eec20
mov esi, eax
jmp 0x4eec4c
mov esi, eax
mov ecx, dword [esi]
cmp byte [ecx + 0xd], 0
jne 0x4eec4c
nop
mov eax, dword [ecx]
mov esi, ecx
mov ecx, eax
cmp byte [eax + 0xd], 0
je 0x4eec40
mov eax, dword [ebp - 0x4b8]
inc edi
add eax, 0xfffffffb
cmp edi, eax
jl 0x4eec00
mov edx, dword [ebp - 0x48]
mov dword [ebp - 0x44], 0
test edx, edx
je 0x4eec7b
cmp edx, 0xffffffff
je 0x4eec7b
push edx
call dword [sym.imp.KERNEL32.dll_FindClose]
mov dword [ebp - 0x48], 0
mov eax, dword [ebp - 0x4bc]
push dword [eax + 4]
lea eax, [ebp - 0x4bc]
push eax
mov ecx, eax
call fcn.004f1210
push 0x28
push dword [ebp - 0x4bc]
call fcn.0056c61e
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0056cd75
mov esp, ebp
pop ebp
ret
push 0x638780
lea eax, [ebp - 0x4ad]
push eax
call fcn.0057359b
call fcn.0040791f
push 0x638780
lea eax, [ebp - 0x4be]
push eax
call fcn.0057359b
push 0x638780
lea eax, [ebp - 0x4bf]
push eax
call fcn.0057359b
call fcn.00407b84
call fcn.0040791f
push 0x638780
lea eax, [ebp - 0x4c0]
push eax
call fcn.0057359b
push 0x638780
lea eax, [ebp - 0x4c1]
push eax
call fcn.0057359b
call fcn.0040791f
push 0x638780
lea eax, [ebp - 0x4c2]
push eax
call fcn.0057359b
push 0x638780
lea eax, [ebp - 0x4c3]
push eax
call fcn.0057359b
call fcn.0057da80
int3