Function at 0x41fb17
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.00432cb7
push dword [ebp + 0x6c]
xor ebx, ebx
lea ecx, [ebp + 0x44]
mov dword [ebp + 0x5c], ebx
mov dword [ebp + 0x60], ebx
call fcn.0043ccfc
mov eax, dword [ebp + 0x44]
mov dword [ebp + 0x40], eax
mov eax, dword [ebp + 0x74]
and dword [ebp + 0x74], 8
and eax, 0xfffffff7
push 0x490104
lea ecx, [ebp + 0x50]
mov dword [ebp + 0x48], eax
call fcn.0043ccfc
call fcn.0040df18
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.0041f54a
push dword [ebp + 0x4c]
lea ecx, [ebp - 0x74]
call fcn.0040c3c6
push dword [ebp + 0x6c]
lea ecx, [ebp + 0x54]
call fcn.0043ccfc
lea eax, [ebp + 0x34]
push eax
lea eax, [ebp + 0x54]
push eax
push dword [ebp + 0x6c]
mov dword [ebp + 0x34], ebx
call fcn.0046de50
mov eax, dword [ebp + 0x34]
add esp, 0xc
cmp eax, ebx
je 0x41fbc2
mov word [eax - 2], bx
push dword [ebp + 0x54]
lea ecx, [ebp - 0x74]
push 0x4902f4
call fcn.00432698
push dword [ebp + 0x38]
lea ecx, [ebp - 0x74]
call fcn.00431b8e
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.0041d4b0
mov esi, eax
add esp, 0x18
cmp esi, 0xffffffff
jne 0x41fc14
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
jmp 0x41fcd9
push ebx
lea ecx, [ebp + 0x50]
call fcn.0043cd64
mov eax, dword [ebp + 0x58]
push dword [ebp + 0x30]
mov dword [ebp + 0x2c], eax
push eax
call fcn.0040deff
cmp eax, ebx
pop ecx
pop ecx
jle 0x41fcd7
movzx ecx, word [ebp + 0x3c]
xor ecx, dword [ebp + 0x38]
add eax, 2
push eax
push ecx
push dword [ebp + 0x58]
call fcn.0040df73
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 0x41fc71
push dword [ebp + 0x6c]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
cmp dword [ebp + 0x2c], ebx
jne 0x41fc7b
xor esi, esi
inc esi
jmp 0x41fcd9
cmp byte [0x4a4280], bl
jge 0x41fc8a
mov byte [0x4a4280], 1
push dword [ebp + 0x70]
lea eax, [ebp + 0x58]
push dword [ebp + 0x78]
push eax
push edi
call fcn.0041d8db
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.0040dfac
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.0046bb79
xor esi, esi
lea ecx, [ebp + 0x54]
call fcn.0042dd2d
push ebx
lea ecx, [ebp - 0x74]
call fcn.0041f0e9
lea ecx, [ebp - 0x30]
call fcn.0042dd2d
lea ecx, [ebp + 0x50]
call fcn.0042dd2d
lea ecx, [ebp + 0x44]
call fcn.0042dd2d
lea ecx, [ebp + 0x58]
call fcn.0042dd2d
pop edi
mov eax, esi
pop esi
pop ebx
add ebp, 0x64
leave
ret 0x14