Function at 0x42045c
Capabilities:
Delete file

Disassembly:
push ebp
lea ebp, [esp - 0x64]
sub esp, 0xd8
push ebx
push esi
mov dword [ebp + 0x4c], ecx
push edi
lea ecx, [ebp + 0x58]
call fcn.00433c24
push dword [ebp + 0x6c]
xor ebx, ebx
lea ecx, [ebp + 0x44]
mov dword [ebp + 0x5c], ebx
mov dword [ebp + 0x60], ebx
call fcn.0043ddc9
mov eax, dword [ebp + 0x44]
mov dword [ebp + 0x40], eax
mov eax, dword [ebp + 0x74]
and dword [ebp + 0x74], 8
and eax, 0xfffffff7
push 0x4910f4
lea ecx, [ebp + 0x50]
mov dword [ebp + 0x48], eax
call fcn.0043ddc9
call fcn.0040e368
movzx cx, al
mov ch, al
push ebx
push dword [ebp + 0x4c]
mov dword [ebp + 0x3c], eax
mov esi, ecx
movzx edi, si
mov dword [ebp + 0x38], edi
lea ecx, [ebp - 0x74]
mov dword [ebp + 0x30], esi
shl edi, 0x10
call fcn.0041fe8f
push dword [ebp + 0x4c]
lea ecx, [ebp - 0x74]
call fcn.0040c370
push dword [ebp + 0x6c]
lea ecx, [ebp + 0x54]
call fcn.0043ddc9
lea eax, [ebp + 0x34]
push eax
lea eax, [ebp + 0x54]
push eax
push dword [ebp + 0x6c]
mov dword [ebp + 0x34], ebx
call fcn.0046f35f
mov eax, dword [ebp + 0x34]
add esp, 0xc
cmp eax, ebx
je 0x420507
mov word [eax - 2], bx
push dword [ebp + 0x54]
lea ecx, [ebp - 0x74]
push 0x4921bc
call fcn.004335ed
push dword [ebp + 0x38]
lea ecx, [ebp - 0x74]
call fcn.00432b58
mov eax, dword [ebp + 0x58]
push edi
mov word [ebp - 0x6c], si
xor word [eax], si
lea eax, [ebp - 0x74]
push eax
lea eax, [ebp + 0x50]
push eax
push dword [ebp + 0x40]
lea eax, [ebp + 0x58]
push ebx
push eax
call fcn.0041dcc4
mov esi, eax
add esp, 0x18
cmp esi, 0xffffffff
jne 0x420559
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
jmp 0x42061e
push ebx
lea ecx, [ebp + 0x50]
call fcn.0043de31
mov eax, dword [ebp + 0x58]
push dword [ebp + 0x30]
mov dword [ebp + 0x2c], eax
push eax
call fcn.0040e34f
cmp eax, ebx
pop ecx
pop ecx
jle 0x42061c
movzx ecx, word [ebp + 0x3c]
xor ecx, dword [ebp + 0x38]
add eax, 2
push eax
push ecx
push dword [ebp + 0x58]
call fcn.0040e3c3
movzx eax, di
movzx edi, word [ebp + 0x3c]
and esi, 2
or esi, eax
mov eax, edi
shl eax, 0x10
add esp, 0xc
or esi, eax
cmp dword [ebp + 0x74], ebx
mov dword [ebp - 0x2c], ebx
je 0x4205b6
push dword [ebp + 0x6c]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
cmp dword [ebp + 0x2c], ebx
jne 0x4205c0
xor esi, esi
inc esi
jmp 0x42061e
cmp byte [0x4a5280], bl
jge 0x4205cf
mov byte [0x4a5280], 1
push dword [ebp + 0x70]
lea eax, [ebp + 0x58]
push dword [ebp + 0x78]
push eax
push edi
call fcn.0041e0ef
sub eax, dword [ebp + 0x58]
sar eax, 1
push eax
push dword [ebp + 0x48]
lea eax, [ebp + 0x58]
push dword [ebp + 0x7c]
push eax
push edi
call fcn.0040e3fc
add esp, 0x24
mov edi, eax
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
or esi, dword [ebp + 0x48]
mov eax, dword [ebp + 0x58]
mov ecx, dword [ebp + 0x4c]
push ebx
push edi
push esi
push dword [ebp + 0x40]
mov dword [ebp + 0x58], ebx
push dword [ebp + 0x70]
push eax
call fcn.0046d0be
xor esi, esi
lea ecx, [ebp + 0x54]
call fcn.0042eb98
push ebx
lea ecx, [ebp - 0x74]
call fcn.0041f8fd
lea ecx, [ebp - 0x30]
call fcn.0042eb98
lea ecx, [ebp + 0x50]
call fcn.0042eb98
lea ecx, [ebp + 0x44]
call fcn.0042eb98
lea ecx, [ebp + 0x58]
call fcn.0042eb98
pop edi
mov eax, esi
pop esi
pop ebx
add ebp, 0x64
leave
ret 0x14