Function at 0x4e9c40
Capabilities:
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x542918
mov eax, dword fs:[0]
push eax
sub esp, 0x40
push ebx
push esi
push edi
mov eax, dword [0x585184]
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.004e9860
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.004e0980
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.004e26a0
test al, al
je 0x4e9e4c
mov ecx, dword [ebp - 0x10]
cmp edi, ecx
je 0x4e9d1e
cmp dword [ebx - 0x14], 8
mov eax, ecx
jb 0x4e9d13
mov eax, dword [ecx]
push dword [ebx - 0x18]
mov ecx, edi
push eax
call fcn.00404420
mov ecx, dword [ebp - 0x14]
lea eax, [ebx - 0x10]
cmp ecx, eax
je 0x4e9d3b
cmp dword [ebx + 4], 8
lea eax, [ebx - 0x10]
jb 0x4e9d33
mov eax, dword [eax]
push dword [ebx]
push eax
call fcn.00404420
mov ecx, dword [ebp - 0x18]
lea eax, [ebx + 8]
cmp ecx, eax
je 0x4e9d56
cmp dword [ebx + 0x1c], 8
jb 0x4e9d4d
mov eax, dword [eax]
push dword [ebx + 0x18]
push eax
call fcn.00404420
mov ecx, dword [ebp - 0x1c]
lea eax, [ebx + 0x20]
cmp ecx, eax
je 0x4e9d71
cmp dword [ebx + 0x34], 8
jb 0x4e9d68
mov eax, dword [eax]
push dword [ebx + 0x30]
push eax
call fcn.00404420
mov ecx, dword [ebp - 0x20]
lea eax, [ebx + 0x38]
cmp ecx, eax
je 0x4e9d8c
cmp dword [ebx + 0x4c], 8
jb 0x4e9d83
mov eax, dword [eax]
push dword [ebx + 0x48]
push eax
call fcn.00404420
mov edx, dword [ebp - 0x24]
lea eax, [ebx + 0x50]
cmp edx, eax
je 0x4e9dac
cmp dword [ebx + 0x64], 8
jb 0x4e9d9e
mov eax, dword [eax]
push dword [ebx + 0x60]
mov ecx, edx
push eax
call fcn.00404420
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 0x4e9f9a
mov esi, dword [ebp - 0x34]
jmp 0x4e9cf0
mov ecx, dword [ebp - 0x28]
cmp edi, ecx
je 0x4e9e68
cmp dword [esi - 0x14], 8
mov eax, ecx
jb 0x4e9e5d
mov eax, dword [ecx]
push dword [esi - 0x18]
mov ecx, edi
push eax
call fcn.00404420
mov ecx, dword [ebp - 0x14]
lea eax, [esi - 0x10]
cmp ecx, eax
je 0x4e9e85
cmp dword [esi + 4], 8
lea eax, [esi - 0x10]
jb 0x4e9e7d
mov eax, dword [eax]
push dword [esi]
push eax
call fcn.00404420
mov ecx, dword [ebp - 0x18]
lea eax, [esi + 8]
cmp ecx, eax
je 0x4e9ea0
cmp dword [esi + 0x1c], 8
jb 0x4e9e97
mov eax, dword [eax]
push dword [esi + 0x18]
push eax
call fcn.00404420
mov ecx, dword [ebp - 0x1c]
lea eax, [esi + 0x20]
cmp ecx, eax
je 0x4e9ebb
cmp dword [esi + 0x34], 8
jb 0x4e9eb2
mov eax, dword [eax]
push dword [esi + 0x30]
push eax
call fcn.00404420
mov ecx, dword [ebp - 0x20]
lea eax, [esi + 0x38]
cmp ecx, eax
je 0x4e9ed6
cmp dword [esi + 0x4c], 8
jb 0x4e9ecd
mov eax, dword [eax]
push dword [esi + 0x48]
push eax
call fcn.00404420
mov edx, dword [ebp - 0x24]
lea eax, [esi + 0x50]
cmp edx, eax
je 0x4e9ef6
cmp dword [esi + 0x64], 8
jb 0x4e9ee8
mov eax, dword [eax]
push dword [esi + 0x60]
mov ecx, edx
push eax
call fcn.00404420
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 0x4e9fad
mov eax, dword [ebp - 0x10]
jmp 0x4e9cf0
mov esi, dword [ebp - 0x3c]
mov edx, esi
mov ecx, dword [ebp - 0x28]
push edi
call fcn.004df390
add esp, 4
jmp 0x4e9fc7
mov edx, dword [ebp - 0x38]
push ecx
mov ecx, dword [ebp - 0x10]
push edi
call fcn.004df390
add esp, 4
mov ecx, eax
call fcn.004e0980
mov esi, dword [ebp - 0x3c]
mov dword [ebp - 4], 0xffffffff
mov ebx, dword [ebp - 0x44]
cmp ebx, esi
je 0x4e9fe7
push ecx
mov ecx, ebx
call fcn.004df630
add ebx, 0x3f4
cmp ebx, esi
jne 0x4e9fd5
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret