Function at 0x408874
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
and dword [ebp - 4], 0
push ebx
push esi
push edi
mov edi, dword [ebp + 0x10]
push dword [edi + 0x17c]
lea eax, [edi + 0x80]
push eax
lea eax, [edi + 0x10]
push eax
lea eax, [edi + 0x780]
push eax
lea eax, [edi + 0x484]
push eax
lea ebx, [edi + 0x6e8]
call fcn.00419a80
mov esi, eax
test esi, esi
jns 0x4088c9
push str.Failed_to_open_elevated_log.
push esi
push 0x100
push 5
push 0x254
jmp 0x408ab1
push 1
lea eax, [edi + 0x71c]
push eax
call fcn.0041a936
mov esi, eax
test esi, esi
jns 0x4088f4
push str.Failed_to_connect_to_unelevated_process.
push esi
push 0x100
push 5
push 0x258
jmp 0x408ab1
xor esi, esi
push esi
push esi
push 1
push esi
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov dword [ebx + 0x20], eax
test eax, eax
jne 0x40894c
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
test esi, esi
jle 0x40891f
movzx esi, si
or esi, 0x80070000
test esi, esi
js 0x408926
mov esi, 0x80004005
push esi
mov ebx, 0x25d
mov edi, str.d:_awixwix_src_burnengineengine.cpp
push ebx
push edi
call fcn.0040129e
push str.Failed_to_create_log_event_for_logging_thread.
push esi
push 0x100
push 5
push ebx
push edi
jmp 0x408ab6
push esi
push esi
push 1
push esi
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov dword [ebx + 0x24], eax
test eax, eax
jne 0x408995
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
test esi, esi
jle 0x408975
movzx esi, si
or esi, 0x80070000
test esi, esi
js 0x40897c
mov esi, 0x80004005
push esi
mov ebx, 0x260
mov edi, str.d:_awixwix_src_burnengineengine.cpp
push ebx
push edi
call fcn.0040129e
push str.Failed_to_create_finished_event_for_logging_thread.
jmp 0x40893d
mov eax, dword [edi + 0x734]
push esi
push esi
push ebx
push 0x4080f0
push esi
push esi
mov dword [ebx + 0x1c], eax
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [ebx + 0x28], eax
test eax, eax
jne 0x4089ef
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
test esi, esi
jle 0x4089cc
movzx esi, si
or esi, 0x80070000
test esi, esi
js 0x4089d3
mov esi, 0x80004005
push esi
mov ebx, 0x265
mov edi, str.d:_awixwix_src_burnengineengine.cpp
push ebx
push edi
call fcn.0040129e
push str.Failed_to_create_elevated_logging_thread.
jmp 0x40893d
push ebx
push 0x4084e0
call fcn.004662d8
cmp dword [edi + 0x7ac], esi
jne 0x408a10
push 0xe0000016
push 5
call fcn.00409885
pop ecx
pop ecx
push edi
push dword [ebp + 8]
call fcn.0042c1ab
mov esi, eax
test esi, esi
jns 0x408a33
push str.Failed_to_create_the_message_window.
push esi
push 0x100
push 5
push 0x270
jmp 0x408ab1
push 1
call fcn.00469037
lea eax, [edi + 0x4f0]
push eax
lea eax, [edi + 0xc]
push eax
lea eax, [edi + 0x11c]
push eax
lea eax, [ebp - 4]
push eax
lea eax, [edi + 0xb0]
push eax
lea eax, [edi + 0x120]
push eax
lea eax, [edi + 0x80]
push eax
lea eax, [edi + 0x208]
push eax
lea eax, [edi + 0x214]
push eax
lea eax, [edi + 0x200]
push eax
lea eax, [edi + 0x3c0]
push eax
lea eax, [edi + 0x3b8]
push eax
push dword [edi + 0x730]
push dword [edi + 0x72c]
call fcn.004298e2
mov esi, eax
test esi, esi
jns 0x408abe
push str.Failed_to_pump_messages_from_parent_process.
push esi
push 0x100
push 5
push 0x276
push str.d:_awixwix_src_burnengineengine.cpp
call fcn.004012a1
add esp, 0x18
cmp dword [ebp - 4], 0
je 0x408ad6
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret 0xc