Function at 0x425f40
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x98
lea eax, [ebp - 8]
mov dword [ebp - 0x64], 0x4474b0
mov dword [ebp - 0x5c], eax
lea eax, [ebp - 0x7c]
mov dword [ebp - 0x60], 0x447f70
mov dword [ebp - 0x58], 0x4261cb
mov dword [ebp - 0x54], esp
mov dword [esp], eax
call fcn.00437520
lea eax, [ebp - 0x30]
mov dword [ebp - 0x38], eax
mov dword [esp], 0x44a570
call sub.msvcrt.dll_wcslen
lea ecx, [eax + eax]
mov edx, ecx
mov dword [ebp - 0x80], ecx
sar edx, 1
mov dword [ebp - 0x20], edx
cmp edx, 7
ja 0x4260d0
mov ecx, dword [ebp - 0x38]
cmp edx, 1
jne 0x4260b5
mov edx, 0x72
mov word [ecx], dx
xor edx, edx
mov dword [ebp - 0x34], 1
mov word [ecx + eax*2], dx
mov eax, 2
add eax, eax
mov dword [esp], eax
mov dword [ebp - 0x78], 1
call fcn.00446bd0
mov edx, eax
mov eax, dword [ebp - 0x38]
mov dword [esp + 4], eax
mov dword [ebp - 0x80], edx
mov dword [esp], edx
call sub.msvcrt.dll_wcscpy
mov eax, dword [ebp - 0x80]
mov dword [esp], eax
mov eax, dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov dword [ebp - 0x84], eax
call eax
sub esp, 4
lea eax, [ebp - 0x18]
mov dword [ebp - 0x20], eax
mov dword [esp], str.runasadmin.run
call sub.msvcrt.dll_wcslen
lea ecx, [eax + eax]
mov edx, ecx
mov dword [ebp - 0x80], ecx
sar edx, 1
mov dword [ebp - 0x3c], edx
cmp edx, 7
ja 0x426160
mov ecx, dword [ebp - 0x20]
cmp edx, 1
jne 0x426140
mov edx, 0x72
mov word [ecx], dx
xor edx, edx
mov dword [ebp - 0x1c], 1
mov word [ecx + eax*2], dx
mov eax, 2
add eax, eax
mov dword [esp], eax
mov dword [ebp - 0x78], 2
call fcn.00446bd0
mov ecx, eax
mov eax, dword [ebp - 0x20]
mov dword [esp + 4], eax
mov dword [ebp - 0x80], ecx
mov dword [esp], ecx
call sub.msvcrt.dll_wcscpy
mov eax, dword [ebp - 0x80]
mov dword [esp], eax
mov eax, dword [ebp - 0x84]
call eax
mov eax, dword [ebp - 0x20]
lea edx, [ebp - 0x18]
sub esp, 4
cmp eax, edx
je 0x426091
mov dword [esp], eax
call fcn.00446bb0
mov eax, dword [ebp - 0x38]
lea ecx, [ebp - 0x30]
cmp eax, ecx
je 0x4260a3
mov dword [esp], eax
call fcn.00446bb0
lea eax, [ebp - 0x7c]
mov dword [esp], eax
call fcn.004375b0
mov eax, 1
leave
ret
test edx, edx
jne 0x4260fb
xor edx, edx
mov dword [ebp - 0x34], 0
mov word [ecx + eax*2], dx
mov eax, 1
jmp 0x425fc0
lea eax, [ebp - 0x20]
mov dword [esp + 4], 0
lea ecx, [ebp - 0x38]
mov dword [esp], eax
mov dword [ebp - 0x78], 0xffffffff
call fcn.00444d00
mov ecx, eax
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x20]
sub esp, 8
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x80]
mov dword [esp], ecx
mov dword [esp + 4], 0x44a570
mov dword [esp + 8], eax
call sub.msvcrt.dll_memcpy
mov eax, dword [ebp - 0x20]
mov edx, dword [ebp - 0x38]
xor ecx, ecx
mov dword [ebp - 0x34], eax
mov word [edx + eax*2], cx
add eax, 1
cmp eax, 0x3ffffffe
jbe 0x425fc0
mov dword [ebp - 0x78], 1
call fcn.00447480
nop
lea esi, [esi]
test edx, edx
jne 0x42618b
xor edx, edx
mov dword [ebp - 0x1c], 0
mov word [ecx + eax*2], dx
mov eax, 1
jmp 0x426049
lea eax, [ebp - 0x3c]
mov dword [esp + 4], 0
lea ecx, [ebp - 0x20]
mov dword [esp], eax
mov dword [ebp - 0x78], 1
call fcn.00444d00
mov ecx, eax
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x3c]
sub esp, 8
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x80]
mov dword [esp], ecx
mov dword [esp + 4], str.runasadmin.run
mov dword [esp + 8], eax
call sub.msvcrt.dll_memcpy
mov eax, dword [ebp - 0x3c]
mov edx, dword [ebp - 0x20]
xor ecx, ecx
mov dword [ebp - 0x1c], eax
mov word [edx + eax*2], cx
add eax, 1
cmp eax, 0x3ffffffe
jbe 0x426049
mov dword [ebp - 0x78], 2
call fcn.00447480
add ebp, 8
mov eax, dword [ebp - 0x74]
mov dword [ebp - 0x80], eax
mov eax, dword [ebp - 0x78]
test eax, eax
jne 0x4261ff
mov eax, dword [ebp - 0x38]
lea edx, [ebp - 0x30]
cmp eax, edx
je 0x4261ed
mov dword [esp], eax
call fcn.00446bb0
mov eax, dword [ebp - 0x80]
mov dword [esp], eax
mov dword [ebp - 0x78], 0xffffffff
call fcn.00437890
sub eax, 1
jne 0x426218
mov eax, dword [ebp - 0x20]
lea edx, [ebp - 0x18]
cmp eax, edx
je 0x4261db
mov dword [esp], eax
call fcn.00446bb0
jmp 0x4261db
ud2