Function at 0x4e38e0
Capabilities:
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x54bfb8
mov eax, dword fs:[0]
push eax
sub esp, 0x40
push ebx
push esi
push edi
mov eax, dword [0x592174]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, edx
mov dword [ebp - 0x10], ebx
mov edi, ecx
mov esi, dword [ebp + 0xc]
mov eax, dword [ebp + 8]
push esi
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x44], esi
call fcn.004e3500
add esp, 4
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x4c], esi
mov dword [ebp - 0x48], eax
mov dword [ebp - 4], 0
add eax, 0xfffffc0c
push ebx
mov ecx, edi
mov dword [ebp - 0x28], esi
mov dword [ebp - 0x40], eax
call fcn.004d5710
add edi, 0x3f4
mov eax, ebx
add eax, 0x3f4
mov dword [ebp - 0x2c], edi
add esi, 0x28
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x34], esi
lea ecx, [edi + 0x98]
mov dword [ebp - 0x30], ecx
lea ebx, [eax + 0x28]
lea ecx, [edi + 0x78]
mov dword [ebp - 0x24], ecx
lea ecx, [edi + 0x60]
mov dword [ebp - 0x20], ecx
lea ecx, [edi + 0x48]
mov dword [ebp - 0x1c], ecx
lea ecx, [edi + 0x30]
mov dword [ebp - 0x18], ecx
lea ecx, [edi + 0x18]
mov dword [ebp - 0x14], ecx
nop word [eax + eax]
push dword [ebp - 0x28]
mov ecx, eax
call fcn.004d7430
test al, al
je 0x4e3aec
mov ecx, dword [ebp - 0x10]
cmp edi, ecx
je 0x4e39be
cmp dword [ebx - 0x14], 8
mov eax, ecx
jb 0x4e39b3
mov eax, dword [ecx]
push dword [ebx - 0x18]
mov ecx, edi
push eax
call fcn.00418830
mov ecx, dword [ebp - 0x14]
lea eax, [ebx - 0x10]
cmp ecx, eax
je 0x4e39db
cmp dword [ebx + 4], 8
lea eax, [ebx - 0x10]
jb 0x4e39d3
mov eax, dword [eax]
push dword [ebx]
push eax
call fcn.00418830
mov ecx, dword [ebp - 0x18]
lea eax, [ebx + 8]
cmp ecx, eax
je 0x4e39f6
cmp dword [ebx + 0x1c], 8
jb 0x4e39ed
mov eax, dword [eax]
push dword [ebx + 0x18]
push eax
call fcn.00418830
mov ecx, dword [ebp - 0x1c]
lea eax, [ebx + 0x20]
cmp ecx, eax
je 0x4e3a11
cmp dword [ebx + 0x34], 8
jb 0x4e3a08
mov eax, dword [eax]
push dword [ebx + 0x30]
push eax
call fcn.00418830
mov ecx, dword [ebp - 0x20]
lea eax, [ebx + 0x38]
cmp ecx, eax
je 0x4e3a2c
cmp dword [ebx + 0x4c], 8
jb 0x4e3a23
mov eax, dword [eax]
push dword [ebx + 0x48]
push eax
call fcn.00418830
mov edx, dword [ebp - 0x24]
lea eax, [ebx + 0x50]
cmp edx, eax
je 0x4e3a4c
cmp dword [ebx + 0x64], 8
jb 0x4e3a3e
mov eax, dword [eax]
push dword [ebx + 0x60]
mov ecx, edx
push eax
call fcn.00418830
mov edx, dword [ebp - 0x24]
mov al, byte [ebx + 0x68]
lea esi, [ebx + 0x70]
mov byte [edi + 0x90], al
mov ecx, 0xd7
mov al, byte [ebx + 0x69]
add edx, 0x3f4
mov byte [edi + 0x91], al
mov al, byte [ebx + 0x6a]
add dword [ebp - 0x14], 0x3f4
add dword [ebp - 0x18], 0x3f4
add dword [ebp - 0x1c], 0x3f4
add dword [ebp - 0x20], 0x3f4
mov byte [edi + 0x92], al
mov al, byte [ebx + 0x6b]
mov byte [edi + 0x93], al
mov al, byte [ebx + 0x6c]
mov byte [edi + 0x94], al
mov al, byte [ebx + 0x6d]
add ebx, 0x3f4
mov byte [edi + 0x95], al
mov eax, dword [ebp - 0x30]
mov edi, eax
add eax, 0x3f4
mov dword [ebp - 0x24], edx
rep movsd dword es:[edi], dword [esi]
mov edi, dword [ebp - 0x2c]
mov dword [ebp - 0x30], eax
add edi, 0x3f4
mov eax, dword [ebp - 0x10]
add eax, 0x3f4
mov dword [ebp - 0x2c], edi
mov dword [ebp - 0x10], eax
cmp eax, dword [ebp - 0x38]
je 0x4e3c3a
mov esi, dword [ebp - 0x34]
jmp 0x4e3990
mov ecx, dword [ebp - 0x28]
cmp edi, ecx
je 0x4e3b08
cmp dword [esi - 0x14], 8
mov eax, ecx
jb 0x4e3afd
mov eax, dword [ecx]
push dword [esi - 0x18]
mov ecx, edi
push eax
call fcn.00418830
mov ecx, dword [ebp - 0x14]
lea eax, [esi - 0x10]
cmp ecx, eax
je 0x4e3b25
cmp dword [esi + 4], 8
lea eax, [esi - 0x10]
jb 0x4e3b1d
mov eax, dword [eax]
push dword [esi]
push eax
call fcn.00418830
mov ecx, dword [ebp - 0x18]
lea eax, [esi + 8]
cmp ecx, eax
je 0x4e3b40
cmp dword [esi + 0x1c], 8
jb 0x4e3b37
mov eax, dword [eax]
push dword [esi + 0x18]
push eax
call fcn.00418830
mov ecx, dword [ebp - 0x1c]
lea eax, [esi + 0x20]
cmp ecx, eax
je 0x4e3b5b
cmp dword [esi + 0x34], 8
jb 0x4e3b52
mov eax, dword [eax]
push dword [esi + 0x30]
push eax
call fcn.00418830
mov ecx, dword [ebp - 0x20]
lea eax, [esi + 0x38]
cmp ecx, eax
je 0x4e3b76
cmp dword [esi + 0x4c], 8
jb 0x4e3b6d
mov eax, dword [eax]
push dword [esi + 0x48]
push eax
call fcn.00418830
mov edx, dword [ebp - 0x24]
lea eax, [esi + 0x50]
cmp edx, eax
je 0x4e3b96
cmp dword [esi + 0x64], 8
jb 0x4e3b88
mov eax, dword [eax]
push dword [esi + 0x60]
mov ecx, edx
push eax
call fcn.00418830
mov edx, dword [ebp - 0x24]
mov al, byte [esi + 0x68]
mov ecx, 0xd7
mov byte [edi + 0x90], al
add edx, 0x3f4
mov al, byte [esi + 0x69]
mov byte [edi + 0x91], al
mov al, byte [esi + 0x6a]
add dword [ebp - 0x14], 0x3f4
add dword [ebp - 0x18], 0x3f4
add dword [ebp - 0x1c], 0x3f4
add dword [ebp - 0x20], 0x3f4
mov byte [edi + 0x92], al
mov al, byte [esi + 0x6b]
mov byte [edi + 0x93], al
mov al, byte [esi + 0x6c]
mov byte [edi + 0x94], al
mov al, byte [esi + 0x6d]
add esi, 0x70
mov byte [edi + 0x95], al
mov eax, dword [ebp - 0x30]
mov edi, eax
add eax, 0x3f4
mov dword [ebp - 0x24], edx
rep movsd dword es:[edi], dword [esi]
mov edi, dword [ebp - 0x2c]
mov esi, dword [ebp - 0x34]
add edi, 0x3f4
mov ecx, dword [ebp - 0x40]
add esi, 0x3f4
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x28]
add eax, 0x3f4
mov dword [ebp - 0x2c], edi
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x34], esi
cmp eax, ecx
je 0x4e3c4d
mov eax, dword [ebp - 0x10]
jmp 0x4e3990
mov esi, dword [ebp - 0x3c]
mov edx, esi
mov ecx, dword [ebp - 0x28]
push edi
call fcn.004d4120
add esp, 4
jmp 0x4e3c67
mov edx, dword [ebp - 0x38]
push ecx
mov ecx, dword [ebp - 0x10]
push edi
call fcn.004d4120
add esp, 4
mov ecx, eax
call fcn.004d5710
mov esi, dword [ebp - 0x3c]
mov dword [ebp - 4], 0xffffffff
mov ebx, dword [ebp - 0x44]
cmp ebx, esi
je 0x4e3c87
push ecx
mov ecx, ebx
call fcn.004d43c0
add ebx, 0x3f4
cmp ebx, esi
jne 0x4e3c75
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret