Function at 0x4034a0
Capabilities:
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x57ad8d
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
push edi
mov eax, dword [0x5d4090]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0x1c], ebx
push 0x29
mov dword [ebp - 4], 1
call fcn.0047cac0
mov eax, dword [ebp + 0x38]
sub esp, 0x18
mov byte [ebp - 4], 2
mov ecx, esp
mov dword [ebx + 0x20], eax
mov eax, dword [ebp + 0x44]
mov dword [ebx + 0x1c], eax
lea eax, [ebp + 8]
push eax
mov dword [ebx], vtable.CmvChemEquil.0
call fcn.00402f10
mov ecx, dword [ebx + 0x1c]
call fcn.0043d6b0
sub esp, 0x18
mov dword [ebx + 0x24], eax
lea eax, [ebp + 0x20]
mov ecx, esp
push eax
call fcn.00402f10
mov ecx, dword [ebx + 0x1c]
call fcn.0043d6b0
cmp dword [ebx + 0x24], 0xffffffff
mov dword [ebx + 0x28], eax
mov eax, dword [ebp + 0x3c]
mov dword [ebx + 0x2c], eax
mov eax, dword [ebp + 0x40]
mov dword [ebx + 0x30], eax
jne 0x403547
mov edx, 1
mov ecx, str.CmvChemEquil_constructor:_invalid_constituent_name_in_:Equilibrium_command
call fcn.004c4d70
cmp dword [ebx + 0x28], 0xffffffff
jne 0x40355c
mov edx, 1
mov ecx, str.CmvChemEquil_constructor:_invalid_constituent_name_in_:Equilibrium_command
call fcn.004c4d70
cmp dword [ebx + 0x30], 0xffffffff
jne 0x40362e
mov ecx, dword [ebx + 0x1c]
call fcn.0043d650
mov esi, eax
mov ecx, ebx
mov dword [ebp - 0x10], esi
lea eax, [esi + esi]
push eax
call fcn.0047cfe0
xor edi, edi
mov dword [ebp - 0x18], edi
test esi, esi
jle 0x4036a9
lea eax, [esi*4]
mov dword [ebp - 0x14], eax
mov ecx, dword [ebx + 0x1c]
push edi
call fcn.0043da00
mov ecx, dword [ebx + 0x1c]
mov esi, eax
push esi
push dword [ebx + 0x24]
call fcn.0043cb60
mov ecx, dword [ebx + 0x1c]
mov edi, eax
push esi
push dword [ebx + 0x28]
call fcn.0043cb60
mov ecx, dword [0x5d8004]
mov esi, eax
push edi
push 0x2b
mov edx, dword [ecx]
call dword [edx + 8]
mov ecx, dword [ebx + 8]
mov edi, dword [ebp - 0x18]
mov dword [ecx + edi*4], eax
mov ecx, dword [0x5d8004]
push dword [ebx + 0x24]
push 0x2e
mov eax, dword [ecx]
call dword [eax + 8]
mov ecx, dword [ebx + 0xc]
mov dword [ecx + edi*4], eax
mov ecx, dword [0x5d8004]
push dword [ebx + 0x24]
push 0x2c
mov eax, dword [ecx]
call dword [eax + 8]
mov ecx, dword [ebx + 8]
mov edx, dword [ebp - 0x14]
push esi
push 0x2b
mov dword [edx + ecx], eax
mov ecx, dword [0x5d8004]
mov eax, dword [ecx]
call dword [eax + 8]
mov edx, dword [ebp - 0x14]
inc edi
mov ecx, dword [ebx + 0xc]
mov dword [ebp - 0x18], edi
mov dword [edx + ecx], eax
add edx, 4
mov dword [ebp - 0x14], edx
cmp edi, dword [ebp - 0x10]
jl 0x403595
jmp 0x4036a9
push 2
mov ecx, ebx
call fcn.0047cfe0
push dword [ebx + 0x30]
mov ecx, dword [ebx + 0x1c]
push dword [ebx + 0x24]
call fcn.0043cb60
push dword [ebx + 0x30]
mov ecx, dword [ebx + 0x1c]
mov esi, eax
push dword [ebx + 0x28]
call fcn.0043cb60
mov ecx, dword [0x5d8004]
mov edi, eax
push esi
push 0x2b
mov edx, dword [ecx]
call dword [edx + 8]
mov ecx, dword [ebx + 8]
mov dword [ecx], eax
mov ecx, dword [0x5d8004]
push dword [ebx + 0x24]
push 0x2c
mov eax, dword [ecx]
call dword [eax + 8]
mov ecx, dword [ebx + 0xc]
mov dword [ecx], eax
mov ecx, dword [0x5d8004]
push dword [ebx + 0x24]
push 0x2e
mov eax, dword [ecx]
call dword [eax + 8]
mov ecx, dword [ebx + 8]
push edi
push 0x2b
mov dword [ecx + 4], eax
mov ecx, dword [0x5d8004]
mov eax, dword [ecx]
call dword [eax + 8]
mov ecx, dword [ebx + 0xc]
mov dword [ecx + 4], eax
mov ecx, dword [ebp + 0x1c]
cmp ecx, 0x10
jb 0x4036d9
mov edx, dword [ebp + 8]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4036cf
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x403731
push ecx
push edx
call fcn.0051faa7
add esp, 8
mov ecx, dword [ebp + 0x34]
mov dword [ebp + 0x18], 0
mov dword [ebp + 0x1c], 0xf
mov byte [ebp + 8], 0
cmp ecx, 0x10
jb 0x40371b
mov edx, dword [ebp + 0x20]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x403711
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x403731
push ecx
push edx
call fcn.0051faa7
add esp, 8
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x40
call fcn.0052eb21
int3