Function at 0x43c9a0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x5708db
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
push ebx
push esi
push edi
mov edi, dword [esp + 0x28]
xor ebx, ebx
mov dword [esp + 0xc], ebx
lea ecx, [edi + 0x3c]
mov dword [edi], vtable.CApplication.0
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT_9]
mov dword [esp + 0x20], ebx
mov dword [edi + 0x44], ebx
call fcn.00440d90
mov dword [edi + 0x50], eax
mov byte [eax + 0x15], 1
mov eax, dword [edi + 0x50]
mov dword [eax + 4], eax
mov eax, dword [edi + 0x50]
mov dword [eax], eax
mov eax, dword [edi + 0x50]
mov dword [eax + 8], eax
mov dword [edi + 0x54], ebx
mov byte [esp + 0x20], 1
push ebx
mov dword [edi + 0x5c], ebx
call dword [sym.imp.ole32.dll_CoInitialize]
push ebx
mov dword [0x68c9b4], edi
mov byte [edi + 0x38], bl
mov dword [edi + 0x30], ebx
mov dword [edi + 0x40], ebx
mov dword [edi + 8], ebx
mov byte [edi + 0x28], bl
mov byte [edi + 0x58], bl
mov byte [edi + 0x2a], bl
mov dword [edi + 0x2c], 1
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push 0x98
mov dword [edi + 0x48], eax
call sub.MFC71.DLL_operator_new_1
add esp, 4
mov dword [esp + 0x10], eax
cmp eax, ebx
mov byte [esp + 0x20], 2
je 0x43ca58
push eax
call fcn.00462800
jmp 0x43ca5a
xor eax, eax
mov byte [esp + 0x20], 1
push 0x14
mov dword [edi + 0xc], eax
call sub.MFC71.DLL_operator_new_1
add esp, 4
mov dword [esp + 0x10], eax
cmp eax, ebx
mov byte [esp + 0x20], 3
je 0x43ca81
push eax
call fcn.004d1940
jmp 0x43ca83
xor eax, eax
mov byte [esp + 0x20], 1
push 0xc
mov dword [edi + 4], eax
call sub.MFC71.DLL_operator_new_1
mov esi, eax
add esp, 4
mov dword [esp + 0x10], esi
cmp esi, ebx
mov byte [esp + 0x20], 4
je 0x43cac6
call fcn.00468f80
mov dword [esi + 4], eax
mov byte [eax + 0x15], 1
mov eax, dword [esi + 4]
mov dword [eax + 4], eax
mov eax, dword [esi + 4]
mov dword [eax], eax
mov eax, dword [esi + 4]
mov dword [eax + 8], eax
mov dword [esi + 8], ebx
jmp 0x43cac8
xor esi, esi
push ebp
mov byte [esp + 0x24], 1
push 0xc
mov dword [edi + 0x20], esi
call sub.MFC71.DLL_operator_new_1
mov esi, eax
add esp, 4
mov dword [esp + 0x18], esi
cmp esi, ebx
je 0x43cb16
lea ecx, [esp + 0x14]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT_9]
mov byte [esp + 0x24], 6
mov ebp, dword [edi + 4]
push eax
mov ecx, esi
mov dword [esp + 0x14], 1
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT_10]
lea ecx, [esi + 8]
mov dword [esi + 4], ebp
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT_9]
jmp 0x43cb18
xor esi, esi
mov dword [esp + 0x24], 1
test byte [esp + 0x10], 1
mov dword [edi + 0x24], esi
je 0x43cb34
lea ecx, [esp + 0x14]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT_1]
push 0x1d8
call sub.MFC71.DLL_operator_new_1
add esp, 4
mov dword [esp + 0x18], eax
cmp eax, ebx
mov byte [esp + 0x24], 8
je 0x43cb56
push eax
call fcn.0045f250
jmp 0x43cb58
xor eax, eax
mov byte [esp + 0x24], 1
push 0x14
mov dword [edi + 0x34], eax
call sub.MFC71.DLL_operator_new_1
mov esi, eax
add esp, 4
mov dword [esp + 0x18], esi
cmp esi, ebx
mov byte [esp + 0x24], 9
je 0x43cb90
call fcn.0044a260
mov dword [esi + 8], eax
mov dword [esi + 0xc], ebx
mov dword [esi], vtable.CPaperStockList.0
mov byte [esi + 0x10], 1
jmp 0x43cb92
xor esi, esi
mov byte [esp + 0x24], 1
push 0x14
mov dword [edi + 0x10], esi
call sub.MFC71.DLL_operator_new_1
add esp, 4
mov dword [esp + 0x18], eax
cmp eax, ebx
mov byte [esp + 0x24], 0xa
je 0x43cbbe
push eax
mov edx, 5
call fcn.00401b50
jmp 0x43cbc0
xor eax, eax
mov byte [esp + 0x24], 1
push 0x34
mov dword [edi + 0x14], eax
call sub.MFC71.DLL_operator_new_1
add esp, 4
cmp eax, ebx
je 0x43cbe2
mov ecx, 1
call fcn.0049b540
jmp 0x43cbe4
xor eax, eax
mov ecx, dword [edi + 0x14]
mov esi, dword [ecx + 8]
add ecx, 4
cmp esi, ebx
mov dword [esp + 0x14], eax
jne 0x43cbf9
xor ebp, ebp
jmp 0x43cc01
mov ebp, dword [ecx + 8]
sub ebp, esi
sar ebp, 2
cmp esi, ebx
je 0x43cc1e
mov edx, dword [ecx + 0xc]
sub edx, esi
sar edx, 2
cmp ebp, edx
jae 0x43cc1e
mov edx, dword [ecx + 8]
mov dword [edx], eax
add edx, 4
mov dword [ecx + 8], edx
jmp 0x43cc31
mov eax, dword [ecx + 8]
push eax
push ecx
lea eax, [esp + 0x1c]
mov ecx, 1
call fcn.00440830
push 0x34
call sub.MFC71.DLL_operator_new_1
add esp, 4
cmp eax, ebx
je 0x43cc4b
mov ecx, 1
call fcn.0049bcc0
jmp 0x43cc4d
xor eax, eax
mov ecx, dword [edi + 0x14]
mov esi, dword [ecx + 8]
add ecx, 4
cmp esi, ebx
mov dword [esp + 0x14], eax
jne 0x43cc62
xor ebp, ebp
jmp 0x43cc6a
mov ebp, dword [ecx + 8]
sub ebp, esi
sar ebp, 2
cmp esi, ebx
je 0x43cc87
mov edx, dword [ecx + 0xc]
sub edx, esi
sar edx, 2
cmp ebp, edx
jae 0x43cc87
mov edx, dword [ecx + 8]
mov dword [edx], eax
add edx, 4
mov dword [ecx + 8], edx
jmp 0x43cc9a
mov eax, dword [ecx + 8]
push eax
push ecx
lea eax, [esp + 0x1c]
mov ecx, 1
call fcn.00440830
push 0x14
call sub.MFC71.DLL_operator_new_1
add esp, 4
mov dword [esp + 0x18], eax
cmp eax, ebx
mov byte [esp + 0x24], 0xb
je 0x43ccbe
push eax
mov edx, 5
call fcn.00401b50
jmp 0x43ccc0
xor eax, eax
mov byte [esp + 0x24], 1
push 0x34
mov dword [edi + 0x18], eax
call sub.MFC71.DLL_operator_new_1
add esp, 4
cmp eax, ebx
je 0x43cce2
mov ecx, 1
call fcn.0049b540
jmp 0x43cce4
xor eax, eax
mov ecx, dword [edi + 0x18]
mov esi, dword [ecx + 8]
add ecx, 4
cmp esi, ebx
mov dword [esp + 0x14], eax
jne 0x43ccf9
xor ebp, ebp
jmp 0x43cd01
mov ebp, dword [ecx + 8]
sub ebp, esi
sar ebp, 2
cmp esi, ebx
je 0x43cd1e
mov edx, dword [ecx + 0xc]
sub edx, esi
sar edx, 2
cmp ebp, edx
jae 0x43cd1e
mov edx, dword [ecx + 8]
mov dword [edx], eax
add edx, 4
mov dword [ecx + 8], edx
jmp 0x43cd31
mov eax, dword [ecx + 8]
push eax
push ecx
lea eax, [esp + 0x1c]
mov ecx, 1
call fcn.00440830
push 0x34
call sub.MFC71.DLL_operator_new_1
add esp, 4
cmp eax, ebx
je 0x43cd4b
mov ecx, 1
call fcn.0049bcc0
jmp 0x43cd4d
xor eax, eax
mov ecx, dword [edi + 0x18]
mov esi, dword [ecx + 8]
add ecx, 4
cmp esi, ebx
mov dword [esp + 0x14], eax
jne 0x43cd62
xor ebp, ebp
jmp 0x43cd6a
mov ebp, dword [ecx + 8]
sub ebp, esi
sar ebp, 2
cmp esi, ebx
je 0x43cd87
mov edx, dword [ecx + 0xc]
sub edx, esi
sar edx, 2
cmp ebp, edx
jae 0x43cd87
mov edx, dword [ecx + 8]
mov dword [edx], eax
add edx, 4
mov dword [ecx + 8], edx
jmp 0x43cd9a
mov eax, dword [ecx + 8]
push eax
push ecx
lea eax, [esp + 0x1c]
mov ecx, 1
call fcn.00440830
push 0x78
call sub.MFC71.DLL_operator_new_1
add esp, 4
mov dword [esp + 0x18], eax
cmp eax, ebx
mov byte [esp + 0x24], 0xc
je 0x43cdbb
push 1
push eax
call fcn.004a79c0
jmp 0x43cdbd
xor eax, eax
mov byte [esp + 0x24], 1
mov ecx, dword [edi + 0x18]
mov edx, dword [ecx + 8]
add ecx, 4
cmp edx, ebx
mov dword [esp + 0x14], eax
jne 0x43cdd7
xor ebp, ebp
jmp 0x43cddf
mov ebp, dword [ecx + 8]
sub ebp, edx
sar ebp, 2
cmp edx, ebx
je 0x43cdfc
mov esi, dword [ecx + 0xc]
sub esi, edx
sar esi, 2
cmp ebp, esi
jae 0x43cdfc
mov edx, dword [ecx + 8]
mov dword [edx], eax
add edx, 4
mov dword [ecx + 8], edx
jmp 0x43ce0f
mov eax, dword [ecx + 8]
push eax
push ecx
lea eax, [esp + 0x1c]
mov ecx, 1
call fcn.00440830
push 0x78
call sub.MFC71.DLL_operator_new_1
add esp, 4
mov dword [esp + 0x18], eax
cmp eax, ebx
mov byte [esp + 0x24], 0xd
je 0x43ce30
push 1
push eax
call fcn.004bb6a0
jmp 0x43ce32
xor eax, eax
mov byte [esp + 0x24], 1
mov ecx, dword [edi + 0x18]
mov edx, dword [ecx + 8]
add ecx, 4
cmp edx, ebx
mov dword [esp + 0x14], eax
jne 0x43ce4c
xor ebp, ebp
jmp 0x43ce54
mov ebp, dword [ecx + 8]
sub ebp, edx
sar ebp, 2
cmp edx, ebx
je 0x43ce71
mov esi, dword [ecx + 0xc]
sub esi, edx
sar esi, 2
cmp ebp, esi
jae 0x43ce71
mov edx, dword [ecx + 8]
mov dword [edx], eax
add edx, 4
mov dword [ecx + 8], edx
jmp 0x43ce84
mov eax, dword [ecx + 8]
push eax
push ecx
lea eax, [esp + 0x1c]
mov ecx, 1
call fcn.00440830
push 0x14
call sub.MFC71.DLL_operator_new_1
add esp, 4
mov dword [esp + 0x18], eax
cmp eax, ebx
mov byte [esp + 0x24], 0xe
je 0x43cea8
push eax
mov edx, 5
call fcn.00401b50
jmp 0x43ceaa
xor eax, eax
mov byte [esp + 0x24], 1
push 0x34
mov dword [edi + 0x1c], eax
call sub.MFC71.DLL_operator_new_1
add esp, 4
cmp eax, ebx
je 0x43cf3a
mov dword [eax + 4], 0x588e64
mov dword [eax + 0x30], vtable.CSerializable.0
mov ecx, dword [eax + 4]
mov dword [eax], vtable.CProperty.0
mov edx, dword [ecx + 4]
mov dword [edx + eax + 4], vtable.CProperty.1.0
mov ecx, dword [eax + 4]
mov dword [eax + 8], 0x6c
mov dword [eax + 0xc], ebx
mov dword [eax], vtable.CPenProperty.1.0
mov edx, dword [ecx + 4]
mov dword [edx + eax + 4], vtable.CPenProperty.0
mov ecx, dword [eax + 4]
mov ecx, dword [ecx + 4]
lea edx, [ecx - 0x2c]
mov dword [ecx + eax], edx
mov dword [eax + 0x24], ebx
mov dword [eax + 0x20], vtable.CPen.0
lea ecx, [eax + 0x10]
xor edx, edx
mov esi, ecx
mov dword [esi], edx
mov dword [esi + 4], edx
mov dword [esi + 8], edx
mov dword [esi + 0xc], edx
mov dword [eax + 0x1c], ebx
mov dword [ecx], ebx
mov dword [eax + 0x14], ebx
mov byte [eax + 0x28], 1
mov byte [eax + 0x29], 1
jmp 0x43cf3c
xor eax, eax
mov ecx, dword [edi + 0x1c]
mov esi, dword [ecx + 8]
add ecx, 4
cmp esi, ebx
mov dword [esp + 0x14], eax
jne 0x43cf51
xor ebp, ebp
jmp 0x43cf59
mov ebp, dword [ecx + 8]
sub ebp, esi
sar ebp, 2
cmp esi, ebx
je 0x43cf76
mov edx, dword [ecx + 0xc]
sub edx, esi
sar edx, 2
cmp ebp, edx
jae 0x43cf76
mov edx, dword [ecx + 8]
mov dword [edx], eax
add edx, 4
mov dword [ecx + 8], edx
jmp 0x43cf89
mov eax, dword [ecx + 8]
push eax
push ecx
lea eax, [esp + 0x1c]
mov ecx, 1
call fcn.00440830
push 0x34
call sub.MFC71.DLL_operator_new_1
add esp, 4
cmp eax, ebx
je 0x43d011
mov dword [eax + 4], 0x588ee0
mov dword [eax + 0x30], vtable.CSerializable.0
mov ecx, dword [eax + 4]
mov dword [eax], vtable.CProperty.0
mov edx, dword [ecx + 4]
mov dword [edx + eax + 4], vtable.CProperty.1.0
mov ecx, dword [eax + 4]
mov dword [eax + 8], 0x69
mov dword [eax + 0xc], ebx
mov dword [eax], vtable.CBrushProperty.1.0
mov edx, dword [ecx + 4]
mov dword [edx + eax + 4], vtable.CBrushProperty.0
mov ecx, dword [eax + 4]
mov ecx, dword [ecx + 4]
lea edx, [ecx - 0x2c]
mov dword [ecx + eax], edx
mov byte [eax + 0x20], bl
mov dword [eax + 0x28], ebx
mov dword [eax + 0x24], vtable.CBrush.0
lea ecx, [eax + 0x10]
xor edx, edx
mov esi, ecx
mov dword [esi], edx
mov dword [esi + 4], edx
mov dword [esi + 8], edx
mov dword [eax + 0x14], 0xffffff
mov dword [ecx], 1
mov dword [eax + 0x1c], ebx
jmp 0x43d013
xor eax, eax
mov ecx, dword [edi + 0x1c]
mov esi, dword [ecx + 8]
add ecx, 4
cmp esi, ebx
mov dword [esp + 0x14], eax
jne 0x43d028
xor ebp, ebp
jmp 0x43d030
mov ebp, dword [ecx + 8]
sub ebp, esi
sar ebp, 2
cmp esi, ebx
je 0x43d04d
mov edx, dword [ecx + 0xc]
sub edx, esi
sar edx, 2
cmp ebp, edx
jae 0x43d04d
mov edx, dword [ecx + 8]
mov dword [edx], eax
add edx, 4
mov dword [ecx + 8], edx
jmp 0x43d060
mov eax, dword [ecx + 8]
push eax
push ecx
lea eax, [esp + 0x1c]
mov ecx, 1
call fcn.00440830
push 0x70
call sub.MFC71.DLL_operator_new_1
add esp, 4
mov dword [esp + 0x18], eax
cmp eax, ebx
mov byte [esp + 0x24], 0xf
je 0x43d081
push 1
push eax
call fcn.004d91a0
jmp 0x43d083
xor eax, eax
mov byte [esp + 0x24], 1
mov ecx, dword [edi + 0x1c]
mov edx, dword [ecx + 8]
add ecx, 4
cmp edx, ebx
mov dword [esp + 0x14], eax
jne 0x43d09d
xor ebp, ebp
jmp 0x43d0a5
mov ebp, dword [ecx + 8]
sub ebp, edx
sar ebp, 2
cmp edx, ebx
je 0x43d0c2
mov esi, dword [ecx + 0xc]
sub esi, edx
sar esi, 2
cmp ebp, esi
jae 0x43d0c2
mov edx, dword [ecx + 8]
mov dword [edx], eax
add edx, 4
mov dword [ecx + 8], edx
jmp 0x43d0d5
mov eax, dword [ecx + 8]
push eax
push ecx
lea eax, [esp + 0x1c]
mov ecx, 1
call fcn.00440830
push 0x70
call sub.MFC71.DLL_operator_new_1
add esp, 4
mov dword [esp + 0x18], eax
cmp eax, ebx
mov byte [esp + 0x24], 0x10
je 0x43d0f6
push 1
push eax
call fcn.004d9aa0
jmp 0x43d0f8
xor eax, eax
mov byte [esp + 0x24], 1
mov ecx, dword [edi + 0x1c]
mov edx, dword [ecx + 8]
add ecx, 4
cmp edx, ebx
mov dword [esp + 0x14], eax
jne 0x43d112
xor ebp, ebp
jmp 0x43d11a
mov ebp, dword [ecx + 8]
sub ebp, edx
sar ebp, 2
cmp edx, ebx
je 0x43d137
mov esi, dword [ecx + 0xc]
sub esi, edx
sar esi, 2
cmp ebp, esi
jae 0x43d137
mov edx, dword [ecx + 8]
mov dword [edx], eax
add edx, 4
mov dword [ecx + 8], edx
jmp 0x43d14a
mov eax, dword [ecx + 8]
push eax
push ecx
lea eax, [esp + 0x1c]
mov ecx, 1
call fcn.00440830
push 0x24
call sub.MFC71.DLL_operator_new_1
add esp, 4
mov dword [esp + 0x18], eax
cmp eax, ebx
mov byte [esp + 0x24], 0x11
pop ebp
je 0x43d16b
mov esi, eax
call fcn.004a9b90
jmp 0x43d16d
xor eax, eax
mov byte [esp + 0x20], 1
mov dword [edi + 8], eax
mov byte [edi + 0x29], bl
call fcn.0043d3d0
mov ecx, dword [esp + 0x18]
mov eax, 0x352
mov dword [edi + 0x64], eax
mov dword [edi + 0x60], eax
mov eax, edi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x18
ret 4