Function at 0x4103fc
Capabilities:
Delete file

Disassembly:
push 0x8c
mov eax, 0x44f1ea
call fcn.00435c39
xor ebx, ebx
mov dword [ebp - 0x8c], ebx
push 0xf
pop edi
mov dword [ebp - 0x98], 0x466238
mov byte [0x466238], bl
mov dword [0x466250], edi
mov dword [0x46624c], ebx
mov byte [0x46623c], bl
mov dword [ebp - 4], ebx
mov ecx, 0x466260
mov dword [ebp - 0x94], ecx
mov dword [0x466260], 0x456e5c
mov dword [ebp - 0x90], 0x4662c0
mov dword [0x4662c0], 0x452d70
mov byte [ebp - 4], 1
mov dword [0x4662c0], 0x452d80
mov byte [ebp - 4], 2
push ebx
push ebx
mov esi, 0x466264
push esi
mov dword [ebp - 0x8c], 1
call fcn.00404e17
mov dword [ebp - 4], 3
mov eax, dword [0x466260]
mov eax, dword [eax + 4]
push ebx
mov ecx, esi
mov dword [eax + 0x466260], 0x456924
call fcn.0040aafb
mov byte [ebp - 4], 5
mov esi, 0x466308
call fcn.00410387
cmp byte [0x466238], bl
jne 0x410738
push 0xa
push str.C:B5M120_
lea ecx, [ebp - 0x64]
mov dword [ebp - 0x50], edi
mov dword [ebp - 0x54], ebx
mov byte [ebp - 0x64], bl
call fcn.00407efb
mov byte [ebp - 4], 6
lea eax, [ebp - 0x48]
push eax
lea edi, [ebp - 0x64]
call fcn.00410f02
pop ecx
mov byte [ebp - 4], 7
cmp dword [ebp - 0x34], 0x10
mov eax, dword [ebp - 0x48]
jae 0x410501
lea eax, [ebp - 0x48]
push ebx
push ebx
push 2
push ebx
push 1
push 0xc0000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
cmp esi, 0xffffffff
jne 0x410632
xor eax, eax
mov dword [ebp - 0x88], vtable.ActiveUserPath.0
mov dword [ebp - 0x84], ebx
mov dword [ebp - 0x6c], 7
mov dword [ebp - 0x70], ebx
mov word [ebp - 0x80], ax
mov byte [ebp - 4], 8
call dword [sym.imp.KERNEL32.dll_WTSGetActiveConsoleSessionId]
cmp eax, esi
je 0x41055b
lea ecx, [ebp - 0x84]
push ecx
push eax
call dword [sym.imp.WTSAPI32.dll_WTSQueryUserToken]
mov byte [ebp - 4], 9
push str.B5M120_
lea esi, [ebp - 0x88]
call fcn.004102c7
lea ecx, [ebp - 0x2c]
push ecx
mov ebx, eax
call fcn.0040cc19
pop ecx
pop ecx
mov byte [ebp - 4], 0xa
cmp dword [eax + 0x14], 8
jb 0x41058a
mov esi, dword [eax]
jmp 0x41058c
mov esi, eax
xor ebx, ebx
cmp esi, ebx
je 0x4105a1
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
inc eax
cmp eax, 0x3fffffff
jle 0x4105a5
xor eax, eax
jmp 0x4105bc
lea edi, [eax + eax]
mov eax, edi
call fcn.004313e0
mov eax, esp
push 3
push edi
push esi
mov esi, eax
call fcn.004111ec
push eax
lea ecx, [ebp - 0x64]
call fcn.00407f70
mov byte [ebp - 4], 9
push ebx
push 1
lea ecx, [ebp - 0x2c]
call fcn.0040229e
lea eax, [ebp - 0x2c]
push eax
lea edi, [ebp - 0x64]
call fcn.00410f02
pop ecx
mov byte [ebp - 4], 0xb
mov esi, eax
lea edi, [ebp - 0x48]
call fcn.0040721d
mov byte [ebp - 4], 9
push ebx
push 1
lea ecx, [ebp - 0x2c]
call fcn.00407e53
cmp dword [ebp - 0x34], 0x10
mov eax, dword [ebp - 0x48]
jae 0x410609
mov eax, edi
push ebx
push ebx
push 2
push ebx
push 1
push 0xc0000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x88]
call fcn.00410284
cmp esi, 0xffffffff
je 0x41068f
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 0x34], 0x10
mov eax, dword [ebp - 0x48]
jae 0x410645
lea eax, [ebp - 0x48]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
lea esi, [ebp - 0x80]
call fcn.004085ba
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0x2c]
push ecx
mov ecx, eax
lea ebx, [ebp - 0x64]
call fcn.00410f59
pop ecx
mov byte [ebp - 4], 0xd
push 0x15
mov ecx, eax
call fcn.0041074d
mov byte [ebp - 4], 0xc
push 0
push 1
lea ecx, [ebp - 0x2c]
call fcn.00407e53
mov byte [ebp - 4], 7
mov ecx, esi
jmp 0x41070f
and dword [ebp - 0x1c], 0
push 9
push str.C:B5M120
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x18], 0xf
mov byte [ebp - 0x2c], 0
call fcn.00407efb
mov byte [ebp - 4], 0xe
lea eax, [ebp - 0x2c]
push eax
call fcn.00408851
pop ecx
mov bl, al
mov byte [ebp - 4], 7
push 0
push 1
lea ecx, [ebp - 0x2c]
call fcn.00407e53
test bl, bl
je 0x410718
lea esi, [ebp - 0x2c]
call fcn.004085ba
mov byte [ebp - 4], 0xf
lea ecx, [ebp - 0x80]
push ecx
mov ecx, eax
lea ebx, [ebp - 0x64]
call fcn.00410f59
pop ecx
mov byte [ebp - 4], 0x10
push 0x16
mov ecx, eax
call fcn.0041074d
mov byte [ebp - 4], 0xf
push 0
push 1
lea ecx, [ebp - 0x80]
call fcn.00407e53
mov byte [ebp - 4], 7
mov ecx, esi
push 0
push 1
call fcn.00407e53
mov byte [ebp - 4], 6
push 0
push 1
lea ecx, [ebp - 0x48]
call fcn.00407e53
mov byte [ebp - 4], 5
push 0
push 1
lea ecx, [ebp - 0x64]
call fcn.00407e53
or dword [ebp - 4], 0xffffffff
mov eax, 0x466238
lea esp, [ebp - 0xa8]
call fcn.00435cbc
ret