Function at 0x42f0f6
Capabilities:
Delete file

Disassembly:
push ebp
lea ebp, [esp - 0x64]
sub esp, 0xd0
push ebx
push esi
mov esi, ecx
push edi
lea ecx, [ebp + 0x54]
call fcn.0043dd7e
push dword [ebp + 0x6c]
and dword [ebp + 0x58], 0
and dword [ebp + 0x5c], 0
lea ecx, [ebp + 0x40]
call fcn.00446497
mov eax, dword [ebp + 0x40]
mov ebx, dword [ebp + 0x74]
mov dword [ebp + 0x38], eax
mov eax, dword [ebp + 0x74]
and ebx, 0x200
and eax, 0xfffffff7
neg ebx
sbb ebx, ebx
and dword [ebp + 0x74], 8
push 0x4aa28c
lea ecx, [ebp + 0x4c]
mov dword [ebp + 0x44], eax
and ebx, 9
call fcn.00446497
call fcn.00410fcc
mov edi, eax
movzx eax, di
push 0
mov dword [ebp + 0x60], eax
shl dword [ebp + 0x60], 0x10
push esi
lea ecx, [ebp - 0x6c]
mov dword [ebp + 0x34], edi
mov dword [ebp + 0x48], eax
call fcn.0042efec
push esi
lea ecx, [ebp - 0x6c]
call fcn.0040f28c
push dword [ebp + 0x6c]
lea ecx, [ebp + 0x50]
call fcn.00446497
and dword [ebp + 0x3c], 0
lea eax, [ebp + 0x3c]
push eax
lea eax, [ebp + 0x50]
push eax
push dword [ebp + 0x6c]
call fcn.00485e2a
mov eax, dword [ebp + 0x3c]
add esp, 0xc
test eax, eax
je 0x42f1aa
and word [eax - 2], 0
push dword [ebp + 0x50]
lea ecx, [ebp - 0x6c]
push 0x4aa164
call fcn.0043d658
push dword [ebp + 0x48]
lea ecx, [ebp - 0x6c]
call fcn.0043c957
mov eax, dword [ebp + 0x54]
push dword [ebp + 0x60]
mov word [ebp - 0x40], di
xor word [eax], di
lea eax, [ebp - 0x6c]
push eax
lea eax, [ebp + 0x4c]
push eax
push dword [ebp + 0x38]
lea eax, [ebp + 0x54]
push 0
push eax
call fcn.00424ea7
mov edi, eax
add esp, 0x18
cmp edi, 0xffffffff
jne 0x42f1ff
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
jmp 0x42f332
push 0
lea ecx, [ebp + 0x4c]
call fcn.004464ff
mov eax, dword [ebp + 0x54]
push dword [ebp + 0x34]
mov dword [ebp + 0x30], eax
push eax
call fcn.00410fb3
test eax, eax
pop ecx
pop ecx
jle 0x42f330
add eax, 2
push eax
push 0
push dword [ebp + 0x54]
call fcn.00411027
movzx eax, word [ebp + 0x60]
and dword [ebp - 0x28], 0
and edi, 2
or edi, eax
or edi, dword [ebp + 0x60]
add esp, 0xc
cmp dword [ebp + 0x74], 0
je 0x42f252
push dword [ebp + 0x6c]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
cmp dword [ebp + 0x30], 0
jne 0x42f260
xor esi, esi
inc esi
jmp 0x42f332
cmp byte [0x4bf2a4], 0
jge 0x42f270
mov byte [0x4bf2a4], 1
push dword [ebp + 0x70]
lea eax, [ebp + 0x54]
push dword [ebp + 0x78]
push eax
push dword [ebp + 0x48]
call fcn.00425333
sub eax, dword [ebp + 0x54]
sar eax, 1
push eax
push dword [ebp + 0x44]
lea eax, [ebp + 0x54]
push dword [ebp + 0x7c]
push eax
push dword [ebp + 0x48]
call fcn.0041936f
add esp, 0x24
push eax
mov dword [ebp + 0x74], eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
cmp ebx, 9
mov ax, word [esi + 0x2c]
mov word [ebp + 0x6c], ax
jne 0x42f2d7
mov eax, dword [esi + 0x4c]
mov ecx, dword [ebp - 0x20]
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x18]
push eax
lea eax, [esi + 0x54]
push eax
mov dword [esi + 0x4c], ecx
call fcn.00412a74
mov ax, word [ebp - 0x40]
pop ecx
pop ecx
mov word [esi + 0x2c], ax
mov ecx, dword [ebp + 0x54]
and dword [ebp + 0x54], 0
test bl, 1
je 0x42f2e7
mov eax, esi
jmp 0x42f2f2
mov eax, ebx
neg eax
sbb eax, eax
lea edx, [ebp - 0x6c]
and eax, edx
or edi, dword [ebp + 0x44]
push eax
push dword [ebp + 0x74]
push edi
push dword [ebp + 0x38]
push dword [ebp + 0x70]
push ecx
mov ecx, esi
call fcn.0047f8ec
cmp ebx, 9
jne 0x42f330
mov eax, dword [esi + 0x4c]
mov ecx, dword [ebp - 0x20]
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x18]
push eax
lea eax, [esi + 0x54]
push eax
mov dword [esi + 0x4c], ecx
call fcn.00412a74
mov ax, word [ebp + 0x6c]
pop ecx
pop ecx
mov word [esi + 0x2c], ax
xor esi, esi
lea ecx, [ebp + 0x50]
call fcn.00437e1a
push 0
lea ecx, [ebp - 0x6c]
call fcn.0042ef86
lea ecx, [ebp - 0x2c]
call fcn.00437e1a
lea ecx, [ebp + 0x4c]
call fcn.00437e1a
lea ecx, [ebp + 0x40]
call fcn.00437e1a
lea ecx, [ebp + 0x54]
call fcn.00437e1a
pop edi
mov eax, esi
pop esi
pop ebx
add ebp, 0x64
leave
ret 0x14