Function at 0x4e7af0
Capabilities:
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x540658
mov eax, dword fs:[0]
push eax
sub esp, 0x40
push ebx
push esi
push edi
mov eax, dword [0x582184]
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.004e7710
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.004de830
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.004e0550
test al, al
je 0x4e7cfc
mov ecx, dword [ebp - 0x10]
cmp edi, ecx
je 0x4e7bce
cmp dword [ebx - 0x14], 8
mov eax, ecx
jb 0x4e7bc3
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 0x4e7beb
cmp dword [ebx + 4], 8
lea eax, [ebx - 0x10]
jb 0x4e7be3
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 0x4e7c06
cmp dword [ebx + 0x1c], 8
jb 0x4e7bfd
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 0x4e7c21
cmp dword [ebx + 0x34], 8
jb 0x4e7c18
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 0x4e7c3c
cmp dword [ebx + 0x4c], 8
jb 0x4e7c33
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 0x4e7c5c
cmp dword [ebx + 0x64], 8
jb 0x4e7c4e
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 0x4e7e4a
mov esi, dword [ebp - 0x34]
jmp 0x4e7ba0
mov ecx, dword [ebp - 0x28]
cmp edi, ecx
je 0x4e7d18
cmp dword [esi - 0x14], 8
mov eax, ecx
jb 0x4e7d0d
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 0x4e7d35
cmp dword [esi + 4], 8
lea eax, [esi - 0x10]
jb 0x4e7d2d
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 0x4e7d50
cmp dword [esi + 0x1c], 8
jb 0x4e7d47
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 0x4e7d6b
cmp dword [esi + 0x34], 8
jb 0x4e7d62
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 0x4e7d86
cmp dword [esi + 0x4c], 8
jb 0x4e7d7d
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 0x4e7da6
cmp dword [esi + 0x64], 8
jb 0x4e7d98
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 0x4e7e5d
mov eax, dword [ebp - 0x10]
jmp 0x4e7ba0
mov esi, dword [ebp - 0x3c]
mov edx, esi
mov ecx, dword [ebp - 0x28]
push edi
call fcn.004dd240
add esp, 4
jmp 0x4e7e77
mov edx, dword [ebp - 0x38]
push ecx
mov ecx, dword [ebp - 0x10]
push edi
call fcn.004dd240
add esp, 4
mov ecx, eax
call fcn.004de830
mov esi, dword [ebp - 0x3c]
mov dword [ebp - 4], 0xffffffff
mov ebx, dword [ebp - 0x44]
cmp ebx, esi
je 0x4e7e97
push ecx
mov ecx, ebx
call fcn.004dd4e0
add ebx, 0x3f4
cmp ebx, esi
jne 0x4e7e85
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret