Function at 0x407bb0
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 0x408322
cmp dword [ebx + 0x2c], 0
lea esi, [ebx + 0x1c]
mov dword [ebp - 0x2cc], esi
je 0x408322
cmp dword [0x5389fc], 0
je 0x407cfc
push ecx
mov ecx, 0x5389f8
call fcn.00404d60
mov eax, dword [0x5389fc]
cmp byte [eax + 0x54], 0
je 0x407cfc
cmp dword [eax + 0x58], 4
jb 0x407cfc
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 0x407c86
mov ecx, dword [esi]
cmp dword [ebx + 0x18], 8
lea eax, [ebx + 4]
jb 0x407c91
mov eax, dword [eax]
push ecx
push eax
lea eax, [ebp - 0x234]
push 0x50d790
push eax
call fcn.00475220
add esp, 0x10
lea eax, [ebp - 0x234]
mov ecx, 0x5389f8
push 0xb0
push str.RC::RCInstExecuter::InstallBrowser
push str.d:jenkinsworkspacepc_2345mpcsafe_build_rhinoprotect_rtpsystem_src2345instdll_rcinstexecuter.cpp
push eax
push 4
call fcn.00405960
cmp byte [ebp - 0x2c5], 0
je 0x407ce3
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 0x407e13
push 0
push 4
push dword [ebx]
lea ecx, [ebx + 0x4c]
mov edi, 2
call fcn.00406280
cmp dword [0x5389fc], 0
je 0x40840a
push ecx
mov ecx, 0x5389f8
call fcn.00404d60
mov eax, dword [0x5389fc]
cmp byte [eax + 0x54], 0
je 0x40840a
cmp dword [eax + 0x58], edi
jb 0x40840a
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 0x14
push 0x50d7e4
lea ecx, [ebp - 0x24c]
mov dword [ebp - 4], 0xd
call fcn.00403270
push 0xba
push str.RC::RCInstExecuter::InstallBrowser
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 0x407dfc
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 0x408403
mov dword [ebp - 0x21c], 0
mov dword [ebp - 0x21c], 0
mov dword [ebp - 4], 0x12
cmp dword [esi + 0x14], 8
jb 0x407e3c
mov esi, dword [esi]
mov dword [ebp - 0x2cc], esi
cmp dword [ebx + 0x18], 8
lea eax, [ebx + 4]
mov dword [ebp - 0x2d0], eax
jb 0x407e53
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 0x407ec6
push str.SetProductVersion
push esi
call eax
test eax, eax
je 0x407e8b
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 0x407eb2
push dword [ebp - 0x2d0]
push 0x50d688
call eax
mov edi, eax
add esp, 8
test edi, edi
je 0x407ec1
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 0x407fdf
push edi
push 5
push dword [ebx]
lea ecx, [ebx + 0x4c]
call fcn.00406280
cmp dword [0x5389fc], 0
je 0x407fa7
push ecx
mov ecx, 0x5389f8
call fcn.00404d60
mov eax, dword [0x5389fc]
cmp byte [eax + 0x54], 0
je 0x407fa7
cmp dword [eax + 0x58], 2
jb 0x407fa7
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 0x50d810
push eax
call fcn.00475220
add esp, 0xc
lea eax, [ebp - 0x264]
mov ecx, 0x5389f8
push 0xc3
push str.RC::RCInstExecuter::InstallBrowser
push str.d:jenkinsworkspacepc_2345mpcsafe_build_rhinoprotect_rtpsystem_src2345instdll_rcinstexecuter.cpp
push eax
push 2
call fcn.00405960
test bl, bl
je 0x407f94
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 0x408403
mov eax, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.UnInitialize
push esi
call eax
test eax, eax
je 0x407fc9
call eax
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov dword [ebp - 0x21c], 0
jmp 0x408403
test esi, esi
je 0x408201
push str.CanInstallBrowser
push esi
call eax
test eax, eax
je 0x408201
call eax
test eax, eax
je 0x408201
mov eax, dword [sym.imp.KERNEL32.dll_GetProcAddress]
or edi, 0xffffffff
push str.InstallBrowser
push esi
call eax
test eax, eax
je 0x408019
call eax
mov edi, eax
push str.UnInitialize
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x40802b
call eax
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov dword [ebp - 0x21c], 0
test edi, edi
je 0x408125
cmp dword [0x5389fc], 0
je 0x408113
push ecx
mov ecx, 0x5389f8
call fcn.00404d60
mov eax, dword [0x5389fc]
cmp byte [eax + 0x54], 0
je 0x408113
cmp dword [eax + 0x58], 4
jb 0x408113
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 0x14
push 0x50d86c
lea ecx, [ebp - 0x27c]
mov byte [ebp - 4], 0x22
call fcn.00403270
push 0xd4
push str.RC::RCInstExecuter::InstallBrowser
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 0x4080fa
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 0x408403
push 0
push 8
push dword [ebx]
lea ecx, [ebx + 0x4c]
call fcn.00406280
cmp dword [0x5389fc], 0
je 0x4081fc
push ecx
mov ecx, 0x5389f8
call fcn.00404d60
mov eax, dword [0x5389fc]
cmp byte [eax + 0x54], 0
je 0x4081fc
cmp dword [eax + 0x58], 4
jb 0x4081fc
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 0x14
push 0x50d898
lea ecx, [ebp - 0x294]
mov byte [ebp - 4], 0x29
call fcn.00403270
push 0xda
push str.RC::RCInstExecuter::InstallBrowser
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 0x4081e9
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 0x408403
mov edi, 0xc0000026
test esi, esi
je 0x40822b
push str.UnInitialize
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x40821c
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 0x408302
push ecx
mov ecx, 0x5389f8
call fcn.00404d60
mov eax, dword [0x5389fc]
cmp byte [eax + 0x54], 0
je 0x408302
cmp dword [eax + 0x58], 2
jb 0x408302
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 0x12
push 0x50d844
lea ecx, [ebp - 0x2ac]
mov byte [ebp - 4], 0x1b
call fcn.00403270
push 0xcc
push str.RC::RCInstExecuter::InstallBrowser
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 0x4082ef
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 0x408403
push str.UnInitialize
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
jmp 0x407fc3
push 0
push 2
push dword [ebx]
lea ecx, [ebx + 0x4c]
mov edi, 0x57
call fcn.00406280
cmp dword [0x5389fc], 0
je 0x40840a
push ecx
mov ecx, 0x5389f8
call fcn.00404d60
mov eax, dword [0x5389fc]
cmp byte [eax + 0x54], 0
je 0x40840a
cmp dword [eax + 0x58], 2
jb 0x40840a
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 0x13
push 0x50d720
lea ecx, [ebp - 0x2c4]
mov dword [ebp - 4], 1
call fcn.00403270
push 0xac
push str.RC::RCInstExecuter::InstallBrowser
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 0x4083f1
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 0x408446
mov al, byte [ecx + 0x54]
lea edx, [ecx + 0x54]
test al, al
je 0x408446
xor al, al
xchg byte [edx], al
mov esi, dword [ecx + 0x50]
cmp byte [esi], 0
je 0x408446
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