Function at 0x406df5
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 + 0x154]
lea eax, [edi + 0x80]
push eax
lea eax, [edi + 0x10]
push eax
lea eax, [edi + 0x750]
push eax
lea eax, [edi + 0x454]
push eax
lea ebx, [edi + 0x6b8]
call fcn.0041a5be
mov esi, eax
test esi, esi
jns 0x406e4a
push str.Failed_to_open_elevated_log.
push esi
push 0x100
push 5
push 0x2b2
jmp 0x407032
push 1
lea eax, [edi + 0x6ec]
push eax
call fcn.0041b6bd
mov esi, eax
test esi, esi
jns 0x406e75
push str.Failed_to_connect_to_unelevated_process.
push esi
push 0x100
push 5
push 0x2b6
jmp 0x407032
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 0x406ecd
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
test esi, esi
jle 0x406ea0
movzx esi, si
or esi, 0x80070000
test esi, esi
js 0x406ea7
mov esi, 0x80004005
push esi
mov ebx, 0x2bb
mov edi, str.d:_awixwix_src_burnengineengine.cpp
push ebx
push edi
call fcn.00401225
push str.Failed_to_create_log_event_for_logging_thread.
push esi
push 0x100
push 5
push ebx
push edi
jmp 0x407037
push esi
push esi
push 1
push esi
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov dword [ebx + 0x24], eax
test eax, eax
jne 0x406f16
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
test esi, esi
jle 0x406ef6
movzx esi, si
or esi, 0x80070000
test esi, esi
js 0x406efd
mov esi, 0x80004005
push esi
mov ebx, 0x2be
mov edi, str.d:_awixwix_src_burnengineengine.cpp
push ebx
push edi
call fcn.00401225
push str.Failed_to_create_finished_event_for_logging_thread.
jmp 0x406ebe
mov eax, dword [edi + 0x704]
push esi
push esi
push ebx
push 0x4065b0
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 0x406f70
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
test esi, esi
jle 0x406f4d
movzx esi, si
or esi, 0x80070000
test esi, esi
js 0x406f54
mov esi, 0x80004005
push esi
mov ebx, 0x2c3
mov edi, str.d:_awixwix_src_burnengineengine.cpp
push ebx
push edi
call fcn.00401225
push str.Failed_to_create_elevated_logging_thread.
jmp 0x406ebe
push ebx
push 0x4069e0
call fcn.0045b344
cmp dword [edi + 0x77c], esi
jne 0x406f91
push 0xe0000016
push 5
call fcn.00408119
pop ecx
pop ecx
push edi
push dword [ebp + 8]
call fcn.0042d72b
mov esi, eax
test esi, esi
jns 0x406fb4
push str.Failed_to_create_the_message_window.
push esi
push 0x100
push 5
push 0x2ce
jmp 0x407032
push 1
call fcn.0045e0a7
lea eax, [edi + 0x4c0]
push eax
lea eax, [edi + 0xc]
push eax
lea eax, [edi + 0xf4]
push eax
lea eax, [ebp - 4]
push eax
lea eax, [edi + 0xb0]
push eax
lea eax, [edi + 0xf8]
push eax
lea eax, [edi + 0x80]
push eax
lea eax, [edi + 0x1e0]
push eax
lea eax, [edi + 0x1ec]
push eax
lea eax, [edi + 0x1d8]
push eax
lea eax, [edi + 0x390]
push eax
lea eax, [edi + 0x388]
push eax
push dword [edi + 0x700]
push dword [edi + 0x6fc]
call fcn.0042ae62
mov esi, eax
test esi, esi
jns 0x40703f
push str.Failed_to_pump_messages_from_parent_process.
push esi
push 0x100
push 5
push 0x2d4
push str.d:_awixwix_src_burnengineengine.cpp
call fcn.00401228
add esp, 0x18
cmp dword [ebp - 4], 0
je 0x407057
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