Function at 0x47d840
Capabilities:
Delete file

Disassembly:
push 0xffffffffffffffff
push 0x4f7a20
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.0047c170
add esp, 4
push eax
lea ecx, [esp + 0x10]
call fcn.00401fd0
mov dword [esp + 0x40], ebp
call fcn.004df219
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.004df219
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.004ddd65
mov ecx, dword [esp + 0xc]
mov eax, dword [ecx - 0xc]
cmp eax, ebp
mov byte [esp + 0x40], 3
je 0x47d8dc
jge 0x47d8cb
push 0x80070057
call fcn.00401110
cmp byte [ecx], 0x5c
jne 0x47d8dc
push 1
push ebp
lea ecx, [esp + 0x14]
call fcn.0047d550
push edi
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x18]
call fcn.004040e0
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.0047cc00
mov eax, dword [esp + 0x40]
add esp, 0x10
cmp eax, ebp
jne 0x47d955
lea ecx, [esp + 0x28]
mov byte [esp + 0x44], 2
call fcn.004dddb7
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 0x47d94d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
lea eax, [esi - 0x10]
jmp 0x47db5b
mov esi, dword [esp + 0x4c]
push ebp
imul esi, esi, 0x15180
xor ebx, ebx
call fcn.004cf5ad
sub eax, esi
mov dword [esp + 0x24], eax
lea eax, [esp + 0x24]
sbb edx, ebx
push eax
mov dword [esp + 0x2c], edx
call fcn.004cfedc
add esp, 8
cmp eax, ebp
je 0x47d989
mov ebx, dword [eax + 0xc]
jmp 0x47d98b
xor ebx, ebx
lea ecx, [esp + 0x20]
push ecx
call fcn.004cfedc
add esp, 4
cmp eax, ebp
je 0x47d9a2
mov esi, dword [eax + 0x10]
inc esi
jmp 0x47d9a4
xor esi, esi
lea edx, [esp + 0x20]
push edx
call fcn.004cfedc
add esp, 4
cmp eax, ebp
je 0x47d9bf
mov eax, dword [eax + 0x14]
add eax, 0x76c
jmp 0x47d9c1
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 0x4fcaa0
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.00409450
add esp, 0x18
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x48], 5
call fcn.004040e0
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 0x47da43
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 0x47da66
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
lea ecx, [esp + 0x10]
call fcn.0040f4d0
mov eax, dword [esp + 0x30]
test eax, eax
jle 0x47db23
mov ebx, dword [sym.imp.KERNEL32.dll_DeleteFileA]
test ebp, ebp
jl 0x47dbbc
cmp ebp, eax
jge 0x47dbbc
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 0x47dab8
push esi
mov ecx, edi
call fcn.00401610
mov eax, dword [edi]
push eax
call fcn.004cf3bc
add esp, 4
test esi, esi
jl 0x47dbb2
mov eax, dword [edi]
cmp esi, dword [eax - 8]
jg 0x47dbb2
mov dword [eax - 0xc], esi
mov ecx, dword [edi]
mov byte [esi + ecx], 0
cmp ebp, dword [esp + 0x30]
jge 0x47dbbc
mov edx, dword [esp + 0x2c]
mov ecx, dword [esp + 0x10]
mov eax, dword [edx + ebp*4]
push ecx
push eax
call fcn.004ceccf
add esp, 8
test eax, eax
jge 0x47db16
cmp ebp, dword [esp + 0x30]
jge 0x47dbbc
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 0x47da81
lea ecx, [esp + 0x28]
mov byte [esp + 0x44], 2
call fcn.004dddb7
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 0x47db54
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 0x47db77
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 0x47db9d
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.004dced3
int3