Function at 0x498f95
Capabilities:
Create thread

Disassembly:
push 0x34
mov eax, 0x5124fc
call fcn.004d02ab
xor ebx, ebx
mov dword [ebp - 4], ebx
push ebx
lea eax, [ebp - 0x10]
push eax
push str.CMakeInstallPackDlg::_BuildShareFolder__
push 0xfc
mov esi, str..dlgmakeinstallpackdlgmakeinstallpackdlg.cpp
push esi
lea eax, [ebp - 0x40]
push eax
mov dword [ebp - 0x10], ebx
call fcn.004020c4
mov byte [ebp - 4], 1
push 0x527fec
lea eax, [ebp - 0x18]
push eax
call fcn.004022e5
mov byte [ebp - 4], 2
mov edi, dword [ebp + 8]
add edi, 0x9c
lea eax, [ebp - 0x18]
call fcn.00403a2e
mov byte [ebp - 4], 1
lea eax, [ebp - 0x18]
push eax
call fcn.004025f7
lea eax, [ebp - 0x1c]
push eax
call fcn.00408ccb
pop ecx
mov byte [ebp - 4], 3
push dword [eax]
lea eax, [ebp - 0x14]
push eax
call fcn.004022e5
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x1c]
call fcn.004028da
mov eax, dword [ebp - 0x14]
cmp dword [eax - 0xc], ebx
jne 0x499054
push str.ERROR_CHECK_BOOLEX:_IsStrEmpty_pathShareDir.m_strPath_
push 0x102
push esi
push 5
pop ecx
mov dword [ebp - 0x10], 0x80004005
call fcn.0040ef48
mov byte [ebp - 4], 1
lea eax, [ebp - 0x14]
push eax
call fcn.004025f7
jmp 0x499273
push dword [ebp + 0xc]
lea eax, [ebp - 0x14]
call fcn.0040d65b
push dword [ebp - 0x14]
call fcn.0040ab08
cmp eax, ebx
pop ecx
mov dword [ebp - 0x10], eax
jge 0x499088
push eax
push str.ERROR_CHECK_COM_hr___x:_hr
push 0x105
push esi
push 5
pop esi
call fcn.0040f52f
add esp, 0x10
jmp 0x499042
lea eax, [ebp - 0x14]
call fcn.00403a2e
mov byte [ebp - 4], 1
lea eax, [ebp - 0x14]
push eax
call fcn.004025f7
mov eax, edi
call fcn.004707d9
push dword [edi]
lea eax, [ebp - 0x14]
push eax
call fcn.004025b6
mov byte [ebp - 4], 6
lea eax, [ebp - 0x24]
push 0xd4
push eax
call fcn.0040df84
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x20]
push 0x52b784
push ecx
mov esi, eax
call fcn.00446303
add esp, 0x10
mov byte [ebp - 4], 8
mov eax, dword [eax]
push dword [eax - 0xc]
push eax
lea eax, [ebp - 0x14]
call fcn.0040cf64
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x20]
call fcn.004028da
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x24]
call fcn.004028da
push ebx
push 0x80
push 2
push ebx
push 3
push 0xc0000000
push dword [ebp - 0x14]
call dword [0x51a3a0]
mov edi, eax
cmp edi, ebx
jne 0x499150
push str.ERROR_CHECK_BOOLEX:hFile
push 0x10f
push str..dlgmakeinstallpackdlgmakeinstallpackdlg.cpp
push 5
pop ecx
mov dword [ebp - 0x10], 0x80004005
call fcn.0040ef48
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x14]
call fcn.004028da
jmp 0x499273
lea eax, [ebp - 0x18]
push 0xd5
push eax
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x28], 0xfeff
call fcn.0040df84
pop ecx
pop ecx
mov byte [ebp - 4], 9
mov esi, dword [0x51a374]
push ebx
lea eax, [ebp - 0x1c]
push eax
push 2
lea eax, [ebp - 0x28]
push eax
push edi
call esi
test eax, eax
je 0x4991a1
mov ecx, dword [ebp - 0x18]
mov eax, dword [ecx - 0xc]
push ebx
lea edx, [ebp - 0x1c]
push edx
add eax, eax
push eax
push ecx
push edi
call esi
test eax, eax
je 0x4991a1
xor esi, esi
inc esi
jmp 0x4991a3
xor esi, esi
push edi
call dword [0x51a3ac]
cmp esi, ebx
jne 0x4991dd
push str.ERROR_CHECK_BOOLEX:bRet
push 0x116
push str..dlgmakeinstallpackdlgmakeinstallpackdlg.cpp
push 5
pop ecx
mov dword [ebp - 0x10], 0x80004005
call fcn.0040ef48
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x18]
call fcn.004028da
jmp 0x49913f
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x18]
call fcn.004028da
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x14]
call fcn.004028da
mov esi, dword [ebp + 8]
cmp dword [esi + 0x98], ebx
jne 0x499273
push ebx
push ebx
push 1
push ebx
call dword [0x51a160]
mov dword [esi + 0xa8], eax
cmp eax, ebx
jne 0x499235
push str.ERROR_CHECK_BOOLEX:m_hEventWaitThread
push 0x11f
push str..dlgmakeinstallpackdlgmakeinstallpackdlg.cpp
push 5
pop ecx
mov dword [ebp - 0x10], 0x80004005
call fcn.0040ef48
jmp 0x499273
push ebx
push 4
push esi
push 0x4996c2
push ebx
push ebx
call fcn.004cd2bb
add esp, 0x18
mov dword [esi + 0x98], eax
cmp eax, ebx
jne 0x49925e
push str.ERROR_CHECK_BOOLEX:m_hThreadBuildShareRelaton
push 0x121
jmp 0x49921f
push 0xfffffffffffffff1
push eax
call dword [0x51a16c]
push dword [esi + 0x98]
call dword [0x51a168]
mov esi, dword [ebp - 0x10]
mov byte [ebp - 4], bl
lea eax, [ebp - 0x40]
push eax
call fcn.0040201a
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0xc]
call fcn.004028da
mov eax, esi
call fcn.004d0383
ret 8