Function at 0x412460
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x47ef4f
mov eax, dword fs:[0]
push eax
sub esp, 0xc0
mov eax, dword [0x49e234]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov edi, ecx
xor ebx, ebx
mov dword [ebp - 0x88], ebx
xor ecx, ecx
mov dword [ebp - 0x84], edi
mov dword [ebp - 0x8c], eax
mov dword [ebp - 0x34], 7
mov dword [ebp - 0x38], ebx
mov word [ebp - 0x48], cx
push edi
mov dword [ebp - 4], ebx
call fcn.0040c684
add esp, 4
test al, al
je 0x4124ee
mov eax, edi
lea edx, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x4124d0
sub eax, edx
sar eax, 1
mov ecx, edi
lea esi, [ebp - 0x48]
call fcn.00402141
jmp 0x4126b5
mov esi, 0xf
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x1c], ebx
mov byte [ebp - 0x2c], bl
mov byte [ebp - 4], 1
cmp byte [ebp + 0xc], bl
je 0x4125b8
lea edx, [ebp - 0x2c]
push edx
call fcn.0040f964
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0xcc], esp
push 0xffffffffffffffff
push ebx
lea eax, [ebp - 0x2c]
mov dword [ecx + 0x14], esi
mov dword [ecx + 0x10], ebx
push eax
mov byte [ecx], bl
call fcn.0040192c
lea esi, [ebp - 0x64]
call fcn.0040fa54
add esp, 0x1c
mov esi, eax
lea ecx, [ebp - 0x2c]
cmp ecx, esi
je 0x41259d
cmp dword [ebp - 0x18], 0x10
jb 0x412557
mov edx, dword [ebp - 0x2c]
push edx
call fcn.0042b7c0
add esp, 4
mov dword [ebp - 0x18], 0xf
mov dword [ebp - 0x1c], ebx
mov byte [ebp - 0x2c], bl
cmp dword [esi + 0x14], 0x10
jae 0x41257e
mov eax, dword [esi + 0x10]
inc eax
push eax
lea eax, [ebp - 0x2c]
push esi
push eax
call fcn.0042ba70
add esp, 0xc
jmp 0x412585
mov ecx, dword [esi]
mov dword [ebp - 0x2c], ecx
mov dword [esi], ebx
mov edx, dword [esi + 0x10]
mov dword [ebp - 0x1c], edx
mov eax, dword [esi + 0x14]
mov dword [ebp - 0x18], eax
mov dword [esi + 0x14], 0xf
mov dword [esi + 0x10], ebx
mov byte [esi], bl
mov byte [ebp - 4], 1
cmp dword [ebp - 0x50], 0x10
jb 0x4125b3
mov ecx, dword [ebp - 0x64]
push ecx
call fcn.0042b7c0
add esp, 4
cmp dword [ebp - 0x1c], ebx
jne 0x4125bc
xor eax, eax
jmp 0x4125e7
lea edx, [ebp - 0x80]
push edx
lea edi, [ebp - 0x2c]
call fcn.0040c527
add esp, 4
mov edi, dword [ebp - 0x84]
mov byte [ebp - 4], 3
cmp dword [eax + 0x14], 8
mov dword [ebp - 0x88], 1
jb 0x4125e7
mov eax, dword [eax]
mov edx, dword [ebp - 0x8c]
push eax
lea eax, [ebp - 0x64]
push eax
mov ecx, edi
call fcn.00412210
add esp, 8
mov esi, eax
lea ecx, [ebp - 0x48]
cmp ecx, esi
je 0x412665
cmp dword [ebp - 0x34], 8
jb 0x412617
mov edx, dword [ebp - 0x48]
push edx
call fcn.0042b7c0
add esp, 4
xor eax, eax
mov edi, 7
mov dword [ebp - 0x34], edi
mov dword [ebp - 0x38], ebx
mov word [ebp - 0x48], ax
cmp dword [esi + 0x14], 8
jae 0x412645
mov ecx, dword [esi + 0x10]
lea edx, [ecx + ecx + 2]
push edx
lea eax, [ebp - 0x48]
push esi
push eax
call fcn.0042ba70
add esp, 0xc
jmp 0x41264c
mov ecx, dword [esi]
mov dword [ebp - 0x48], ecx
mov dword [esi], ebx
mov edx, dword [esi + 0x10]
mov dword [ebp - 0x38], edx
mov eax, dword [esi + 0x14]
mov dword [ebp - 0x34], eax
xor ecx, ecx
mov dword [esi + 0x14], edi
mov dword [esi + 0x10], ebx
mov word [esi], cx
jmp 0x41266a
mov edi, 7
cmp dword [ebp - 0x50], 8
jb 0x41267c
mov edx, dword [ebp - 0x64]
push edx
call fcn.0042b7c0
add esp, 4
xor eax, eax
test byte [ebp - 0x88], 1
mov dword [ebp - 0x50], edi
mov dword [ebp - 0x54], ebx
mov word [ebp - 0x64], ax
je 0x4126a3
cmp dword [ebp - 0x6c], 8
jb 0x4126a3
mov ecx, dword [ebp - 0x80]
push ecx
call fcn.0042b7c0
add esp, 4
cmp dword [ebp - 0x18], 0x10
jb 0x4126b5
mov edx, dword [ebp - 0x2c]
push edx
call fcn.0042b7c0
add esp, 4
cmp dword [ebp - 0x34], 8
mov dword [ebp - 0xc8], 0x3c
mov dword [ebp - 0xc4], ebx
mov dword [ebp - 0xc0], ebx
mov dword [ebp - 0xbc], ebx
jb 0x4126e2
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0xb8], eax
jmp 0x4126eb
lea ecx, [ebp - 0x48]
mov dword [ebp - 0xb8], ecx
xor eax, eax
lea edx, [ebp - 0xc8]
push edx
mov dword [ebp - 0xb4], ebx
mov dword [ebp - 0xb0], ebx
mov dword [ebp - 0xac], 5
mov dword [ebp - 0xa8], eax
mov dword [ebp - 0xa4], eax
mov dword [ebp - 0xa0], eax
mov dword [ebp - 0x9c], eax
mov dword [ebp - 0x98], eax
mov dword [ebp - 0x94], eax
mov dword [ebp - 0x90], eax
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
cmp dword [ebp - 0x34], 8
jb 0x41274c
mov eax, dword [ebp - 0x48]
push eax
call fcn.0042b7c0
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0042b7cb
mov esp, ebp
pop ebp
ret