Function at 0x46c194
Capabilities:
Delete file

Disassembly:
push 0x254
mov eax, 0x668a40
call fcn.005bea6f
mov edi, ecx
mov dword [ebp - 0x244], edi
mov ecx, dword [edi + 0x170]
mov dword [ebp - 0x230], ecx
mov esi, dword [ecx + 0x14]
lea eax, [ecx + 0x10]
mov ebx, dword [eax]
push eax
mov dword [ebp - 0x234], ebx
mov dword [ebp - 0x22c], esi
call fcn.0052f950
pop ecx
mov ecx, dword [edi]
mov edi, esi
imul edi, ebx
mov dword [ebp - 0x24c], eax
push 2
mov eax, dword [ecx + 0x24]
mov dword [ebp - 0x250], eax
pop ebx
cmp edi, 0x7270e04
jl 0x46c205
inc ebx
mov eax, edi
mov ecx, ebx
cdq
imul ecx, ebx
idiv ecx
cmp eax, 0x1c9c380
jg 0x46c1f3
mov edi, dword [ebp - 0x234]
mov ecx, ebx
shl ecx, 3
and dword [ebp - 0x240], 0
lea eax, [edi + 7]
cdq
idiv ecx
shl eax, 3
mov dword [ebp - 0x248], eax
lea eax, [esi + 7]
cdq
idiv ecx
shl eax, 3
mov dword [ebp - 0x23c], eax
test ebx, ebx
jle 0x46c3b6
xor eax, eax
mov dword [ebp - 0x228], eax
xor ecx, ecx
mov dword [ebp - 0x25c], eax
mov eax, dword [ebp - 0x248]
xor edx, edx
mov dword [ebp - 0x224], ecx
mov dword [ebp - 0x238], edx
mov dword [ebp - 0x258], eax
mov eax, dword [ebp - 0x23c]
mov dword [ebp - 0x254], eax
lea eax, [ebx - 1]
mov dword [ebp - 0x260], edx
cmp dword [ebp - 0x240], eax
jne 0x46c295
mov eax, esi
sub eax, dword [ebp - 0x228]
mov dword [ebp - 0x254], eax
lea eax, [ebx - 1]
cmp ecx, eax
jne 0x46c2a3
mov eax, edi
sub eax, edx
mov dword [ebp - 0x258], eax
sub esp, 0x10
lea esi, [ebp - 0x260]
mov edi, esp
push 0xa
movsd dword es:[edi], dword [esi]
push 6
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov esi, dword [ebp - 0x244]
mov ecx, esi
call fcn.004698dc
push 8
push 0xa
mov ecx, esi
call fcn.0046bfed
test al, al
je 0x46c3f7
push dword [ebp - 0x224]
lea edx, [esi + 0x1cc]
push dword [ebp - 0x240]
lea ecx, [ebp - 0x218]
call fcn.0046c10f
pop ecx
pop ecx
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x220]
call fcn.004590bc
xor edi, edi
mov ecx, esi
push edi
push 2
push 8
mov dword [ebp - 4], edi
call fcn.004687af
push eax
lea eax, [ebp - 0x220]
mov ecx, esi
push eax
call fcn.00469b1b
neg al
sbb al, al
or dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x220]
inc al
mov byte [ebp - 0x219], al
test ecx, ecx
je 0x46c352
call fcn.004591a0
mov al, byte [ebp - 0x219]
mov dword [ebp - 0x220], edi
test al, al
jne 0x46c3f7
mov ecx, dword [ebp - 0x224]
mov edx, dword [ebp - 0x238]
inc ecx
mov eax, dword [ebp - 0x248]
add edx, eax
mov esi, dword [ebp - 0x22c]
mov edi, dword [ebp - 0x234]
mov dword [ebp - 0x224], ecx
mov dword [ebp - 0x238], edx
cmp ecx, ebx
jl 0x46c261
mov ecx, dword [ebp - 0x240]
mov eax, dword [ebp - 0x228]
inc ecx
add eax, dword [ebp - 0x23c]
mov dword [ebp - 0x240], ecx
mov dword [ebp - 0x228], eax
cmp ecx, ebx
jl 0x46c245
mov ecx, dword [ebp - 0x250]
mov eax, dword [ebp - 0x234]
mov edi, eax
cmp ecx, 0x5a
je 0x46c3d1
cmp ecx, 0x10e
jne 0x46c3d5
mov edi, esi
mov esi, eax
mov ecx, dword [ebp - 0x230]
call fcn.0052d180
cmp dword [ebp - 0x24c], 3
mov ecx, dword [ebp - 0x230]
push 1
push esi
push edi
jne 0x46c3fe
push 3
jmp 0x46c400
xor al, al
jmp 0x46c5c4
push 1
call fcn.0052cfd0
and dword [ebp - 0x228], 0
xor ecx, ecx
mov dword [ebp - 0x224], ecx
test ebx, ebx
jle 0x46c5c2
mov eax, dword [ebp - 0x244]
add eax, 0x1cc
mov dword [ebp - 0x24c], eax
lea eax, [ebx - 1]
mov esi, eax
mov dword [ebp - 0x220], eax
xor edx, edx
mov dword [ebp - 0x238], eax
and dword [ebp - 0x22c], edx
mov edi, eax
mov dword [ebp - 0x23c], edx
mov eax, dword [ebp - 0x250]
sub eax, 0x5a
je 0x46c475
sub eax, 0x5a
je 0x46c46f
sub eax, 0x5a
je 0x46c469
mov eax, ecx
mov ecx, edx
jmp 0x46c477
mov eax, edx
mov ecx, esi
jmp 0x46c477
mov eax, esi
mov ecx, edi
jmp 0x46c477
mov eax, edi
mov edx, dword [ebp - 0x24c]
push ecx
push eax
lea ecx, [ebp - 0x218]
call fcn.0046c10f
pop ecx
pop ecx
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x230]
call fcn.004590bc
mov ecx, dword [ebp - 0x244]
lea eax, [ebp - 0x230]
push 0
push 0xa
push eax
mov dword [ebp - 4], 1
call fcn.00468a3c
neg al
sbb al, al
or dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x230]
inc al
mov byte [ebp - 0x219], al
test ecx, ecx
je 0x46c4e7
call fcn.004591a0
and dword [ebp - 0x230], 0
mov al, byte [ebp - 0x219]
test al, al
jne 0x46c3f7
mov ecx, dword [ebp - 0x244]
push 0xa
call fcn.004687af
sub esp, 0x10
mov edi, esp
mov ecx, dword [eax + 0x14]
mov esi, dword [eax + 0x10]
mov eax, dword [ebp - 0x22c]
mov dword [ebp - 0x260], eax
mov eax, dword [ebp - 0x228]
mov dword [ebp - 0x248], esi
mov dword [ebp - 0x258], esi
lea esi, [ebp - 0x260]
mov dword [ebp - 0x254], ecx
mov dword [ebp - 0x25c], eax
movsd dword es:[edi], dword [esi]
push ecx
mov dword [ebp - 0x234], ecx
push ecx
mov ecx, dword [ebp - 0x244]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call fcn.0046c5ca
test al, al
je 0x46c3f7
mov eax, dword [ebp - 0x248]
add dword [ebp - 0x22c], eax
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov edx, dword [ebp - 0x23c]
mov edi, dword [ebp - 0x238]
inc edx
mov ecx, dword [ebp - 0x224]
dec edi
mov esi, dword [ebp - 0x220]
mov dword [ebp - 0x23c], edx
mov dword [ebp - 0x238], edi
cmp edx, ebx
jl 0x46c44e
mov eax, dword [ebp - 0x234]
add dword [ebp - 0x228], eax
inc ecx
dec esi
mov dword [ebp - 0x224], ecx
mov dword [ebp - 0x220], esi
lea eax, [ebx - 1]
cmp ecx, ebx
jl 0x46c438
mov al, 1
call fcn.005bea19
ret