Function at 0x10040420
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101589a0
mov eax, dword fs:[0]
push eax
sub esp, 0x4c
mov eax, dword [0x101b900c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
cmp dword [edi], 0
je 0x10040548
cmp dword [0x101be120], 0
je 0x10040541
push ecx
mov ecx, 0x101be120
call fcn.100ab450
mov eax, dword [0x101be120]
cmp byte [eax + 0x54], 0
je 0x10040541
cmp dword [eax + 0x58], 4
jb 0x10040541
mov bl, byte [eax + 0x5c]
xor eax, eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
mov dword [ebp - 4], eax
lea ecx, [ebp - 0x28]
push 7
push str.loaded_
call fcn.10003600
push 0x4b
push str.RC::RCSdkMonitorApi::LoadSdkMonitorModule
push str.d:jenkinsworkspacepc_2345mpcsafe_build_rhinoprotect_framework_src_framework_src_sdkmonitor_rcsdkmonitorapi.cpp
lea eax, [ebp - 0x28]
mov ecx, 0x101be120
push eax
push 4
call fcn.100abe60
test bl, bl
je 0x100404ec
lea eax, [ebp - 0x28]
mov ecx, 0x101be120
push eax
call fcn.100ac180
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x14]
cmp edx, 8
jb 0x1004052d
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x10040523
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10040b21
push edx
push ecx
call fcn.1010a295
add esp, 8
xor eax, eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
xor eax, eax
jmp 0x10040b05
lea ecx, [ebp - 0x58]
call fcn.1002c260
mov dword [ebp - 4], 1
xor eax, eax
push 0xd
mov dword [ebp - 0x18], 0
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x14], 0
push str.TkNitrome.dll
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
call fcn.10003600
mov byte [ebp - 4], 2
lea eax, [ebp - 0x28]
push eax
lea edx, [ebp - 0x58]
lea ecx, [ebp - 0x40]
call fcn.1007a270
add esp, 4
mov byte [ebp - 4], 4
mov edx, dword [ebp - 0x14]
cmp edx, 8
jb 0x100405dc
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x100405d2
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10040b26
push edx
push ecx
call fcn.1010a295
add esp, 8
xor eax, eax
mov dword [ebp - 0x18], 0
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
call fcn.10077380
test al, al
jne 0x100406f3
cmp dword [0x101be120], 0
je 0x100406e9
push ecx
mov ecx, 0x101be120
call fcn.100ab450
mov eax, dword [0x101be120]
cmp byte [eax + 0x54], 0
je 0x100406e9
cmp dword [eax + 0x58], 4
jb 0x100406e9
mov bl, byte [eax + 0x5c]
xor eax, eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x28]
push 9
push str.no_exist_
call fcn.10003600
push 0x53
push str.RC::RCSdkMonitorApi::LoadSdkMonitorModule
push str.d:jenkinsworkspacepc_2345mpcsafe_build_rhinoprotect_framework_src_framework_src_sdkmonitor_rcsdkmonitorapi.cpp
lea eax, [ebp - 0x28]
mov ecx, 0x101be120
push eax
push 4
call fcn.100abe60
test bl, bl
je 0x10040697
lea eax, [ebp - 0x28]
mov ecx, 0x101be120
push eax
call fcn.100ac180
mov byte [ebp - 4], 4
mov edx, dword [ebp - 0x14]
cmp edx, 8
jb 0x100406d5
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x100406cb
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10040b2b
push edx
push ecx
call fcn.1010a295
add esp, 8
xor eax, eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
mov esi, 0x2712
jmp 0x10040a60
cmp dword [ebp - 0x2c], 8
lea eax, [ebp - 0x40]
cmovae eax, dword [ebp - 0x40]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [edi], eax
test eax, eax
jne 0x1004080a
cmp dword [0x101be120], eax
je 0x10040800
push ecx
mov ecx, 0x101be120
call fcn.100ab450
mov eax, dword [0x101be120]
cmp byte [eax + 0x54], 0
je 0x10040800
cmp dword [eax + 0x58], 4
jb 0x10040800
mov bl, byte [eax + 0x5c]
xor eax, eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
mov byte [ebp - 4], 6
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea eax, [ebp - 0x28]
push str.dll_load_failed_errorcode___d
push eax
call fcn.100ac300
add esp, 0xc
lea eax, [ebp - 0x28]
mov ecx, 0x101be120
push 0x5a
push str.RC::RCSdkMonitorApi::LoadSdkMonitorModule
push str.d:jenkinsworkspacepc_2345mpcsafe_build_rhinoprotect_framework_src_framework_src_sdkmonitor_rcsdkmonitorapi.cpp
push eax
push 4
call fcn.100abe60
test bl, bl
je 0x100407ae
lea eax, [ebp - 0x28]
mov ecx, 0x101be120
push eax
call fcn.100ac180
mov byte [ebp - 4], 4
mov edx, dword [ebp - 0x14]
cmp edx, 8
jb 0x100407ec
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x100407e2
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10040b30
push edx
push ecx
call fcn.1010a295
add esp, 8
xor eax, eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
mov esi, 0x2713
jmp 0x10040a60
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.ExportFunc4
push eax
call esi
push str.ExportFunc7
push dword [edi]
mov dword [edi + 4], eax
call esi
push str.ExportFunc9
push dword [edi]
mov dword [edi + 8], eax
call esi
push str.ExportFunc10
push dword [edi]
mov dword [edi + 0xc], eax
call esi
push str.ExportFunc11
push dword [edi]
mov dword [edi + 0x10], eax
call esi
push str.ExportFunc12
push dword [edi]
mov dword [edi + 0x14], eax
call esi
push str.ExportFunc13
push dword [edi]
mov dword [edi + 0x18], eax
call esi
cmp dword [edi + 4], 0
mov dword [edi + 0x1c], eax
je 0x10040972
cmp dword [edi + 8], 0
je 0x10040972
cmp dword [edi + 0xc], 0
je 0x10040972
cmp dword [edi + 0x10], 0
je 0x10040972
cmp dword [edi + 0x14], 0
je 0x10040972
cmp dword [edi + 0x18], 0
je 0x10040972
push 4
mov ecx, 0x101be120
call fcn.100abe20
mov esi, eax
test esi, esi
je 0x1004096b
xor eax, eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x28]
push 8
push str.load_ok_
call fcn.10003600
push 0x70
push str.RC::RCSdkMonitorApi::LoadSdkMonitorModule
push str.d:jenkinsworkspacepc_2345mpcsafe_build_rhinoprotect_framework_src_framework_src_sdkmonitor_rcsdkmonitorapi.cpp
lea eax, [ebp - 0x28]
mov ecx, 0x101be120
push eax
push 4
call fcn.100abe60
cmp esi, 1
jbe 0x10040919
lea eax, [ebp - 0x28]
mov ecx, 0x101be120
push eax
call fcn.100ac180
mov byte [ebp - 4], 4
mov edx, dword [ebp - 0x14]
cmp edx, 8
jb 0x10040957
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x1004094d
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10040b35
push edx
push ecx
call fcn.1010a295
add esp, 8
xor eax, eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
xor esi, esi
jmp 0x10040a60
cmp dword [0x101be120], 0
je 0x10040a5b
push ecx
mov ecx, 0x101be120
call fcn.100ab450
mov eax, dword [0x101be120]
cmp byte [eax + 0x54], 0
je 0x10040a5b
cmp dword [eax + 0x58], 4
jb 0x10040a5b
mov bl, byte [eax + 0x5c]
xor eax, eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x28]
push 0x16
push str.interface_load_failed_
call fcn.10003600
push 0x6c
push str.RC::RCSdkMonitorApi::LoadSdkMonitorModule
push str.d:jenkinsworkspacepc_2345mpcsafe_build_rhinoprotect_framework_src_framework_src_sdkmonitor_rcsdkmonitorapi.cpp
lea eax, [ebp - 0x28]
mov ecx, 0x101be120
push eax
push 4
call fcn.100abe60
test bl, bl
je 0x10040a09
lea eax, [ebp - 0x28]
mov ecx, 0x101be120
push eax
call fcn.100ac180
mov byte [ebp - 4], 4
mov edx, dword [ebp - 0x14]
cmp edx, 8
jb 0x10040a47
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x10040a3d
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10040b3a
push edx
push ecx
call fcn.1010a295
add esp, 8
xor eax, eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
mov esi, 0x2714
mov byte [ebp - 4], 1
mov edx, dword [ebp - 0x2c]
cmp edx, 8
jb 0x10040a9e
mov ecx, dword [ebp - 0x40]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x10040a94
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10040b3f
push edx
push ecx
call fcn.1010a295
add esp, 8
xor eax, eax
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 7
mov word [ebp - 0x40], ax
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x44]
cmp edx, 8
jb 0x10040aef
mov ecx, dword [ebp - 0x58]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x10040ae5
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10040b44
push edx
push ecx
call fcn.1010a295
add esp, 8
xor eax, eax
mov dword [ebp - 0x48], 0
mov word [ebp - 0x58], ax
mov eax, esi
mov dword [ebp - 0x44], 7
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10109ef1
mov esp, ebp
pop ebp
ret
call fcn.10129e39
call fcn.10129e39
call fcn.10129e39
call fcn.10129e39
call fcn.10129e39
call fcn.10129e39
call fcn.10129e39
call fcn.10129e39
int3