Function at 0x5d6140
Capabilities:
Get process heap force flags

Disassembly:
push 0xffffffffffffffff
push 0x6d1b65
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc0
push ebx
push ebp
push esi
push edi
mov eax, dword [0x720640]
mov ecx, dword [0x720644]
mov dx, word [0x720648]
mov dword [esp + 0x3c], eax
mov al, byte [0x72064a]
xor edi, edi
mov dword [esp + 0x40], ecx
lea ecx, [esp + 0x88]
mov dword [esp + 0xd8], edi
mov word [esp + 0x44], dx
mov byte [esp + 0x46], al
mov byte [esp + 0x28], 0x11
mov byte [esp + 0x29], 0x10
mov byte [esp + 0x2a], 0x22
mov byte [esp + 0x2b], 0x21
mov byte [esp + 0x2c], 0x17
mov byte [esp + 0x2d], 0x13
mov byte [esp + 0x2e], 0x16
mov byte [esp + 0x2f], 0x14
mov byte [esp + 0x30], 0x18
xor esi, esi
call fcn.0061aaa0
lea ecx, [esp + 0x24]
mov byte [esp + 0xd8], 1
call fcn.0061d780
lea ecx, [esp + 0xac]
mov byte [esp + 0xd8], 2
call fcn.005548f0
mov cl, byte [esp + 0x3b]
mov dword [esp + 0x18], edi
mov byte [esp + 0x14], cl
mov dword [esp + 0x1c], edi
mov dword [esp + 0x20], edi
push 5
lea ecx, [esp + 0xe4]
mov byte [esp + 0xdc], 4
call fcn.0061daa0
push ecx
mov bl, al
mov ecx, esp
mov dword [esp + 0x14], esp
push 6
push 0x713764
mov byte [esp + 0x40], bl
call fcn.0061d820
lea edx, [esp + 0x4c]
push edx
call fcn.0061ca80
add esp, 8
mov ecx, dword [0x6dd1fc]
mov byte [esp + 0xd8], 5
push ecx
push edi
push eax
lea ecx, [esp + 0x20]
call fcn.004136c0
mov eax, dword [esp + 0x4c]
mov byte [esp + 0xd8], 4
cmp eax, edi
je 0x5d6287
lea ecx, [eax - 1]
mov al, byte [eax - 1]
test al, al
je 0x5d627e
cmp al, 0xff
je 0x5d627e
dec al
mov byte [ecx], al
jmp 0x5d6287
push ecx
call fcn.006a64d0
add esp, 4
cmp bl, 0xb
jb 0x5d67f6
cmp bl, 0x13
ja 0x5d67f6
mov ebx, dword [esp + 0x34]
push ecx
lea edx, [esp + 0xe4]
mov ecx, esp
mov dword [esp + 0x14], esp
push edx
call fcn.0061d790
mov ecx, dword [0x72baec]
call fcn.0062e250
cmp si, di
je 0x5d6615
mov al, byte [0x72bd0c]
test al, al
je 0x5d63f4
cmp si, 1
jne 0x5d6363
push ecx
mov ecx, esp
mov dword [esp + 0x14], esp
push 6
push 0x713784
call fcn.0061d820
lea eax, [esp + 0x5c]
push eax
call fcn.0061ca80
add esp, 8
mov ecx, dword [0x6dd1fc]
mov byte [esp + 0xd8], 6
push ecx
push edi
push eax
lea ecx, [esp + 0x20]
call fcn.004136c0
mov eax, dword [esp + 0x5c]
mov byte [esp + 0xd8], 4
cmp eax, edi
je 0x5d6352
lea ecx, [eax - 1]
mov al, byte [eax - 1]
test al, al
je 0x5d6349
cmp al, 0xff
je 0x5d6349
dec al
mov byte [ecx], al
mov dword [esp + 0x5c], edi
mov dword [esp + 0x60], edi
mov dword [esp + 0x64], edi
jmp 0x5d6615
push ecx
call fcn.006a64d0
add esp, 4
mov dword [esp + 0x5c], edi
mov dword [esp + 0x60], edi
mov dword [esp + 0x64], edi
jmp 0x5d6615
cmp si, 2
jne 0x5d6615
push ecx
mov ecx, esp
mov dword [esp + 0x14], esp
push 6
push 0x71377c
call fcn.0061d820
lea edx, [esp + 0x6c]
push edx
call fcn.0061ca80
add esp, 8
mov ecx, dword [0x6dd1fc]
mov byte [esp + 0xd8], 7
push ecx
push edi
push eax
lea ecx, [esp + 0x20]
call fcn.004136c0
mov eax, dword [esp + 0x6c]
mov byte [esp + 0xd8], 4
cmp eax, edi
je 0x5d63e3
lea ecx, [eax - 1]
mov al, byte [eax - 1]
test al, al
je 0x5d63da
cmp al, 0xff
je 0x5d63da
dec al
mov byte [ecx], al
mov dword [esp + 0x6c], edi
mov dword [esp + 0x70], edi
mov dword [esp + 0x74], edi
jmp 0x5d6615
push ecx
call fcn.006a64d0
add esp, 4
mov dword [esp + 0x6c], edi
mov dword [esp + 0x70], edi
mov dword [esp + 0x74], edi
jmp 0x5d6615
sub esp, 0x24
lea eax, [esp + 0x60]
mov edx, esp
mov dword [esp + 0x34], esp
push 1
push eax
push edx
lea ecx, [esp + 0xdc]
call fcn.00555a50
lea ecx, [esp + 0xac]
call fcn.0061ac40
push ecx
mov ecx, esp
mov dword [esp + 0x14], esp
push ecx
lea ecx, [esp + 0x90]
call fcn.0061afb0
lea ecx, [esp + 0x28]
call fcn.0061dab0
lea ecx, [esp + 0x24]
call fcn.0061dc40
test ax, ax
jle 0x5d672a
cmp si, 1
jne 0x5d64e9
push ecx
mov ecx, esp
mov dword [esp + 0x14], esp
push 6
push 0x713784
call fcn.0061d820
lea edx, [esp + 0x7c]
push edx
call fcn.0061ca80
add esp, 8
mov ecx, dword [0x6dd1fc]
mov byte [esp + 0xd8], 8
push ecx
push edi
push eax
lea ecx, [esp + 0x20]
call fcn.004136c0
mov eax, dword [esp + 0x7c]
mov byte [esp + 0xd8], 4
cmp eax, edi
je 0x5d64d2
lea ecx, [eax - 1]
mov al, byte [eax - 1]
test al, al
je 0x5d64c9
cmp al, 0xff
je 0x5d64c9
dec al
mov byte [ecx], al
mov dword [esp + 0x7c], edi
mov dword [esp + 0x80], edi
mov dword [esp + 0x84], edi
jmp 0x5d6613
push ecx
call fcn.006a64d0
add esp, 4
mov dword [esp + 0x7c], edi
mov dword [esp + 0x80], edi
mov dword [esp + 0x84], edi
jmp 0x5d6613
cmp si, 2
jne 0x5d6613
push ecx
mov ecx, esp
mov dword [esp + 0x14], esp
push 6
push 0x71377c
call fcn.0061d820
lea edx, [esp + 0x4c]
push edx
call fcn.0061ca80
add esp, 8
mov esi, eax
mov eax, dword [esi + 8]
mov ecx, dword [0x6dd1fc]
mov ebp, eax
mov byte [esp + 0xd8], 9
cmp ecx, ebp
jae 0x5d652e
mov ebp, ecx
lea edx, [esp + 0x14]
cmp edx, esi
jne 0x5d6551
push ecx
push ebp
lea ecx, [esp + 0x1c]
call fcn.004140f0
push edi
push edi
lea ecx, [esp + 0x1c]
call fcn.004140f0
jmp 0x5d65da
cmp ebp, edi
jbe 0x5d659e
cmp ebp, eax
jne 0x5d659e
mov eax, dword [esi + 4]
cmp eax, edi
jne 0x5d6565
mov eax, 0x6dd1f8
cmp byte [eax - 1], 0xfe
jae 0x5d659e
push 1
lea ecx, [esp + 0x18]
call fcn.004138c0
mov eax, dword [esi + 4]
cmp eax, edi
jne 0x5d6582
mov eax, 0x6dd1f8
mov dword [esp + 0x18], eax
mov ecx, dword [esi + 8]
mov dword [esp + 0x1c], ecx
mov esi, dword [esi + 0xc]
mov dword [esp + 0x20], esi
mov cl, byte [eax - 1]
inc cl
mov byte [eax - 1], cl
jmp 0x5d65da
push 1
push ebp
lea ecx, [esp + 0x1c]
call fcn.00414230
test al, al
je 0x5d65da
mov esi, dword [esi + 4]
cmp esi, edi
jne 0x5d65ba
mov esi, 0x6dd1f8
mov edi, dword [esp + 0x18]
mov ecx, ebp
mov eax, ecx
push ebp
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x18]
call fcn.00414210
xor edi, edi
mov eax, dword [esp + 0x4c]
mov byte [esp + 0xd8], 4
cmp eax, edi
je 0x5d6607
lea ecx, [eax - 1]
mov al, byte [eax - 1]
test al, al
je 0x5d65fe
cmp al, 0xff
je 0x5d65fe
dec al
mov byte [ecx], al
jmp 0x5d6607
push ecx
call fcn.006a64d0
add esp, 4
mov dword [esp + 0x4c], edi
mov dword [esp + 0x50], edi
mov dword [esp + 0x54], edi
xor esi, esi
push 1
push ecx
mov ecx, esp
mov dword [esp + 0x18], esp
push 6
push 0x713784
call fcn.0061d820
mov ecx, dword [0x72baec]
call fcn.0062e3d0
push 1
push ecx
mov ecx, esp
mov dword [esp + 0x18], esp
push 6
push 0x71377c
call fcn.0061d820
mov ecx, dword [0x72baec]
call fcn.0062e3d0
push 1
push ecx
mov ecx, esp
mov dword [esp + 0x18], esp
push 6
push 0x713774
call fcn.0061d820
mov ecx, dword [0x72baec]
call fcn.0062e3d0
mov dl, byte [esp + 0x14]
sub esp, 0x10
mov ecx, esp
mov dword [esp + 0x20], esp
mov byte [ecx], dl
mov dword [ecx + 4], edi
mov dword [ecx + 8], edi
mov dword [ecx + 0xc], edi
mov eax, dword [0x6dd1fc]
lea edx, [esp + 0x24]
push eax
push edi
push edx
call fcn.004136c0
push ecx
mov byte [esp + 0xec], 0xb
mov ecx, esp
mov dword [esp + 0x48], esp
push 6
push 0x71379c
call fcn.0061d820
mov ecx, dword [0x72baec]
mov byte [esp + 0xec], 4
call fcn.0062e450
mov ecx, dword [0x72baec]
call fcn.0062e830
movsx eax, ax
sub eax, edi
je 0x5d670b
dec eax
je 0x5d66ed
dec eax
je 0x5d67f6
jmp 0x5d629d
mov eax, ebx
mov byte [esp + 0x44], 0
and eax, 0xff
mov esi, 2
mov cl, byte [esp + eax + 0x1d]
mov byte [esp + 0x42], cl
jmp 0x5d629d
mov edx, ebx
mov byte [esp + 0x44], 0xff
and edx, 0xff
mov esi, 1
mov al, byte [esp + edx + 0x1d]
mov byte [esp + 0x42], al
jmp 0x5d629d
push edi
push 1
push ecx
mov ecx, esp
mov dword [esp + 0x1c], esp
push 6
push 0x7137f4
call fcn.0061d820
push ecx
mov byte [esp + 0xe8], 0xa
mov ecx, esp
mov dword [esp + 0x44], esp
push 6
push 0x713840
call fcn.0061d820
mov ecx, 0x72bae0
mov byte [esp + 0xe8], 4
call fcn.0061ef70
mov eax, dword [esp + 0x18]
cmp eax, edi
je 0x5d6792
lea ecx, [eax - 1]
mov al, byte [eax - 1]
test al, al
je 0x5d6789
cmp al, 0xff
je 0x5d6789
dec al
mov byte [ecx], al
jmp 0x5d6792
push ecx
call fcn.006a64d0
add esp, 4
lea ecx, [esp + 0xac]
mov dword [esp + 0x18], edi
mov dword [esp + 0x1c], edi
mov dword [esp + 0x20], edi
mov byte [esp + 0xd8], 2
call fcn.005549b0
lea ecx, [esp + 0x24]
mov byte [esp + 0xd8], 1
call fcn.0061d8c0
lea ecx, [esp + 0x88]
mov byte [esp + 0xd8], 0
call fcn.0061ab90
lea ecx, [esp + 0xe0]
mov dword [esp + 0xd8], 0xffffffff
call fcn.0061d8c0
xor ax, ax
jmp 0x5d687b
mov eax, dword [esp + 0x18]
cmp eax, edi
je 0x5d681b
lea ecx, [eax - 1]
mov al, byte [eax - 1]
test al, al
je 0x5d6812
cmp al, 0xff
je 0x5d6812
dec al
mov byte [ecx], al
jmp 0x5d681b
push ecx
call fcn.006a64d0
add esp, 4
lea ecx, [esp + 0xac]
mov dword [esp + 0x18], edi
mov dword [esp + 0x1c], edi
mov dword [esp + 0x20], edi
mov byte [esp + 0xd8], 2
call fcn.005549b0
lea ecx, [esp + 0x24]
mov byte [esp + 0xd8], 1
call fcn.0061d8c0
lea ecx, [esp + 0x88]
mov byte [esp + 0xd8], 0
call fcn.0061ab90
lea ecx, [esp + 0xe0]
mov dword [esp + 0xd8], 0xffffffff
call fcn.0061d8c0
mov ax, 1
mov ecx, dword [esp + 0xd0]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0xcc
ret 4