Function at 0x4363d0
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4f2289
mov eax, dword fs:[0]
push eax
sub esp, 0x4b4
mov eax, dword [0x54006c]
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 esi, ecx
mov dword [ebp - 0x4b0], 0
mov dword [ebp - 0x4ac], 0
call fcn.004375b0
mov dword [ebp - 0x4b0], eax
mov dword [ebp - 4], 0
mov eax, 0x5c
mov word [ebp - 0x50], ax
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x48], 0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x28]
push 6
xor eax, eax
mov dword [ebp - 0x14], 7
push 0x532138
mov dword [ebp - 0x18], 0
mov word [ebp - 0x28], ax
call fcn.00415df0
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 2
push eax
lea edx, [esi + 4]
lea ecx, [ebp - 0x40]
call fcn.0042ec20
add esp, 4
mov byte [ebp - 4], 3
cmp dword [eax + 0x14], 8
jb 0x436486
mov eax, dword [eax]
push eax
lea ecx, [ebp - 0x4a8]
call fcn.00434cc0
mov ecx, dword [ebp - 0x2c]
mov esi, eax
cmp ecx, 8
jb 0x4364a9
inc ecx
push ecx
push dword [ebp - 0x40]
lea ecx, [ebp - 0x40]
call fcn.00418d80
xor eax, eax
mov byte [ebp - 4], 1
mov word [ebp - 0x40], ax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x2c], 7
mov dword [ebp - 0x30], 0
cmp eax, 8
jb 0x4364d6
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.00418d80
test esi, esi
je 0x436618
mov ecx, dword [ebp - 0x48]
mov edi, dword [sym.imp.KERNEL32.dll_FindNextFileW]
mov ebx, dword [ebp - 0x4b4]
test ecx, ecx
je 0x43652f
mov eax, dword [ebp - 0x4a8]
shr eax, 4
and eax, 1
je 0x436531
cmp word [ebp - 0x47c], 0x2e
jne 0x436531
mov dx, word [ebp - 0x47a]
test dx, dx
je 0x4365f6
cmp dx, 0x2e
jne 0x436531
cmp word [ebp - 0x478], 0
je 0x4365f6
jmp 0x436531
xor eax, eax
test eax, eax
jne 0x4365f6
lea eax, [ebp - 0x4b4]
push eax
lea ecx, [ebp - 0x4a8]
call fcn.00435d60
mov byte [ebp - 4], 4
mov edx, dword [eax]
xor eax, eax
mov dword [ebp - 0x14], 7
mov dword [ebp - 0x18], 0
mov word [ebp - 0x28], ax
cmp word [edx], ax
jne 0x43656e
xor ecx, ecx
jmp 0x436582
mov ecx, edx
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x436573
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x28]
call fcn.00415df0
push ebx
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 5
push eax
push ecx
lea eax, [ebp - 0x4c0]
push eax
lea ecx, [ebp - 0x4b0]
call fcn.004376e0
mov eax, dword [ebp - 0x14]
cmp eax, 8
jb 0x4365bd
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.00418d80
xor eax, eax
mov byte [ebp - 4], 1
mov edx, dword [ebp - 0x4b4]
mov word [ebp - 0x28], ax
add edx, 0xfffffff0
mov dword [ebp - 0x14], 7
or eax, 0xffffffff
mov dword [ebp - 0x18], 0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4365f3
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp - 0x48]
mov edx, dword [ebp - 0x4c]
test edx, edx
je 0x43661b
test ecx, ecx
je 0x43661b
lea eax, [ebp - 0x4a8]
push eax
push edx
call edi
mov ecx, eax
mov dword [ebp - 0x48], ecx
test ecx, ecx
jne 0x4364f1
mov edx, dword [ebp - 0x4c]
mov ecx, dword [ebp - 0x4b0]
xor edi, edi
mov eax, dword [ebp - 0x4ac]
add eax, 0xfffffffb
mov esi, dword [ecx]
test eax, eax
jle 0x4366a9
mov ebx, dword [sym.imp.KERNEL32.dll_DeleteFileW]
nop dword [eax + eax]
cmp dword [esi + 0x24], 8
lea eax, [esi + 0x10]
jb 0x43664b
mov eax, dword [eax]
push eax
call ebx
cmp byte [esi + 0xd], 0
jne 0x436692
mov eax, dword [esi + 8]
cmp byte [eax + 0xd], 0
jne 0x436673
mov esi, eax
mov eax, dword [esi]
cmp byte [eax + 0xd], 0
jne 0x436692
mov esi, eax
mov eax, dword [esi]
cmp byte [eax + 0xd], 0
je 0x436667
jmp 0x436692
mov eax, dword [esi + 4]
cmp byte [eax + 0xd], 0
jne 0x436690
nop dword [eax]
cmp esi, dword [eax + 8]
jne 0x436690
mov esi, eax
mov eax, dword [eax + 4]
cmp byte [eax + 0xd], 0
je 0x436680
mov esi, eax
mov eax, dword [ebp - 0x4ac]
inc edi
add eax, 0xfffffffb
cmp edi, eax
jl 0x436640
mov ecx, dword [ebp - 0x4b0]
mov edx, dword [ebp - 0x4c]
mov dword [ebp - 0x48], 0
test edx, edx
je 0x4366cd
cmp edx, 0xffffffff
je 0x4366cd
push edx
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, dword [ebp - 0x4b0]
mov dword [ebp - 0x4c], 0
push ecx
push dword [ecx]
lea eax, [ebp - 0x4b8]
push eax
lea ecx, [ebp - 0x4b0]
call fcn.00436f90
push dword [ebp - 0x4b0]
call fcn.004cab14
add esp, 4
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.00465694
mov esp, ebp
pop ebp
ret