Function at 0x476dd3
Capabilities:
Delete file

Disassembly:
mov eax, 0x56d0d0
call fcn.00524444
sub esp, 0x25c
push ebx
push esi
mov esi, ecx
xor ebx, ebx
push edi
mov byte [ebp - 0x164], bl
mov eax, dword [esi]
mov byte [ebp - 0x268], bl
mov byte [ebp - 0x60], bl
call dword [eax + 0x60]
lea ecx, [ebp - 0x10]
mov dword [ebp - 0x10], eax
mov eax, dword [esi]
push ecx
mov ecx, esi
call dword [eax + 0x64]
mov edi, eax
cmp edi, ebx
je 0x4770ca
cmp dword [esi + 0x498], ebx
jne 0x4770ca
push 0xffffffffffffffff
push ebx
push ebx
mov ecx, esi
call fcn.0050ddcb
push ebx
push ebx
mov ecx, esi
call fcn.0046de5a
cmp dword [esi + 0x188], ebx
jne 0x476e57
mov eax, dword [esi + 0x20]
push 0x622c94
push eax
call fcn.00524dbe
pop ecx
test eax, eax
pop ecx
je 0x476e57
push dword [esi + 0x20]
jmp 0x476e5d
push dword [esi + 0x158]
lea eax, [ebp - 0x268]
push eax
call fcn.005254b0
pop ecx
lea eax, [ebp - 0x268]
pop ecx
push eax
call fcn.00525390
pop ecx
dec eax
cmp eax, ebx
jle 0x476e8e
cmp byte [ebp + eax - 0x268], 0x5c
jne 0x476e78
mov byte [ebp + eax - 0x267], bl
call dword [sym.imp.KERNEL32.dll_GetTickCount]
xor edx, edx
mov ecx, 0xf4240
div ecx
lea eax, [ebp - 0x60]
push 0x10
push eax
push edx
call fcn.00525629
lea eax, [ebp - 0x268]
push eax
lea eax, [ebp - 0x164]
push eax
call fcn.005254b0
lea eax, [ebp - 0x60]
push eax
lea eax, [ebp - 0x164]
push eax
call fcn.005254c0
lea eax, [ebp - 0x164]
push str.atu.tmp
push eax
call fcn.005254c0
lea eax, [ebp - 0x164]
push eax
call fcn.004ac72a
add esp, 0x28
test eax, eax
je 0x4770bd
push ebx
push ebx
push ebx
push ebx
push ebx
mov eax, dword [esi + 0x1c]
push ebx
lea edx, [ebp - 0x164]
push dword [ebp + 8]
lea ecx, [esi + 0x208]
push 0xffffffffffffffff
push 0xffffffffffffffff
push ebx
push ebx
push edx
push eax
push ecx
mov ecx, edi
call fcn.004ac8fd
test eax, eax
je 0x4770b3
lea ecx, [ebp - 0x3c]
call fcn.00479de5
push ebx
lea eax, [ebp - 0x164]
push 0x40
push eax
lea ecx, [ebp - 0x3c]
mov dword [ebp - 4], ebx
call fcn.0053f31e
cmp eax, ebx
je 0x476f7a
lea ecx, [esi + 0x208]
push ebx
push ecx
push ebx
push ebx
mov eax, dword [esi + 0x158]
push ebx
mov ecx, edi
push dword [esi + 0x20c]
push ebx
push 0xffffffffffffffff
push 0xffffffffffffffff
push ebx
push ebx
push eax
lea eax, [ebp - 0x164]
push eax
lea eax, [ebp - 0x3c]
push eax
call fcn.004ac8fd
test eax, eax
jne 0x476fad
lea ecx, [ebp - 0x3c]
call fcn.0047a07c
lea eax, [ebp - 0x164]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
push ebx
push 0x30
push 0x5c4f44
call fcn.0054ed65
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x3c]
call fcn.00479e1c
jmp 0x4770ca
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0xb0]
lea ecx, [ebp - 0x3c]
call fcn.0047a07c
lea eax, [ebp - 0x164]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov ecx, dword [edi + 0xe0]
xor eax, eax
cmp ecx, ebx
jle 0x476fff
mov ecx, dword [edi + 0xdc]
cmp dword [ebp + 8], 1
mov edx, dword [ecx + eax*4]
lea ecx, [ecx + eax*4]
jne 0x476ff0
lea edx, [edx + edx + 2]
jmp 0x476ff4
dec edx
dec edx
shr edx, 1
inc eax
mov dword [ecx], edx
cmp eax, dword [edi + 0xe0]
jl 0x476fd8
lea eax, [esi + 0x248]
push eax
lea eax, [esi + 0x208]
push eax
call fcn.00479ea2
push 1
push ebx
mov ecx, esi
call fcn.004762d8
cmp dword [edi + 0x1f4], ebx
je 0x47702d
mov dword [edi + 0x20c], ebx
push ebx
jmp 0x477041
mov ecx, dword [esi + 0x18c]
lea eax, [esi + 0x18c]
mov dword [edi + 0x20c], ecx
push dword [eax]
push dword [edi + 0x1c]
call fcn.0044a35e
mov eax, dword [esi + 0x1f4]
lea ecx, [esi + 0x1f4]
cdq
mov dword [edi + 0x220], eax
mov dword [edi + 0x224], edx
mov eax, dword [ecx]
cdq
mov dword [edi + 0x228], eax
mov dword [edi + 0x22c], edx
mov eax, dword [ecx]
mov ecx, edi
cdq
mov dword [edi + 0x218], eax
mov dword [edi + 0x21c], edx
mov dword [edi + 0x238], 1
call fcn.004afb02
push dword [esi + 0x190]
mov ecx, dword [0x62ae3c]
push dword [esi + 0x18c]
push dword [esi + 0x164]
call fcn.00480b1d
jmp 0x476f9c
push ebx
push 0x30
push 0x5c4f1c
jmp 0x4770c5
push ebx
push 0x30
push 0x5c4ef4
call fcn.0054ed65
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 4