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

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0xb8
xor r14d, r14d
lea rbx, [rcx + 0xa0]
mov rdi, rcx
mov dword [rsp + 0x50], r14d
mov rcx, rbx
mov dword [rsp + 0x100], r14d
mov rsi, rdx
mov dword [rsp + 0x108], r14d
mov ebp, r14d
mov dword [rsp + 0x54], r14d
mov r12d, r14d
mov dword [rsp + 0x110], r14d
mov r15d, r14d
mov dword [rsp + 0x58], r14d
mov r13d, r14d
mov dword [rsp + 0x118], r14d
mov dword [rsp + 0x5c], r14d
mov dword [rsp + 0x20], r14d
mov dword [rsp + 0x60], r14d
mov dword [rsp + 0x24], r14d
mov dword [rsp + 0x64], r14d
mov dword [rsp + 0x68], r14d
mov dword [rsp + 0x28], r14d
mov dword [rsp + 0x6c], r14d
mov dword [rsp + 0x2c], r14d
mov dword [rsp + 0x30], r14d
mov dword [rsp + 0x70], r14d
mov dword [rsp + 0x34], r14d
mov dword [rsp + 0x3c], r14d
mov dword [rsp + 0x40], r14d
mov dword [rsp + 0x74], r14d
mov dword [rsp + 0x7c], r14d
mov dword [rsp + 0x80], r14d
mov dword [rsp + 0x44], r14d
mov dword [rsp + 0x48], r14d
mov dword [rsp + 0x84], r14d
mov dword [rsp + 0x88], r14d
mov dword [rsp + 0x4c], r14d
mov dword [rsp + 0x8c], r14d
mov dword [rsp + 0x38], r14d
mov dword [rsp + 0x78], r14d
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
nop dword [rax + rax]
mov rax, qword [rdi + 0x10]
mov rcx, rbx
mov qword [rsp + 0x90], rax
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
nop dword [rax + rax]
test rsi, rsi
jne 0x14000ceb9
mov eax, 0x80070057
jmp 0x14000d7b6
mov rdx, qword [rsi]
or rax, 0xffffffffffffffff
mov edi, pe_nt_image_headers64
test rdx, rdx
je 0x14000cee8
mov dword [rsp + 0x50], edi
mov rcx, rax
inc rcx
cmp word [rdx + rcx*2], r14w
jne 0x14000ced1
lea ebp, [rcx*2 + 2]
lea edi, [rbp + 0xe8]
mov rdx, qword [rsi + 8]
test rdx, rdx
je 0x14000cf0f
mov r12d, edi
mov rcx, rax
inc rcx
cmp word [rdx + rcx*2], r14w
jne 0x14000cef7
lea edi, [rdi + rcx*2]
add edi, 2
lea r15d, [rcx*2 + 2]
mov rdx, qword [rsi + 0x38]
test rdx, rdx
je 0x14000cf3a
mov dword [rsp + 0x100], edi
mov rcx, rax
inc rcx
cmp word [rdx + rcx*2], r14w
jne 0x14000cf22
lea edi, [rdi + rcx*2]
add edi, 2
lea r13d, [rcx*2 + 2]
mov rdx, qword [rsi + 0x40]
test rdx, rdx
je 0x14000cf6a
mov dword [rsp + 0x108], edi
mov rcx, rax
inc rcx
cmp word [rdx + rcx*2], r14w
jne 0x14000cf4d
lea r14d, [rcx*2 + 2]
add edi, r14d
mov dword [rsp + 0x54], r14d
xor r14d, r14d
mov rdx, qword [rsi + 0x50]
test rdx, rdx
je 0x14000cf9a
mov dword [rsp + 0x110], edi
mov rcx, rax
inc rcx
cmp word [rdx + rcx*2], r14w
jne 0x14000cf7d
lea r14d, [rcx*2 + 2]
add edi, r14d
mov dword [rsp + 0x58], r14d
xor r14d, r14d
mov rdx, qword [rsi + 0x48]
test rdx, rdx
je 0x14000cfc4
mov dword [rsp + 0x118], edi
mov rcx, rax
inc rcx
cmp word [rdx + rcx*2], r14w
jne 0x14000cfad
lea ecx, [rcx*2 + 2]
mov dword [rsp + 0x5c], ecx
add edi, ecx
mov rdx, qword [rsi + 0x78]
test rdx, rdx
je 0x14000cfeb
mov dword [rsp + 0x20], edi
mov rcx, rax
inc rcx
cmp word [rdx + rcx*2], r14w
jne 0x14000cfd4
lea ecx, [rcx*2 + 2]
mov dword [rsp + 0x60], ecx
add edi, ecx
mov rdx, qword [rsi + 0x98]
test rdx, rdx
je 0x14000d015
mov dword [rsp + 0x24], edi
mov rcx, rax
inc rcx
cmp word [rdx + rcx*2], r14w
jne 0x14000cffe
lea ecx, [rcx*2 + 2]
mov dword [rsp + 0x64], ecx
add edi, ecx
mov rdx, qword [rsi + 0xa8]
test rdx, rdx
je 0x14000d03f
mov dword [rsp + 0x28], edi
mov rcx, rax
inc rcx
cmp word [rdx + rcx*2], r14w
jne 0x14000d028
lea ecx, [rcx*2 + 2]
mov dword [rsp + 0x68], ecx
add edi, ecx
mov rdx, qword [rsi + 0xb0]
test rdx, rdx
je 0x14000d069
mov dword [rsp + 0x2c], edi
mov rcx, rax
inc rcx
cmp word [rdx + rcx*2], r14w
jne 0x14000d052
lea ecx, [rcx*2 + 2]
mov dword [rsp + 0x6c], ecx
add edi, ecx
mov rdx, qword [rsi + 0xb8]
test rdx, rdx
je 0x14000d093
mov dword [rsp + 0x30], edi
mov rcx, rax
inc rcx
cmp word [rdx + rcx*2], r14w
jne 0x14000d07c
lea ecx, [rcx*2 + 2]
mov dword [rsp + 0x70], ecx
add edi, ecx
mov rdx, qword [rsi + 0xc8]
test rdx, rdx
je 0x14000d0bd
mov dword [rsp + 0x34], edi
mov rcx, rax
inc rcx
cmp word [rdx + rcx*2], r14w
jne 0x14000d0a6
lea ecx, [rcx*2 + 2]
mov dword [rsp + 0x74], ecx
add edi, ecx
mov rdx, qword [rsi + 0xd0]
test rdx, rdx
je 0x14000d0e7
mov dword [rsp + 0x3c], edi
mov rcx, rax
inc rcx
cmp word [rdx + rcx*2], r14w
jne 0x14000d0d0
lea ecx, [rcx*2 + 2]
mov dword [rsp + 0x7c], ecx
add edi, ecx
mov rdx, qword [rsi + 0xd8]
test rdx, rdx
je 0x14000d114
mov dword [rsp + 0x40], edi
mov rcx, rax
inc rcx
cmp word [rdx + rcx*2], r14w
jne 0x14000d0fa
lea ecx, [rcx*2 + 2]
mov dword [rsp + 0x80], ecx
add edi, ecx
mov rdx, qword [rsi + 0xe8]
test rdx, rdx
je 0x14000d141
mov dword [rsp + 0x44], edi
mov rcx, rax
inc rcx
cmp word [rdx + rcx*2], r14w
jne 0x14000d127
lea ecx, [rcx*2 + 2]
mov dword [rsp + 0x84], ecx
add edi, ecx
mov rdx, qword [rsi + 0xf0]
test rdx, rdx
je 0x14000d16e
mov dword [rsp + 0x48], edi
mov rcx, rax
inc rcx
cmp word [rdx + rcx*2], r14w
jne 0x14000d154
lea ecx, [rcx*2 + 2]
mov dword [rsp + 0x88], ecx
add edi, ecx
mov rdx, qword [rsi + 0x100]
test rdx, rdx
je 0x14000d19b
mov dword [rsp + 0x4c], edi
mov rcx, rax
inc rcx
cmp word [rdx + rcx*2], r14w
jne 0x14000d181
lea ecx, [rcx*2 + 2]
mov dword [rsp + 0x8c], ecx
add edi, ecx
mov rcx, qword [rsi + 0xe0]
test rcx, rcx
je 0x14000d1c2
mov dword [rsp + 0x38], edi
inc rax
cmp word [rcx + rax*2], r14w
jne 0x14000d1ab
lea eax, [rax*2 + 2]
mov dword [rsp + 0x78], eax
add edi, eax
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
nop dword [rax + rax]
mov r8d, edi
mov edx, 8
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
nop dword [rax + rax]
mov r14, rax
test rax, rax
je 0x14000d1f1
xor ebx, ebx
jmp 0x14000d238
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
movzx ecx, ax
or ecx, 0x80070000
test eax, eax
cmovle ecx, eax
test ecx, ecx
jns 0x14000d22b
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
movzx ebx, ax
or ebx, 0x80070000
test eax, eax
cmovle ebx, eax
jmp 0x14000d230
mov ebx, 0x80004005
test ebx, ebx
js 0x14000d7b4
mov eax, dword [rsi + 0x10]
mov dword [r14 + 8], eax
mov eax, dword [rsi + 0x14]
mov dword [r14 + 0xc], eax
mov eax, dword [rsi + 0x18]
mov dword [r14 + 0x10], eax
mov eax, dword [rsi + 0x1c]
mov dword [r14 + 0x14], eax
mov eax, dword [rsi + 0x20]
mov dword [r14 + 0x18], eax
mov eax, dword [rsi + 0x24]
mov dword [r14 + 0x1c], eax
mov eax, dword [rsi + 0x28]
mov dword [r14 + 0x20], eax
mov eax, dword [rsi + 0x2c]
mov ecx, dword [rsp + 0x50]
mov dword [r14 + 0x24], eax
mov eax, dword [rsi + 0x30]
mov dword [r14 + 0x28], eax
mov eax, dword [rsp + 0x100]
mov dword [r14 + 0x2c], eax
mov eax, dword [rsp + 0x108]
mov dword [r14 + 0x30], eax
mov eax, dword [rsp + 0x118]
mov dword [r14 + 0x34], eax
mov eax, dword [rsp + 0x110]
mov dword [r14 + 0x38], eax
mov eax, dword [rsi + 0x58]
mov dword [r14 + 0x3c], eax
mov eax, dword [rsi + 0x5c]
mov dword [r14 + 0x40], eax
mov eax, dword [rsi + 0x60]
mov dword [r14 + 0x44], eax
mov eax, dword [rsi + 0x64]
mov dword [r14 + 0x48], eax
mov eax, dword [rsi + 0x68]
mov dword [r14 + 0x4c], eax
mov eax, dword [rsi + 0x6c]
mov dword [r14 + 0x50], eax
mov eax, dword [rsi + 0x70]
mov dword [r14 + 0x54], eax
mov eax, dword [rsp + 0x20]
mov dword [r14 + 0x58], eax
mov eax, dword [rsi + 0x80]
mov dword [r14 + 0x5c], eax
mov eax, dword [rsi + 0x84]
mov dword [r14 + 0x60], eax
mov eax, dword [rsi + 0x88]
mov dword [r14 + 0x64], eax
mov eax, dword [rsi + 0x8c]
mov dword [r14 + 0x68], eax
mov eax, dword [rsi + 0x90]
mov dword [r14 + 0x6c], eax
mov eax, dword [rsp + 0x24]
mov dword [r14 + 0x70], eax
mov eax, dword [rsi + 0xa0]
mov dword [r14 + 0x74], eax
mov eax, dword [rsp + 0x28]
mov dword [r14 + 0x78], eax
mov eax, dword [rsp + 0x2c]
mov dword [r14 + 0x7c], eax
mov eax, dword [rsp + 0x30]
mov dword [r14 + 0x80], eax
mov eax, dword [rsi + 0xc0]
mov dword [r14 + 0x84], eax
mov eax, dword [rsi + 0xc4]
mov dword [r14 + 0x88], eax
mov eax, dword [rsi + 0x108]
mov dword [r14 + 0xac], eax
mov eax, dword [rsi + 0x10c]
mov dword [r14 + 0xb0], eax
mov eax, dword [rsi + 0x110]
mov dword [r14 + 0xb4], eax
mov eax, dword [rsi + 0x114]
mov dword [r14 + 0xb8], eax
mov eax, dword [rsi + 0x118]
mov dword [r14 + 0xbc], eax
mov eax, dword [rsi + 0x11c]
mov dword [r14 + 0xc0], eax
mov dword [r14], ecx
mov dword [r14 + 4], r12d
mov eax, dword [rsi + 0x120]
mov dword [r14 + 0xc4], eax
mov eax, dword [rsi + 0x124]
mov dword [r14 + 0xc8], eax
mov eax, dword [rsp + 0x34]
mov dword [r14 + 0x8c], eax
mov eax, dword [rsp + 0x38]
mov dword [r14 + 0x98], eax
mov eax, dword [rsp + 0x3c]
mov dword [r14 + 0x90], eax
mov eax, dword [rsp + 0x40]
mov dword [r14 + 0x94], eax
mov eax, dword [rsp + 0x44]
mov dword [r14 + 0x9c], eax
mov eax, dword [rsp + 0x48]
mov dword [r14 + 0xa0], eax
mov eax, dword [rsi + 0xf8]
mov dword [r14 + 0xa4], eax
mov eax, dword [rsp + 0x4c]
mov dword [r14 + 0xa8], eax
mov eax, dword [rsi + 0x128]
mov dword [r14 + 0xcc], eax
mov eax, dword [rsi + 0x12c]
mov dword [r14 + 0xd0], eax
mov eax, dword [rsi + 0x130]
mov dword [r14 + 0xd4], eax
mov eax, dword [rsi + 0x13c]
mov dword [r14 + 0xe0], eax
mov eax, dword [rsi + 0x140]
mov dword [r14 + 0xe4], eax
mov eax, dword [rsi + 0x134]
mov dword [r14 + 0xd8], eax
mov eax, dword [rsi + 0x138]
mov dword [r14 + 0xdc], eax
test ecx, ecx
je 0x14000d490
mov r8, qword [rsi]
add rcx, r14
mov edx, ebp
call fcn.1400098b4
mov ebx, eax
test ebx, ebx
js 0x14000d794
test r12d, r12d
je 0x14000d4b1
mov r8, qword [rsi + 8]
mov ecx, r12d
add rcx, r14
mov edx, r15d
call fcn.1400098b4
mov ebx, eax
test ebx, ebx
js 0x14000d794
mov eax, dword [rsp + 0x100]
test eax, eax
je 0x14000d4d6
mov r8, qword [rsi + 0x38]
lea rcx, [r14 + rax]
mov edx, r13d
call fcn.1400098b4
mov ebx, eax
test ebx, ebx
js 0x14000d794
mov eax, dword [rsp + 0x108]
test eax, eax
je 0x14000d4fc
mov edx, dword [rsp + 0x54]
lea rcx, [r14 + rax]
mov r8, qword [rsi + 0x40]
call fcn.1400098b4
mov ebx, eax
test ebx, ebx
js 0x14000d794
mov eax, dword [rsp + 0x110]
test eax, eax
je 0x14000d522
mov edx, dword [rsp + 0x58]
lea rcx, [r14 + rax]
mov r8, qword [rsi + 0x50]
call fcn.1400098b4
mov ebx, eax
test ebx, ebx
js 0x14000d794
mov eax, dword [rsp + 0x118]
test eax, eax
je 0x14000d548
mov edx, dword [rsp + 0x5c]
lea rcx, [r14 + rax]
mov r8, qword [rsi + 0x48]
call fcn.1400098b4
mov ebx, eax
test ebx, ebx
js 0x14000d794
mov eax, dword [rsp + 0x20]
test eax, eax
je 0x14000d56b
mov edx, dword [rsp + 0x60]
lea rcx, [r14 + rax]
mov r8, qword [rsi + 0x78]
call fcn.1400098b4
mov ebx, eax
test ebx, ebx
js 0x14000d794
mov eax, dword [rsp + 0x24]
test eax, eax
je 0x14000d591
mov edx, dword [rsp + 0x64]
lea rcx, [r14 + rax]
mov r8, qword [rsi + 0x98]
call fcn.1400098b4
mov ebx, eax
test ebx, ebx
js 0x14000d794
mov eax, dword [rsp + 0x28]
test eax, eax
je 0x14000d5b7
mov edx, dword [rsp + 0x68]
lea rcx, [r14 + rax]
mov r8, qword [rsi + 0xa8]
call fcn.1400098b4
mov ebx, eax
test ebx, ebx
js 0x14000d794
mov eax, dword [rsp + 0x2c]
test eax, eax
je 0x14000d5dd
mov edx, dword [rsp + 0x6c]
lea rcx, [r14 + rax]
mov r8, qword [rsi + 0xb0]
call fcn.1400098b4
mov ebx, eax
test ebx, ebx
js 0x14000d794
mov eax, dword [rsp + 0x30]
test eax, eax
je 0x14000d603
mov edx, dword [rsp + 0x70]
lea rcx, [r14 + rax]
mov r8, qword [rsi + 0xb8]
call fcn.1400098b4
mov ebx, eax
test ebx, ebx
js 0x14000d794
mov eax, dword [rsp + 0x34]
test eax, eax
je 0x14000d629
mov edx, dword [rsp + 0x74]
lea rcx, [r14 + rax]
mov r8, qword [rsi + 0xc8]
call fcn.1400098b4
mov ebx, eax
test ebx, ebx
js 0x14000d794
mov eax, dword [rsp + 0x38]
test eax, eax
je 0x14000d64f
mov edx, dword [rsp + 0x78]
lea rcx, [r14 + rax]
mov r8, qword [rsi + 0xe0]
call fcn.1400098b4
mov ebx, eax
test ebx, ebx
js 0x14000d794
mov eax, dword [rsp + 0x3c]
test eax, eax
je 0x14000d675
mov edx, dword [rsp + 0x7c]
lea rcx, [r14 + rax]
mov r8, qword [rsi + 0xd0]
call fcn.1400098b4
mov ebx, eax
test ebx, ebx
js 0x14000d794
mov eax, dword [rsp + 0x40]
test eax, eax
je 0x14000d69e
mov edx, dword [rsp + 0x80]
lea rcx, [r14 + rax]
mov r8, qword [rsi + 0xd8]
call fcn.1400098b4
mov ebx, eax
test ebx, ebx
js 0x14000d794
mov eax, dword [rsp + 0x44]
test eax, eax
je 0x14000d6c7
mov edx, dword [rsp + 0x84]
lea rcx, [r14 + rax]
mov r8, qword [rsi + 0xe8]
call fcn.1400098b4
mov ebx, eax
test ebx, ebx
js 0x14000d794
mov eax, dword [rsp + 0x48]
test eax, eax
je 0x14000d6f0
mov edx, dword [rsp + 0x88]
lea rcx, [r14 + rax]
mov r8, qword [rsi + 0xf0]
call fcn.1400098b4
mov ebx, eax
test ebx, ebx
js 0x14000d794
mov eax, dword [rsp + 0x4c]
test eax, eax
je 0x14000d719
mov edx, dword [rsp + 0x8c]
lea rcx, [r14 + rax]
mov r8, qword [rsi + 0x100]
call fcn.1400098b4
mov ebx, eax
test ebx, ebx
js 0x14000d794
mov rcx, qword [rsp + 0x90]
lea r9, [rsp + 0x98]
xor r8d, r8d
mov dword [rsp + 0xa0], edi
mov qword [rsp + 0xa8], r14
lea edx, [r8 + 0x4a]
call qword [sym.imp.USER32.dll_SendMessageW]
nop dword [rax + rax]
test rax, rax
je 0x14000d758
xor ebx, ebx
jmp 0x14000d794
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
movzx ecx, ax
mov edi, 0x80070000
or ecx, edi
test eax, eax
cmovle ecx, eax
test ecx, ecx
jns 0x14000d78f
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
movzx ebx, ax
or ebx, edi
test eax, eax
cmovle ebx, eax
jmp 0x14000d794
mov ebx, 0x80004005
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
nop dword [rax + rax]
mov r8, r14
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapFree]
nop dword [rax + rax]
mov eax, ebx
add rsp, 0xb8
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret