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

Disassembly:
push 0xffffffffffffffff
push 0x4e5166
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc4
push ebx
push ebp
push esi
push edi
mov edi, ecx
push 0x5218d4
mov dword [esp + 0x6c], edi
call fcn.00420e40
add esp, 4
lea ecx, [esp + 0x58]
push eax
call sub.MFC42.DLL_CString::CString_2
mov eax, dword [edi + 0x2c0]
lea ebx, [edi + 0x2c0]
xor ebp, ebp
mov dword [esp + 0x20], ebx
cmp eax, ebp
mov dword [esp + 0xdc], ebp
jne 0x4b0734
lea ecx, [esp + 0x58]
mov dword [esp + 0xdc], 0xffffffff
call sub.MFC42.DLL_CString::CString
xor eax, eax
jmp 0x4b16af
push ecx
mov dword [esp + 0x50], esp
mov esi, esp
push 0xc
call sub.MFC42.DLL_operatornew
add esp, 4
mov dword [esp + 0x68], eax
cmp eax, ebp
mov byte [esp + 0xe0], 1
je 0x4b0763
push 0x51bcac
mov ecx, eax
call fcn.00409380
jmp 0x4b0765
xor eax, eax
cmp eax, ebp
mov byte [esp + 0xe0], 0
mov dword [esi], eax
jne 0x4b077d
push 0x8007000e
call fcn.004cf728
lea eax, [esp + 0x1c]
mov ecx, ebx
push eax
mov byte [esp + 0xe4], 0
call fcn.00447640
mov ecx, eax
call fcn.0040f560
mov byte [esp + 0xdc], 3
mov bl, 4
mov eax, dword [esp + 0x18]
test eax, eax
jne 0x4b07b8
push 0x80004003
call fcn.004cf728
mov eax, dword [esp + 0x18]
mov ecx, dword [eax]
lea edx, [esp + 0x54]
push edx
push eax
mov esi, eax
call dword [ecx + 0x20]
test eax, eax
jge 0x4b07d5
push 0x518680
push esi
push eax
call fcn.004cf736
cmp ebp, dword [esp + 0x54]
jge 0x4b09a3
mov eax, dword [esp + 0x18]
test eax, eax
jne 0x4b07f1
push 0x80004003
call fcn.004cf728
mov ecx, dword [esp + 0x18]
lea eax, [esp + 0x10]
push eax
call fcn.0040f6f0
mov eax, dword [esp + 0x10]
mov byte [esp + 0xdc], bl
test eax, eax
je 0x4b0988
push ecx
mov dword [esp + 0x50], esp
mov esi, esp
push 0xc
call sub.MFC42.DLL_operatornew
add esp, 4
mov dword [esp + 0x68], eax
test eax, eax
mov byte [esp + 0xe0], 5
je 0x4b0841
push 0x51bcac
mov ecx, eax
call fcn.00409380
jmp 0x4b0843
xor eax, eax
test eax, eax
mov byte [esp + 0xe0], bl
mov dword [esi], eax
jne 0x4b085a
push 0x8007000e
call fcn.004cf728
lea ecx, [esp + 0x18]
mov byte [esp + 0xe0], bl
push ecx
lea ecx, [esp + 0x18]
call fcn.00447640
mov ecx, eax
call fcn.0040f560
mov byte [esp + 0xdc], 7
xor edi, edi
mov eax, dword [esp + 0x14]
test eax, eax
jne 0x4b0896
push 0x80004003
call fcn.004cf728
mov eax, dword [esp + 0x14]
mov edx, dword [eax]
lea ecx, [esp + 0x60]
push ecx
push eax
mov esi, eax
call dword [edx + 0x20]
test eax, eax
jge 0x4b08b3
push 0x518680
push esi
push eax
call fcn.004cf736
cmp edi, dword [esp + 0x60]
jge 0x4b097f
mov eax, dword [esp + 0x14]
test eax, eax
jne 0x4b08cf
push 0x80004003
call fcn.004cf728
mov ecx, dword [esp + 0x14]
lea edx, [esp + 0x24]
push edx
call fcn.0040f6f0
mov ecx, dword [esp + 0x24]
mov byte [esp + 0xdc], 8
test ecx, ecx
je 0x4b0968
lea eax, [esp + 0x48]
push eax
call fcn.0040f290
mov ecx, dword [eax]
mov byte [esp + 0xdc], 9
test ecx, ecx
je 0x4b090c
call fcn.00405ec0
jmp 0x4b090e
xor eax, eax
push eax
lea ecx, [esp + 0x20]
call sub.MFC42.DLL_CString::CString_2
lea ecx, [esp + 0x48]
mov byte [esp + 0xdc], 0xb
call fcn.00405de0
mov eax, dword [esp + 0x10]
test eax, eax
jne 0x4b093b
push 0x80004003
call fcn.004cf728
mov ecx, dword [esp + 0x24]
lea edx, [esp + 0x50]
push ecx
mov ecx, dword [esp + 0x14]
push edx
call fcn.0040f380
lea ecx, [esp + 0x50]
call fcn.00404a80
lea ecx, [esp + 0x1c]
mov byte [esp + 0xdc], 8
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x24]
mov byte [esp + 0xdc], 7
call fcn.00404a80
inc edi
jmp 0x4b0880
lea ecx, [esp + 0x14]
call fcn.00404a80
lea ecx, [esp + 0x10]
mov byte [esp + 0xdc], 3
call fcn.00404a80
mov edi, dword [esp + 0x68]
inc ebp
jmp 0x4b07a2
lea ecx, [esp + 0x18]
mov byte [esp + 0xdc], 0
call fcn.00404a80
mov esi, dword [esp + 0x58]
push 0xc
call sub.MFC42.DLL_operatornew
add esp, 4
mov dword [esp + 0x4c], eax
test eax, eax
mov byte [esp + 0xdc], 0xc
je 0x4b09dc
push esi
mov ecx, eax
call fcn.00409380
jmp 0x4b09de
xor eax, eax
test eax, eax
mov byte [esp + 0xdc], 0
mov dword [esp + 0x1c], eax
jne 0x4b09fc
push 0x8007000e
call fcn.004cf728
mov eax, dword [esp + 0x1c]
mov bl, 0xd
mov word [esp + 0x38], 8
test eax, eax
mov byte [esp + 0xdc], bl
je 0x4b0a14
mov esi, dword [eax]
jmp 0x4b0a16
xor esi, esi
push esi
call dword [sym.imp.OLEAUT32.dll_SysAllocStringByteLen]
push eax
push esi
call dword [sym.imp.OLEAUT32.dll_DllRegisterServer]
test eax, eax
mov dword [esp + 0x40], eax
jne 0x4b0a37
push 0x8007000e
call fcn.004cf728
mov esi, dword [esp + 0x20]
mov byte [esp + 0xdc], 0xe
cmp dword [esi], 0
jne 0x4b0a52
push 0x80004003
call fcn.004cf728
mov edx, dword [esp + 0x38]
sub esp, 0x10
mov esi, dword [esi]
mov ecx, esp
push esi
mov eax, dword [esi]
mov dword [ecx], edx
mov edx, dword [esp + 0x50]
mov dword [ecx + 4], edx
mov edx, dword [esp + 0x54]
mov dword [ecx + 8], edx
mov edx, dword [esp + 0x58]
mov dword [ecx + 0xc], edx
call dword [eax + 0x108]
test eax, eax
jge 0x4b0a8d
push 0x518788
push esi
push eax
call fcn.004cf736
lea eax, [esp + 0x38]
mov byte [esp + 0xdc], bl
push eax
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
test eax, eax
jge 0x4b0aa9
push eax
call fcn.004cf728
lea ecx, [esp + 0x1c]
mov byte [esp + 0xdc], 0
call fcn.00405de0
mov ecx, dword [edi + 0x140]
xor eax, eax
test ecx, ecx
mov dword [esp + 0x54], eax
jle 0x4b1580
mov ecx, dword [edi + 0x13c]
mov esi, dword [ecx + eax*4]
lea ecx, [esp + 0x60]
lea edx, [esi + 4]
push edx
call sub.MFC42.DLL_CString::CString_1
lea eax, [esi + 8]
lea ecx, [esp + 0x48]
push eax
mov byte [esp + 0xe0], 0xf
call sub.MFC42.DLL_CString::CString_1
lea ecx, [esi + 0xc]
mov byte [esp + 0xdc], 0x10
push ecx
lea ecx, [esp + 0x54]
call sub.MFC42.DLL_CString::CString_1
lea ecx, [esp + 0x24]
mov byte [esp + 0xdc], 0x11
call sub.MFC42.DLL_CString::CString_3
lea ecx, [esp + 0x5c]
mov byte [esp + 0xdc], 0x12
call sub.MFC42.DLL_CString::CString_3
mov eax, dword [esi + 0x10]
mov esi, dword [esi + 0x18]
test eax, eax
mov byte [esp + 0xdc], 0x13
je 0x4b0b49
push 0x51876c
jmp 0x4b0b4e
push 0x518750
lea ecx, [esp + 0x28]
call sub.MFC42.DLL_CString::operator_2
test esi, esi
je 0x4b0b62
push 0x51876c
jmp 0x4b0b67
push 0x518750
lea ecx, [esp + 0x60]
call sub.MFC42.DLL_CString::operator_2
push ecx
mov dword [esp + 0x20], esp
mov esi, esp
push 0xc
call sub.MFC42.DLL_operatornew
add esp, 4
mov dword [esp + 0x1c], eax
test eax, eax
mov byte [esp + 0xe0], 0x14
je 0x4b0b9f
push 0x51bcac
mov ecx, eax
call fcn.00409380
jmp 0x4b0ba1
xor eax, eax
test eax, eax
mov byte [esp + 0xe0], 0x13
mov dword [esi], eax
jne 0x4b0bb9
push 0x8007000e
call fcn.004cf728
mov ecx, dword [esp + 0x24]
lea edx, [esp + 0x30]
push edx
mov byte [esp + 0xe4], 0x13
call fcn.00447640
mov ecx, eax
call fcn.0040f560
mov byte [esp + 0xdc], 0x16
mov dword [esp + 0x1c], 0
mov eax, dword [esp + 0x2c]
test eax, eax
jne 0x4b0bfc
push 0x80004003
call fcn.004cf728
mov eax, dword [esp + 0x2c]
mov ecx, dword [eax]
lea edx, [esp + 0xb4]
push edx
push eax
mov esi, eax
call dword [ecx + 0x20]
test eax, eax
jge 0x4b0c1c
push 0x518680
push esi
push eax
call fcn.004cf736
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0xb4]
cmp eax, ecx
jge 0x4b14fa
mov eax, dword [esp + 0x2c]
test eax, eax
jne 0x4b0c41
push 0x80004003
call fcn.004cf728
lea ecx, [esp + 0x30]
push ecx
mov ecx, dword [esp + 0x30]
call fcn.0040f6f0
mov eax, dword [esp + 0x30]
test eax, eax
je 0x4b14df
mov dword [esp + 0x18], 0
push ecx
mov byte [esp + 0xe0], 0x18
mov dword [esp + 0x38], esp
mov esi, esp
push 0xc
call sub.MFC42.DLL_operatornew
add esp, 4
mov dword [esp + 0x2c], eax
test eax, eax
mov byte [esp + 0xe0], 0x19
je 0x4b0c9a
push 0x518764
mov ecx, eax
call fcn.00409380
jmp 0x4b0c9c
xor eax, eax
test eax, eax
mov byte [esp + 0xe0], 0x18
mov dword [esi], eax
jne 0x4b0cb4
push 0x8007000e
call fcn.004cf728
mov edi, dword [esp + 0x24]
lea edx, [esp + 0xb0]
push edx
mov ecx, edi
mov byte [esp + 0xe4], 0x18
call fcn.00447640
mov ecx, eax
call fcn.0040f890
mov eax, dword [eax]
lea ecx, [esp + 0x18]
push eax
call fcn.00440850
lea ecx, [esp + 0xac]
call fcn.00404a80
mov eax, dword [esp + 0x30]
test eax, eax
jne 0x4b0d00
push 0x80004003
call fcn.004cf728
mov ecx, dword [esp + 0x18]
lea edx, [esp + 0xc4]
push ecx
mov ecx, dword [esp + 0x34]
push edx
call fcn.0040f3d0
lea ecx, [esp + 0xc4]
call fcn.00404a80
mov eax, dword [esp + 0x18]
test eax, eax
jne 0x4b0d34
push 0x80004003
call fcn.004cf728
mov ecx, dword [esp + 0x18]
lea eax, [esp + 0x14]
push eax
call fcn.0040f330
push ecx
mov byte [esp + 0xe0], 0x1b
mov dword [esp + 0x2c], esp
mov esi, esp
push 0xc
call sub.MFC42.DLL_operatornew
add esp, 4
mov dword [esp + 0x38], eax
test eax, eax
mov byte [esp + 0xe0], 0x1c
je 0x4b0d79
push 0x51bc90
mov ecx, eax
call fcn.00409380
jmp 0x4b0d7b
xor eax, eax
test eax, eax
mov byte [esp + 0xe0], 0x1b
mov dword [esi], eax
jne 0x4b0d93
push 0x8007000e
call fcn.004cf728
lea ecx, [esp + 0x14]
mov byte [esp + 0xe0], 0x1b
push ecx
mov ecx, edi
call fcn.00447640
mov ecx, eax
call fcn.0040f940
mov eax, dword [esp + 0x10]
mov byte [esp + 0xdc], 0x1e
test eax, eax
je 0x4b0ea3
lea edx, [esp + 0x6c]
push edx
call dword [sym.imp.OLEAUT32.dll_VariantClear]
mov esi, dword [esp + 0x60]
lea eax, [esp + 0x6c]
push eax
mov byte [esp + 0xe0], 0x1f
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
test eax, eax
jge 0x4b0dee
push eax
call fcn.004cf728
push esi
mov word [esp + 0x70], 8
call fcn.004cf7d5
test eax, eax
mov dword [esp + 0x74], eax
jne 0x4b0e15
test esi, esi
je 0x4b0e15
push 0x8007000e
call fcn.004cf728
mov eax, dword [esp + 0x74]
mov esi, dword [esp + 0x6c]
mov edi, dword [esp + 0x70]
mov ebp, dword [esp + 0x78]
mov ebx, eax
mov eax, dword [esp + 0x10]
test eax, eax
jne 0x4b0e39
push 0x80004003
call fcn.004cf728
mov eax, dword [esp + 0x10]
sub esp, 0x10
mov ecx, dword [eax]
mov edx, esp
push eax
mov dword [edx], esi
mov dword [edx + 4], edi
mov dword [edx + 8], ebx
mov dword [edx + 0xc], ebp
call dword [ecx + 0xb4]
mov eax, dword [esp + 0x14]
test eax, eax
jne 0x4b0e64
push 0x80004003
call fcn.004cf728
mov eax, dword [esp + 0x10]
lea ecx, [esp + 0xbc]
push eax
push ecx
mov ecx, dword [esp + 0x1c]
call fcn.0040f7f0
lea ecx, [esp + 0xbc]
call fcn.00404a80
lea edx, [esp + 0x6c]
mov byte [esp + 0xdc], 0x1e
push edx
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
test eax, eax
jge 0x4b0ea3
push eax
call fcn.004cf728
push ecx
mov dword [esp + 0x2c], esp
mov esi, esp
push 0xc
call sub.MFC42.DLL_operatornew
add esp, 4
mov dword [esp + 0x38], eax
test eax, eax
mov byte [esp + 0xe0], 0x20
je 0x4b0ed2
push 0x523d14
mov ecx, eax
call fcn.00409380
jmp 0x4b0ed4
xor eax, eax
test eax, eax
mov byte [esp + 0xe0], 0x1e
mov dword [esi], eax
jne 0x4b0eec
push 0x8007000e
call fcn.004cf728
mov ecx, dword [esp + 0x24]
lea eax, [esp + 0xd0]
push eax
mov byte [esp + 0xe4], 0x1e
call fcn.00447640
mov ecx, eax
call fcn.0040f940
mov ecx, dword [eax]
push ecx
lea ecx, [esp + 0x14]
call fcn.00440850
lea ecx, [esp + 0xcc]
call fcn.00404a80
mov eax, dword [esp + 0x10]
test eax, eax
je 0x4b102c
lea edx, [esp + 0x8c]
push edx
call dword [sym.imp.OLEAUT32.dll_VariantClear]
mov esi, dword [esp + 0x48]
lea eax, [esp + 0x8c]
push eax
mov byte [esp + 0xe0], 0x22
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
test eax, eax
jge 0x4b0f62
push eax
call fcn.004cf728
push esi
mov word [esp + 0x90], 8
call fcn.004cf7d5
test eax, eax
mov dword [esp + 0x94], eax
jne 0x4b0f92
test esi, esi
je 0x4b0f92
push 0x8007000e
call fcn.004cf728
mov eax, dword [esp + 0x94]
mov esi, dword [esp + 0x8c]
mov edi, dword [esp + 0x90]
mov ebp, dword [esp + 0x98]
mov ebx, eax
mov eax, dword [esp + 0x10]
test eax, eax
jne 0x4b0fbf
push 0x80004003
call fcn.004cf728
mov eax, dword [esp + 0x10]
sub esp, 0x10
mov ecx, dword [eax]
mov edx, esp
push eax
mov dword [edx], esi
mov dword [edx + 4], edi
mov dword [edx + 8], ebx
mov dword [edx + 0xc], ebp
call dword [ecx + 0xb4]
mov eax, dword [esp + 0x14]
test eax, eax
jne 0x4b0fea
push 0x80004003
call fcn.004cf728
mov eax, dword [esp + 0x10]
lea ecx, [esp + 0xb0]
push eax
push ecx
mov ecx, dword [esp + 0x1c]
call fcn.0040f7f0
lea ecx, [esp + 0xb0]
call fcn.00404a80
lea edx, [esp + 0x8c]
mov byte [esp + 0xdc], 0x1e
push edx
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
test eax, eax
jge 0x4b102c
push eax
call fcn.004cf728
push ecx
mov dword [esp + 0x2c], esp
mov esi, esp
push 0xc
call sub.MFC42.DLL_operatornew
add esp, 4
mov dword [esp + 0x38], eax
test eax, eax
mov byte [esp + 0xe0], 0x23
je 0x4b105b
push 0x51bc98
mov ecx, eax
call fcn.00409380
jmp 0x4b105d
xor eax, eax
test eax, eax
mov byte [esp + 0xe0], 0x1e
mov dword [esi], eax
jne 0x4b1075
push 0x8007000e
call fcn.004cf728
mov ecx, dword [esp + 0x24]
lea eax, [esp + 0xbc]
push eax
mov byte [esp + 0xe4], 0x1e
call fcn.00447640
mov ecx, eax
call fcn.0040f940
mov ecx, dword [eax]
push ecx
lea ecx, [esp + 0x14]
call fcn.00440850
lea ecx, [esp + 0xb8]
call fcn.00404a80
mov eax, dword [esp + 0x10]
test eax, eax
je 0x4b11a9
lea edx, [esp + 0x7c]
push edx
call dword [sym.imp.OLEAUT32.dll_VariantClear]
mov esi, dword [esp + 0x50]
lea eax, [esp + 0x7c]
push eax
mov byte [esp + 0xe0], 0x25
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
test eax, eax
jge 0x4b10e5
push eax
call fcn.004cf728
push esi
mov word [esp + 0x80], 8
call fcn.004cf7d5
test eax, eax
mov dword [esp + 0x84], eax
jne 0x4b1115
test esi, esi
je 0x4b1115
push 0x8007000e
call fcn.004cf728
mov eax, dword [esp + 0x84]
mov esi, dword [esp + 0x7c]
mov edi, dword [esp + 0x80]
mov ebp, dword [esp + 0x88]
mov ebx, eax
mov eax, dword [esp + 0x10]
test eax, eax
jne 0x4b113f
push 0x80004003
call fcn.004cf728
mov eax, dword [esp + 0x10]
sub esp, 0x10
mov ecx, dword [eax]
mov edx, esp
push eax
mov dword [edx], esi
mov dword [edx + 4], edi
mov dword [edx + 8], ebx
mov dword [edx + 0xc], ebp
call dword [ecx + 0xb4]
mov eax, dword [esp + 0x14]
test eax, eax
jne 0x4b116a
push 0x80004003
call fcn.004cf728
mov eax, dword [esp + 0x10]
lea ecx, [esp + 0xc0]
push eax
push ecx
mov ecx, dword [esp + 0x1c]
call fcn.0040f7f0
lea ecx, [esp + 0xc0]
call fcn.00404a80
lea edx, [esp + 0x7c]
mov byte [esp + 0xdc], 0x1e
push edx
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
test eax, eax
jge 0x4b11a9
push eax
call fcn.004cf728
push ecx
mov dword [esp + 0x2c], esp
mov esi, esp
push 0xc
call sub.MFC42.DLL_operatornew
add esp, 4
mov dword [esp + 0x38], eax
test eax, eax
mov byte [esp + 0xe0], 0x26
je 0x4b11d8
push 0x523dac
mov ecx, eax
call fcn.00409380
jmp 0x4b11da
xor eax, eax
test eax, eax
mov byte [esp + 0xe0], 0x1e
mov dword [esi], eax
jne 0x4b11f2
push 0x8007000e
call fcn.004cf728
mov ecx, dword [esp + 0x24]
lea eax, [esp + 0xcc]
push eax
mov byte [esp + 0xe4], 0x1e
call fcn.00447640
mov ecx, eax
call fcn.0040f940
mov ecx, dword [eax]
push ecx
lea ecx, [esp + 0x14]
call fcn.00440850
lea ecx, [esp + 0xc8]
call fcn.00404a80
mov eax, dword [esp + 0x10]
test eax, eax
je 0x4b1332
lea edx, [esp + 0x9c]
push edx
call dword [sym.imp.OLEAUT32.dll_VariantClear]
mov esi, dword [esp + 0x24]
lea eax, [esp + 0x9c]
push eax
mov byte [esp + 0xe0], 0x28
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
test eax, eax
jge 0x4b1268
push eax
call fcn.004cf728
push esi
mov word [esp + 0xa0], 8
call fcn.004cf7d5
test eax, eax
mov dword [esp + 0xa4], eax
jne 0x4b1298
test esi, esi
je 0x4b1298
push 0x8007000e
call fcn.004cf728
mov eax, dword [esp + 0xa4]
mov esi, dword [esp + 0x9c]
mov edi, dword [esp + 0xa0]
mov ebp, dword [esp + 0xa8]
mov ebx, eax
mov eax, dword [esp + 0x10]
test eax, eax
jne 0x4b12c5
push 0x80004003
call fcn.004cf728
mov eax, dword [esp + 0x10]
sub esp, 0x10
mov ecx, dword [eax]
mov edx, esp
push eax
mov dword [edx], esi
mov dword [edx + 4], edi
mov dword [edx + 8], ebx
mov dword [edx + 0xc], ebp
call dword [ecx + 0xb4]
mov eax, dword [esp + 0x14]
test eax, eax
jne 0x4b12f0
push 0x80004003
call fcn.004cf728
mov eax, dword [esp + 0x10]
lea ecx, [esp + 0xd0]
push eax
push ecx
mov ecx, dword [esp + 0x1c]
call fcn.0040f7f0
lea ecx, [esp + 0xd0]
call fcn.00404a80
lea edx, [esp + 0x9c]
mov byte [esp + 0xdc], 0x1e
push edx
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
test eax, eax
jge 0x4b1332
push eax
call fcn.004cf728
push ecx
mov dword [esp + 0x2c], esp
mov esi, esp
push 0xc
call sub.MFC42.DLL_operatornew
add esp, 4
mov dword [esp + 0x38], eax
test eax, eax
mov byte [esp + 0xe0], 0x29
je 0x4b1361
push 0x523d98
mov ecx, eax
call fcn.00409380
jmp 0x4b1363
xor eax, eax
test eax, eax
mov byte [esp + 0xe0], 0x1e
mov dword [esi], eax
jne 0x4b137b
push 0x8007000e
call fcn.004cf728
mov ecx, dword [esp + 0x24]
lea eax, [esp + 0x68]
push eax
mov byte [esp + 0xe4], 0x1e
call fcn.00447640
mov ecx, eax
call fcn.0040f940
mov ecx, dword [eax]
push ecx
lea ecx, [esp + 0x14]
call fcn.00440850
lea ecx, [esp + 0x64]
call fcn.00404a80
mov eax, dword [esp + 0x10]
test eax, eax
je 0x4b149d
lea edx, [esp + 0x38]
push edx
call dword [sym.imp.OLEAUT32.dll_VariantClear]
mov esi, dword [esp + 0x5c]
lea eax, [esp + 0x38]
push eax
mov byte [esp + 0xe0], 0x2b
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
test eax, eax
jge 0x4b13e5
push eax
call fcn.004cf728
push esi
mov word [esp + 0x3c], 8
call fcn.004cf7d5
test eax, eax
mov dword [esp + 0x40], eax
jne 0x4b140c
test esi, esi
je 0x4b140c
push 0x8007000e
call fcn.004cf728
mov eax, dword [esp + 0x40]
mov esi, dword [esp + 0x38]
mov edi, dword [esp + 0x3c]
mov ebx, dword [esp + 0x44]
mov ebp, eax
mov eax, dword [esp + 0x10]
test eax, eax
jne 0x4b1430
push 0x80004003
call fcn.004cf728
mov eax, dword [esp + 0x10]
sub esp, 0x10
mov ecx, dword [eax]
mov edx, esp
push eax
mov dword [edx], esi
mov dword [edx + 4], edi
mov dword [edx + 8], ebp
mov dword [edx + 0xc], ebx
call dword [ecx + 0xb4]
mov eax, dword [esp + 0x14]
test eax, eax
jne 0x4b145b
push 0x80004003
call fcn.004cf728
mov eax, dword [esp + 0x10]
lea ecx, [esp + 0x4c]
push eax
push ecx
mov ecx, dword [esp + 0x1c]
call fcn.0040f7f0
mov eax, dword [esp + 0x4c]
test eax, eax
je 0x4b147c
mov edx, dword [eax]
push eax
call dword [edx + 8]
lea eax, [esp + 0x38]
mov byte [esp + 0xdc], 0x1e
push eax
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
test eax, eax
jge 0x4b1499
push eax
call fcn.004cf728
mov eax, dword [esp + 0x10]
test eax, eax
mov byte [esp + 0xdc], 0x1b
je 0x4b14af
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [esp + 0x14]
mov byte [esp + 0xdc], 0x18
test eax, eax
je 0x4b14c5
mov edx, dword [eax]
push eax
call dword [edx + 8]
mov eax, dword [esp + 0x18]
mov byte [esp + 0xdc], 0x17
test eax, eax
je 0x4b14db
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [esp + 0x30]
test eax, eax
mov byte [esp + 0xdc], 0x16
je 0x4b14f1
mov edx, dword [eax]
push eax
call dword [edx + 8]
inc dword [esp + 0x1c]
jmp 0x4b0be6
mov eax, dword [esp + 0x2c]
mov byte [esp + 0xdc], 0x13
test eax, eax
je 0x4b1510
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
lea ecx, [esp + 0x5c]
mov byte [esp + 0xdc], 0x12
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x24]
mov byte [esp + 0xdc], 0x11
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x50]
mov byte [esp + 0xdc], 0x10
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x48]
mov byte [esp + 0xdc], 0xf
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x60]
mov byte [esp + 0xdc], 0
call sub.MFC42.DLL_CString::CString
mov edi, dword [esp + 0x68]
mov eax, dword [esp + 0x54]
inc eax
mov ecx, dword [edi + 0x140]
mov dword [esp + 0x54], eax
cmp eax, ecx
jl 0x4b0ace
mov esi, dword [esp + 0x58]
push 0xc
call sub.MFC42.DLL_operatornew
add esp, 4
mov dword [esp + 0x28], eax
test eax, eax
mov byte [esp + 0xdc], 0x2c
je 0x4b15aa
push esi
mov ecx, eax
call fcn.00409380
mov edi, eax
jmp 0x4b15ac
xor edi, edi
test edi, edi
mov byte [esp + 0xdc], 0
mov dword [esp + 0x28], edi
jne 0x4b15c6
push 0x8007000e
call fcn.004cf728
mov bl, 0x2d
mov word [esp + 0x38], 8
test edi, edi
mov byte [esp + 0xdc], bl
je 0x4b15de
mov esi, dword [edi]
jmp 0x4b15e0
xor esi, esi
push esi
call dword [sym.imp.OLEAUT32.dll_SysAllocStringByteLen]
push eax
push esi
call dword [sym.imp.OLEAUT32.dll_DllRegisterServer]
test eax, eax
mov dword [esp + 0x40], eax
jne 0x4b1601
push 0x8007000e
call fcn.004cf728
mov esi, dword [esp + 0x20]
mov byte [esp + 0xdc], 0x2e
cmp dword [esi], 0
jne 0x4b161c
push 0x80004003
call fcn.004cf728
mov ecx, dword [esp + 0x38]
sub esp, 0x10
mov esi, dword [esi]
mov eax, esp
push esi
mov edx, dword [esi]
mov dword [eax], ecx
mov ecx, dword [esp + 0x50]
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x54]
mov dword [eax + 8], ecx
mov ecx, dword [esp + 0x58]
mov dword [eax + 0xc], ecx
call dword [edx + 0x108]
test eax, eax
jge 0x4b1657
push 0x518788
push esi
push eax
call fcn.004cf736
lea edx, [esp + 0x38]
mov byte [esp + 0xdc], bl
push edx
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
test eax, eax
jge 0x4b1673
push eax
call fcn.004cf728
test edi, edi
mov byte [esp + 0xdc], 0
je 0x4b1696
lea eax, [edi + 8]
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jne 0x4b1696
push 1
mov ecx, edi
call fcn.0042c8b0
lea ecx, [esp + 0x58]
mov dword [esp + 0xdc], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov eax, 1
mov ecx, dword [esp + 0xd4]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0xd0
ret