Function at 0x41e416
Capabilities:
Delete file

Disassembly:
push ebp
lea ebp, [esp - 0x64]
sub esp, 0xd4
push ebx
push esi
mov dword [ebp + 0x4c], ecx
push edi
lea ecx, [ebp + 0x58]
call fcn.0042e1c4
push dword [ebp + 0x6c]
xor ebx, ebx
lea ecx, [ebp + 0x44]
mov dword [ebp + 0x5c], ebx
mov dword [ebp + 0x60], ebx
call fcn.0043a4ba
mov eax, dword [ebp + 0x44]
mov dword [ebp + 0x40], eax
mov eax, dword [ebp + 0x74]
and dword [ebp + 0x74], 8
and eax, 0xfffffff7
push 0x485fc4
lea ecx, [ebp + 0x50]
mov dword [ebp + 0x48], eax
call fcn.0043a4ba
call fcn.0040d411
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 - 0x70]
mov dword [ebp + 0x30], esi
shl edi, 0x10
call fcn.0041df36
push dword [ebp + 0x4c]
lea ecx, [ebp - 0x70]
call fcn.0040bb89
push dword [ebp + 0x6c]
lea ecx, [ebp + 0x54]
call fcn.0043a4ba
lea eax, [ebp + 0x34]
push eax
lea eax, [ebp + 0x54]
push eax
push dword [ebp + 0x6c]
mov dword [ebp + 0x34], ebx
call fcn.0043897f
mov eax, dword [ebp + 0x34]
add esp, 0xc
cmp eax, ebx
je 0x41e4c1
mov word [eax - 2], bx
push dword [ebp + 0x54]
lea ecx, [ebp - 0x70]
push 0x4861b4
call fcn.0042cbf7
push dword [ebp + 0x38]
lea ecx, [ebp - 0x70]
call fcn.0042c2e0
mov eax, dword [ebp + 0x58]
push edi
mov word [ebp - 0x68], si
xor word [eax], si
lea eax, [ebp - 0x70]
push eax
lea eax, [ebp + 0x50]
push eax
push dword [ebp + 0x40]
lea eax, [ebp + 0x58]
push ebx
push eax
call fcn.0041d54c
mov esi, eax
add esp, 0x18
cmp esi, 0xffffffff
jne 0x41e513
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
jmp 0x41e5d8
push ebx
lea ecx, [ebp + 0x50]
call fcn.0043a522
mov eax, dword [ebp + 0x58]
push dword [ebp + 0x30]
mov dword [ebp + 0x2c], eax
push eax
call fcn.0040d3f8
cmp eax, ebx
pop ecx
pop ecx
jle 0x41e5d6
movzx ecx, word [ebp + 0x3c]
xor ecx, dword [ebp + 0x38]
add eax, 2
push eax
push ecx
push dword [ebp + 0x58]
call fcn.0040d46c
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 0x41e570
push dword [ebp + 0x6c]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
cmp dword [ebp + 0x2c], ebx
jne 0x41e57a
xor esi, esi
inc esi
jmp 0x41e5d8
cmp byte [0x499270], bl
jge 0x41e589
mov byte [0x499270], 1
push dword [ebp + 0x70]
lea eax, [ebp + 0x58]
push dword [ebp + 0x78]
push eax
push edi
call fcn.0041d977
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.0040d4a5
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.004654e7
xor esi, esi
lea ecx, [ebp + 0x54]
call fcn.00428a48
push ebx
lea ecx, [ebp - 0x70]
call fcn.0041da45
lea ecx, [ebp - 0x2c]
call fcn.00428a48
lea ecx, [ebp + 0x50]
call fcn.00428a48
lea ecx, [ebp + 0x44]
call fcn.00428a48
lea ecx, [ebp + 0x58]
call fcn.00428a48
pop edi
mov eax, esi
pop esi
pop ebx
add ebp, 0x64
leave
ret 0x14