Function at 0x1000fdbf8
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rbp
push rsi
push rdi
push r12
push r13
push r14
sub rsp, 0x120
mov rax, qword [0x100165138]
xor rax, rsp
mov qword [rsp + 0x110], rax
xor r13d, r13d
mov r12, rdx
mov rbx, rcx
lea rsi, [0x100011648]
cmp rdx, r13
jne 0x1000fdc4c
lea r8, [0x100011688]
mov edx, 0x106
mov rcx, rsi
call fcn.10009a050
cmp qword [rbx + 0x10], 0xffffffffffffffff
jne 0x1000fdc67
lea r8, [0x10000fb78]
mov edx, 0x107
mov rcx, rsi
call fcn.10009a050
mov r14d, 1
cmp dword [rbx + 8], r14d
je 0x1000fdc8d
cmp dword [rbx + 8], 2
je 0x1000fdc8d
lea r8, [0x100011900]
mov edx, 0x10a
mov rcx, rsi
call fcn.10009a050
xor eax, eax
or rbp, 0xffffffffffffffff
mov edi, r13d
mov dword [rsp + 0x68], r13d
mov dword [rsp + 0x6c], eax
cmp dword [rbx + 8], r14d
jne 0x1000fdce8
cmp qword [rbx + 0x18], r13
je 0x1000fdcbf
lea r8, [0x100011940]
mov edx, VarUI4FromDisp
mov rcx, rsi
call fcn.10009a050
mov ecx, dword [rbx + 0x20]
call qword [sym.imp.msvcrt.dll_malloc]
mov rsi, rax
cmp rax, r13
jne 0x1000fdce4
xor r9d, r9d
xor r8d, r8d
mov edx, r14d
mov ecx, 0x8007000e
call qword [sym.imp.KERNEL32.dll_RaiseException]
mov qword [rbx + 0x18], rsi
mov ecx, dword [rbx + 0x24]
mov rsi, rcx
add rsi, qword [rbx + 0x18]
cmp dword [rbx + 8], r14d
je 0x1000fdd01
cmp ecx, dword [rbx + 0x20]
jne 0x1000fddf6
mov ecx, dword [rbx + 0x18]
mov r9d, dword [rbx + 0x20]
mov eax, 8
and ecx, 7
mov edx, 0xa
sub eax, ecx
mov rcx, qword [rbx + 0x10]
mov r8d, eax
sub r9d, eax
mov dword [rbx + 0x24], r8d
add r8, qword [rbx + 0x18]
call qword [sym.imp.KERNEL32.dll_GetFileInformationByHandleEx]
cmp eax, r13d
jne 0x1000fdde5
call qword [sym.imp.KERNEL32.dll_GetLastError]
movzx edi, ax
or edi, 0x80070000
cmp eax, r13d
cmovle edi, eax
cmp edi, r13d
jge 0x1000fdde5
lea rax, [0x100167d30]
mov qword [rsp + 0x40], rax
lea rax, [0x1000116d0]
cmp edi, 0x80070012
jne 0x1000fddae
mov r9, qword [rbx + 0x38]
mov qword [rsp + 0x48], rax
mov rax, qword [rbx + 0x88]
lea r8, [0x100011950]
lea rcx, [rsp + 0x40]
mov edx, 5
mov qword [rsp + 0x20], rax
mov dword [rsp + 0x50], 0x126
mov qword [rsp + 0x58], rbx
call fcn.1000f3018
jmp 0x1000fe149
mov r9, qword [rbx + 0x88]
mov r8, qword [rbx + 0x38]
lea rdx, [0x100011950]
lea rcx, [rsp + 0x40]
mov dword [rsp + 0x48], edi
mov qword [rsp + 0x50], rax
mov dword [rsp + 0x58], 0x126
mov qword [rsp + 0x60], rbx
call sym.wbengine.exe_public:_void___cdecl_CTraceFailureHelper::TraceMessage_unsigned_short_int_const____ptr64____ptr64
jmp 0x1000fe149
mov ecx, dword [rbx + 0x24]
mov dword [rbx + 8], 2
mov rsi, rcx
add rsi, qword [rbx + 0x18]
add ecx, dword [rsi]
mov dword [rbx + 0x24], ecx
cmp dword [rsi], r13d
jne 0x1000fde06
mov eax, dword [rbx + 0x20]
mov dword [rbx + 0x24], eax
bt dword [rsi + 0x38], 0xa
jae 0x1000fe099
mov eax, dword [rsp + 0x8c]
mov r8d, dword [rsi + 0x3c]
mov edx, 0x18
and eax, 0xfffffffe
lea rcx, [rsp + 0x90]
mov dword [rsp + 0x78], edx
and eax, 0xfffffffb
mov qword [rsp + 0x80], rcx
lea rcx, [rsp + 0xe0]
or eax, 2
mov dword [rsp + 0xc8], edx
mov qword [rsp + 0xd0], rcx
mov dword [rsp + 0x8c], eax
mov eax, dword [rsp + 0xdc]
lea rdx, [rsi + 0x68]
and eax, 0xfffffffe
lea rcx, [0x10000a05c]
shr r8, 1
and eax, 0xfffffffb
mov qword [rsp + 0x70], r13
mov dword [rsp + 0x88], r13d
or eax, 2
mov word [rsp + 0x90], r13w
mov qword [rsp + 0xc0], r13
mov dword [rsp + 0xd8], r13d
mov word [rsp + 0xe0], r13w
mov dword [rsp + 0xdc], eax
call qword [sym.imp.msvcrt.dll_wcsncmp]
cmp eax, r13d
jne 0x1000fdecf
mov r8d, dword [rbx + 0x40]
mov rdx, qword [rbx + 0x38]
lea rcx, [rsp + 0x70]
call fcn.1000f2f98
jmp 0x1000fdf41
mov r8d, dword [rsi + 0x3c]
lea rdx, [rsi + 0x68]
lea rcx, [0x10000a060]
shr r8, 1
call qword [sym.imp.msvcrt.dll_wcsncmp]
cmp eax, r13d
jne 0x1000fdf04
lea rcx, [rbx + 0x28]
lea r8, [rsp + 0xc0]
lea rdx, [rsp + 0x70]
call fcn.1000fa710
jmp 0x1000fdf41
mov r8d, dword [rbx + 0x40]
mov rdx, qword [rbx + 0x38]
lea rcx, [rsp + 0x70]
call fcn.1000f2f98
cmp eax, r13d
jge 0x1000fdf2c
xor r9d, r9d
xor r8d, r8d
mov edx, r14d
mov ecx, eax
call qword [sym.imp.KERNEL32.dll_RaiseException]
mov r8d, dword [rsi + 0x3c]
lea rdx, [rsi + 0x68]
lea rcx, [rsp + 0x70]
shr r8d, 1
call fcn.1000f39b8
cmp eax, r13d
jge 0x1000fdf57
xor r9d, r9d
xor r8d, r8d
mov edx, r14d
mov ecx, eax
call qword [sym.imp.KERNEL32.dll_RaiseException]
mov rcx, qword [rsp + 0x80]
mov qword [rsp + 0x30], r13
xor r9d, r9d
mov r8d, r14d
xor edx, edx
mov dword [rsp + 0x28], 0x3200000
mov dword [rsp + 0x20], 3
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov rbp, rax
cmp rax, 0xffffffffffffffff
jne 0x1000fe003
call qword [sym.imp.KERNEL32.dll_GetLastError]
movzx edi, ax
or edi, 0x80070000
cmp eax, r13d
cmovle edi, eax
cmp edi, r13d
jge 0x1000fe003
mov r8, qword [rsp + 0x80]
lea rax, [0x100167d30]
lea rdx, [0x100011840]
mov qword [rsp + 0x40], rax
lea rax, [0x1000116d0]
lea rcx, [rsp + 0x40]
mov dword [rsp + 0x48], edi
mov dword [rsp + 0x58], 0x15b
mov qword [rsp + 0x60], rbx
mov qword [rsp + 0x50], rax
call sym.wbengine.exe_public:_void___cdecl_CTraceFailureHelper::TraceMessage_unsigned_short_int_const____ptr64____ptr64
lea rcx, [rsp + 0xc0]
call fcn.1000f2a80
lea rcx, [rsp + 0x70]
call fcn.1000f2a80
jmp 0x1000fe111
mov r9d, 8
lea r8, [rsp + 0x68]
mov rcx, rbp
lea edx, [r9 + 1]
call qword [sym.imp.KERNEL32.dll_GetFileInformationByHandleEx]
cmp eax, r13d
jne 0x1000fe082
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea r9, [0x1000119b0]
lea r8, [0x10000f2b0]
movzx edi, ax
lea rdx, [0x10000fa40]
lea rcx, [rsp + 0x40]
or edi, 0x80070000
cmp eax, r13d
mov dword [rsp + 0x58], 0x15e
cmovle edi, eax
lea rax, [0x100167d30]
mov qword [rsp + 0x60], rbx
mov qword [rsp + 0x40], rax
lea rax, [0x1000116d0]
mov dword [rsp + 0x48], edi
mov qword [rsp + 0x50], rax
call sym.wbengine.exe_public:_void___cdecl_CTraceFailureHelper::TraceMessage_unsigned_short_int_const____ptr64____ptr64
jmp 0x1000fdfe7
lea rcx, [rsp + 0xc0]
call fcn.1000f2a80
lea rcx, [rsp + 0x70]
call fcn.1000f2a80
mov eax, dword [rsi + 0x38]
lea r8, [rsi + 0x68]
lea rcx, [r12 + 0x2c]
mov dword [r12], eax
mov rax, qword [rsi + 8]
mov edx, 0x104
mov qword [r12 + 4], rax
mov rax, qword [rsi + 0x10]
mov qword [r12 + 0xc], rax
mov rax, qword [rsi + 0x18]
mov dword [r12 + 0x28], r13d
mov qword [r12 + 0x14], rax
mov eax, dword [rsp + 0x6c]
mov dword [r12 + 0x24], eax
mov eax, dword [rsi + 0x2c]
mov dword [r12 + 0x1c], eax
mov eax, dword [rsi + 0x28]
mov dword [r12 + 0x20], eax
mov r9d, dword [rsi + 0x3c]
shr r9, 1
call sub.msvcrt.dll_wcsncpy_s
movsx r9, byte [rsi + 0x44]
lea r8, [rsi + 0x46]
lea rcx, [r12 + 0x234]
shr r9, 1
mov edx, 0xe
call sub.msvcrt.dll_wcsncpy_s
cmp rbp, 0xffffffffffffffff
je 0x1000fe149
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_CloseHandle]
cmp eax, r13d
jne 0x1000fe149
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, r14d
movzx ecx, ax
or ecx, 0x80070000
cmp eax, r13d
cmovle ecx, eax
xor r9d, r9d
xor r8d, r8d
call qword [sym.imp.KERNEL32.dll_RaiseException]
mov eax, edi
mov rcx, qword [rsp + 0x110]
xor rcx, rsp
call fcn.10014e600
lea r11, [rsp + 0x120]
mov rbx, qword [r11 + 0x40]
mov rbp, qword [r11 + 0x48]
mov rsp, r11
pop r14
pop r13
pop r12
pop rdi
pop rsi
ret