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

Disassembly:
push 0xffffffffffffffff
push 0x5cc2ed
mov eax, dword fs:[0]
push eax
sub esp, 0x49c
mov eax, dword [0x613ad0]
xor eax, esp
mov dword [esp + 0x498], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x613ad0]
xor eax, esp
push eax
lea eax, [esp + 0x4b0]
mov dword fs:[0], eax
mov esi, dword [esp + 0x4c0]
mov ebx, ecx
mov dword [esp + 0x20], ebx
call fcn.0057e772
xor ecx, ecx
xor ebp, ebp
cmp eax, ebp
setne cl
cmp ecx, ebp
jne 0x4084f4
push 0x80004005
call fcn.00401a10
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x1c], eax
mov dword [esp + 0x4b8], ebp
call fcn.0057e772
xor ecx, ecx
cmp eax, ebp
setne cl
cmp ecx, ebp
jne 0x408525
push 0x80004005
call fcn.00401a10
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x14], eax
push 8
push 0x5d8d2c
lea ecx, [esp + 0x1c]
mov byte [esp + 0x4c0], 1
call fcn.00402270
mov ecx, dword [0x615380]
mov eax, dword [ecx + 4]
mov ecx, dword [eax - 0xc]
push ecx
push eax
lea ecx, [esp + 0x1c]
call fcn.00403a10
push 8
push 0x5d8d18
lea ecx, [esp + 0x1c]
call fcn.00403a10
mov eax, dword [esi]
push 0x5c
push eax
call fcn.005aae0d
add esp, 8
cmp eax, ebp
jne 0x40858a
or eax, 0xffffffff
jmp 0x40858e
sub eax, dword [esi]
sar eax, 1
add eax, 1
push eax
lea edx, [esp + 0x1c]
push edx
mov ecx, esi
call fcn.004035b0
mov eax, dword [eax]
mov ecx, dword [eax - 0xc]
push ecx
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0x4c0], 2
call fcn.00403a10
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
mov byte [esp + 0x4b8], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4085de
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push 0xd
push 0x5d8cfc
lea ecx, [esp + 0x1c]
call fcn.00403a10
push 0x7de6
call fcn.0057f7a1
cmp eax, ebp
je 0x40860b
push 0x7de6
push eax
lea ecx, [esp + 0x24]
call fcn.00403630
push 1
push 0x5d8cf8
lea ecx, [esp + 0x24]
call fcn.00403a10
mov ecx, dword [0x615380]
mov eax, dword [ecx + 4]
mov ecx, dword [eax - 0xc]
push ecx
push eax
lea ecx, [esp + 0x24]
call fcn.00403a10
push 1
push 0x5d8cf8
lea ecx, [esp + 0x24]
call fcn.00403a10
push 0x7e4a
call fcn.00443770
add esp, 4
cmp eax, ebp
jne 0x408657
xor ecx, ecx
jmp 0x40866f
mov ecx, eax
lea esi, [ecx + 2]
lea esp, [esp]
mov dx, word [ecx]
add ecx, 2
cmp dx, bp
jne 0x408660
sub ecx, esi
sar ecx, 1
push ecx
push eax
lea ecx, [esp + 0x24]
call fcn.00403a10
call fcn.004029f0
test eax, eax
je 0x4089b0
call fcn.0057f6be
mov eax, dword [eax + 8]
push 0x100
lea edx, [esp + 0xa0]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [esp + 0x9c]
push 0x5c
push eax
call fcn.005aae0d
add esp, 8
cmp eax, ebp
je 0x4086bc
mov word [eax], bp
xor eax, eax
mov edi, edi
movzx ecx, word [esp + eax + 0x9c]
mov word [esp + eax + 0x2a4], cx
add eax, 2
cmp cx, bp
jne 0x4086c0
lea edi, [esp + 0x2a4]
add edi, 0xfffffffe
mov ax, word [edi + 2]
add edi, 2
cmp ax, bp
jne 0x4086e2
mov ecx, dword [0x5d869c]
mov dword [edi], ecx
lea edi, [esp + 0x2a4]
add edi, 0xfffffffe
mov ax, word [edi + 2]
add edi, 2
cmp ax, bp
jne 0x408700
mov ecx, 7
mov esi, str.ltsModule.exe
rep movsd dword es:[edi], dword [esi]
lea edi, [esp + 0x2a4]
add edi, 0xfffffffe
mov ax, word [edi + 2]
add edi, 2
cmp ax, bp
jne 0x408722
mov edx, dword [0x5d8cf8]
mov eax, dword [esp + 0x14]
mov dword [edi], edx
mov edx, eax
lea esp, [esp]
mov cx, word [eax]
add eax, 2
cmp cx, bp
jne 0x408740
lea edi, [esp + 0x2a4]
sub eax, edx
add edi, 0xfffffffe
jmp 0x408760
mov cx, word [edi + 2]
add edi, 2
cmp cx, bp
jne 0x408760
mov ecx, eax
shr ecx, 2
mov esi, edx
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
push 0x44
lea eax, [esp + 0x5c]
and ecx, 3
push ebp
push eax
rep movsb byte es:[edi], byte [esi]
call fcn.005abb20
add esp, 0xc
xor eax, eax
lea ecx, [esp + 0x2c]
push ecx
lea edx, [esp + 0x5c]
push edx
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], eax
lea eax, [esp + 0xa4]
push eax
push ebp
push 0x30
push ebp
push ebp
push ebp
lea ecx, [esp + 0x2c4]
push ecx
push ebp
mov dword [esp + 0x80], 0x44
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
jne 0x40880e
push ebp
push ebp
lea edx, [esp + 0x20]
push edx
push 0x400
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push ebp
push 0x1100
call dword [sym.imp.KERNEL32.dll_FormatMessageW]
mov eax, dword [esp + 0x18]
push ebp
push 0x40040
push eax
call fcn.00590222
mov ecx, dword [esp + 0x18]
push ecx
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov edx, dword [esp + 0x2c]
push 0xffffffffffffffff
push edx
mov dword [esp + 0x2c], ebp
call dword [sym.imp.USER32.dll_WaitForInputIdle]
mov ecx, dword [esp + 0x2c]
mov ebp, dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
lea eax, [esp + 0x24]
push eax
push ecx
call ebp
mov eax, dword [esp + 0x24]
cmp eax, 0x103
jne 0x4088c4
mov edi, dword [sym.imp.USER32.dll_PeekMessageW]
mov ebx, dword [sym.imp.USER32.dll_PostQuitMessage]
lea esp, [esp]
push 0
push 0
push 0
push 0
lea edx, [esp + 0x4c]
push edx
call edi
test eax, eax
je 0x40888c
call fcn.0058804f
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0x5c]
call eax
test eax, eax
push 0
je 0x40888a
push 0
push 0
push 0
lea ecx, [esp + 0x4c]
push ecx
call edi
test eax, eax
jne 0x408863
jmp 0x40888c
call ebx
xor esi, esi
mov edi, edi
call fcn.0057f6be
mov eax, dword [eax + 4]
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0x60]
push esi
call eax
add esi, 1
test eax, eax
jne 0x408890
mov edx, dword [esp + 0x2c]
lea ecx, [esp + 0x24]
push ecx
push edx
call ebp
mov eax, dword [esp + 0x24]
cmp eax, 0x103
je 0x408850
mov ebx, dword [esp + 0x20]
test eax, eax
je 0x408ac6
mov eax, dword [esp + 0x14]
mov eax, dword [eax - 0xc]
add eax, 0xfffffffd
push eax
lea ecx, [esp + 0x24]
push ecx
lea ecx, [esp + 0x1c]
call fcn.004035b0
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x4bc], 3
call fcn.004024f0
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
mov byte [esp + 0x4b8], 1
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x40891f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x1c]
lea ecx, [esp + 0x28]
push ecx
push edx
push eax
lea ecx, [ebx + 0xa4]
call fcn.00404800
cmp dword [esp + 0x28], 0
je 0x408ac6
call fcn.0057e772
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x40895e
push 0x80004005
call fcn.00401a10
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x18], eax
push 0
lea ecx, [esp + 0x1c]
push ecx
push 0x7d12
mov ecx, 0x61537c
mov byte [esp + 0x4c4], 4
call fcn.00405220
mov edx, dword [0x61540c]
mov eax, dword [esp + 0x18]
push edx
push eax
lea ecx, [esp + 0xa4]
push ecx
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0xc
push 0
jmp 0x408a8c
mov ecx, dword [esp + 0x14]
mov eax, dword [ecx - 0xc]
add eax, 0xfffffffd
push eax
lea edx, [esp + 0x24]
push edx
lea ecx, [esp + 0x1c]
call fcn.004035b0
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x4bc], 5
call fcn.004024f0
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
mov byte [esp + 0x4b8], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x408a03
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x1c]
lea ecx, [esp + 0x28]
push ecx
push edx
push eax
lea ecx, [ebx + 0xa4]
call fcn.00404800
cmp dword [esp + 0x28], ebp
je 0x408ac6
call fcn.0057e772
xor ecx, ecx
cmp eax, ebp
setne cl
cmp ecx, ebp
jne 0x408a41
push 0x80004005
call fcn.00401a10
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x18], eax
push ebp
lea ecx, [esp + 0x1c]
push ecx
push 0x7da3
mov ecx, 0x61537c
mov byte [esp + 0x4c4], 6
call fcn.00405220
mov edx, dword [0x61540c]
mov eax, dword [esp + 0x18]
push edx
push eax
lea ecx, [esp + 0xa4]
push ecx
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0xc
push ebp
push 0x50040
lea edx, [esp + 0xa4]
push edx
call fcn.00590222
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
or edx, 0xffffffff
lea ecx, [eax + 0xc]
mov byte [esp + 0x4b8], 1
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x408ac6
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
mov byte [esp + 0x4b8], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x408aee
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
mov dword [esp + 0x4b8], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x408b19
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x4b0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x498]
xor ecx, esp
call fcn.005aac48
add esp, 0x4a8
ret 4