Function at 0x180040690
Capabilities:
Link many functions at runtime

Disassembly:
mov rax, rsp
push rbp
lea rbp, [rax - 0x5f]
sub rsp, 0xa0
mov qword [rbp - 0x19], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rdi
mov rax, qword [0x180201020]
xor rax, rsp
mov qword [rbp + 0x4f], rax
mov rbx, rcx
cmp qword [rcx], 0
je 0x1800407d3
cmp qword [0x180207cd0], 0
je 0x1800407cc
lea rcx, [0x180207cd0]
call fcn.1800b2590
mov rax, qword [0x180207cd0]
cmp byte [rax + 0x78], 0
je 0x1800407cc
cmp dword [rax + 0x80], 4
jb 0x1800407cc
movzx ebx, byte [rax + 0x84]
xorps xmm0, xmm0
movdqu xmmword [rbp - 1], xmm0
movdqa xmm1, xmmword [0x1801a9390]
movdqu xmmword [rbp - 1], xmm1
xor edi, edi
mov word [rbp - 0x11], di
lea r8d, [rdi + 7]
lea rdx, str.loaded_
lea rcx, [rbp - 0x11]
call fcn.180003950
mov dword [rsp + 0x28], 0x4b
lea rax, str.RC::RCSdkMonitorApi::LoadSdkMonitorModule
mov qword [rsp + 0x20], rax
lea r9, str.d:_rhinoprotect_framework_src_framework_src_sdkmonitor_rcsdkmonitorapi.cpp
lea r8, [rbp - 0x11]
lea edx, [rdi + 4]
lea rcx, [0x180207cd0]
call fcn.1800b3220
test bl, bl
je 0x18004077b
lea rdx, [rbp - 0x11]
lea rcx, [0x180207cd0]
call fcn.1800b35c0
nop
mov rdx, qword [rbp + 7]
cmp rdx, 8
jb 0x1800407bb
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x11]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800407b6
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180040dfe
call fcn.180116bc4
movdqa xmm0, xmmword [0x1801a9390]
movdqu xmmword [rbp - 1], xmm0
mov word [rbp - 0x11], di
xor eax, eax
jmp 0x180040dd7
lea rcx, [rbp + 0x2f]
call fcn.18002a960
nop
xorps xmm0, xmm0
movdqu xmmword [rbp - 1], xmm0
movdqa xmm1, xmmword [0x1801a9390]
movdqu xmmword [rbp - 1], xmm1
xor edi, edi
mov word [rbp - 0x11], di
lea r8d, [rdi + 0xd]
lea rdx, str.TkNitrome.dll
lea rcx, [rbp - 0x11]
call fcn.180003950
nop
lea r8, [rbp - 0x11]
lea rdx, [rbp + 0x2f]
lea rcx, [rbp + 0xf]
call fcn.18007f3b0
nop
mov rdx, qword [rbp + 7]
cmp rdx, 8
jb 0x18004085f
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x11]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18004085a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180040e04
call fcn.180116bc4
movdqa xmm0, xmmword [0x1801a9390]
movdqu xmmword [rbp - 1], xmm0
mov word [rbp - 0x11], di
lea rcx, [rbp + 0xf]
call fcn.18007be30
test al, al
jne 0x18004098f
cmp qword [0x180207cd0], 0
je 0x180040985
lea rcx, [0x180207cd0]
call fcn.1800b2590
mov rax, qword [0x180207cd0]
cmp byte [rax + 0x78], 0
je 0x180040985
cmp dword [rax + 0x80], 4
jb 0x180040985
movzx ebx, byte [rax + 0x84]
xorps xmm0, xmm0
movdqu xmmword [rbp - 1], xmm0
movdqa xmm1, xmmword [0x1801a9390]
movdqu xmmword [rbp - 1], xmm1
mov word [rbp - 0x11], di
mov r8d, 9
lea rdx, str.no_exist_
lea rcx, [rbp - 0x11]
call fcn.180003950
mov dword [rsp + 0x28], 0x53
lea rax, str.RC::RCSdkMonitorApi::LoadSdkMonitorModule
mov qword [rsp + 0x20], rax
lea r9, str.d:_rhinoprotect_framework_src_framework_src_sdkmonitor_rcsdkmonitorapi.cpp
lea r8, [rbp - 0x11]
mov edx, 4
lea rcx, [0x180207cd0]
call fcn.1800b3220
test bl, bl
je 0x180040934
lea rdx, [rbp - 0x11]
lea rcx, [0x180207cd0]
call fcn.1800b35c0
nop
mov rdx, qword [rbp + 7]
cmp rdx, 8
jb 0x180040974
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x11]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18004096f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180040e0a
call fcn.180116bc4
movdqa xmm0, xmmword [0x1801a9390]
movdqu xmmword [rbp - 1], xmm0
mov word [rbp - 0x11], di
mov ebx, 0x2712
jmp 0x180040d37
lea rcx, [rbp + 0xf]
cmp qword [rbp + 0x27], 8
cmovae rcx, qword [rbp + 0xf]
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov qword [rbx], rax
test rax, rax
jne 0x180040a9b
lea edx, [rax + 4]
lea rcx, [0x180207cd0]
call fcn.1800b31d0
mov ebx, eax
test eax, eax
je 0x180040a91
xorps xmm0, xmm0
movdqu xmmword [rbp - 1], xmm0
movdqa xmm1, xmmword [0x1801a9390]
movdqu xmmword [rbp - 1], xmm1
mov word [rbp - 0x11], di
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r8d, eax
lea rdx, str.dll_load_failed_errorcode___d
lea rcx, [rbp - 0x11]
call fcn.1800b3700
mov dword [rsp + 0x28], 0x5a
lea rax, str.RC::RCSdkMonitorApi::LoadSdkMonitorModule
mov qword [rsp + 0x20], rax
lea r9, str.d:_rhinoprotect_framework_src_framework_src_sdkmonitor_rcsdkmonitorapi.cpp
lea r8, [rbp - 0x11]
mov edx, 4
lea rcx, [0x180207cd0]
call fcn.1800b3220
cmp ebx, 1
jbe 0x180040a40
lea rdx, [rbp - 0x11]
lea rcx, [0x180207cd0]
call fcn.1800b35c0
nop
mov rdx, qword [rbp + 7]
cmp rdx, 8
jb 0x180040a80
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x11]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180040a7b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180040e10
call fcn.180116bc4
movdqa xmm0, xmmword [0x1801a9390]
movdqu xmmword [rbp - 1], xmm0
mov word [rbp - 0x11], di
mov ebx, 0x2713
jmp 0x180040d37
lea rdx, str.ExportFunc4
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rbx + 8], rax
lea rdx, str.ExportFunc7
mov rcx, qword [rbx]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rbx + 0x10], rax
lea rdx, str.ExportFunc9
mov rcx, qword [rbx]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rbx + 0x18], rax
lea rdx, str.ExportFunc10
mov rcx, qword [rbx]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rbx + 0x20], rax
lea rdx, str.ExportFunc11
mov rcx, qword [rbx]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rbx + 0x28], rax
lea rdx, str.ExportFunc12
mov rcx, qword [rbx]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rbx + 0x30], rax
lea rdx, str.ExportFunc13
mov rcx, qword [rbx]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rbx + 0x38], rax
cmp qword [rbx + 8], 0
je 0x180040c51
cmp qword [rbx + 0x10], 0
je 0x180040c51
cmp qword [rbx + 0x18], 0
je 0x180040c51
cmp qword [rbx + 0x20], 0
je 0x180040c51
cmp qword [rbx + 0x28], 0
je 0x180040c51
cmp qword [rbx + 0x30], 0
je 0x180040c51
mov edx, 4
lea rcx, [0x180207cd0]
call fcn.1800b31d0
mov ebx, eax
test eax, eax
je 0x180040c4a
xorps xmm0, xmm0
movdqu xmmword [rbp - 1], xmm0
movdqa xmm1, xmmword [0x1801a9390]
movdqu xmmword [rbp - 1], xmm1
mov word [rbp - 0x11], di
mov r8d, 8
lea rdx, str.load_ok_
lea rcx, [rbp - 0x11]
call fcn.180003950
mov dword [rsp + 0x28], 0x70
lea rax, str.RC::RCSdkMonitorApi::LoadSdkMonitorModule
mov qword [rsp + 0x20], rax
lea r9, str.d:_rhinoprotect_framework_src_framework_src_sdkmonitor_rcsdkmonitorapi.cpp
lea r8, [rbp - 0x11]
mov edx, 4
lea rcx, [0x180207cd0]
call fcn.1800b3220
cmp ebx, 1
jbe 0x180040bf9
lea rdx, [rbp - 0x11]
lea rcx, [0x180207cd0]
call fcn.1800b35c0
nop
mov rdx, qword [rbp + 7]
cmp rdx, 8
jb 0x180040c39
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x11]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180040c34
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180040e16
call fcn.180116bc4
movdqa xmm0, xmmword [0x1801a9390]
movdqu xmmword [rbp - 1], xmm0
mov word [rbp - 0x11], di
mov ebx, edi
jmp 0x180040d37
mov edx, 4
lea rcx, [0x180207cd0]
call fcn.1800b31d0
mov ebx, eax
test eax, eax
je 0x180040d32
xorps xmm0, xmm0
movdqu xmmword [rbp - 1], xmm0
movdqa xmm1, xmmword [0x1801a9390]
movdqu xmmword [rbp - 1], xmm1
mov word [rbp - 0x11], di
mov r8d, 0x16
lea rdx, str.interface_load_failed_
lea rcx, [rbp - 0x11]
call fcn.180003950
mov dword [rsp + 0x28], 0x6c
lea rax, str.RC::RCSdkMonitorApi::LoadSdkMonitorModule
mov qword [rsp + 0x20], rax
lea r9, str.d:_rhinoprotect_framework_src_framework_src_sdkmonitor_rcsdkmonitorapi.cpp
lea r8, [rbp - 0x11]
mov edx, 4
lea rcx, [0x180207cd0]
call fcn.1800b3220
cmp ebx, 1
jbe 0x180040ce1
lea rdx, [rbp - 0x11]
lea rcx, [0x180207cd0]
call fcn.1800b35c0
nop
mov rdx, qword [rbp + 7]
cmp rdx, 8
jb 0x180040d21
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x11]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180040d1c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180040e1c
call fcn.180116bc4
movdqa xmm0, xmmword [0x1801a9390]
movdqu xmmword [rbp - 1], xmm0
mov word [rbp - 0x11], di
mov ebx, 0x2714
mov rdx, qword [rbp + 0x27]
cmp rdx, 8
jb 0x180040d77
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0xf]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180040d72
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180040e22
call fcn.180116bc4
movdqa xmm0, xmmword [0x1801a9390]
movdqu xmmword [rbp + 0x1f], xmm0
mov word [rbp + 0xf], di
mov rdx, qword [rbp + 0x47]
cmp rdx, 8
jb 0x180040dc4
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x2f]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180040dbf
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180040df8
call fcn.180116bc4
movdqa xmm0, xmmword [0x1801a9390]
movdqu xmmword [rbp + 0x3f], xmm0
mov word [rbp + 0x2f], di
mov eax, ebx
mov rcx, qword [rbp + 0x4f]
xor rcx, rsp
call fcn.180116780
lea r11, [rsp + 0xa0]
mov rbx, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov rsp, r11
pop rbp
ret
call fcn.18013ed94
int3
call fcn.18013ed94
nop
call fcn.18013ed94
nop
call fcn.18013ed94
int3
call fcn.18013ed94
int3
call fcn.18013ed94
int3
call fcn.18013ed94
nop
call fcn.18013ed94
int3