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

Disassembly:
push ebx
xor ebx, ebx
cmp dword [esp + 8], ebx
push ebp
push esi
push edi
je 0x40bcdf
mov esi, dword [esp + 0x18]
cmp esi, ebx
je 0x40bcdf
push 0x41ee34
or edi, 0xffffffff
push dword [esp + 0x18]
mov dword [esi + 0x38], edi
mov dword [esi + 0x3c], edi
mov dword [esi + 0x40], edi
mov dword [esi + 0x44], edi
mov dword [esi + 0x48], edi
mov dword [esi + 0x4c], edi
mov dword [esi + 0x50], edi
call dword [sym.imp.MSVCRT.dll_strtok]
pop ecx
cmp eax, ebx
pop ecx
mov dword [esp + 0x14], eax
je 0x40bb8e
mov ebp, dword [sym.imp.KERNEL32.dll_lstrcmpiA]
mov dl, byte [eax]
xor ecx, ecx
cmp dl, bl
je 0x40bb6f
cmp dl, 0x3d
je 0x40b47e
inc ecx
mov dl, byte [ecx + eax]
cmp dl, bl
jne 0x40b471
cmp ecx, ebx
je 0x40bb6f
jle 0x40b492
cmp byte [ecx + eax], 0x3d
jne 0x40bcdf
lea edi, [ecx + eax]
mov byte [edi], bl
inc edi
push edi
push eax
lea eax, [esi + 0x130]
push eax
call fcn.0040127e
add esp, 0xc
test al, al
jne 0x40bb6f
mov ebx, dword [esp + 0x14]
push str.RegisterApp
push ebx
call ebp
test eax, eax
jne 0x40b4e1
push str.true
push edi
call ebp
test eax, eax
je 0x40b4d6
cmp byte [edi], 0x31
jne 0x40bb6f
mov dword [esi], 1
jmp 0x40bb6f
push str.DoLaunch
push ebx
call ebp
test eax, eax
jne 0x40b50e
push str.true
push edi
call ebp
test eax, eax
je 0x40b502
cmp byte [edi], 0x31
jne 0x40bb6f
mov dword [esi + 4], 1
jmp 0x40bb6f
push str.DoUninstall
push ebx
call ebp
test eax, eax
jne 0x40b53b
push str.true
push edi
call ebp
test eax, eax
je 0x40b52f
cmp byte [edi], 0x31
jne 0x40bb6f
mov dword [esi + 8], 1
jmp 0x40bb6f
push str.PromptForPath
push ebx
call ebp
test eax, eax
jne 0x40b568
push str.true
push edi
call ebp
test eax, eax
je 0x40b55c
cmp byte [edi], 0x31
jne 0x40bb6f
mov dword [esi + 0xc], 1
jmp 0x40bb6f
push str.WebDriverGUI
push ebx
call ebp
test eax, eax
jne 0x40b595
push str.true
push edi
call ebp
test eax, eax
je 0x40b589
cmp byte [edi], 0x31
jne 0x40bb6f
mov dword [esi + 0x20], 1
jmp 0x40bb6f
push str.UpdaterGUI
push ebx
call ebp
test eax, eax
jne 0x40b5c2
push str.true
push edi
call ebp
test eax, eax
je 0x40b5b6
cmp byte [edi], 0x31
jne 0x40bb6f
mov dword [esi + 0x24], 1
jmp 0x40bb6f
push str.ProgressGUI
push ebx
call ebp
test eax, eax
jne 0x40b5ef
push str.true
push edi
call ebp
test eax, eax
je 0x40b5e3
cmp byte [edi], 0x31
jne 0x40bb6f
mov dword [esi + 0x28], 1
jmp 0x40bb6f
push str.ProgressDoneMode
push ebx
call ebp
test eax, eax
jne 0x40b612
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
test eax, eax
je 0x40bb6f
mov dword [esi + 0x30], edi
jmp 0x40bb6f
push str.Checkin
push ebx
call ebp
test eax, eax
jne 0x40b63f
push str.true
push edi
call ebp
test eax, eax
je 0x40b633
cmp byte [edi], 0x31
jne 0x40bb6f
mov dword [esi + 0x10], 1
jmp 0x40bb6f
push str.Download
push ebx
call ebp
test eax, eax
jne 0x40b66c
push str.true
push edi
call ebp
test eax, eax
je 0x40b660
cmp byte [edi], 0x31
jne 0x40bb6f
mov dword [esi + 0x14], 1
jmp 0x40bb6f
push str.Sync
push ebx
call ebp
test eax, eax
jne 0x40b699
push str.true
push edi
call ebp
test eax, eax
je 0x40b68d
cmp byte [edi], 0x31
jne 0x40bb6f
mov dword [esi + 0x18], 1
jmp 0x40bb6f
push str.VerifyApp
push ebx
call ebp
test eax, eax
jne 0x40b6c6
push str.true
push edi
call ebp
test eax, eax
je 0x40b6ba
cmp byte [edi], 0x31
jne 0x40bb6f
mov dword [esi + 0x1c], 1
jmp 0x40bb6f
push str.SilentLPWFail
push ebx
call ebp
test eax, eax
jne 0x40b6f3
push str.true
push edi
call ebp
test eax, eax
je 0x40b6e7
cmp byte [edi], 0x31
jne 0x40bb6f
mov dword [esi + 0x2c], 1
jmp 0x40bb6f
push str.LaunchProcessWait
push ebx
call ebp
test eax, eax
jne 0x40b719
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
test eax, eax
je 0x40bb6f
mov dword [esi + 0xa8], edi
jmp 0x40bb6f
push str.LaunchProcessWaitArgs
push ebx
call ebp
test eax, eax
jne 0x40b73f
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
test eax, eax
je 0x40bb6f
mov dword [esi + 0xac], edi
jmp 0x40bb6f
push str.LaunchFile
push ebx
call ebp
test eax, eax
jne 0x40b765
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
test eax, eax
je 0x40bb6f
mov dword [esi + 0x90], edi
jmp 0x40bb6f
push str.LaunchFileIE
push ebx
call ebp
test eax, eax
jne 0x40b78b
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
test eax, eax
je 0x40bb6f
mov dword [esi + 0x94], edi
jmp 0x40bb6f
push str.LaunchFileNetscape
push ebx
call ebp
test eax, eax
jne 0x40b7b1
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
test eax, eax
je 0x40bb6f
mov dword [esi + 0x98], edi
jmp 0x40bb6f
push str.LaunchURL
push ebx
call ebp
test eax, eax
jne 0x40b7d7
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
test eax, eax
je 0x40bb6f
mov dword [esi + 0x9c], edi
jmp 0x40bb6f
push str.LaunchURLIE
push ebx
call ebp
test eax, eax
jne 0x40b7fd
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
test eax, eax
je 0x40bb6f
mov dword [esi + 0xa0], edi
jmp 0x40bb6f
push str.LaunchURLNetscape
push ebx
call ebp
test eax, eax
jne 0x40b823
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
test eax, eax
je 0x40bb6f
mov dword [esi + 0xa4], edi
jmp 0x40bb6f
push str.NumCabFiles
push ebx
call ebp
test eax, eax
jne 0x40b83f
push edi
call dword [sym.imp.MSVCRT.dll_atoi]
pop ecx
mov dword [esi + 0x34], eax
jmp 0x40bb6f
push str.UpdaterCabIndex
push ebx
call ebp
test eax, eax
jne 0x40b85b
push edi
call dword [sym.imp.MSVCRT.dll_atoi]
pop ecx
mov dword [esi + 0x38], eax
jmp 0x40bb6f
push str.PlayerCabIndex
push ebx
call ebp
test eax, eax
jne 0x40b877
push edi
call dword [sym.imp.MSVCRT.dll_atoi]
pop ecx
mov dword [esi + 0x3c], eax
jmp 0x40bb6f
push str.ContentCabIndex
push ebx
call ebp
test eax, eax
jne 0x40b893
push edi
call dword [sym.imp.MSVCRT.dll_atoi]
pop ecx
mov dword [esi + 0x40], eax
jmp 0x40bb6f
push str.SoniqueVisCabIndex
push ebx
call ebp
test eax, eax
jne 0x40b8af
push edi
call dword [sym.imp.MSVCRT.dll_atoi]
pop ecx
mov dword [esi + 0x44], eax
jmp 0x40bb6f
push str.WinampPluginCabIndex
push ebx
call ebp
test eax, eax
jne 0x40b8cb
push edi
call dword [sym.imp.MSVCRT.dll_atoi]
pop ecx
mov dword [esi + 0x48], eax
jmp 0x40bb6f
push str.UplayerCabIndex
push ebx
call ebp
test eax, eax
jne 0x40b8e7
push edi
call dword [sym.imp.MSVCRT.dll_atoi]
pop ecx
mov dword [esi + 0x4c], eax
jmp 0x40bb6f
push str.SSaverCabIndex
push ebx
call ebp
test eax, eax
jne 0x40b903
push edi
call dword [sym.imp.MSVCRT.dll_atoi]
pop ecx
mov dword [esi + 0x50], eax
jmp 0x40bb6f
push str.AppID
push ebx
call ebp
test eax, eax
jne 0x40b917
mov dword [esi + 0x54], edi
jmp 0x40bb6f
push str.AppLongName
push ebx
call ebp
test eax, eax
jne 0x40b92b
mov dword [esi + 0x58], edi
jmp 0x40bb6f
push str.AppPath
push ebx
call ebp
test eax, eax
jne 0x40b957
push 0x104
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
push eax
push 0
push edi
push 0
mov dword [esi + 0x64], eax
call fcn.00402c95
add esp, 0x14
jmp 0x40bb6f
push str.AppExe
push ebx
call ebp
test eax, eax
jne 0x40b96b
mov dword [esi + 0x5c], edi
jmp 0x40bb6f
push str.AppArgs
push ebx
call ebp
test eax, eax
jne 0x40b97f
mov dword [esi + 0x60], edi
jmp 0x40bb6f
push str.UpdateURL
push ebx
call ebp
test eax, eax
jne 0x40b993
mov dword [esi + 0x68], edi
jmp 0x40bb6f
push str.UpdateInterval
push ebx
call ebp
test eax, eax
jne 0x40b9a7
mov dword [esi + 0x6c], edi
jmp 0x40bb6f
push str.DownloadType
push ebx
call ebp
test eax, eax
jne 0x40b9bb
mov dword [esi + 0x70], edi
jmp 0x40bb6f
push str.UpdateType
push ebx
call ebp
test eax, eax
jne 0x40b9cf
mov dword [esi + 0x74], edi
jmp 0x40bb6f
push str.VerifyType
push ebx
call ebp
test eax, eax
jne 0x40b9e3
mov dword [esi + 0x78], edi
jmp 0x40bb6f
push str.UpdaterVersion
push ebx
call ebp
test eax, eax
jne 0x40b9fa
mov dword [esi + 0xb0], edi
jmp 0x40bb6f
push str.ContentVersion
push ebx
call ebp
test eax, eax
jne 0x40ba11
mov dword [esi + 0xb4], edi
jmp 0x40bb6f
push str.ContentFuncLevel
push ebx
call ebp
test eax, eax
jne 0x40ba30
push edi
call dword [sym.imp.MSVCRT.dll_atoi]
pop ecx
mov dword [esi + 0xb8], eax
jmp 0x40bb6f
push str.ContentType
push ebx
call ebp
test eax, eax
jne 0x40ba47
mov dword [esi + 0xbc], edi
jmp 0x40bb6f
push str.PlayerSource
push ebx
call ebp
test eax, eax
jne 0x40ba5e
mov dword [esi + 0xc0], edi
jmp 0x40bb6f
push str.UserID
push ebx
call ebp
test eax, eax
jne 0x40ba75
mov dword [esi + 0xc4], edi
jmp 0x40bb6f
push str.UninstallString
push ebx
call ebp
test eax, eax
jne 0x40ba89
mov dword [esi + 0x7c], edi
jmp 0x40bb6f
push str.PhaseKey
push ebx
call ebp
test eax, eax
jne 0x40baa0
mov dword [esi + 0x80], edi
jmp 0x40bb6f
push str.RequestedVersion
push ebx
call ebp
test eax, eax
jne 0x40bab7
mov dword [esi + 0x84], edi
jmp 0x40bb6f
push str.WcmdmgrPath
push ebx
call ebp
test eax, eax
jne 0x40bace
mov dword [esi + 0x8c], edi
jmp 0x40bb6f
push str.PackageName
push ebx
call ebp
test eax, eax
jne 0x40bae5
mov dword [esi + 0xc8], edi
jmp 0x40bb6f
push str.PackageDesc
push ebx
call ebp
test eax, eax
jne 0x40baf9
mov dword [esi + 0xcc], edi
jmp 0x40bb6f
push str.InfoURL
push ebx
call ebp
test eax, eax
jne 0x40bb0d
mov dword [esi + 0xd0], edi
jmp 0x40bb6f
push str.InUseErrorString
push ebx
call ebp
test eax, eax
jne 0x40bb21
mov dword [esi + 0xd4], edi
jmp 0x40bb6f
push str.LPWFailString
push ebx
call ebp
test eax, eax
jne 0x40bb35
mov dword [esi + 0xd8], edi
jmp 0x40bb6f
push str.NotAdminPowerString
push ebx
call ebp
test eax, eax
jne 0x40bb49
mov dword [esi + 0xdc], edi
jmp 0x40bb6f
push str.InUsePlugin
push ebx
call ebp
test eax, eax
jne 0x40bb5d
mov dword [esi + 0xe0], edi
jmp 0x40bb6f
push str.ProductDisplayName
push ebx
call ebp
test eax, eax
jne 0x40bb6f
mov dword [esi + 0x88], edi
xor ebx, ebx
push 0x41ee34
push ebx
call dword [sym.imp.MSVCRT.dll_strtok]
pop ecx
cmp eax, ebx
pop ecx
mov dword [esp + 0x14], eax
jne 0x40b465
or edi, 0xffffffff
cmp dword [esi + 0x38], edi
mov eax, dword [0x420400]
jle 0x40bbb8
cmp eax, ebx
je 0x40bcdf
cmp dword [esi + 0xc4], ebx
je 0x40bcdf
cmp dword [esi + 0xb0], ebx
je 0x40bcdf
mov ecx, dword [esi]
cmp ecx, ebx
je 0x40bc48
cmp eax, ebx
je 0x40bcdf
cmp dword [esi + 0xbc], ebx
je 0x40bcdf
cmp dword [esi + 0x54], ebx
je 0x40bcdf
cmp dword [esi + 0x64], ebx
je 0x40bcdf
cmp dword [esi + 0x5c], ebx
je 0x40bcdf
cmp dword [esi + 0x60], ebx
je 0x40bcdf
cmp dword [esi + 0x68], ebx
je 0x40bcdf
cmp dword [esi + 0x70], ebx
je 0x40bcdf
cmp dword [esi + 0x74], ebx
je 0x40bcdf
cmp dword [esi + 0x78], ebx
je 0x40bcdf
cmp dword [esi + 0x6c], ebx
je 0x40bcdf
cmp dword [esi + 0x7c], ebx
je 0x40bcdf
cmp dword [esi + 0x80], ebx
je 0x40bcdf
cmp dword [esi + 0x84], ebx
je 0x40bcdf
cmp dword [esi + 0x7c], ebx
je 0x40bc55
cmp ecx, ebx
je 0x40bcdf
mov eax, dword [esi + 0x90]
cmp eax, ebx
jne 0x40bc6f
cmp dword [esi + 0x94], ebx
jne 0x40bc6f
cmp dword [esi + 0x98], ebx
je 0x40bc74
cmp dword [esi + 0x40], ebx
jl 0x40bcdf
cmp dword [esi + 4], ebx
je 0x40bc83
cmp dword [esi + 0x5c], ebx
jne 0x40bc83
cmp dword [esi + 0x60], ebx
je 0x40bcdf
cmp dword [esi + 8], ebx
je 0x40bc8d
cmp dword [esi + 0x54], ebx
je 0x40bcdf
xor ecx, ecx
cmp dword [esi + 0xa4], ebx
setne cl
xor edx, edx
cmp dword [esi + 0xa0], ebx
setne dl
add ecx, edx
xor edx, edx
cmp dword [esi + 0x9c], ebx
setne dl
add ecx, edx
xor edx, edx
cmp dword [esi + 0x98], ebx
setne dl
add ecx, edx
xor edx, edx
cmp dword [esi + 0x94], ebx
setne dl
add ecx, edx
xor edx, edx
cmp eax, ebx
setne dl
add ecx, edx
xor eax, eax
cmp ecx, 1
setle al
jmp 0x40bce1
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
ret