Function at 0x414a70
Capabilities:
Create process on windows
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x45d8ec
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14c
mov eax, dword [0x4790e8]
push ebx
push ebp
push esi
push edi
mov ebp, ecx
mov dword [esp + 0x14], eax
xor ebx, ebx
push 0x76
lea ecx, [esp + 0x18]
mov dword [esp + 0x168], ebx
call fcn.00452b9f
lea ecx, [esp + 0x58]
push ecx
push 0x104
call dword [sym.imp.KERNEL32.DLL_GetTempPathA]
mov edi, 0x478870
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x58]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edi, edx
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x48]
call fcn.00452e59
push ebx
lea eax, [esp + 0x5c]
push 0x1001
push eax
lea ecx, [esp + 0x54]
mov byte [esp + 0x170], 1
call fcn.00452f6b
test eax, eax
je 0x414d00
mov cl, byte [esp + 0x13]
mov dword [esp + 0x1c], ebx
mov byte [esp + 0x18], cl
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], ebx
mov edx, dword [ebp + 0x78]
push ebx
push ebx
push 0x1004
push edx
mov byte [esp + 0x174], 2
call dword [sym.imp.USER32.dll_SendMessageA]
xor ecx, ecx
cmp eax, ebx
mov dword [esp + 0x40], eax
mov dword [esp + 0x28], ecx
jle 0x414ca1
add ebp, 0x5c
mov dword [esp + 0x44], ebp
push ecx
mov ecx, dword [esp + 0x48]
call fcn.0044c424
mov ebp, eax
mov eax, dword [ebp + 0x11c]
cmp eax, ebx
je 0x414c8c
push eax
mov eax, dword [esp + 0x18]
push eax
call fcn.0042ce73
add esp, 8
test eax, eax
je 0x414c8c
mov eax, dword [esp + 0x20]
mov esi, dword [esp + 0x1c]
cmp esi, eax
mov dword [esp + 0x3c], eax
je 0x414bd8
mov edx, dword [ebp + 0x11c]
or ecx, 0xffffffff
mov edi, edx
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
mov ecx, dword [esi + 8]
push edx
push ecx
push ebx
mov ecx, esi
call fcn.004151f0
cmp eax, ebx
je 0x414bce
mov eax, dword [esp + 0x3c]
add esi, 0x10
cmp esi, eax
jne 0x414b9f
cmp esi, dword [esp + 0x20]
jne 0x414c8c
mov edx, dword [ebp + 0x11c]
or ecx, 0xffffffff
mov edi, edx
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push edx
lea ecx, [esp + 0x50]
call fcn.004530c2
push 2
push 0x4786f0
lea ecx, [esp + 0x50]
call fcn.004530c2
mov ebp, dword [ebp + 0x11c]
mov dl, byte [esp + 0x13]
mov edi, ebp
or ecx, 0xffffffff
xor eax, eax
mov byte [esp + 0x2c], dl
mov dword [esp + 0x30], ebx
mov dword [esp + 0x34], ebx
mov dword [esp + 0x38], ebx
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push ebp
lea ecx, [esp + 0x34]
call fcn.00401d70
mov ecx, dword [esp + 0x20]
lea eax, [esp + 0x2c]
push eax
push 1
push ecx
lea ecx, [esp + 0x24]
mov byte [esp + 0x170], 3
call fcn.00414da0
mov eax, dword [esp + 0x30]
mov byte [esp + 0x164], 2
cmp eax, ebx
je 0x414c80
lea ecx, [eax - 1]
mov al, byte [eax - 1]
cmp al, bl
je 0x414c77
cmp al, 0xff
je 0x414c77
dec al
mov byte [ecx], al
jmp 0x414c80
push ecx
call fcn.0044f31a
add esp, 4
mov dword [esp + 0x30], ebx
mov dword [esp + 0x34], ebx
mov dword [esp + 0x38], ebx
mov ecx, dword [esp + 0x28]
mov eax, dword [esp + 0x40]
inc ecx
cmp ecx, eax
mov dword [esp + 0x28], ecx
jl 0x414b5f
lea ecx, [esp + 0x48]
call fcn.00453186
push 5
lea edx, [esp + 0x5c]
push ebx
push edx
push str.notepad.exe
push str.open
push ebx
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov edi, dword [esp + 0x20]
mov esi, dword [esp + 0x1c]
cmp esi, edi
mov byte [esp + 0x164], 1
je 0x414ceb
push 1
mov ecx, esi
call fcn.00401d20
add esi, 0x10
cmp esi, edi
jne 0x414cd7
mov esi, dword [esp + 0x1c]
push esi
call fcn.0044f31a
add esp, 4
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], ebx
lea ecx, [esp + 0x48]
mov byte [esp + 0x164], bl
call fcn.00452eae
lea ecx, [esp + 0x14]
mov dword [esp + 0x164], 0xffffffff
call fcn.0044ee01
mov ecx, dword [esp + 0x15c]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x158
ret