Function at 0x407300
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4e59d8
mov eax, dword fs:[0]
push eax
sub esp, 0x2cc
mov eax, dword [0x538074]
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 ebx, ecx
mov dword [ebp - 0x2d4], ebx
cmp dword [ebx + 0x14], 0
je 0x407a69
cmp dword [ebx + 0x2c], 0
lea esi, [ebx + 0x1c]
mov dword [ebp - 0x2cc], esi
je 0x407a69
cmp dword [0x5389fc], 0
je 0x407449
push ecx
mov ecx, 0x5389f8
call fcn.00404d60
mov eax, dword [0x5389fc]
cmp byte [eax + 0x54], 0
je 0x407449
cmp dword [eax + 0x58], 4
jb 0x407449
mov al, byte [eax + 0x5c]
mov byte [ebp - 0x2c5], al
mov dword [ebp - 4], 6
xor eax, eax
mov dword [ebp - 0x224], 0
mov dword [ebp - 0x220], 0
mov dword [ebp - 0x224], 0
mov dword [ebp - 0x220], 7
mov word [ebp - 0x234], ax
mov dword [ebp - 4], 7
mov ecx, esi
cmp dword [esi + 0x14], 8
jb 0x4073d6
mov ecx, dword [esi]
cmp dword [ebx + 0x18], 8
lea eax, [ebx + 4]
jb 0x4073e1
mov eax, dword [eax]
push ecx
push eax
lea eax, [ebp - 0x234]
push 0x50d618
push eax
call fcn.00475220
add esp, 0x10
lea eax, [ebp - 0x234]
mov ecx, 0x5389f8
push 0x6c
push str.RC::RCInstExecuter::InstallSafe
push str.d:jenkinsworkspacepc_2345mpcsafe_build_rhinoprotect_rtpsystem_src2345instdll_rcinstexecuter.cpp
push eax
push 4
call fcn.00405960
cmp byte [ebp - 0x2c5], 0
je 0x407430
lea eax, [ebp - 0x234]
mov ecx, 0x5389f8
push eax
call fcn.00405cb0
lea ecx, [ebp - 0x234]
mov dword [ebp - 4], 8
call fcn.00403200
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebx + 0x4c]
push esi
call fcn.004064b0
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.004c0fa0
add esp, 0xc
lea eax, [ebp - 0x218]
push eax
call fcn.00408470
test al, al
jne 0x40755d
push 0
push 4
push dword [ebx]
lea ecx, [ebx + 0x4c]
mov edi, 2
call fcn.00406280
cmp dword [0x5389fc], 0
je 0x407b4e
push ecx
mov ecx, 0x5389f8
call fcn.00404d60
mov eax, dword [0x5389fc]
cmp byte [eax + 0x54], 0
je 0x407b4e
cmp dword [eax + 0x58], edi
jb 0x407b4e
mov bl, byte [eax + 0x5c]
mov dword [ebp - 4], 0xc
xor eax, eax
mov dword [ebp - 0x23c], 0
mov dword [ebp - 0x238], 0
mov dword [ebp - 0x23c], 0
mov dword [ebp - 0x238], 7
mov word [ebp - 0x24c], ax
push 0x11
push 0x50d664
lea ecx, [ebp - 0x24c]
mov dword [ebp - 4], 0xd
call fcn.00403270
push 0x76
push str.RC::RCInstExecuter::InstallSafe
push str.d:jenkinsworkspacepc_2345mpcsafe_build_rhinoprotect_rtpsystem_src2345instdll_rcinstexecuter.cpp
lea eax, [ebp - 0x24c]
mov ecx, 0x5389f8
push eax
push edi
call fcn.00405960
test bl, bl
je 0x407546
lea eax, [ebp - 0x24c]
mov ecx, 0x5389f8
push eax
call fcn.00405cb0
lea ecx, [ebp - 0x24c]
mov dword [ebp - 4], 0xe
call fcn.00403200
jmp 0x407b47
mov dword [ebp - 0x21c], 0
mov dword [ebp - 0x21c], 0
mov dword [ebp - 4], 0x12
cmp dword [esi + 0x14], 8
jb 0x407586
mov esi, dword [esi]
mov dword [ebp - 0x2cc], esi
cmp dword [ebx + 0x18], 8
lea eax, [ebx + 4]
mov dword [ebp - 0x2d0], eax
jb 0x40759d
mov eax, dword [eax]
mov dword [ebp - 0x2d0], eax
lea eax, [ebp - 0x218]
or edi, 0xffffffff
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov esi, eax
mov dword [ebp - 0x21c], esi
mov eax, dword [sym.imp.KERNEL32.dll_GetProcAddress]
test esi, esi
je 0x407610
push str.SetProductVersion
push esi
call eax
test eax, eax
je 0x4075d5
push dword [ebp - 0x2cc]
call eax
add esp, 4
mov eax, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.Initialize
push esi
call eax
test eax, eax
je 0x4075fc
push dword [ebp - 0x2d0]
push 0x50d688
call eax
mov edi, eax
add esp, 8
test edi, edi
je 0x40760b
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
xor esi, esi
mov dword [ebp - 0x21c], esi
mov eax, dword [sym.imp.KERNEL32.dll_GetProcAddress]
test edi, edi
je 0x407726
push edi
push 5
push dword [ebx]
lea ecx, [ebx + 0x4c]
call fcn.00406280
cmp dword [0x5389fc], 0
je 0x4076ee
push ecx
mov ecx, 0x5389f8
call fcn.00404d60
mov eax, dword [0x5389fc]
cmp byte [eax + 0x54], 0
je 0x4076ee
cmp dword [eax + 0x58], 2
jb 0x4076ee
mov bl, byte [eax + 0x5c]
mov byte [ebp - 4], 0x13
xor eax, eax
mov dword [ebp - 0x254], 0
mov dword [ebp - 0x250], 0
mov dword [ebp - 0x254], 0
mov dword [ebp - 0x250], 7
mov word [ebp - 0x264], ax
push edi
lea eax, [ebp - 0x264]
mov byte [ebp - 4], 0x14
push 0x50d68c
push eax
call fcn.00475220
add esp, 0xc
lea eax, [ebp - 0x264]
mov ecx, 0x5389f8
push 0x7f
push str.RC::RCInstExecuter::InstallSafe
push str.d:jenkinsworkspacepc_2345mpcsafe_build_rhinoprotect_rtpsystem_src2345instdll_rcinstexecuter.cpp
push eax
push 2
call fcn.00405960
test bl, bl
je 0x4076db
lea eax, [ebp - 0x264]
mov ecx, 0x5389f8
push eax
call fcn.00405cb0
lea ecx, [ebp - 0x264]
mov byte [ebp - 4], 0x15
call fcn.00403200
mov byte [ebp - 4], 0x12
mov dword [ebp - 4], 0x19
test esi, esi
je 0x407b47
mov eax, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.UnInitialize
push esi
call eax
test eax, eax
je 0x407710
call eax
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov dword [ebp - 0x21c], 0
jmp 0x407b47
test esi, esi
je 0x407948
push str.CanInstallSafe
push esi
call eax
test eax, eax
je 0x407948
call eax
test eax, eax
je 0x407948
mov eax, dword [sym.imp.KERNEL32.dll_GetProcAddress]
or edi, 0xffffffff
push str.InstallSafe
push esi
call eax
test eax, eax
je 0x407760
call eax
mov edi, eax
push str.UnInitialize
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x407772
call eax
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov dword [ebp - 0x21c], 0
test edi, edi
je 0x40786c
cmp dword [0x5389fc], 0
je 0x40785a
push ecx
mov ecx, 0x5389f8
call fcn.00404d60
mov eax, dword [0x5389fc]
cmp byte [eax + 0x54], 0
je 0x40785a
cmp dword [eax + 0x58], 4
jb 0x40785a
mov bl, byte [eax + 0x5c]
mov byte [ebp - 4], 0x21
xor eax, eax
mov dword [ebp - 0x26c], 0
mov dword [ebp - 0x268], 0
mov dword [ebp - 0x26c], 0
mov dword [ebp - 0x268], 7
mov word [ebp - 0x27c], ax
push 0x11
push 0x50d6d8
lea ecx, [ebp - 0x27c]
mov byte [ebp - 4], 0x22
call fcn.00403270
push 0x90
push str.RC::RCInstExecuter::InstallSafe
push str.d:jenkinsworkspacepc_2345mpcsafe_build_rhinoprotect_rtpsystem_src2345instdll_rcinstexecuter.cpp
lea eax, [ebp - 0x27c]
mov ecx, 0x5389f8
push eax
push 4
call fcn.00405960
test bl, bl
je 0x407841
lea eax, [ebp - 0x27c]
mov ecx, 0x5389f8
push eax
call fcn.00405cb0
lea ecx, [ebp - 0x27c]
mov byte [ebp - 4], 0x23
call fcn.00403200
mov ebx, dword [ebp - 0x2d4]
mov byte [ebp - 4], 0x12
push edi
push 7
push dword [ebx]
lea ecx, [ebx + 0x4c]
call fcn.00406280
jmp 0x407b47
push 0
push 8
push dword [ebx]
lea ecx, [ebx + 0x4c]
call fcn.00406280
cmp dword [0x5389fc], 0
je 0x407943
push ecx
mov ecx, 0x5389f8
call fcn.00404d60
mov eax, dword [0x5389fc]
cmp byte [eax + 0x54], 0
je 0x407943
cmp dword [eax + 0x58], 4
jb 0x407943
mov bl, byte [eax + 0x5c]
mov byte [ebp - 4], 0x28
xor eax, eax
mov dword [ebp - 0x284], 0
mov dword [ebp - 0x280], 0
mov dword [ebp - 0x284], 0
mov dword [ebp - 0x280], 7
mov word [ebp - 0x294], ax
push 0x11
push 0x50d6fc
lea ecx, [ebp - 0x294]
mov byte [ebp - 4], 0x29
call fcn.00403270
push 0x96
push str.RC::RCInstExecuter::InstallSafe
push str.d:jenkinsworkspacepc_2345mpcsafe_build_rhinoprotect_rtpsystem_src2345instdll_rcinstexecuter.cpp
lea eax, [ebp - 0x294]
mov ecx, 0x5389f8
push eax
push 4
call fcn.00405960
test bl, bl
je 0x407930
lea eax, [ebp - 0x294]
mov ecx, 0x5389f8
push eax
call fcn.00405cb0
lea ecx, [ebp - 0x294]
mov byte [ebp - 4], 0x2a
call fcn.00403200
mov byte [ebp - 4], 0x12
jmp 0x407b47
mov edi, 0xc0000026
test esi, esi
je 0x407972
push str.UnInitialize
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x407963
call eax
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
xor esi, esi
mov dword [ebp - 0x21c], esi
push 0
push 6
push dword [ebx]
lea ecx, [ebx + 0x4c]
call fcn.00406280
cmp dword [0x5389fc], 0
je 0x407a49
push ecx
mov ecx, 0x5389f8
call fcn.00404d60
mov eax, dword [0x5389fc]
cmp byte [eax + 0x54], 0
je 0x407a49
cmp dword [eax + 0x58], 2
jb 0x407a49
mov bl, byte [eax + 0x5c]
mov byte [ebp - 4], 0x1a
xor eax, eax
mov dword [ebp - 0x29c], 0
mov dword [ebp - 0x298], 0
mov dword [ebp - 0x29c], 0
mov dword [ebp - 0x298], 7
mov word [ebp - 0x2ac], ax
push 0xf
push 0x50d6b8
lea ecx, [ebp - 0x2ac]
mov byte [ebp - 4], 0x1b
call fcn.00403270
push 0x88
push str.RC::RCInstExecuter::InstallSafe
push str.d:jenkinsworkspacepc_2345mpcsafe_build_rhinoprotect_rtpsystem_src2345instdll_rcinstexecuter.cpp
lea eax, [ebp - 0x2ac]
mov ecx, 0x5389f8
push eax
push 2
call fcn.00405960
test bl, bl
je 0x407a36
lea eax, [ebp - 0x2ac]
mov ecx, 0x5389f8
push eax
call fcn.00405cb0
lea ecx, [ebp - 0x2ac]
mov byte [ebp - 4], 0x1c
call fcn.00403200
mov byte [ebp - 4], 0x12
mov dword [ebp - 4], 0x20
test esi, esi
je 0x407b47
push str.UnInitialize
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
jmp 0x40770a
push 0
push 2
push dword [ebx]
lea ecx, [ebx + 0x4c]
mov edi, 0x57
call fcn.00406280
cmp dword [0x5389fc], 0
je 0x407b4e
push ecx
mov ecx, 0x5389f8
call fcn.00404d60
mov eax, dword [0x5389fc]
cmp byte [eax + 0x54], 0
je 0x407b4e
cmp dword [eax + 0x58], 2
jb 0x407b4e
mov bl, byte [eax + 0x5c]
mov dword [ebp - 4], 0
xor eax, eax
mov dword [ebp - 0x2b4], 0
mov dword [ebp - 0x2b0], 0
mov dword [ebp - 0x2b4], 0
mov dword [ebp - 0x2b0], 7
mov word [ebp - 0x2c4], ax
push 0x10
push 0x50d5b0
lea ecx, [ebp - 0x2c4]
mov dword [ebp - 4], 1
call fcn.00403270
push 0x69
push str.RC::RCInstExecuter::InstallSafe
push str.d:jenkinsworkspacepc_2345mpcsafe_build_rhinoprotect_rtpsystem_src2345instdll_rcinstexecuter.cpp
lea eax, [ebp - 0x2c4]
mov ecx, 0x5389f8
push eax
push 2
call fcn.00405960
test bl, bl
je 0x407b35
lea eax, [ebp - 0x2c4]
mov ecx, 0x5389f8
push eax
call fcn.00405cb0
lea ecx, [ebp - 0x2c4]
mov dword [ebp - 4], 2
call fcn.00403200
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x2d4]
mov al, byte [ecx + 0x54]
test al, al
je 0x407b8a
mov al, byte [ecx + 0x54]
lea edx, [ecx + 0x54]
test al, al
je 0x407b8a
xor al, al
xchg byte [edx], al
mov esi, dword [ecx + 0x50]
cmp byte [esi], 0
je 0x407b8a
call fcn.0041a1a0
push esi
mov ecx, eax
call fcn.0041a5a0
push 0
mov ecx, esi
call fcn.00414970
mov byte [esi], 0
mov eax, edi
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.004be500
mov esp, ebp
pop ebp
ret