Function at 0x401ab0
Capabilities:
Check if file exists
Create process on windows
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x204
mov eax, dword [0x4524c8]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push 0x455338
mov ebx, ecx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
xor eax, eax
cmp dword [0x454f94], eax
jne 0x401d2d
push esi
inc eax
push edi
mov dword [0x454f94], eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov ecx, eax
call fcn.00401a17
and dword [ebp - 0x19c], 0
mov eax, dword fs:[0x18]
mov dword [ebp - 0x19c], eax
mov ecx, dword [0x4551a8]
mov eax, dword [ebp - 0x19c]
push 0x14
mov dword [ecx + 0x20], eax
mov eax, dword [0x4551a8]
pop ecx
mov dword [eax + 0x34c], ebx
mov edi, dword [0x4551a8]
mov esi, dword [ebx]
add edi, 0x30
rep movsd dword es:[edi], dword [esi]
mov edi, dword [0x4551a8]
mov ecx, 0xb3
mov esi, dword [ebx + 4]
sub edi, 0xffffff80
rep movsd dword es:[edi], dword [esi]
mov eax, dword [0x4551a8]
xor edi, edi
mov dword [eax + 0x5f4], edi
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov ecx, dword [0x4551a8]
mov dword [ecx + 0x18], eax
mov eax, dword [0x454f84]
test eax, eax
je 0x401b6b
call eax
mov ebx, dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
call ebx
mov dword [ebp - 0x198], eax
xor eax, eax
push edi
inc eax
mov dword [ebp - 0x1b0], 0xc
push edi
push eax
mov dword [ebp - 0x1a8], eax
lea eax, [ebp - 0x1b0]
push eax
mov dword [ebp - 0x1ac], edi
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov esi, eax
test esi, esi
je 0x401d10
push 2
push 1
push edi
lea eax, [ebp - 0x198]
push eax
push dword [ebp - 0x198]
push dword [ebp - 0x198]
push dword [ebp - 0x198]
call dword [sym.imp.KERNEL32.dll_DuplicateHandle]
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
je 0x401d0d
cmp word [0x454f98], 0
je 0x401bf7
push 0x454f98
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x401c11
xor eax, eax
push eax
push 0x454f98
push 0x105
push eax
push str.bugreport.exe
push eax
call dword [sym.imp.KERNEL32.dll_SearchPathW]
cmp word [0x454f98], 0
je 0x401d0d
xor eax, eax
push 0x18e
push eax
mov word [ebp - 0x194], ax
lea eax, [ebp - 0x192]
push eax
call fcn.0041e3e0
add esp, 0xc
push dword [0x4551a4]
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
push dword [0x4551a8]
lea eax, [ebp - 0x194]
push dword [ebp - 0x198]
push esi
push str.bugreport__buginfo:_p:_p:_p:_lu__extinfo:_p
push 0xc8
push eax
call fcn.0041ed86
push 0x40
lea eax, [ebp - 0x200]
mov dword [ebp - 0x204], 0x44
xorps xmm0, xmm0
push 0
push eax
movdqu xmmword [ebp - 0x1c0], xmm0
call fcn.0041e3e0
add esp, 0x2c
lea eax, [ebp - 0x1c0]
xor ecx, ecx
inc ecx
mov dword [ebp - 0x1d8], ecx
push eax
lea eax, [ebp - 0x204]
mov word [ebp - 0x1d4], cx
push eax
xor eax, eax
push eax
push eax
push eax
push ecx
push eax
push eax
lea eax, [ebp - 0x194]
push eax
push 0x454f98
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x401d0d
mov eax, dword [ebp - 0x1c0]
and dword [ebp - 0x1a0], 0
push 0xffffffffffffffff
mov dword [ebp - 0x1a0], eax
lea eax, [ebp - 0x1a4]
push 0
push eax
push 2
mov dword [ebp - 0x1a4], esi
call dword [sym.imp.KERNEL32.dll_WaitForMultipleObjects]
push dword [ebp - 0x1c0]
call edi
push dword [ebp - 0x1bc]
call edi
push esi
call edi
mov eax, dword [0x454f80]
pop edi
pop esi
test eax, eax
je 0x401d1d
call eax
push 0x1234
call ebx
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop ebx
call fcn.0041e2e9
mov esp, ebp
pop ebp
ret