Function at 0x450597
Capabilities:
Create process on windows
Create process suspended

Disassembly:
push 0x344
mov eax, 0x4ae368
call fcn.00473d21
mov eax, dword [ebp + 8]
mov dword [ebp - 0x2b8], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x2bc], eax
mov eax, dword [ebp + 0x14]
xor edi, edi
push str.Shell32.dll
mov dword [ebp - 0x2c0], eax
mov esi, edi
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x4505e4
push 0x4bb50c
push ebx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov esi, eax
push 0x38
lea eax, [ebp - 0x308]
push edi
push eax
mov dword [ebp - 0x30c], edi
call fcn.00474cd0
and dword [ebp - 0x350], 0
mov dword [ebp - 0x2d0], edi
xor eax, eax
lea edi, [ebp - 0x2cc]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
push 0x40
stosd dword es:[edi], eax
lea eax, [ebp - 0x34c]
push 0
push eax
call fcn.00474cd0
xor ecx, ecx
add esp, 0x18
mov dword [ebp - 0x2b0], ecx
mov edi, ecx
mov dword [ebp - 0x2b4], 0xcccccccc
test esi, esi
je 0x4506b3
mov eax, dword [ebp - 0x2b8]
mov dword [ebp - 0x2fc], eax
mov eax, dword [ebp - 0x2bc]
mov dword [ebp - 0x2f8], eax
xor eax, eax
cmp dword [ebp + 0x10], eax
mov dword [ebp - 0x30c], 0x3c
setne al
mov dword [ebp - 0x2f4], ecx
mov dword [ebp - 0x304], ecx
mov dword [ebp - 0x300], ecx
mov dword [ebp - 0x308], 0x40
mov dword [ebp - 0x2f0], eax
lea eax, [ebp - 0x30c]
push eax
call esi
test eax, eax
jne 0x4506a0
and dword [ebp - 0x2b0], edi
jmp 0x450921
mov eax, dword [ebp - 0x2d4]
mov dword [ebp - 0x2b0], eax
xor esi, esi
jmp 0x450827
push 0x10
push ecx
lea eax, [ebp - 0x2d0]
push eax
call fcn.00474cd0
push 0x44
pop esi
push esi
lea eax, [ebp - 0x350]
push 0
push eax
call fcn.00474cd0
xor eax, eax
add esp, 0x18
cmp dword [ebp + 0x10], eax
push 0
setne al
lea ecx, [ebp - 0x248]
mov dword [ebp - 0x350], esi
mov dword [ebp - 0x324], 1
mov dword [ebp - 0x248], 0x4cb730
mov dword [ebp - 0x220], 0x4cbc34
mov word [ebp - 0x320], ax
lea eax, [ebp - 0x2a9]
push eax
call fcn.00403b80
xor eax, eax
inc eax
mov dword [ebp - 4], eax
push eax
lea eax, [ebp - 0x2a9]
push eax
mov eax, dword [ebp - 0x2bc]
push eax
lea ecx, [ebp - 0x2a8]
call fcn.00402ca0
mov esi, eax
mov byte [ebp - 4], 2
push 1
lea eax, [ebp - 0x2a9]
push eax
mov eax, dword [ebp - 0x2b8]
push eax
lea ecx, [ebp - 0x278]
call fcn.00402ca0
mov byte [ebp - 4], 3
add esi, 4
cmp dword [esi + 0x14], 8
jb 0x45076e
mov esi, dword [esi]
add eax, 4
cmp dword [eax + 0x14], 8
jb 0x450779
mov eax, dword [eax]
push esi
push eax
lea eax, [ebp - 0x248]
push str.__s___s
push eax
call fcn.004037e0
add esp, 0x10
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x278]
call fcn.00401ac0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x2a8]
call fcn.00401ac0
cmp dword [ebp - 0x230], 8
lea eax, [ebp - 0x244]
cmovae eax, dword [ebp - 0x244]
push eax
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
lea eax, [ebp - 0x2d0]
push eax
xor esi, esi
lea eax, [ebp - 0x350]
push eax
push esi
push esi
push 0x20
push esi
push esi
push esi
lea eax, [ebp - 0x218]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
jne 0x450800
mov dword [ebp - 0x2b0], esi
jmp 0x450812
mov eax, dword [ebp - 0x2d0]
mov edi, dword [ebp - 0x2cc]
mov dword [ebp - 0x2b0], eax
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x248]
call fcn.00401ac0
mov eax, dword [ebp - 0x2b0]
test eax, eax
je 0x450921
push 0x4ff
push 0xffffffffffffffff
push esi
mov esi, dword [sym.imp.USER32.dll_MsgWaitForMultipleObjects]
jmp 0x4508db
cmp eax, 1
jne 0x4508ee
push eax
xor eax, eax
push eax
push eax
push eax
lea eax, [ebp - 0x264]
push eax
call dword [sym.imp.USER32.dll_PeekMessageW]
test eax, eax
je 0x4508d2
mov esi, dword [ebp - 0x2c0]
cmp dword [ebp - 0x260], 0xf
je 0x450888
cmp dword [ebp - 0x260], 0x113
jne 0x4508a2
push 1
mov ecx, esi
call fcn.00445585
jmp 0x4508a2
lea eax, [ebp - 0x264]
push eax
call dword [sym.imp.USER32.dll_TranslateMessage]
lea eax, [ebp - 0x264]
push eax
call dword [sym.imp.USER32.dll_DispatchMessageW]
push 0
push dword [ebp - 0x2b0]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x4508cc
push 1
xor eax, eax
push eax
push eax
push eax
lea eax, [ebp - 0x264]
push eax
call dword [sym.imp.USER32.dll_PeekMessageW]
test eax, eax
jne 0x450868
mov esi, dword [sym.imp.USER32.dll_MsgWaitForMultipleObjects]
push 0x4ff
push 0xffffffffffffffff
push 0
lea eax, [ebp - 0x2b0]
push eax
push 1
call esi
test eax, eax
jne 0x450842
lea eax, [ebp - 0x2b4]
push eax
push dword [ebp - 0x2b0]
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
mov eax, dword [ebp - 0x2b4]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [0x4f273c], eax
test edi, edi
je 0x450919
push edi
call esi
push dword [ebp - 0x2b0]
call esi
test ebx, ebx
je 0x45092c
push ebx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov eax, dword [ebp - 0x2b4]
call fcn.00473cd0
ret 0x10