Function at 0x41c1b7
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4f281e
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
mov eax, 0x106c
call fcn.004aa590
mov dword [ebp - 0x1070], ecx
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0
push 0
lea eax, [ebp - 0x30]
push eax
push 0
push 0
push 0x100
mov ecx, dword [ebp - 0x1070]
call fcn.0041a29f
and eax, 0xff
test eax, eax
jne 0x41c21e
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0
push 0
push 0x80
push 2
push 0
push 0
push 0x40000000
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0xffffffff
jne 0x41c276
cmp dword [ebp + 0x14], 0
je 0x41c26f
mov edx, dword [ebp + 8]
push edx
push 0xef8d
push 2
mov eax, dword [ebp + 0x14]
push eax
call fcn.00471dc5
add esp, 0x10
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
mov ecx, dword [ebp + 0x14]
call fcn.00471f57
xor al, al
jmp 0x41c76d
mov ecx, dword [ebp - 0x20]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov byte [ebp - 0x34], 1
mov edx, dword [ebp + 8]
push edx
call fcn.004a9710
add esp, 4
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0x800
jl 0x41c2c0
cmp dword [ebp + 0x14], 0
je 0x41c2b9
mov eax, dword [ebp + 8]
push eax
push 0xef96
push 2
mov ecx, dword [ebp + 0x14]
push ecx
call fcn.00471dc5
add esp, 0x10
xor al, al
jmp 0x41c76d
lea edx, [ebp - 0x1050]
push edx
lea ecx, [ebp - 0x1c]
call fcn.00420f20
mov dword [ebp - 4], 0
mov eax, dword [ebp + 0x14]
push eax
mov cl, byte [ebp + 0xc]
push ecx
lea edx, [ebp - 0x1c]
push edx
mov ecx, dword [ebp - 0x1070]
call fcn.0041c77d
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp - 0x1c]
call fcn.0046bd60
lea ecx, [ebp - 0x24]
push ecx
lea ecx, [ebp - 0x1c]
call fcn.00417940
lea edx, [ebp - 0x24]
push edx
lea ecx, [ebp - 0x10]
call fcn.0043a2d0
and eax, 0xff
test eax, eax
je 0x41c33b
mov byte [ebp - 0x1054], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1c]
call fcn.00420f60
mov al, byte [ebp - 0x1054]
jmp 0x41c76d
cmp dword [ebp - 0x30], 0
jne 0x41c34b
cmp dword [ebp - 0x2c], 0
je 0x41c539
mov ecx, 0x5364f0
call fcn.00455078
and eax, 0xff
test eax, eax
je 0x41c539
mov dword [ebp - 0x103c], 0
mov dword [ebp - 0x1038], 0
mov byte [ebp - 0x1040], 0
lea eax, [ebp - 0x1040]
push eax
lea ecx, [ebp - 0x1038]
push ecx
push 1
mov edx, dword [ebp + 8]
push edx
mov ecx, 0x5364f0
call fcn.00455161
mov dword [ebp - 0x103c], eax
cmp dword [ebp - 0x103c], 0
je 0x41c3c3
cmp dword [ebp + 0x14], 0
je 0x41c3bf
mov eax, dword [ebp - 0x103c]
push eax
mov ecx, dword [ebp + 0x14]
call fcn.00471f57
mov byte [ebp - 0x34], 0
mov ecx, dword [ebp - 0x34]
and ecx, 0xff
test ecx, ecx
je 0x41c4ff
cmp dword [ebp - 0x1038], 0
je 0x41c4ff
push 0x40
call fcn.004d333d
add esp, 4
mov dword [ebp - 0x105c], eax
mov byte [ebp - 4], 1
cmp dword [ebp - 0x105c], 0
je 0x41c41d
mov edx, dword [ebp + 0x10]
push edx
mov eax, dword [ebp + 0x14]
push eax
lea ecx, [ebp - 0x1c]
push ecx
mov ecx, dword [ebp - 0x105c]
call fcn.00420cd0
mov dword [ebp - 0x1074], eax
jmp 0x41c427
mov dword [ebp - 0x1074], 0
mov edx, dword [ebp - 0x1074]
mov dword [ebp - 0x1058], edx
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x1058]
mov dword [ebp - 0x1044], eax
mov ecx, dword [ebp - 0x1044]
mov edx, dword [ebp - 0x1070]
mov dword [ecx], edx
mov al, byte [ebp - 0x1040]
push eax
mov ecx, dword [ebp - 0x1038]
push ecx
mov edx, dword [ebp - 0x1044]
push edx
push 0x41fde0
mov ecx, 0x5364f0
call fcn.00455391
mov dword [ebp - 0x103c], eax
cmp dword [ebp - 0x103c], 0
je 0x41c49d
cmp dword [ebp + 0x14], 0
je 0x41c499
mov eax, dword [ebp - 0x103c]
push eax
mov ecx, dword [ebp + 0x14]
call fcn.00471f57
mov byte [ebp - 0x34], 0
mov ecx, dword [ebp - 0x1044]
mov dword [ebp - 0x1064], ecx
mov edx, dword [ebp - 0x1064]
mov dword [ebp - 0x1060], edx
cmp dword [ebp - 0x1060], 0
je 0x41c4d3
push 1
mov ecx, dword [ebp - 0x1060]
call fcn.00420d70
mov dword [ebp - 0x1078], eax
jmp 0x41c4dd
mov dword [ebp - 0x1078], 0
mov dword [ebp - 0x1044], 0
mov al, byte [ebp - 0x1040]
push eax
mov ecx, dword [ebp - 0x1038]
push ecx
mov ecx, 0x5364f0
call fcn.00455351
mov edx, dword [ebp - 0x34]
and edx, 0xff
test edx, edx
jne 0x41c516
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov cl, byte [ebp - 0x34]
mov byte [ebp - 0x1068], cl
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1c]
call fcn.00420f60
mov al, byte [ebp - 0x1068]
jmp 0x41c76d
jmp 0x41c543
lea ecx, [ebp - 0x10]
call fcn.004474d0
lea edx, [ebp - 0x10]
push edx
lea ecx, [ebp - 0x24]
call fcn.00446830
and eax, 0xff
test eax, eax
je 0x41c72c
lea ecx, [ebp - 0x10]
call fcn.0040fb50
mov dword [ebp - 0x1048], eax
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x1034]
push ecx
call fcn.004aa670
add esp, 8
mov ecx, dword [ebp - 0x1048]
call fcn.00407cb0
test eax, eax
jne 0x41c5ca
mov edx, dword [ebp + 0xc]
and edx, 0xff
test edx, edx
jne 0x41c59b
jmp 0x41c53b
push 0x527508
lea eax, [ebp - 0x1034]
push eax
call fcn.004aa680
add esp, 8
mov ecx, dword [ebp - 0x1048]
call fcn.00447470
push eax
lea ecx, [ebp - 0x1034]
push ecx
call fcn.004aa680
add esp, 8
mov edx, dword [ebp - 0x1048]
cmp dword [edx + 0x10], 0
jne 0x41c61d
mov eax, dword [ebp + 0x14]
push eax
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp - 0x1048]
xor eax, eax
mov al, byte [edx + 0x18]
push eax
mov ecx, dword [ebp - 0x1048]
mov edx, dword [ecx + 0x14]
push edx
push 0
push 0
mov eax, dword [ebp - 0x1048]
mov ecx, dword [eax + 0xc]
push ecx
mov edx, dword [eax + 8]
push edx
lea eax, [ebp - 0x1034]
push eax
mov ecx, dword [ebp - 0x1070]
call fcn.0041cde2
mov byte [ebp - 0x34], al
jmp 0x41c669
mov ecx, dword [ebp + 0x14]
push ecx
mov edx, dword [ebp + 0x10]
push edx
push 0
push 0
mov eax, dword [ebp - 0x1070]
mov ecx, dword [eax + 0x10]
mov edx, dword [ebp - 0x1070]
add ecx, dword [edx + 0xc]
push ecx
mov eax, dword [ebp - 0x1048]
mov ecx, dword [eax + 0x10]
push ecx
mov edx, dword [ebp - 0x1048]
mov eax, dword [edx + 0xc]
push eax
mov ecx, dword [edx + 8]
push ecx
lea edx, [ebp - 0x1034]
push edx
mov ecx, dword [ebp - 0x1070]
call fcn.0041cde2
mov byte [ebp - 0x34], al
mov eax, dword [ebp - 0x34]
and eax, 0xff
test eax, eax
jne 0x41c727
mov ecx, dword [ebp - 0x1048]
call fcn.00407cb0
test eax, eax
jne 0x41c725
cmp dword [ebp + 0x14], 0
je 0x41c721
lea ecx, [ebp - 0x104c]
call fcn.00404dc0
mov byte [ebp - 4], 2
push 0xef30
lea ecx, [ebp - 0x104c]
call fcn.004d46c7
lea ecx, [ebp - 0x104c]
call fcn.00447470
push eax
push 1
mov ecx, dword [ebp + 0x14]
push ecx
call fcn.00471eb2
add esp, 0xc
mov edx, dword [ebp + 0x10]
xor eax, eax
mov al, byte [edx + 0x438]
test eax, eax
je 0x41c712
mov ecx, dword [ebp + 0x10]
mov byte [ecx + 0x438], 0
push 0xefa5
lea ecx, [ebp - 0x104c]
call fcn.004d46c7
lea ecx, [ebp - 0x104c]
call fcn.00447470
push eax
push 1
mov edx, dword [ebp + 0x14]
push edx
call fcn.00471eb2
add esp, 0xc
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x104c]
call fcn.004d37cb
mov byte [ebp - 0x34], 1
jmp 0x41c72c
jmp 0x41c53b
mov eax, dword [ebp - 0x34]
and eax, 0xff
test eax, eax
je 0x41c745
mov ecx, dword [ebp + 0x10]
mov edx, dword [ecx]
xor eax, eax
mov al, byte [edx]
test eax, eax
je 0x41c74f
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov dl, byte [ebp - 0x34]
mov byte [ebp - 0x106c], dl
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1c]
call fcn.00420f60
mov al, byte [ebp - 0x106c]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 0x10