Function at 0x4e3170
Capabilities:
Get process heap flags
Get process heap force flags

Disassembly:
push 0xffffffffffffffff
push 0x512d18
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push ebx
push ebp
push esi
push edi
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::CString_3
mov ebx, dword [esp + 0x2c]
push 0xffffffffffffffff
mov ecx, ebx
mov dword [esp + 0x24], 0
mov esi, dword [ebx + 8]
lea eax, [esi + 1]
push eax
call fcn.0045bf60
mov ecx, dword [ebx + 4]
mov ebp, dword [esp + 0x28]
lea eax, [esp + 0x10]
mov dword [ecx + esi*4], 1
mov edx, dword [ebp]
push edx
push 0x5417f0
push eax
call sub.MFC42.DLL_CString::Format
add esp, 8
lea edx, [esp + 0x14]
mov ecx, esp
mov dword [esp + 0x30], esp
push edx
call sub.MFC42.DLL_CString::CString_2
mov esi, dword [esp + 0x34]
mov ecx, esi
call fcn.00415d90
mov edi, dword [ebx + 8]
push 0xffffffffffffffff
mov ecx, ebx
lea eax, [edi + 1]
push eax
call fcn.0045bf60
mov ecx, dword [ebx + 4]
lea eax, [esp + 0x10]
mov dword [ecx + edi*4], 2
mov edx, dword [ebp + 4]
push edx
push 0x5417f0
push eax
call sub.MFC42.DLL_CString::Format
add esp, 8
lea edx, [esp + 0x14]
mov ecx, esp
mov dword [esp + 0x30], esp
push edx
call sub.MFC42.DLL_CString::CString_2
mov ecx, esi
call fcn.00415d90
mov edi, dword [ebx + 8]
push 0xffffffffffffffff
mov ecx, ebx
lea eax, [edi + 1]
push eax
call fcn.0045bf60
mov ecx, dword [ebx + 4]
lea edx, [ebp + 8]
push ecx
mov dword [ecx + edi*4], 3
mov ecx, esp
mov dword [esp + 0x30], esp
push edx
call sub.MFC42.DLL_CString::CString_1
mov ecx, esi
call fcn.00415d90
mov edi, dword [ebx + 8]
push 0xffffffffffffffff
mov ecx, ebx
lea eax, [edi + 1]
push eax
call fcn.0045bf60
mov ecx, dword [ebx + 4]
lea edx, [ebp + 0x49]
push ecx
mov dword [ecx + edi*4], 4
mov ecx, esp
mov dword [esp + 0x30], esp
push edx
call sub.MFC42.DLL_CString::CString_1
mov ecx, esi
call fcn.00415d90
mov edi, dword [ebx + 8]
push 0xffffffffffffffff
mov ecx, ebx
lea eax, [edi + 1]
push eax
call fcn.0045bf60
mov ecx, dword [ebx + 4]
lea edx, [ebp + 0x6a]
push ecx
mov dword [ecx + edi*4], 5
mov ecx, esp
mov dword [esp + 0x30], esp
push edx
call sub.MFC42.DLL_CString::CString_1
mov ecx, esi
call fcn.00415d90
mov edi, dword [ebx + 8]
push 0xffffffffffffffff
mov ecx, ebx
lea eax, [edi + 1]
push eax
call fcn.0045bf60
mov ecx, dword [ebx + 4]
lea edx, [ebp + 0x8b]
push ecx
mov dword [ecx + edi*4], 6
mov ecx, esp
mov dword [esp + 0x30], esp
push edx
call sub.MFC42.DLL_CString::CString_1
mov ecx, esi
call fcn.00415d90
mov edi, dword [ebx + 8]
push 0xffffffffffffffff
mov ecx, ebx
lea eax, [edi + 1]
push eax
call fcn.0045bf60
mov ecx, dword [ebx + 4]
lea edx, [ebp + 0x8d]
push ecx
mov dword [ecx + edi*4], 7
mov ecx, esp
mov dword [esp + 0x30], esp
push edx
call sub.MFC42.DLL_CString::CString_1
mov ecx, esi
call fcn.00415d90
mov edi, dword [ebx + 8]
push 0xffffffffffffffff
mov ecx, ebx
lea eax, [edi + 1]
push eax
call fcn.0045bf60
mov ecx, dword [ebx + 4]
lea edx, [ebp + 0xc0]
push ecx
mov dword [ecx + edi*4], 8
mov ecx, esp
mov dword [esp + 0x30], esp
push edx
call sub.MFC42.DLL_CString::CString_1
mov ecx, esi
call fcn.00415d90
mov edi, dword [ebx + 8]
push 0xffffffffffffffff
mov ecx, ebx
lea eax, [edi + 1]
push eax
call fcn.0045bf60
mov ecx, dword [ebx + 4]
lea edx, [ebp + 0xf3]
push ecx
mov dword [ecx + edi*4], 9
mov ecx, esp
mov dword [esp + 0x30], esp
push edx
call sub.MFC42.DLL_CString::CString_1
mov ecx, esi
call fcn.00415d90
mov edi, dword [ebx + 8]
push 0xffffffffffffffff
mov ecx, ebx
lea eax, [edi + 1]
push eax
call fcn.0045bf60
mov ecx, dword [ebx + 4]
lea edx, [ebp + 0x450]
push ecx
mov dword [ecx + edi*4], 0xa
mov ecx, esp
mov dword [esp + 0x30], esp
push edx
call sub.MFC42.DLL_CString::CString_1
mov ecx, esi
call fcn.00415d90
mov edi, dword [ebx + 8]
push 0xffffffffffffffff
mov ecx, ebx
lea eax, [edi + 1]
push eax
call fcn.0045bf60
mov ecx, dword [ebx + 4]
lea edx, [ebp + 0x483]
push ecx
mov dword [ecx + edi*4], 0xb
mov ecx, esp
mov dword [esp + 0x30], esp
push edx
call sub.MFC42.DLL_CString::CString_1
mov ecx, esi
call fcn.00415d90
mov edi, dword [ebx + 8]
push 0xffffffffffffffff
mov ecx, ebx
lea eax, [edi + 1]
push eax
call fcn.0045bf60
mov ecx, dword [ebx + 4]
lea edx, [ebp + 0x4b6]
push ecx
mov dword [ecx + edi*4], 0xc
mov ecx, esp
mov dword [esp + 0x30], esp
push edx
call sub.MFC42.DLL_CString::CString_1
mov ecx, esi
call fcn.00415d90
mov edi, dword [ebx + 8]
push 0xffffffffffffffff
mov ecx, ebx
lea eax, [edi + 1]
push eax
call fcn.0045bf60
mov ecx, dword [ebx + 4]
lea edx, [ebp + 0x4cb]
push ecx
mov dword [ecx + edi*4], 0xd
mov ecx, esp
mov dword [esp + 0x30], esp
push edx
call sub.MFC42.DLL_CString::CString_1
mov ecx, esi
call fcn.00415d90
mov edi, dword [ebx + 8]
push 0xffffffffffffffff
mov ecx, ebx
lea eax, [edi + 1]
push eax
call fcn.0045bf60
mov ecx, dword [ebx + 4]
lea edx, [ebp + 0x4e0]
push ecx
mov dword [ecx + edi*4], 0xe
mov ecx, esp
mov dword [esp + 0x30], esp
push edx
call sub.MFC42.DLL_CString::CString_1
mov ecx, esi
call fcn.00415d90
mov edi, dword [ebx + 8]
push 0xffffffffffffffff
mov ecx, ebx
lea eax, [edi + 1]
push eax
call fcn.0045bf60
mov ecx, dword [ebx + 4]
lea edx, [ebp + 0x4f5]
push ecx
mov dword [ecx + edi*4], 0xf
mov ecx, esp
mov dword [esp + 0x30], esp
push edx
call sub.MFC42.DLL_CString::CString_1
mov ecx, esi
call fcn.00415d90
mov edi, dword [ebx + 8]
push 0xffffffffffffffff
mov ecx, ebx
lea eax, [edi + 1]
push eax
call fcn.0045bf60
mov ecx, dword [ebx + 4]
lea edx, [ebp + 0x50a]
push ecx
mov dword [ecx + edi*4], 0x10
mov ecx, esp
mov dword [esp + 0x30], esp
push edx
call sub.MFC42.DLL_CString::CString_1
mov ecx, esi
call fcn.00415d90
mov edi, dword [ebx + 8]
push 0xffffffffffffffff
mov ecx, ebx
lea eax, [edi + 1]
push eax
call fcn.0045bf60
mov ecx, dword [ebx + 4]
lea eax, [esp + 0x10]
mov dword [ecx + edi*4], 0x14
mov edx, dword [ebp + 0x128]
push edx
push 0x5417f0
push eax
call sub.MFC42.DLL_CString::Format
add esp, 8
lea edx, [esp + 0x14]
mov ecx, esp
mov dword [esp + 0x30], esp
push edx
call sub.MFC42.DLL_CString::CString_2
mov ecx, esi
call fcn.00415d90
mov edi, dword [ebx + 8]
push 0xffffffffffffffff
mov ecx, ebx
lea eax, [edi + 1]
push eax
call fcn.0045bf60
mov ecx, dword [ebx + 4]
lea edx, [ebp + 0x12c]
push ecx
mov dword [ecx + edi*4], 0x15
mov ecx, esp
mov dword [esp + 0x30], esp
push edx
call sub.MFC42.DLL_CString::CString_1
mov ecx, esi
call fcn.00415d90
mov edi, dword [ebx + 8]
push 0xffffffffffffffff
mov ecx, ebx
lea eax, [edi + 1]
push eax
call fcn.0045bf60
mov ecx, dword [ebx + 4]
push ecx
mov dword [ecx + edi*4], 0x16
lea edx, [ebp + 0x16d]
mov ecx, esp
mov dword [esp + 0x30], esp
push edx
call sub.MFC42.DLL_CString::CString_1
mov ecx, esi
call fcn.00415d90
mov edi, dword [ebx + 8]
push 0xffffffffffffffff
mov ecx, ebx
lea eax, [edi + 1]
push eax
call fcn.0045bf60
mov ecx, dword [ebx + 4]
lea edx, [ebp + 0x182]
push ecx
mov dword [ecx + edi*4], 0x17
mov ecx, esp
mov dword [esp + 0x30], esp
push edx
call sub.MFC42.DLL_CString::CString_1
mov ecx, esi
call fcn.00415d90
mov edi, dword [ebx + 8]
push 0xffffffffffffffff
mov ecx, ebx
lea eax, [edi + 1]
push eax
call fcn.0045bf60
mov ecx, dword [ebx + 4]
lea edx, [ebp + 0x187]
push ecx
mov dword [ecx + edi*4], 0x18
mov ecx, esp
mov dword [esp + 0x30], esp
push edx
call sub.MFC42.DLL_CString::CString_1
mov ecx, esi
call fcn.00415d90
mov edi, dword [ebx + 8]
push 0xffffffffffffffff
mov ecx, ebx
lea eax, [edi + 1]
push eax
call fcn.0045bf60
mov ecx, dword [ebx + 4]
lea edx, [ebp + 0x192]
push ecx
mov dword [ecx + edi*4], 0x19
mov ecx, esp
mov dword [esp + 0x30], esp
push edx
call sub.MFC42.DLL_CString::CString_1
mov ecx, esi
call fcn.00415d90
mov edi, dword [ebx + 8]
push 0xffffffffffffffff
mov ecx, ebx
lea eax, [edi + 1]
push eax
call fcn.0045bf60
mov ecx, dword [ebx + 4]
lea edx, [ebp + 0x20c]
push ecx
mov dword [ecx + edi*4], 0x1b
mov ecx, esp
mov dword [esp + 0x30], esp
push edx
call sub.MFC42.DLL_CString::CString_1
mov ecx, esi
call fcn.00415d90
mov edi, dword [ebx + 8]
push 0xffffffffffffffff
mov ecx, ebx
lea eax, [edi + 1]
push eax
call fcn.0045bf60
mov ecx, dword [ebx + 4]
mov dword [ecx + edi*4], 0x1a
push ecx
lea edx, [ebp + 0x1a7]
mov ecx, esp
mov dword [esp + 0x30], esp
push edx
call sub.MFC42.DLL_CString::CString_1
mov ecx, esi
call fcn.00415d90
mov edi, dword [ebx + 8]
push 0xffffffffffffffff
mov ecx, ebx
lea eax, [edi + 1]
push eax
call fcn.0045bf60
mov ecx, dword [ebx + 4]
lea edx, [ebp + 0x221]
push ecx
mov dword [ecx + edi*4], 0x1c
mov ecx, esp
mov dword [esp + 0x30], esp
push edx
call sub.MFC42.DLL_CString::CString_1
mov ecx, esi
call fcn.00415d90
mov edi, dword [ebx + 8]
push 0xffffffffffffffff
mov ecx, ebx
lea eax, [edi + 1]
push eax
call fcn.0045bf60
mov ecx, dword [ebx + 4]
lea edx, [ebp + 0x24a]
push ecx
mov dword [ecx + edi*4], 0x1d
mov ecx, esp
mov dword [esp + 0x30], esp
push edx
call sub.MFC42.DLL_CString::CString_1
mov ecx, esi
call fcn.00415d90
mov edi, dword [ebx + 8]
push 0xffffffffffffffff
mov ecx, ebx
lea eax, [edi + 1]
push eax
call fcn.0045bf60
mov ecx, dword [ebx + 4]
lea edx, [ebp + 0x25f]
push ecx
mov dword [ecx + edi*4], 0x1e
mov ecx, esp
mov dword [esp + 0x30], esp
push edx
call sub.MFC42.DLL_CString::CString_1
mov ecx, esi
call fcn.00415d90
mov edi, dword [ebx + 8]
push 0xffffffffffffffff
mov ecx, ebx
lea eax, [edi + 1]
push eax
call fcn.0045bf60
mov ecx, dword [ebx + 4]
lea edx, [ebp + 0x274]
push ecx
mov dword [ecx + edi*4], 0x1f
mov ecx, esp
mov dword [esp + 0x30], esp
push edx
call sub.MFC42.DLL_CString::CString_1
mov ecx, esi
call fcn.00415d90
mov edi, dword [ebx + 8]
push 0xffffffffffffffff
mov ecx, ebx
lea eax, [edi + 1]
push eax
call fcn.0045bf60
mov ecx, dword [ebx + 4]
lea edx, [ebp + 0x289]
mov dword [ecx + edi*4], 0x20
push ecx
mov ecx, esp
mov dword [esp + 0x30], esp
push edx
call sub.MFC42.DLL_CString::CString_1
mov ecx, esi
call fcn.00415d90
mov edi, dword [ebx + 8]
push 0xffffffffffffffff
mov ecx, ebx
lea eax, [edi + 1]
push eax
call fcn.0045bf60
mov ecx, dword [ebx + 4]
lea edx, [ebp + 0x29e]
push ecx
mov dword [ecx + edi*4], 0x21
mov ecx, esp
mov dword [esp + 0x30], esp
push edx
call sub.MFC42.DLL_CString::CString_1
mov ecx, esi
call fcn.00415d90
mov edi, dword [ebx + 8]
push 0xffffffffffffffff
mov ecx, ebx
lea eax, [edi + 1]
push eax
call fcn.0045bf60
mov ecx, dword [ebx + 4]
lea edx, [ebp + 0x2b3]
push ecx
mov dword [ecx + edi*4], 0x22
mov ecx, esp
mov dword [esp + 0x30], esp
push edx
call sub.MFC42.DLL_CString::CString_1
mov ecx, esi
call fcn.00415d90
mov edi, dword [ebx + 8]
push 0xffffffffffffffff
mov ecx, ebx
lea eax, [edi + 1]
push eax
call fcn.0045bf60
mov ecx, dword [ebx + 4]
lea edx, [ebp + 0x2c8]
push ecx
mov dword [ecx + edi*4], 0x23
mov ecx, esp
mov dword [esp + 0x30], esp
push edx
call sub.MFC42.DLL_CString::CString_1
mov ecx, esi
call fcn.00415d90
mov edi, dword [ebx + 8]
push 0xffffffffffffffff
mov ecx, ebx
lea eax, [edi + 1]
push eax
call fcn.0045bf60
mov ecx, dword [ebx + 4]
lea edx, [ebp + 0x2dd]
push ecx
mov dword [ecx + edi*4], 0x24
mov ecx, esp
mov dword [esp + 0x30], esp
push edx
call sub.MFC42.DLL_CString::CString_1
mov ecx, esi
call fcn.00415d90
mov edi, dword [ebx + 8]
push 0xffffffffffffffff
mov ecx, ebx
lea eax, [edi + 1]
push eax
call fcn.0045bf60
mov ecx, dword [ebx + 4]
lea edx, [ebp + 0x2f2]
push ecx
mov dword [ecx + edi*4], 0x25
mov ecx, esp
mov dword [esp + 0x30], esp
push edx
call sub.MFC42.DLL_CString::CString_1
mov ecx, esi
call fcn.00415d90
mov edi, dword [ebx + 8]
push 0xffffffffffffffff
mov ecx, ebx
lea eax, [edi + 1]
push eax
call fcn.0045bf60
mov ecx, dword [ebx + 4]
lea edx, [ebp + 0x307]
push ecx
mov dword [ecx + edi*4], 0x26
mov ecx, esp
mov dword [esp + 0x30], esp
push edx
call sub.MFC42.DLL_CString::CString_1
mov ecx, esi
call fcn.00415d90
mov edi, dword [ebx + 8]
push 0xffffffffffffffff
mov ecx, ebx
lea eax, [edi + 1]
push eax
call fcn.0045bf60
mov ecx, dword [ebx + 4]
lea edx, [ebp + 0x33a]
push ecx
mov dword [ecx + edi*4], 0x27
mov ecx, esp
mov dword [esp + 0x30], esp
push edx
call sub.MFC42.DLL_CString::CString_1
mov ecx, esi
call fcn.00415d90
mov edi, dword [ebx + 8]
push 0xffffffffffffffff
mov ecx, ebx
lea eax, [edi + 1]
push eax
call fcn.0045bf60
mov ecx, dword [ebx + 4]
lea edx, [ebp + 0x36d]
push ecx
mov dword [ecx + edi*4], 0x28
mov ecx, esp
mov dword [esp + 0x30], esp
push edx
call sub.MFC42.DLL_CString::CString_1
mov ecx, esi
call fcn.00415d90
mov edi, dword [ebx + 8]
push 0xffffffffffffffff
mov ecx, ebx
lea eax, [edi + 1]
push eax
call fcn.0045bf60
mov ecx, dword [ebx + 4]
lea edx, [ebp + 0x3a0]
push ecx
mov dword [ecx + edi*4], 0x29
mov ecx, esp
mov dword [esp + 0x30], esp
push edx
call sub.MFC42.DLL_CString::CString_1
mov ecx, esi
call fcn.00415d90
mov edi, dword [ebx + 8]
push 0xffffffffffffffff
mov ecx, ebx
lea eax, [edi + 1]
push eax
call fcn.0045bf60
mov ecx, dword [ebx + 4]
lea edx, [ebp + 0x3d3]
push ecx
mov dword [ecx + edi*4], 0x2a
mov ecx, esp
mov dword [esp + 0x30], esp
push edx
call sub.MFC42.DLL_CString::CString_1
mov ecx, esi
call fcn.00415d90
mov edi, dword [ebx + 8]
push 0xffffffffffffffff
mov ecx, ebx
lea eax, [edi + 1]
push eax
call fcn.0045bf60
mov ecx, dword [ebx + 4]
lea edx, [ebp + 0x406]
push ecx
mov dword [ecx + edi*4], 0x38
mov ecx, esp
mov dword [esp + 0x30], esp
push edx
call sub.MFC42.DLL_CString::CString_1
mov ecx, esi
call fcn.00415d90
mov edi, dword [ebx + 8]
push 0xffffffffffffffff
mov ecx, ebx
lea eax, [edi + 1]
push eax
call fcn.0045bf60
mov ecx, dword [ebx + 4]
lea edx, [ebp + 0x424]
push ecx
mov dword [ecx + edi*4], 0x2b
mov ecx, esp
mov dword [esp + 0x30], esp
push edx
call sub.MFC42.DLL_CString::CString_1
mov ecx, esi
call fcn.00415d90
mov edx, dword [ebx + 8]
mov eax, dword [ebx + 4]
mov ecx, edx
xor edi, edi
mov dword [esp + 0x2c], ecx
inc ecx
cmp ecx, edi
jne 0x4e3a5e
cmp eax, edi
je 0x4e3a53
push eax
call sub.MFC42.DLL_operatordelete
add esp, 4
mov dword [ebx + 4], edi
mov dword [ebx + 0xc], edi
mov dword [ebx + 8], edi
jmp 0x4e3b60
cmp eax, edi
jne 0x4e3a9b
lea edi, [ecx*4]
push edi
call sub.MFC42.DLL_operatornew
mov edx, eax
mov ecx, edi
mov dword [ebx + 4], edx
mov edi, edx
mov edx, ecx
xor eax, eax
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
add esp, 4
and ecx, 3
rep stosb byte es:[edi], al
mov eax, dword [esp + 0x2c]
inc eax
mov dword [ebx + 0xc], eax
mov dword [ebx + 8], eax
jmp 0x4e3b60
mov edi, dword [ebx + 0xc]
cmp ecx, edi
jg 0x4e3abe
cmp ecx, edx
jle 0x4e3aaf
sub ecx, edx
lea edi, [eax + edx*4]
xor eax, eax
rep stosd dword es:[edi], eax
mov ecx, dword [esp + 0x2c]
lea eax, [ecx + 1]
mov dword [ebx + 8], eax
jmp 0x4e3b60
mov eax, dword [ebx + 0x10]
test eax, eax
jne 0x4e3ae8
mov eax, edx
cdq
and edx, 7
add eax, edx
sar eax, 3
cmp eax, 4
jge 0x4e3adc
mov eax, 4
jmp 0x4e3ae8
cmp eax, 0x400
jle 0x4e3ae8
mov eax, 0x400
add eax, edi
cmp ecx, eax
mov dword [esp + 0x28], eax
jl 0x4e3af6
mov dword [esp + 0x28], ecx
mov edx, dword [esp + 0x28]
lea eax, [edx*4]
push eax
call sub.MFC42.DLL_operatornew
mov ecx, dword [ebx + 8]
mov esi, dword [ebx + 4]
shl ecx, 2
mov edx, ecx
mov edi, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
mov edx, dword [esp + 0x30]
and ecx, 3
add esp, 4
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [ebx + 8]
lea esi, [edx + 1]
mov edx, esi
mov dword [esp + 0x14], eax
sub edx, ecx
lea eax, [eax + ecx*4]
push edx
push eax
call fcn.004798a0
mov eax, dword [ebx + 4]
push eax
call sub.MFC42.DLL_operatordelete
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x2c]
mov dword [ebx + 8], esi
mov esi, dword [esp + 0x34]
add esp, 4
mov dword [ebx + 4], ecx
mov dword [ebx + 0xc], edx
mov eax, dword [ebx + 4]
mov ecx, dword [esp + 0x2c]
push ecx
add ebp, 0x445
mov dword [eax + ecx*4], 0x2c
mov ecx, esp
mov dword [esp + 0x34], esp
push ebp
call sub.MFC42.DLL_CString::CString_1
mov ecx, esi
call fcn.00415d90
lea ecx, [esp + 0x10]
mov dword [esp + 0x20], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x18]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x14
ret