Function at 0x47f620
Capabilities:
Delete file

Disassembly:
push 0xffffffffffffffff
push 0x4fdbc0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
push ebx
push ebp
push esi
xor ebp, ebp
push ebp
mov esi, ecx
call fcn.0047df50
add esp, 4
push eax
lea ecx, [esp + 0x10]
call fcn.00401fd0
mov dword [esp + 0x40], ebp
call fcn.004e5159
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [esp + 0x10], eax
mov byte [esp + 0x40], 1
call fcn.004e5159
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
lea ebx, [eax + 0x10]
mov dword [esp + 0x14], ebx
lea ecx, [esp + 0x24]
mov byte [esp + 0x40], 2
call fcn.004e3ca5
mov ecx, dword [esp + 0xc]
mov eax, dword [ecx - 0xc]
cmp eax, ebp
mov byte [esp + 0x40], 3
je 0x47f6bc
jge 0x47f6ab
push 0x80070057
call fcn.00401110
cmp byte [ecx], 0x5c
jne 0x47f6bc
push 1
push ebp
lea ecx, [esp + 0x14]
call fcn.0047f330
push edi
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x18]
call fcn.00403fd0
push str..log
push str..exe
lea ecx, [esp + 0x1c]
call fcn.00401920
mov eax, dword [esi + 0x38]
lea ecx, [esp + 0x28]
push ecx
lea edi, [esi + 0x38]
mov esi, dword [esp + 0x18]
push ebp
push esi
push eax
call fcn.0047e9e0
mov eax, dword [esp + 0x40]
add esp, 0x10
cmp eax, ebp
jne 0x47f735
lea ecx, [esp + 0x28]
mov byte [esp + 0x44], 2
call fcn.004e3cf7
lea eax, [ebx - 0x10]
mov byte [esp + 0x44], 1
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x47f72d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
lea eax, [esi - 0x10]
jmp 0x47f93b
mov esi, dword [esp + 0x4c]
push ebp
imul esi, esi, 0x15180
xor ebx, ebx
call fcn.004d54b4
sub eax, esi
mov dword [esp + 0x24], eax
lea eax, [esp + 0x24]
sbb edx, ebx
push eax
mov dword [esp + 0x2c], edx
call fcn.004d5e1c
add esp, 8
cmp eax, ebp
je 0x47f769
mov ebx, dword [eax + 0xc]
jmp 0x47f76b
xor ebx, ebx
lea ecx, [esp + 0x20]
push ecx
call fcn.004d5e1c
add esp, 4
cmp eax, ebp
je 0x47f782
mov esi, dword [eax + 0x10]
inc esi
jmp 0x47f784
xor esi, esi
lea edx, [esp + 0x20]
push edx
call fcn.004d5e1c
add esp, 4
cmp eax, ebp
je 0x47f79f
mov eax, dword [eax + 0x14]
add eax, 0x76c
jmp 0x47f7a1
xor eax, eax
push ebx
push esi
push eax
lea eax, [esp + 0x24]
push str._04u_02u_02u.log
push eax
call fcn.00401c40
mov ecx, dword [esp + 0x2c]
add esp, 0x14
push ecx
push str..exe
lea ecx, [esp + 0x18]
call fcn.00401920
push 0x502aa8
lea edx, [esp + 0x20]
push edi
push edx
call fcn.00401e30
lea ecx, [esp + 0x1c]
push ecx
push eax
lea edx, [esp + 0x60]
mov bl, 4
push edx
mov byte [esp + 0x5c], bl
call fcn.004092f0
add esp, 0x18
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x48], 5
call fcn.00403fd0
mov eax, dword [esp + 0x4c]
add eax, 0xfffffff0
mov byte [esp + 0x44], bl
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x47f823
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
mov byte [esp + 0x44], 3
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x47f846
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
lea ecx, [esp + 0x10]
call fcn.0040f3c0
mov eax, dword [esp + 0x30]
test eax, eax
jle 0x47f903
mov ebx, dword [sym.imp.KERNEL32.dll_DeleteFileA]
test ebp, ebp
jl 0x47f99c
cmp ebp, eax
jge 0x47f99c
mov eax, dword [esp + 0x2c]
lea edi, [eax + ebp*4]
mov eax, dword [edi]
mov edx, dword [eax - 4]
mov esi, dword [eax - 0xc]
mov eax, dword [eax - 8]
mov ecx, 1
sub ecx, edx
sub eax, esi
or eax, ecx
jge 0x47f898
push esi
mov ecx, edi
call fcn.00401670
mov eax, dword [edi]
push eax
call fcn.004d52fc
add esp, 4
test esi, esi
jl 0x47f992
mov eax, dword [edi]
cmp esi, dword [eax - 8]
jg 0x47f992
mov dword [eax - 0xc], esi
mov ecx, dword [edi]
mov byte [esi + ecx], 0
cmp ebp, dword [esp + 0x30]
jge 0x47f99c
mov edx, dword [esp + 0x2c]
mov ecx, dword [esp + 0x10]
mov eax, dword [edx + ebp*4]
push ecx
push eax
call fcn.004d4c0f
add esp, 8
test eax, eax
jge 0x47f8f6
cmp ebp, dword [esp + 0x30]
jge 0x47f99c
mov edx, dword [esp + 0x2c]
mov eax, dword [edx + ebp*4]
push eax
call ebx
mov eax, dword [esp + 0x30]
inc ebp
cmp ebp, eax
jl 0x47f861
lea ecx, [esp + 0x28]
mov byte [esp + 0x44], 2
call fcn.004e3cf7
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
mov byte [esp + 0x44], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x47f934
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
mov byte [esp + 0x44], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x47f957
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
mov dword [esp + 0x44], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x47f97d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov ecx, dword [esp + 0x3c]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x38
ret 4
push 0x80070057
call fcn.00401110
call fcn.004e2e19
int3