Function at 0x4d2b90
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
push 0xffffffffffffffff
push 0x52cf68
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x18
push ebx
push ebp
mov ebp, ecx
push esi
push edi
mov dword [esp + 0x24], ebp
lea ecx, [ebp + 0x58]
mov dword [ebp], 0x568d08
call fcn.004d01b0
xor ebx, ebx
push 0x80
mov dword [esp + 0x34], ebx
mov dword [ebp + 0x1ec], 0x539e2c
call sub.MFC42.DLL_operatornew
add esp, 4
mov dword [ebp + 0x1f0], eax
mov dword [ebp + 0x1f4], ebx
mov dword [ebp + 0x1f8], 0x1f
mov dword [ebp + 0x1fc], ebx
mov dword [ebp + 0x200], 0x40
mov al, byte [esp + 0x38]
mov dl, byte [esp + 0x38]
lea ecx, [ebp + 0x270]
mov byte [esp + 0x30], 1
mov byte [ecx], al
mov byte [ecx + 1], dl
mov byte [ecx + 8], bl
call fcn.004d75d0
mov eax, dword [esp + 0x38]
mov dword [ebp + 0x1fc], 1
xor edi, edi
mov byte [esp + 0x30], 2
mov ecx, dword [eax + 0x1f4]
mov dword [esp + 0x18], edi
cmp ecx, ebx
jle 0x4d3042
jmp 0x4d2c4f
xor ebx, ebx
cmp edi, dword [eax + 0x1f4]
jge 0x4d2c6a
cmp edi, ebx
jl 0x4d2c6a
mov eax, dword [eax + 0x1f0]
mov ecx, dword [eax + edi*4]
mov dword [esp + 0x14], ecx
jmp 0x4d2c6e
mov dword [esp + 0x14], ebx
push 0x1c
call sub.MFC42.DLL_operatornew
mov esi, eax
add esp, 4
mov dword [esp + 0x20], esi
cmp esi, ebx
mov byte [esp + 0x30], 3
je 0x4d2cbb
push 0x80
mov dword [esi], 0x539e30
call sub.MFC42.DLL_operatornew
add esp, 4
mov dword [esi + 4], eax
mov dword [esi + 8], ebx
mov dword [esi + 0xc], 0x1f
mov dword [esi + 0x14], 0x40
mov dword [esi + 0x10], 1
mov dword [esp + 0x10], esi
jmp 0x4d2cbf
mov dword [esp + 0x10], ebx
mov eax, dword [esp + 0x10]
mov byte [esp + 0x30], 2
cmp eax, ebx
je 0x4d2fc1
mov edx, dword [esp + 0x14]
xor ecx, ecx
mov dword [esp + 0x1c], ecx
mov eax, dword [edx + 8]
cmp eax, ebx
jle 0x4d2f09
jmp 0x4d2ceb
mov ecx, dword [esp + 0x1c]
cmp ecx, eax
jge 0x4d2cff
test ecx, ecx
jl 0x4d2cff
mov eax, dword [esp + 0x14]
mov edx, dword [eax + 4]
mov esi, dword [edx + ecx*4]
jmp 0x4d2d01
xor esi, esi
push 0x3c
call sub.MFC42.DLL_operatornew
mov ebx, eax
add esp, 4
mov dword [esp + 0x20], ebx
xor edi, edi
mov byte [esp + 0x30], 4
cmp ebx, edi
je 0x4d2d36
mov al, byte [esp + 0x38]
lea ecx, [ebx + 0x28]
mov dword [ebx], edi
mov dword [ebx + 4], edi
push edi
mov byte [ecx], al
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Tidy_bool_]
mov dword [ebx + 0x38], edi
jmp 0x4d2d38
xor ebx, ebx
test ebx, ebx
mov byte [esp + 0x30], 2
je 0x4d2e82
mov ecx, dword [esi + 4]
mov dword [ebx + 4], ecx
mov edx, dword [esi + 8]
mov dword [ebx + 8], edx
mov eax, dword [esi + 0xc]
mov dword [ebx + 0xc], eax
mov ecx, dword [esi + 0x10]
mov dword [ebx + 0x10], ecx
mov edx, dword [esi + 0x14]
lea eax, [esi + 0x18]
mov dword [ebx + 0x14], edx
lea ecx, [ebx + 0x18]
mov edx, dword [eax]
mov dword [ecx], edx
mov edx, dword [eax + 4]
mov dword [ecx + 4], edx
mov edx, dword [eax + 8]
mov dword [ecx + 8], edx
mov eax, dword [eax + 0xc]
mov dword [ecx + 0xc], eax
mov ecx, dword [sym.imp.MSVCP60.dll_unsigned_int_const_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::npos]
lea eax, [esi + 0x28]
mov edx, dword [ecx]
lea ecx, [ebx + 0x28]
push edx
push 0
push eax
call dword [sym.imp.MSVCP60.dll_public:_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char______thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::assign_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const___unsigned_int__unsigned_int_]
mov ecx, dword [esi + 0x38]
push 0x78
mov dword [ebx + 0x38], ecx
call sub.MFC42.DLL_operatornew
mov edi, eax
add esp, 4
mov dword [esp + 0x20], edi
test edi, edi
mov byte [esp + 0x30], 5
je 0x4d2ddf
mov esi, dword [esi]
mov ecx, dword [esi]
test ecx, ecx
je 0x4d2dd1
mov edx, dword [ecx]
push 0
call dword [edx + 0x10]
push eax
mov ecx, edi
call fcn.004ded00
mov esi, eax
jmp 0x4d2de1
xor eax, eax
mov ecx, edi
push eax
call fcn.004ded00
mov esi, eax
jmp 0x4d2de1
xor esi, esi
mov ecx, esi
mov byte [esp + 0x30], 2
call fcn.004e1360
mov dword [ebx], esi
mov esi, dword [esp + 0x10]
mov eax, dword [esi + 0xc]
mov edx, dword [esi + 8]
lea ecx, [eax + 1]
cmp edx, ecx
jne 0x4d2e55
mov edx, dword [esi + 0x14]
add edx, eax
lea eax, [edx*4 + 4]
push eax
call sub.MFC42.DLL_operatornew
mov ecx, dword [esi + 0xc]
mov esi, dword [esi + 4]
mov edi, eax
mov dword [esp + 0x24], eax
lea ecx, [ecx*4 + 4]
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov esi, dword [esp + 0x14]
mov eax, dword [esi + 4]
push eax
call sub.MFC42.DLL_operatordelete
mov edx, dword [esi + 0x14]
mov eax, dword [esi + 0xc]
mov ecx, dword [esp + 0x28]
add esp, 8
add eax, edx
mov dword [esi + 4], ecx
mov dword [esi + 0xc], eax
mov eax, dword [esi + 8]
mov ecx, dword [esi + 4]
mov edx, dword [esp + 0x14]
mov dword [ecx + eax*4], ebx
mov edi, dword [esi + 8]
mov ecx, dword [esp + 0x1c]
inc edi
mov dword [esi + 8], edi
mov eax, dword [edx + 8]
inc ecx
cmp ecx, eax
mov dword [esp + 0x1c], ecx
jl 0x4d2ce7
jmp 0x4d2f05
mov eax, dword [ebp + 0x1fc]
test eax, eax
je 0x4d2ec8
mov eax, dword [ebp + 0x1f4]
xor esi, esi
test eax, eax
jle 0x4d2ec8
cmp esi, eax
jge 0x4d2ebd
test esi, esi
jl 0x4d2ebd
mov eax, dword [ebp + 0x1f0]
mov edi, dword [eax + esi*4]
test edi, edi
je 0x4d2ebd
mov ecx, edi
call fcn.004d7a10
push edi
call sub.MFC42.DLL_operatordelete
add esp, 4
mov eax, dword [ebp + 0x1f4]
inc esi
cmp esi, eax
jl 0x4d2e9c
mov ecx, dword [ebp + 0x1f0]
push ecx
call sub.MFC42.DLL_operatordelete
push 0x80
call sub.MFC42.DLL_operatornew
add esp, 8
mov dword [ebp + 0x1f0], eax
mov dword [ebp + 0x1f4], 0
mov dword [ebp + 0x1f8], 0x1f
mov dword [ebp + 0x200], 0x40
mov edi, dword [esp + 0x18]
mov eax, dword [ebp + 0x1f8]
mov ecx, dword [ebp + 0x1f4]
lea edx, [eax + 1]
cmp ecx, edx
jne 0x4d2f81
add eax, dword [ebp + 0x200]
lea eax, [eax*4 + 4]
push eax
call sub.MFC42.DLL_operatornew
mov ecx, dword [ebp + 0x1f8]
mov esi, dword [ebp + 0x1f0]
mov ebx, eax
lea ecx, [ecx*4 + 4]
mov edi, ebx
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [ebp + 0x1f0]
push eax
call sub.MFC42.DLL_operatordelete
mov ecx, dword [ebp + 0x200]
mov eax, dword [ebp + 0x1f8]
mov edi, dword [esp + 0x20]
add esp, 8
add eax, ecx
mov dword [ebp + 0x1f0], ebx
mov dword [ebp + 0x1f8], eax
mov edx, dword [ebp + 0x1f4]
mov eax, dword [ebp + 0x1f0]
mov ecx, dword [esp + 0x10]
mov dword [eax + edx*4], ecx
mov edx, dword [ebp + 0x1f4]
inc edx
inc edi
mov dword [ebp + 0x1f4], edx
mov edx, dword [esp + 0x38]
mov dword [esp + 0x18], edi
mov eax, dword [edx + 0x1f4]
cmp edi, eax
mov eax, edx
jl 0x4d2c4d
xor ebx, ebx
jmp 0x4d3042
cmp dword [ebp + 0x1fc], ebx
je 0x4d3005
mov eax, dword [ebp + 0x1f4]
xor esi, esi
cmp eax, ebx
jle 0x4d3005
cmp esi, eax
jge 0x4d2ffa
cmp esi, ebx
jl 0x4d2ffa
mov eax, dword [ebp + 0x1f0]
mov edi, dword [eax + esi*4]
cmp edi, ebx
je 0x4d2ffa
mov ecx, edi
call fcn.004d7a10
push edi
call sub.MFC42.DLL_operatordelete
add esp, 4
mov eax, dword [ebp + 0x1f4]
inc esi
cmp esi, eax
jl 0x4d2fd9
mov ecx, dword [ebp + 0x1f0]
push ecx
call sub.MFC42.DLL_operatordelete
push 0x80
call sub.MFC42.DLL_operatornew
mov dword [ebp + 0x1f0], eax
mov eax, dword [esp + 0x40]
add esp, 8
mov dword [ebp + 0x1f4], ebx
mov dword [ebp + 0x1f8], 0x1f
mov dword [ebp + 0x200], 0x40
mov dword [ebp + 4], ebx
mov edx, dword [eax + 0x58]
lea ebx, [eax + 0x58]
mov dword [ebp + 0x58], edx
lea edi, [ebp + 0x8c]
mov eax, dword [ebx + 4]
lea esi, [ebx + 0x34]
mov dword [ebp + 0x5c], eax
mov ecx, dword [ebx + 8]
mov dword [ebp + 0x60], ecx
mov edx, dword [ebx + 0xc]
mov dword [ebp + 0x64], edx
mov ax, word [ebx + 0x10]
mov word [ebp + 0x68], ax
mov cl, byte [ebx + 0x12]
mov byte [ebp + 0x6a], cl
mov dl, byte [ebx + 0x13]
mov byte [ebp + 0x6b], dl
mov al, byte [ebx + 0x14]
mov byte [ebp + 0x6c], al
mov cl, byte [ebx + 0x15]
mov byte [ebp + 0x6d], cl
mov edx, dword [ebx + 0x18]
mov dword [ebp + 0x70], edx
mov eax, dword [ebx + 0x1c]
mov dword [ebp + 0x74], eax
mov ecx, dword [ebx + 0x20]
mov dword [ebp + 0x78], ecx
mov dx, word [ebx + 0x24]
mov word [ebp + 0x7c], dx
mov ax, word [ebx + 0x26]
mov word [ebp + 0x7e], ax
mov ecx, dword [ebx + 0x28]
mov dword [ebp + 0x80], ecx
mov edx, dword [ebx + 0x2c]
mov dword [ebp + 0x84], edx
mov al, byte [ebx + 0x30]
mov byte [ebp + 0x88], al
mov cl, byte [ebx + 0x31]
mov byte [ebp + 0x89], cl
mov dl, byte [ebx + 0x32]
mov byte [ebp + 0x8a], dl
mov al, byte [ebx + 0x33]
mov byte [ebp + 0x8b], al
mov ecx, 0xf
lea eax, [ebp + 0x58]
rep movsd dword es:[edi], dword [esi]
lea esi, [ebx + 0x70]
lea edi, [eax + 0x70]
mov ecx, 0xf
rep movsd dword es:[edi], dword [esi]
lea esi, [ebx + 0xac]
lea edi, [eax + 0xac]
mov ecx, 0xf
rep movsd dword es:[edi], dword [esi]
mov cl, byte [ebx + 0xe8]
mov esi, ebx
mov byte [eax + 0xe8], cl
mov dl, byte [ebx + 0xe9]
mov byte [eax + 0xe9], dl
mov cl, byte [ebx + 0xea]
mov edi, 0xffffff15
mov byte [eax + 0xea], cl
sub esi, eax
lea ecx, [eax + 0xeb]
sub edi, eax
mov dl, byte [esi + ecx]
mov byte [ecx], dl
inc ecx
lea eax, [edi + ecx]
cmp eax, 0x40
jb 0x4d3140
mov ecx, dword [ebx + 0x12c]
xor esi, esi
mov dword [ebp + 0x184], ecx
mov edx, dword [ebx + 0x130]
mov dword [ebp + 0x188], edx
mov eax, dword [sym.imp.MSVCP60.dll_unsigned_int_const_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::npos]
lea edx, [ebx + 0x134]
mov ecx, dword [eax]
push ecx
push esi
push edx
lea ecx, [ebp + 0x18c]
call dword [sym.imp.MSVCP60.dll_public:_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char______thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::assign_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const___unsigned_int__unsigned_int_]
mov eax, dword [sym.imp.MSVCP60.dll_unsigned_int_const_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::npos]
lea edx, [ebx + 0x144]
mov ecx, dword [eax]
push ecx
push esi
push edx
lea ecx, [ebp + 0x19c]
call dword [sym.imp.MSVCP60.dll_public:_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char______thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::assign_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const___unsigned_int__unsigned_int_]
mov eax, dword [sym.imp.MSVCP60.dll_unsigned_int_const_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::npos]
lea edx, [ebx + 0x154]
mov ecx, dword [eax]
push ecx
push esi
push edx
lea ecx, [ebp + 0x1ac]
call dword [sym.imp.MSVCP60.dll_public:_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char______thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::assign_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const___unsigned_int__unsigned_int_]
mov eax, dword [ebx + 0x164]
mov dword [ebp + 0x1bc], eax
mov ecx, dword [ebx + 0x168]
mov eax, dword [esp + 0x38]
mov dword [ebp + 0x1c0], ecx
mov edx, dword [ebx + 0x16c]
mov dword [ebp + 0x1c4], edx
mov dword [ebp + 0x184], esi
mov ecx, dword [eax + 8]
mov dword [ebp + 8], ecx
mov edx, dword [eax + 0xc]
lea ecx, [eax + 0x14]
mov dword [ebp + 0xc], edx
lea edx, [ebp + 0x14]
mov edi, dword [ecx]
mov dword [edx], edi
mov edi, dword [ecx + 4]
mov dword [edx + 4], edi
mov edi, dword [ecx + 8]
mov dword [edx + 8], edi
mov ecx, dword [ecx + 0xc]
mov dword [edx + 0xc], ecx
mov edx, dword [eax + 0x28]
mov dword [ebp + 0x28], edx
mov ecx, dword [eax + 0x2c]
mov dword [ebp + 0x2c], ecx
mov edx, dword [eax + 0x208]
mov dword [ebp + 0x208], edx
mov ecx, dword [eax + 0x30]
mov dword [ebp + 0x30], ecx
mov edx, dword [eax + 0x34]
mov dword [ebp + 0x34], edx
mov ecx, dword [eax + 0x54]
mov dword [ebp + 0x54], ecx
mov edx, dword [eax + 0x260]
mov dword [ebp + 0x260], edx
mov dword [ebp + 0x240], esi
mov dword [ebp + 0x244], esi
mov dword [ebp + 0x248], esi
mov ecx, dword [eax + 0x38]
mov dword [ebp + 0x38], ecx
mov edx, dword [eax + 0x3c]
mov dword [ebp + 0x3c], edx
mov dword [ebp + 0x210], esi
mov dword [ebp + 0x214], esi
mov dword [ebp + 0x218], esi
mov dword [ebp + 0x50], esi
mov dword [ebp + 0x4c], esi
mov dword [ebp + 0x40], esi
mov dword [ebp + 0x44], esi
mov ecx, dword [eax + 0x21c]
mov dword [ebp + 0x21c], ecx
mov edx, dword [eax + 0x220]
mov dword [ebp + 0x220], edx
mov ecx, dword [eax + 0x224]
mov dword [ebp + 0x224], ecx
mov edx, dword [eax + 0x1c8]
mov dword [ebp + 0x1c8], edx
mov ecx, dword [eax + 0x10]
mov dword [ebp + 0x10], ecx
mov edx, dword [eax + 0x1d4]
mov dword [ebp + 0x1d4], edx
mov ecx, dword [eax + 0x1d8]
mov dword [ebp + 0x1d8], ecx
mov edx, dword [eax + 0x1dc]
mov dword [ebp + 0x1dc], edx
mov ecx, dword [eax + 0x1e0]
mov dword [ebp + 0x1e0], ecx
mov edx, dword [eax + 0x1e4]
mov dword [ebp + 0x1e4], edx
mov ecx, dword [eax + 0x1e8]
mov dword [ebp + 0x1e8], ecx
mov edx, dword [eax + 0x1cc]
mov dword [ebp + 0x1cc], edx
mov ecx, dword [eax + 0x1d0]
mov dword [ebp + 0x1d0], ecx
mov edx, dword [eax + 0x250]
mov dword [ebp + 0x250], edx
mov ecx, dword [eax + 0x24c]
mov dword [ebp + 0x24c], ecx
mov edx, dword [eax + 0x254]
mov dword [ebp + 0x254], edx
mov ecx, dword [eax + 0x258]
mov dword [ebp + 0x258], ecx
mov edx, dword [eax + 0x25c]
mov dword [ebp + 0x25c], edx
mov ecx, dword [eax + 0x264]
mov dword [ebp + 0x264], ecx
mov edx, dword [eax + 0x268]
mov dword [ebp + 0x268], edx
mov ecx, dword [eax + 0x26c]
mov dword [ebp + 0x26c], ecx
mov edx, dword [eax + 0x228]
mov dword [ebp + 0x228], edx
mov ecx, dword [eax + 0x22c]
mov dword [ebp + 0x22c], ecx
mov edx, dword [eax + 0x230]
mov dword [ebp + 0x230], edx
mov ecx, dword [eax + 0x234]
mov dword [ebp + 0x234], ecx
mov edx, dword [eax + 0x23c]
mov dword [ebp + 0x23c], edx
mov eax, dword [eax + 0x238]
mov ecx, ebp
mov dword [ebp + 0x238], eax
call fcn.004d6a50
mov ecx, dword [esp + 0x28]
pop edi
mov eax, ebp
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x24
ret 4