Function at 0x450120
Capabilities:
Create process on windows
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x484072
mov eax, dword fs:[0]
push eax
sub esp, 0x1b4
mov eax, dword [0x4bc00c]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x1bc], ecx
call fcn.00403ac0
mov ecx, eax
test ecx, ecx
je 0x4505a2
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x1b8], eax
mov dword [ebp - 4], 1
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x1ac]
call fcn.004027e0
mov byte [ebp - 4], 3
push 0x496ca8
push str.C:WindowsIassistprinter.txt
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll__wfopen]
add esp, 8
mov ebx, eax
mov dword [ebp - 0x1b0], ebx
or edi, 0xffffffff
test ebx, ebx
je 0x45027a
push ebx
push 0xc8
lea eax, [ebp - 0x1a4]
push eax
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fgetws]
add esp, 0xc
test eax, eax
je 0x45027a
lea eax, [ebp - 0x1a4]
push eax
lea ecx, [ebp - 0x1a8]
call fcn.00402680
mov byte [ebp - 4], 4
mov edx, dword [eax]
lea ecx, [edx - 0x10]
mov esi, dword [ebp - 0x1ac]
add esi, 0xfffffff0
cmp ecx, esi
je 0x45024c
lea ebx, [esi + 0xc]
cmp dword [ebx], 0
jl 0x450237
mov eax, dword [ecx]
cmp eax, dword [esi]
jne 0x450237
call fcn.00403090
mov dword [ebp - 0x1b4], eax
mov ecx, edi
lock xadd dword [ebx], ecx
dec ecx
test ecx, ecx
jg 0x45022c
mov ecx, dword [esi]
mov edx, dword [ecx]
push esi
call dword [edx + 4]
mov eax, dword [ebp - 0x1b4]
add eax, 0x10
mov dword [ebp - 0x1ac], eax
jmp 0x450246
push dword [edx - 0xc]
push edx
lea ecx, [ebp - 0x1ac]
call fcn.004030f0
mov ebx, dword [ebp - 0x1b0]
mov byte [ebp - 4], 5
mov byte [ebp - 4], 3
mov edx, dword [ebp - 0x1a8]
add edx, 0xfffffff0
mov eax, edi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4501b4
mov ecx, dword [edx]
mov eax, dword [ecx]
push edx
call dword [eax + 4]
jmp 0x4501b4
push ebx
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
add esp, 4
push 1
push 0
push dword [ebp - 0x1ac]
push str.rundll32.exe
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
push str.C:WindowsIassistprinter.txt
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push ecx
mov dword [ebp - 0x1b4], esp
mov dword [ebp - 0x1a8], esp
mov esi, dword [ebp - 0x1ac]
mov ecx, dword [esi - 0x10]
mov eax, dword [ecx]
call dword [eax + 0x10]
mov ecx, eax
lea eax, [esi - 4]
cmp dword [eax], 0
jl 0x4502dd
cmp ecx, dword [esi - 0x10]
jne 0x4502dd
lea ebx, [esi - 0x10]
lock inc dword [eax]
jmp 0x450307
mov eax, dword [ecx]
push 2
push dword [esi - 0xc]
call dword [eax]
mov ebx, eax
test ebx, ebx
je 0x4505ac
mov eax, dword [esi - 0xc]
mov dword [ebx + 4], eax
mov edx, dword [esi - 0xc]
inc edx
push edx
push esi
lea ecx, [ebx + 0x10]
call fcn.004031f0
add esp, 8
lea eax, [ebx + 0x10]
mov ecx, dword [ebp - 0x1a8]
mov dword [ecx], eax
mov byte [ebp - 4], 6
mov byte [ebp - 4], 7
push ecx
mov ecx, esp
mov dword [ebp - 0x1a8], esp
push 0x4988b0
call fcn.0045fcf0
mov byte [ebp - 4], 8
mov byte [ebp - 4], 3
or ecx, 0xffffffff
call fcn.00462c10
add esp, 8
mov byte [ebp - 4], 9
mov byte [ebp - 4], 2
mov edx, dword [ebp - 0x1ac]
add edx, 0xfffffff0
mov eax, edi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x450365
mov ecx, dword [edx]
mov eax, dword [ecx]
push edx
call dword [eax + 4]
mov dword [ebp - 4], 1
jmp 0x45046d
push str.C:WindowsIassistprinter.txt
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x1b8]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], edi
dec edi
test edi, edi
jg 0x45049a
mov ecx, dword [edx]
mov eax, dword [ecx]
push edx
call dword [eax + 4]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.00471083
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.00403880
call fcn.004031e0
call fcn.004031e0
call fcn.004031e0
int3