Function at 0x4e77d0
Capabilities:
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5407c8
mov eax, dword fs:[0]
push eax
sub esp, 0x40
push ebx
push esi
push edi
mov eax, dword [0x583184]
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.004e73f0
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.004de510
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.004e0230
test al, al
je 0x4e79dc
mov ecx, dword [ebp - 0x10]
cmp edi, ecx
je 0x4e78ae
cmp dword [ebx - 0x14], 8
mov eax, ecx
jb 0x4e78a3
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 0x4e78cb
cmp dword [ebx + 4], 8
lea eax, [ebx - 0x10]
jb 0x4e78c3
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 0x4e78e6
cmp dword [ebx + 0x1c], 8
jb 0x4e78dd
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 0x4e7901
cmp dword [ebx + 0x34], 8
jb 0x4e78f8
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 0x4e791c
cmp dword [ebx + 0x4c], 8
jb 0x4e7913
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 0x4e793c
cmp dword [ebx + 0x64], 8
jb 0x4e792e
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 0x4e7b2a
mov esi, dword [ebp - 0x34]
jmp 0x4e7880
mov ecx, dword [ebp - 0x28]
cmp edi, ecx
je 0x4e79f8
cmp dword [esi - 0x14], 8
mov eax, ecx
jb 0x4e79ed
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 0x4e7a15
cmp dword [esi + 4], 8
lea eax, [esi - 0x10]
jb 0x4e7a0d
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 0x4e7a30
cmp dword [esi + 0x1c], 8
jb 0x4e7a27
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 0x4e7a4b
cmp dword [esi + 0x34], 8
jb 0x4e7a42
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 0x4e7a66
cmp dword [esi + 0x4c], 8
jb 0x4e7a5d
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 0x4e7a86
cmp dword [esi + 0x64], 8
jb 0x4e7a78
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 0x4e7b3d
mov eax, dword [ebp - 0x10]
jmp 0x4e7880
mov esi, dword [ebp - 0x3c]
mov edx, esi
mov ecx, dword [ebp - 0x28]
push edi
call fcn.004dcf20
add esp, 4
jmp 0x4e7b57
mov edx, dword [ebp - 0x38]
push ecx
mov ecx, dword [ebp - 0x10]
push edi
call fcn.004dcf20
add esp, 4
mov ecx, eax
call fcn.004de510
mov esi, dword [ebp - 0x3c]
mov dword [ebp - 4], 0xffffffff
mov ebx, dword [ebp - 0x44]
cmp ebx, esi
je 0x4e7b77
push ecx
mov ecx, ebx
call fcn.004dd1c0
add ebx, 0x3f4
cmp ebx, esi
jne 0x4e7b65
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret