Function at 0x40c490
Capabilities:
Create process on windows
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x541066
mov eax, dword fs:[0]
push eax
sub esp, 0x67c
mov eax, dword [0x5a40e0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0x5a90d0
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov dword [ebp - 4], 0
mov esi, dword [0x5a924c]
test esi, esi
je 0x40c4f8
cmp byte [ebp + 0xc], 0
jne 0x40c4f8
mov dword [ebp - 4], 0xffffffff
push 0x5a90d0
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, esi
jmp 0x40c741
mov dword [ebp - 4], 0xffffffff
push 0x5a90d0
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
xor eax, eax
mov dword [ebp - 0x62c], 0
push 0x206
push eax
mov word [ebp - 0x420], ax
xorps xmm0, xmm0
lea eax, [ebp - 0x41e]
mov dword [ebp - 0x640], 0
push eax
movdqu xmmword [ebp - 0x63c], xmm0
call fcn.00525b40
push dword [ebp + 8]
lea eax, [ebp - 0x420]
push str.____N__P___UseSystemFonts__Q:_d
push eax
call fcn.00528a0b
add esp, 0x18
lea eax, [ebp - 0x218]
push eax
call fcn.00409d00
test eax, eax
jne 0x40c572
xor eax, eax
jmp 0x40c741
xor ecx, ecx
movzx eax, word [ebp + ecx - 0x218]
lea ecx, [ecx + 2]
mov word [ebp + ecx - 0x62a], ax
test ax, ax
jne 0x40c574
lea edi, [ebp - 0x218]
add edi, 0xfffffffe
mov ax, word [edi + 2]
add edi, 2
test ax, ax
jne 0x40c595
push 0x44
lea eax, [ebp - 0x684]
mov ecx, 7
mov esi, str.AcroDist.exe
push 0
rep movsd dword es:[edi], dword [esi]
push eax
call fcn.00525b40
add esp, 0xc
mov dword [ebp - 0x684], 0x44
xor eax, eax
mov dword [ebp - 0x658], 1
mov word [ebp - 0x654], ax
lea eax, [ebp - 0x63c]
push eax
lea eax, [ebp - 0x684]
push eax
lea eax, [ebp - 0x628]
push eax
push 0
push 0x4000000
push 0
push 0
push 0
lea eax, [ebp - 0x420]
push eax
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x40c56b
push 0xea60
push dword [ebp - 0x63c]
call dword [sym.imp.USER32.dll_WaitForInputIdle]
test eax, eax
jne 0x40c56b
mov esi, dword [sym.imp.USER32.dll_EnumThreadWindows]
lea eax, [ebp - 0x63c]
push eax
push 0x40a520
push dword [ebp - 0x630]
call esi
mov edx, dword [ebp - 0x62c]
test edx, edx
jne 0x40c6a0
mov edi, dword [sym.imp.KERNEL32.dll_Sleep]
mov edi, edi
mov ecx, dword [ebp - 0x640]
mov eax, ecx
inc ecx
mov dword [ebp - 0x640], ecx
cmp eax, 0x64
jge 0x40c698
push 0x64
call edi
lea eax, [ebp - 0x63c]
push eax
push 0x40a520
push dword [ebp - 0x630]
call esi
mov edx, dword [ebp - 0x62c]
test edx, edx
je 0x40c660
jmp 0x40c6a0
test edx, edx
je 0x40c56b
push 0x5a90d0
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov dword [ebp - 4], 1
cmp byte [ebp + 0xc], 0
je 0x40c6e0
lea eax, [ebp - 0x62c]
mov ecx, 0x5a9284
push eax
call fcn.00409bc0
movdqu xmm0, xmmword [ebp - 0x63c]
movdqu xmmword [eax], xmm0
mov ecx, dword [ebp - 0x62c]
mov dword [eax + 0x10], ecx
jmp 0x40c6fb
movdqu xmm0, xmmword [ebp - 0x63c]
mov eax, dword [ebp - 0x62c]
mov dword [0x5a924c], eax
movdqu xmmword [0x5a923c], xmm0
mov dword [ebp - 4], 0xffffffff
push 0x5a90d0
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
cmp dword [0x5a927c], 0
mov eax, dword [ebp - 0x62c]
cmovne eax, dword [0x5a94a8]
push eax
push 0
push 0x40d900
call fcn.00528d95
mov ecx, dword [ebp - 0x62c]
xor edx, edx
add esp, 0xc
cmp eax, 0xffffffff
cmove ecx, edx
mov eax, ecx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00525b2c
mov esp, ebp
pop ebp
ret