Function at 0x4a9220
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x4bfb0e
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push ebx
push ebp
push esi
mov esi, ecx
push edi
xor ebx, ebx
lea edi, [esi + 8]
push ebx
mov ecx, edi
mov dword [esp + 0x18], esi
mov dword [esi + 4], ebx
call fcn.0044cf20
push ebx
lea ecx, [esi + 0xc]
mov dword [esp + 0x24], ebx
call fcn.0044cf20
mov ecx, 0x11
mov eax, 0xa
mov dword [esi + 0x10], 1
mov dword [esi + 0x14], vtable.CMap_class_VString__char_const___class_VMenuToolbarItem___class_VMenuToolbarItem__.0
mov dword [esi + 0x18], ebx
mov dword [esi + 0x1c], ecx
mov dword [esi + 0x20], ebx
mov dword [esi + 0x24], ebx
mov dword [esi + 0x28], ebx
mov dword [esi + 0x2c], eax
mov dword [esi + 0x30], vtable.CMap_class_VString__char_const___struct_AcceleratorRep___struct_AcceleratorRep__.0
mov dword [esi + 0x34], ebx
mov dword [esi + 0x38], ecx
mov dword [esi + 0x3c], ebx
mov dword [esi + 0x40], ebx
mov dword [esi + 0x44], ebx
mov dword [esi + 0x48], eax
mov dword [esi + 0x4c], vtable.CMap_class_VString__char_const___class_VString__char_const__.0
mov dword [esi + 0x50], ebx
mov dword [esi + 0x54], ecx
mov dword [esi + 0x58], ebx
mov dword [esi + 0x5c], ebx
mov dword [esi + 0x60], ebx
mov dword [esi + 0x64], eax
lea ecx, [esi + 0x68]
mov byte [esp + 0x20], 4
call fcn.0044f800
push ebx
push 2
push 3
lea ecx, [esi + 0xac]
mov byte [esp + 0x2c], 5
call fcn.004a8a70
lea ecx, [esi + 0xc0]
push ebx
mov byte [esp + 0x24], 6
call fcn.0044cf20
mov ecx, edi
mov byte [esp + 0x20], 7
mov dword [esi], vtable.VMenuToolbarRep.0
call fcn.0044d930
cmp dword [esi + 0x18], ebx
je 0x4a934d
mov ecx, dword [esi + 0x1c]
xor eax, eax
cmp ecx, ebx
mov dword [esp + 0x10], eax
jbe 0x4a934d
mov ecx, dword [esi + 0x18]
mov ebp, dword [ecx + eax*4]
cmp ebp, ebx
je 0x4a9341
jmp 0x4a9320
xor ebx, ebx
lea edi, [ebp + 8]
mov ecx, edi
call fcn.0044d0c0
add edi, 4
mov edx, ebx
dec ebx
test edx, edx
jne 0x4a9323
mov ebp, dword [ebp]
test ebp, ebp
jne 0x4a931e
mov eax, dword [esp + 0x10]
xor ebx, ebx
mov ecx, dword [esi + 0x1c]
inc eax
cmp eax, ecx
mov dword [esp + 0x10], eax
jb 0x4a9312
mov eax, dword [esi + 0x18]
push eax
call sub.MFC42.DLL_operatordelete
mov ecx, dword [esi + 0x28]
add esp, 4
mov dword [esi + 0x18], ebx
mov dword [esi + 0x20], ebx
mov dword [esi + 0x24], ebx
call sub.MFC42.DLL_CPlex::FreeDataChain
mov dword [esi + 0x28], ebx
mov eax, dword [esi + 0x34]
cmp eax, ebx
je 0x4a93bc
mov ecx, dword [esi + 0x38]
xor eax, eax
cmp ecx, ebx
mov dword [esp + 0x10], eax
jbe 0x4a93bc
mov ecx, dword [esi + 0x34]
mov ebp, dword [ecx + eax*4]
cmp ebp, ebx
je 0x4a93b0
jmp 0x4a938f
xor ebx, ebx
lea edi, [ebp + 8]
mov ecx, edi
call fcn.0044d0c0
add edi, 4
mov edx, ebx
dec ebx
test edx, edx
jne 0x4a9392
mov ebp, dword [ebp]
test ebp, ebp
jne 0x4a938d
mov eax, dword [esp + 0x10]
xor ebx, ebx
mov ecx, dword [esi + 0x38]
inc eax
cmp eax, ecx
mov dword [esp + 0x10], eax
jb 0x4a9381
mov eax, dword [esi + 0x34]
push eax
call sub.MFC42.DLL_operatordelete
mov ecx, dword [esi + 0x44]
add esp, 4
mov dword [esi + 0x34], ebx
mov dword [esi + 0x3c], ebx
mov dword [esi + 0x40], ebx
call sub.MFC42.DLL_CPlex::FreeDataChain
lea ecx, [esi + 0x4c]
mov dword [esi + 0x44], ebx
call fcn.004aa130
lea ecx, [esi + 0xc0]
call fcn.0044d930
mov ecx, dword [esp + 0x18]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x14
ret