Function at 0x41b62f
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xd8
mov eax, dword [ebp + 0x1c]
mov word [ebp - 0x9c], ax
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x14], 0
lea eax, [ebp - 0x68]
mov dword [esp], eax
call fcn.0040bf90
mov eax, dword [ebp + 0x20]
test eax, eax
jns 0x41b669
mov dword [ebp + 0x20], 6
cmp dword [ebp + 8], 0
je 0x41b69c
cmp dword [ebp + 0xc], 0
je 0x41b69c
cmp dword [ebp + 0x14], 0
je 0x41b681
cmp dword [ebp + 0x10], 0
je 0x41b69c
cmp word [ebp - 0x9c], 0
je 0x41b691
cmp dword [ebp + 0x18], 0
je 0x41b69c
mov eax, dword [ebp + 0x20]
and eax, 0xf
cmp eax, 0xa
jbe 0x41b6b5
cmp dword [ebp + 0x24], 0
je 0x41b6ab
mov eax, dword [ebp + 0x24]
mov dword [eax], 0x18
mov eax, 0
jmp 0x41b8b7
mov eax, dword [ebp + 0xc]
mov dword [esp], eax
call fcn.00414005
test eax, eax
jne 0x41b6dd
cmp dword [ebp + 0x24], 0
je 0x41b6d3
mov eax, dword [ebp + 0x24]
mov dword [eax], 0x19
mov eax, 0
jmp 0x41b8b7
lea eax, [ebp - 0x98]
mov dword [esp + 4], eax
mov eax, dword [ebp + 8]
mov dword [esp], eax
call fcn.004015b0
test eax, eax
je 0x41b747
mov eax, dword [ebp + 0x20]
mov dword [esp + 0x10], eax
mov dword [esp + 8], 0
mov dword [esp + 0xc], 0
mov eax, dword [ebp + 8]
mov dword [esp + 4], eax
lea eax, [ebp - 0x68]
mov dword [esp], eax
call fcn.004121c5
test eax, eax
jne 0x41b73b
cmp dword [ebp + 0x24], 0
je 0x41b731
mov edx, dword [ebp - 0x4c]
mov eax, dword [ebp + 0x24]
mov dword [eax], edx
mov eax, 0
jmp 0x41b8b7
mov dword [ebp - 0x10], 1
jmp 0x41b7e7
mov eax, dword [ebp + 0x20]
or ah, 8
mov dword [esp + 0x14], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0xc], 0
mov dword [esp + 0x10], 0
mov dword [esp + 8], eax
mov eax, dword [ebp + 8]
mov dword [esp + 4], eax
lea eax, [ebp - 0x68]
mov dword [esp], eax
call fcn.0040c4d7
test eax, eax
jne 0x41b79f
cmp dword [ebp + 0x24], 0
je 0x41b795
mov edx, dword [ebp - 0x4c]
mov eax, dword [ebp + 0x24]
mov dword [eax], edx
mov eax, 0
jmp 0x41b8b7
mov eax, dword [ebp + 0x20]
mov dword [esp + 8], eax
mov eax, dword [ebp + 8]
mov dword [esp + 4], eax
lea eax, [ebp - 0x68]
mov dword [esp], eax
call fcn.0041246e
test eax, eax
jne 0x41b7e7
cmp dword [ebp + 0x24], 0
je 0x41b7ca
mov edx, dword [ebp - 0x4c]
mov eax, dword [ebp + 0x24]
mov dword [eax], edx
mov dword [esp + 4], 0
lea eax, [ebp - 0x68]
mov dword [esp], eax
call fcn.0040bfba
mov eax, 0
jmp 0x41b8b7
movzx eax, word [ebp - 0x9c]
mov dword [esp + 0x24], 0
mov dword [esp + 0x1c], 0
mov dword [esp + 0x20], 0
mov edx, dword [ebp + 0x20]
mov dword [esp + 0x18], edx
mov dword [esp + 0x14], eax
mov eax, dword [ebp + 0x18]
mov dword [esp + 0x10], eax
mov eax, dword [ebp + 0x14]
mov dword [esp + 0xc], eax
mov eax, dword [ebp + 0x10]
mov dword [esp + 8], eax
mov eax, dword [ebp + 0xc]
mov dword [esp + 4], eax
lea eax, [ebp - 0x68]
mov dword [esp], eax
call fcn.0041415f
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x68]
mov dword [esp], eax
call fcn.0041a711
test eax, eax
jne 0x41b863
cmp dword [ebp - 0x14], 0
jne 0x41b85c
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0x14], eax
mov dword [ebp - 0xc], 0
mov eax, dword [ebp - 0xc]
mov dword [esp + 4], eax
lea eax, [ebp - 0x68]
mov dword [esp], eax
call fcn.00411b04
test eax, eax
jne 0x41b88c
cmp dword [ebp - 0x14], 0
jne 0x41b885
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0x14], eax
mov dword [ebp - 0xc], 0
cmp dword [ebp - 0xc], 0
jne 0x41b8a6
cmp dword [ebp - 0x10], 0
je 0x41b8a6
mov eax, dword [ebp + 8]
mov dword [esp], eax
call sub.msvcrt.dll_remove
mov dword [ebp - 0x18], eax
cmp dword [ebp + 0x24], 0
je 0x41b8b4
mov eax, dword [ebp + 0x24]
mov edx, dword [ebp - 0x14]
mov dword [eax], edx
mov eax, dword [ebp - 0xc]
leave
ret