Function at 0x100a5542
Capabilities:
Create process on windows
Get process heap flags
Get process heap force flags
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100b4df6
mov eax, dword fs:[0]
push eax
sub esp, 0x42c
mov eax, dword [0x100e13e0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0x100fd0ac
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [0x100fd198], 0
je 0x100a5595
push 0x100fd0ac
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
xor eax, eax
jmp 0x100a5919
mov dword [0x100fd198], 1
and dword [ebp - 0x228], 0
mov eax, dword fs:[0x18]
mov dword [ebp - 0x228], eax
mov eax, dword [0x100fd194]
mov ecx, dword [ebp - 0x228]
mov dword [eax + 0x20], ecx
mov eax, dword [0x100fd194]
mov ecx, dword [ebp + 8]
mov dword [eax + 0x34c], ecx
mov eax, dword [ebp + 8]
mov esi, dword [eax]
mov edi, dword [0x100fd194]
add edi, 0x30
push 0x14
pop ecx
rep movsd dword es:[edi], dword [esi]
mov eax, dword [ebp + 8]
mov esi, dword [eax + 4]
mov edi, dword [0x100fd194]
add edi, 0x80
mov ecx, 0xb3
rep movsd dword es:[edi], dword [esi]
mov eax, dword [0x100fd194]
mov ecx, dword [ebp + 0xc]
mov dword [eax + 0x5f4], ecx
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov ecx, dword [0x100fd194]
mov dword [ecx + 0x18], eax
and word [ebp - 0x21c], 0
push 0x206
push 0
lea eax, [ebp - 0x21a]
push eax
call fcn.10072050
add esp, 0xc
and word [ebp - 0x3d4], 0
push 0x18e
push 0
lea eax, [ebp - 0x3d2]
push eax
call fcn.10072050
add esp, 0xc
mov dword [ebp - 0x244], 0xc
and dword [ebp - 0x240], 0
mov dword [ebp - 0x23c], 1
push 0
push 0
push 1
lea eax, [ebp - 0x244]
push eax
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov dword [ebp - 0x420], eax
mov dword [ebp - 0x41c], 0x44
push 0x40
push 0
lea eax, [ebp - 0x418]
push eax
call fcn.10072050
add esp, 0xc
and dword [ebp - 0x238], 0
xor eax, eax
lea edi, [ebp - 0x234]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
and dword [ebp - 0x220], 0
mov dword [ebp - 0x3f0], 0x81
mov word [ebp - 0x3ec], 1
push 0
lea eax, [ebp - 0x21c]
push eax
push 0x104
push 0
push 0x100c80ec
push 0
call dword [sym.imp.KERNEL32.dll_SearchPathW]
lea eax, [ebp - 0x42c]
push eax
call fcn.100ad502
pop ecx
mov dword [ebp - 0x434], eax
mov eax, dword [ebp - 0x434]
mov dword [ebp - 0x438], eax
and dword [ebp - 4], 0
push 0x100c8108
push dword [ebp - 0x438]
lea eax, [ebp - 0x224]
push eax
call fcn.1001093f
add esp, 0xc
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x42c]
call fcn.10003c4c
push 0xffffffffffffffff
lea ecx, [ebp - 0x224]
call fcn.1001e65e
push eax
push 0x104
lea eax, [ebp - 0x21c]
push eax
call fcn.10072a9d
add esp, 0x10
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
push 1
push 0x1f0fff
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov dword [ebp - 0x220], eax
cmp dword [0x100fd19c], 0
je 0x100a5784
call dword [0x100fd19c]
cmp dword [ebp - 0x220], 0
je 0x100a58c5
cmp dword [ebp - 0x420], 0
je 0x100a58c5
movzx eax, word [ebp - 0x21c]
test eax, eax
je 0x100a58c5
mov ecx, 0x100fd368
call fcn.10004bed
movzx eax, al
test eax, eax
jne 0x100a57ff
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
push dword [0x100fd194]
push dword [ebp - 0x220]
push dword [ebp - 0x420]
mov ecx, 0x100fd368
call fcn.10004e6d
push eax
push str.bugreport__version:_s__buginfo:_p:_p:_p:_lu
push 0xffffffffffffffff
push 0xc8
lea eax, [ebp - 0x3d4]
push eax
call fcn.10073147
add esp, 0x24
jmp 0x100a5833
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
push dword [0x100fd194]
push dword [ebp - 0x220]
push dword [ebp - 0x420]
push str.bugreport__buginfo:_p:_p:_p:_lu
push 0xffffffffffffffff
push 0xc8
lea eax, [ebp - 0x3d4]
push eax
call fcn.10073147
add esp, 0x20
lea eax, [ebp - 0x21c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathQuoteSpacesW]
lea eax, [ebp - 0x238]
push eax
lea eax, [ebp - 0x41c]
push eax
push 0
push 0
push 0
push 1
push 0
push 0
lea eax, [ebp - 0x3d4]
push eax
lea eax, [ebp - 0x21c]
push eax
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x100a58c5
and dword [ebp - 0x428], 0
xor eax, eax
lea edi, [ebp - 0x424]
stosd dword es:[edi], eax
mov eax, dword [ebp - 0x420]
mov dword [ebp - 0x428], eax
mov eax, dword [ebp - 0x238]
mov dword [ebp - 0x424], eax
push 0xffffffffffffffff
push 0
lea eax, [ebp - 0x428]
push eax
push 2
call dword [sym.imp.KERNEL32.dll_WaitForMultipleObjects]
push dword [ebp - 0x238]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push dword [ebp - 0x234]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push dword [ebp - 0x420]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [0x100fd1a0], 0
je 0x100a58e0
call dword [0x100fd1a0]
push 0x100fd0ac
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
push 0x1234
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
and dword [ebp - 0x430], 0
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x224]
call fcn.10003c4c
mov eax, dword [ebp - 0x430]
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.1006f3d1
leave
ret