Function at 0x43fbf0
Capabilities:
Check if file exists
Create process on windows
Get process heap flags
Get process heap force flags
Resolve function by parsing pe exports
Suspend thread
Terminate process

Disassembly:
sub esp, 0x218
mov eax, dword [0x4713c0]
xor eax, esp
mov dword [esp + 0x214], eax
push ebx
push 0x473f70
mov ebx, ecx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [0x474cd8], 0
jne 0x43feb5
push ebp
push esi
push edi
mov dword [0x474cd8], 1
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
call fcn.0043fb70
mov ebp, dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov esi, eax
call ebp
cmp esi, eax
je 0x43fc5b
push esi
push 0
push 2
call dword [sym.imp.KERNEL32.dll_OpenThread]
test eax, eax
je 0x43fc5b
push eax
call dword [sym.imp.KERNEL32.dll_SuspendThread]
mov dword [esp + 0x14], 0
mov eax, dword fs:[0x18]
mov dword [esp + 0x14], eax
mov eax, dword [0x474cd4]
mov ecx, dword [esp + 0x14]
mov dword [eax + 0x20], ecx
mov edx, dword [0x474cd4]
mov dword [edx + 0x34c], ebx
mov edi, dword [0x474cd4]
mov esi, dword [ebx]
add edi, 0x30
mov ecx, 0x14
rep movsd dword es:[edi], dword [esi]
mov edi, dword [0x474cd4]
mov esi, dword [ebx + 4]
add edi, 0x80
mov ecx, 0xb3
rep movsd dword es:[edi], dword [esi]
mov eax, dword [0x474cd4]
xor ebx, ebx
mov dword [eax + 0x5f4], ebx
call ebp
mov ecx, dword [0x474cd4]
push 0x18e
lea edx, [esp + 0x9a]
push ebx
mov dword [ecx + 0x18], eax
push edx
mov word [esp + 0xa0], bx
call fcn.00446fa0
add esp, 0xc
push ebx
push ebx
mov ebp, 1
push ebp
lea eax, [esp + 0x34]
push eax
mov dword [esp + 0x38], 0xc
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x40], ebp
call dword [sym.imp.KERNEL32.dll_CreateEventW]
push 0x40
lea ecx, [esp + 0x3c]
push ebx
push ecx
mov esi, eax
mov dword [esp + 0x40], 0x44
call fcn.00446fa0
xor eax, eax
add esp, 0xc
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
cmp word [0x474ce0], bx
mov dword [esp + 0x10], eax
mov dword [esp + 0x60], ebp
mov word [esp + 0x64], bp
je 0x43fd5d
push 0x474ce0
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x43fdaa
lea edi, [esp + 0x78]
call fcn.00427900
mov eax, dword [esp + 0x7c]
mov edi, 8
cmp dword [esp + 0x90], edi
jae 0x43fd7c
lea eax, [esp + 0x7c]
push ebx
push 0x474ce0
push 0x105
push ebx
push str.bugreport.exe
push eax
call dword [sym.imp.KERNEL32.dll_SearchPathW]
cmp dword [esp + 0x90], edi
jb 0x43fdaa
mov edx, dword [esp + 0x7c]
push edx
call fcn.004415cb
add esp, 4
push 2
push ebp
push ebx
lea eax, [esp + 0x1c]
push eax
mov eax, dword [esp + 0x20]
push eax
push eax
push eax
call dword [sym.imp.KERNEL32.dll_DuplicateHandle]
mov edi, eax
mov eax, dword [sym.QTalkSetup.exe_void____cdecl___void__TXBugReport::pfPreBugReport]
cmp eax, ebx
je 0x43fdcd
call eax
cmp edi, ebx
je 0x43fe8c
cmp esi, ebx
je 0x43fe8c
cmp word [0x474ce0], bx
je 0x43fe8c
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov ecx, dword [0x474cd4]
mov edx, dword [esp + 0x10]
push eax
push ecx
push edx
push esi
push str.bugreport__buginfo:_p:_p:_p:_lu
lea eax, [esp + 0xa8]
push 0xc8
push eax
call fcn.004414db
add esp, 0x1c
lea ecx, [esp + 0x18]
push ecx
lea edx, [esp + 0x38]
push edx
push ebx
push ebx
push ebx
push ebp
push ebx
push ebx
lea eax, [esp + 0xb4]
push eax
push 0x474ce0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x43fe8c
mov edi, dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push 0x7d0
push esi
call edi
cmp eax, 0x102
jne 0x43fe76
mov ecx, dword [esp + 0x18]
push 0x7d0
push ecx
call edi
cmp eax, 0x102
jne 0x43fe76
push 0x7d0
push esi
call edi
cmp eax, 0x102
je 0x43fe54
mov edx, dword [esp + 0x18]
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push edx
call edi
mov eax, dword [esp + 0x1c]
push eax
call edi
jmp 0x43fe92
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push esi
call edi
mov eax, dword [sym.QTalkSetup.exe_void____cdecl___void__TXBugReport::pfPostBugReport]
cmp eax, ebx
pop edi
pop esi
pop ebp
je 0x43fea3
call eax
push 0x1234
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
mov ecx, dword [esp + 0x218]
pop ebx
xor ecx, esp
xor eax, eax
call fcn.004414cc
add esp, 0x218
ret