Function at 0x41d0da
Capabilities:
Delete file

Disassembly:
push ebp
lea ebp, [esp - 0x64]
sub esp, 0xcc
push ebx
push esi
mov dword [ebp + 0x4c], ecx
push edi
lea ecx, [ebp + 0x58]
call fcn.0042c809
push dword [ebp + 0x6c]
xor ebx, ebx
lea ecx, [ebp + 0x44]
mov dword [ebp + 0x5c], ebx
mov dword [ebp + 0x60], ebx
call fcn.004365ba
mov eax, dword [ebp + 0x44]
mov dword [ebp + 0x40], eax
mov eax, dword [ebp + 0x74]
and dword [ebp + 0x74], 8
and eax, 0xfffffff7
push 0x481f9c
lea ecx, [ebp + 0x50]
mov dword [ebp + 0x48], eax
call fcn.004365ba
call fcn.0040c7ef
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 - 0x68]
mov dword [ebp + 0x30], esi
shl edi, 0x10
call fcn.0041cc20
push dword [ebp + 0x4c]
lea ecx, [ebp - 0x68]
call fcn.0040afa5
push dword [ebp + 0x6c]
lea ecx, [ebp + 0x54]
call fcn.004365ba
lea eax, [ebp + 0x34]
push eax
lea eax, [ebp + 0x54]
push eax
push dword [ebp + 0x6c]
mov dword [ebp + 0x34], ebx
call fcn.004350b7
mov eax, dword [ebp + 0x34]
add esp, 0xc
cmp eax, ebx
je 0x41d185
mov word [eax - 2], bx
push dword [ebp + 0x54]
lea ecx, [ebp - 0x68]
push 0x48334c
call fcn.0042b2cd
push dword [ebp + 0x38]
lea ecx, [ebp - 0x68]
call fcn.0042aa5e
mov eax, dword [ebp + 0x58]
push edi
mov word [ebp - 0x60], si
xor word [eax], si
lea eax, [ebp - 0x68]
push eax
lea eax, [ebp + 0x50]
push eax
push dword [ebp + 0x40]
lea eax, [ebp + 0x58]
push ebx
push eax
call fcn.0041c236
mov esi, eax
add esp, 0x18
cmp esi, 0xffffffff
jne 0x41d1d7
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
jmp 0x41d29c
push ebx
lea ecx, [ebp + 0x50]
call fcn.00436622
mov eax, dword [ebp + 0x58]
push dword [ebp + 0x30]
mov dword [ebp + 0x2c], eax
push eax
call fcn.0040c7d6
cmp eax, ebx
pop ecx
pop ecx
jle 0x41d29a
movzx ecx, word [ebp + 0x3c]
xor ecx, dword [ebp + 0x38]
add eax, 2
push eax
push ecx
push dword [ebp + 0x58]
call fcn.0040c84a
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 - 0x28], ebx
je 0x41d234
push dword [ebp + 0x6c]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
cmp dword [ebp + 0x2c], ebx
jne 0x41d23e
xor esi, esi
inc esi
jmp 0x41d29c
cmp byte [0x495270], bl
jge 0x41d24d
mov byte [0x495270], 1
push dword [ebp + 0x70]
lea eax, [ebp + 0x58]
push dword [ebp + 0x78]
push eax
push edi
call fcn.0041c661
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.0040c883
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.00461bc0
xor esi, esi
lea ecx, [ebp + 0x54]
call fcn.00427365
push ebx
lea ecx, [ebp - 0x68]
call fcn.0041c72f
lea ecx, [ebp - 0x2c]
call fcn.00427365
lea ecx, [ebp + 0x50]
call fcn.00427365
lea ecx, [ebp + 0x44]
call fcn.00427365
lea ecx, [ebp + 0x58]
call fcn.00427365
pop edi
mov eax, esi
pop esi
pop ebx
add ebp, 0x64
leave
ret 0x14