Function at 0x19f93d0
Capabilities:
Get process heap flags

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x1aaf940
push 0x1a2a000
mov eax, dword fs:[0]
push eax
sub esp, 0xd8
mov eax, dword [0x1acd344]
xor dword [ebp - 8], eax
xor eax, ebp
mov dword [ebp - 0x1c], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0x10]
mov dword fs:[0], eax
mov dword [ebp - 0x18], esp
mov esi, edx
mov dword [ebp - 0x58], esi
mov dword [ebp - 0x74], ecx
mov dword [ebp - 0x98], esi
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x84], eax
mov dword [ebp - 0x9c], esi
mov byte [ebp - 0x41], 0
mov dword [ebp - 0xb0], 0
mov ecx, dword [ebp + 8]
mov edx, dword [ebp + 0xc]
cmp ecx, 3
jb 0x19fa0ef
cmp ecx, 4
ja 0x1a48cfd
mov eax, edx
and eax, 0x41
jne 0x19f9c53
cmp ecx, 4
je 0x19f9c5c
mov dword [ebp - 0x80], ecx
mov dword [ebp - 0x8c], ecx
mov dword [ebp - 4], 0
mov ebx, edx
not ebx
test bl, 0x10
je 0x19f95ae
lea eax, [ecx - 1]
cmp eax, 2
ja 0x19f95ae
cmp ecx, 3
jne 0x1a48d07
movzx edi, word [esi + 8]
mov word [ebp - 0x5c], di
mov eax, dword [esi]
cmp eax, 0x10
je 0x19fa030
cmp eax, 0x18
je 0x19fa030
test eax, 0xffff0000
jne 0x19fa059
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x64], 0
mov dword [ebp - 0x40], 0
push 8
push 0
xor edx, edx
mov ebx, dword [ebp - 0x74]
mov ecx, ebx
call fcn.019fa383
mov edi, eax
mov dword [ebp - 0x40], edi
cmp edi, 0xffffffff
je 0x19f9e1f
test edi, edi
je 0x19f9d8f
lea eax, [ebp - 0x4c]
push eax
push dword [ebp + 0xc]
push dword [esi]
push edi
call fcn.01a05f40
test eax, eax
js 0x1a48d47
mov eax, dword [ebp - 0x4c]
test dword [edi + 0x14], 0x100
jne 0x19fa0a8
test byte [edi + 0x10], 0x10
je 0x19f952b
or eax, 0x200000
mov dword [ebp - 0x4c], eax
mov edx, dword [ebp + 0xc]
or edx, eax
mov dword [ebp + 0xc], edx
test edx, 0x40000
je 0x19f95ae
mov eax, 0xc000008a
mov dword [ebp - 0x48], eax
test edx, 0x20000
jne 0x19f9593
mov eax, dword [esi]
mov dword [ebp - 0x2c], eax
mov ecx, dword [ebp - 0x80]
cmp ecx, 2
jb 0x1a48d51
mov eax, dword [esi + 4]
mov dword [ebp - 0x28], eax
cmp ecx, 3
jne 0x1a48d58
mov eax, dword [esi + 8]
mov dword [ebp - 0x24], eax
cmp dword [ebp + 8], 4
je 0x19f9d07
mov eax, dword [ebp - 0x84]
push eax
push edx
push dword [ebp + 8]
lea edx, [ebp - 0x2c]
mov ecx, ebx
call fcn.019fdf72
mov dword [ebp - 0x48], eax
mov dword [ebp - 4], 0xfffffffe
jmp 0x19f9949
test di, di
jne 0x1a48d16
or edx, 0x10
mov dword [ebp + 0xc], edx
mov bl, 1
mov byte [ebp - 0x68], bl
mov ecx, dword [ebp - 0x74]
mov esi, ecx
mov dword [ebp - 0xc4], esi
mov dword [ebp - 0x78], 0
xor edi, edi
mov dword [ebp - 0x60], edi
test cl, 3
je 0x19f95e7
mov al, cl
and al, bl
neg al
sbb al, al
not al
and bl, al
mov byte [ebp - 0x68], bl
and esi, 0xfffffffc
mov dword [ebp - 0xc4], esi
lea eax, [ebp - 0x78]
push eax
push 0
push 0
push esi
push 1
call fcn.019fba70
mov ecx, dword [ebp - 0x78]
test ecx, ecx
je 0x19f9c9f
movzx eax, word [ecx + 0x18]
mov edx, 0x10b
cmp ax, dx
jne 0x19f9c77
cmp dword [ecx + 0x74], 2
jbe 0x19fa074
mov edi, dword [ecx + 0x88]
mov dword [ebp - 0x7c], edi
test edi, edi
je 0x19fa074
mov eax, dword [ecx + 0x8c]
mov dword [ebp - 0x94], eax
test bl, bl
jne 0x19f9bcf
cmp edi, dword [ecx + 0x54]
jb 0x19f9bcf
mov ax, word [ecx + 0x14]
movzx eax, ax
mov ecx, dword [ebp - 0x78]
lea edx, [ecx + 0x18]
add edx, eax
movzx eax, word [ecx + 6]
mov dword [ebp - 0x64], eax
mov byte [ebp - 0x51], bl
xor ecx, ecx
mov dword [ebp - 0xc8], ecx
mov dword [ebp - 0xd4], edx
cmp ecx, eax
jae 0x1a48d5f
mov ebx, dword [edx + 0xc]
cmp edi, ebx
jb 0x19f9a3e
mov eax, dword [edx + 0x10]
add eax, ebx
cmp edi, eax
jae 0x19f9a3b
test edx, edx
je 0x1a48d69
mov edi, dword [edx + 0x14]
sub edi, dword [edx + 0xc]
add edi, dword [ebp - 0x7c]
add edi, esi
mov dword [ebp - 0x60], edi
mov edx, dword [ebp - 0x98]
mov dword [ebp - 0x58], edx
test edi, edi
je 0x19fa077
xor eax, eax
test eax, eax
js 0x19fa077
mov dword [ebp - 0x70], edi
test edi, edi
je 0x19fa081
mov dword [ebp - 0xac], edi
mov dword [ebp - 0x50], 0xeeee
mov dword [ebp - 0x6c], 0
xor esi, esi
mov dword [ebp - 0xa0], esi
mov dword [ebp - 0x88], esi
xor ebx, ebx
mov dword [ebp - 0x40], ebx
mov word [ebp - 0x3c], bx
xor eax, eax
mov word [ebp - 0x5c], ax
mov dword [ebp - 0xa4], eax
test edi, edi
je 0x19f9a33
mov eax, dword [ebp - 0x8c]
mov ecx, eax
dec ecx
mov dword [ebp - 0x8c], ecx
test eax, eax
je 0x19f9a33
test ecx, ecx
je 0x19f9967
cmp dword [ebp - 0x88], 0
jne 0x19f997c
mov cx, word [edi + 0xc]
lea esi, [edi + 0x10]
mov dword [ebp - 0xe0], esi
test dword [edx], 0xffff0000
jne 0x19f975f
movzx eax, cx
lea esi, [esi + eax*8]
mov dword [ebp - 0xe0], esi
mov cx, word [edi + 0xe]
test cx, cx
je 0x19f9fea
cmp dword [ebp - 0x88], 0
jne 0x19f98a6
mov eax, dword [edx]
mov dword [ebp - 0x64], eax
mov dword [ebp - 0xd8], esi
mov word [ebp - 0x7c], cx
xor edi, edi
mov dword [ebp - 0xa8], edi
xor eax, eax
mov dword [ebp - 0x4c], eax
mov dword [ebp - 0xc0], eax
movzx eax, cx
dec eax
lea eax, [esi + eax*8]
mov dword [ebp - 0xbc], eax
cmp esi, eax
ja 0x19f987e
mov bx, cx
shr bx, 1
movzx edx, bx
mov dword [ebp - 0x60], edx
test dx, dx
je 0x19f9839
mov al, byte [ebp - 0x7c]
and al, 1
mov byte [ebp - 0x51], al
movzx eax, dx
je 0x19f9836
lea eax, [esi + eax*8]
mov dword [ebp - 0x90], eax
mov ecx, dword [ebp - 0x64]
test ecx, 0xffff0000
jne 0x19f9d12
cmp dword [eax], 0x80000000
jae 0x19f9819
sub ecx, dword [eax]
test ecx, ecx
je 0x19f9a0c
jns 0x19f9819
add eax, 0xfffffff8
mov dword [ebp - 0xbc], eax
cmp byte [ebp - 0x51], 0
jne 0x19f9822
lea eax, [ebx - 1]
movzx eax, ax
mov dword [ebp - 0x7c], eax
mov cx, ax
mov eax, dword [ebp - 0xbc]
jmp 0x19f97a4
lea esi, [eax + 8]
mov dword [ebp - 0xd8], esi
movzx eax, dx
mov dword [ebp - 0x7c], eax
mov cx, ax
mov eax, dword [ebp - 0xbc]
jmp 0x19f97a4
dec eax
jmp 0x19f97ca
test cx, cx
je 0x19f987e
mov ebx, dword [ebp - 0x64]
test ebx, 0xffff0000
jne 0x19f9ca7
mov eax, dword [esi]
cmp eax, 0x80000000
jae 0x19f987e
mov ecx, ebx
sub ecx, eax
test ecx, ecx
jne 0x19f987e
mov ecx, dword [esi + 4]
cmp ecx, 0x80000000
jb 0x19f9a23
mov edi, ecx
and edi, 0x7fffffff
add edi, dword [ebp - 0x70]
mov dword [ebp - 0xa8], edi
mov esi, dword [ebp - 0x4c]
mov dword [ebp - 0xac], edi
mov dword [ebp - 0xa0], esi
mov eax, dword [ebp - 0x58]
add eax, 4
mov dword [ebp - 0x58], eax
mov dword [ebp - 0x98], eax
mov edx, eax
mov ebx, dword [ebp - 0x40]
jmp 0x19f9706
mov ebx, dword [ebp + 0xc]
test bl, 0x20
je 0x19f9775
xor edi, edi
mov dword [ebp - 0xac], edi
mov eax, dword [esi]
mov dword [ebp - 0x50], eax
mov esi, dword [esi + 4]
add esi, dword [ebp - 0x70]
mov dword [ebp - 0xa0], esi
test esi, esi
je 0x19f9a47
test bl, 2
jne 0x19f9a47
mov eax, dword [ebp - 0x84]
mov dword [eax], esi
mov eax, dword fs:[0x18]
cmp dword [eax + 0xfe0], 0
je 0x19f9fc1
mov eax, dword fs:[0x18]
cmp dword [eax + 0xfe0], 0
je 0x19f993b
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0xfe0]
mov edx, dword [ebp - 0x74]
mov dword [eax], edx
mov eax, dword fs:[0x18]
mov ecx, dword [eax + 0xfe0]
mov eax, dword [ebp - 0xa0]
mov dword [ecx + 4], eax
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0xfe0]
mov dword [eax + 8], edx
xor esi, esi
mov dword [ebp - 0x48], esi
mov dword [ebp - 4], 0xfffffffe
mov eax, esi
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x1c]
xor ecx, ebp
call fcn.01a24a40
mov esp, ebp
pop ebp
ret 0xc
cmp dword [ebp - 0x80], 3
jne 0x19f972d
mov dword [ebp - 0x88], edi
jmp 0x19f972d
mov ecx, dword [ebp - 0x9c]
mov ax, word [ecx + 8]
mov word [ebp - 0x5c], ax
mov ecx, 0x3ff
test ax, cx
mov eax, 0
sete al
mov byte [ebp - 0x41], al
lea ecx, [ecx]
mov eax, dword [ebp - 0x6c]
inc dword [ebp - 0x6c]
cmp eax, 0xc
ja case.default.0x19f99af
jmp dword [eax*4 + 0x19f9518]
mov ecx, dword [eax + 4]
cmp ecx, 0x80000000
jae 0x19f986d
xor edi, edi
mov dword [ebp - 0xa8], edi
mov esi, dword [ebp - 0x70]
add esi, ecx
mov dword [ebp - 0xc0], esi
jmp 0x19f9881
mov ebx, dword [ebp + 0xc]
jmp 0x19f98cb
mov eax, dword [ebp - 0x64]
add edx, 0x28
inc ecx
jmp 0x19f9667
test edi, edi
jne 0x19fa0fd
mov edi, dword [ebp - 0x80]
mov eax, edi
sub eax, dword [ebp - 0x8c]
cmp eax, 3
jne 0x19f9f2e
mov esi, 0xc0000204
mov dword [ebp - 0x48], esi
cmp dword [ebp - 0x88], 0
je 0x1a48d78
mov dword [ebp - 0xa0], 0
mov ebx, dword [ebp - 0x40]
jmp 0x19f99a0
push dword [ebp + 8]
lea eax, [ebp - 0x2c]
push eax
xor edx, edx
mov ecx, ebx
call fcn.01a02e4a
jmp 0x19f9940
add edi, esi
mov dword [ebp - 0x60], edi
mov edx, dword [ebp - 0x58]
jmp 0x19f96c4
cmp ecx, 4
jne 0x1a48cfd
test eax, eax
je 0x1a48cfd
cmp ecx, 4
jne 0x19f9462
mov ecx, 3
jmp 0x19f9462
mov edx, 0x20b
cmp ax, dx
jne 0x19fa074
lea eax, [ebp - 0x60]
push eax
push ecx
lea eax, [ebp - 0x94]
push eax
push 2
mov dl, bl
mov ecx, esi
call fcn.019d215b
mov edi, dword [ebp - 0x60]
mov edx, dword [ebp - 0x58]
jmp 0x19f96bc
mov ecx, dword [esi]
cmp ecx, 0x80000000
jb 0x19f987e
and ecx, 0x7fffffff
add ecx, dword [ebp - 0x70]
mov dword [ebp - 0x94], ecx
movzx eax, word [ecx]
push eax
lea eax, [ecx + 2]
push eax
push ebx
call fcn.01a2a6d0
add esp, 0xc
mov ecx, eax
test ecx, ecx
jne 0x19f987e
lea edx, [ebx + 2]
mov ax, word [ebx]
add ebx, 2
test ax, ax
jne 0x19f9ce2
sub ebx, edx
sar ebx, 1
mov eax, dword [ebp - 0x94]
movzx eax, word [eax]
cmp ebx, eax
je 0x19f985a
jmp 0x19f987e
mov eax, dword [esi + 0xc]
mov dword [ebp - 0x20], eax
jmp 0x19f957b
mov edx, dword [eax]
mov dword [ebp - 0x78], edx
cmp edx, 0x80000000
mov edx, dword [ebp - 0x60]
jb 0x19f97f6
mov edx, dword [ebp - 0x78]
and edx, 0x7fffffff
add edx, dword [ebp - 0x70]
mov dword [ebp - 0x78], edx
movzx eax, word [edx]
push eax
lea eax, [edx + 2]
push eax
push ecx
call fcn.01a2a6d0
add esp, 0xc
mov ecx, eax
test ecx, ecx
jne 0x19f9d81
mov edx, dword [ebp - 0x64]
lea eax, [edx + 2]
mov dword [ebp - 0x94], eax
jmp 0x19f9d60
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x19f9d60
sub edx, dword [ebp - 0x94]
sar edx, 1
mov eax, dword [ebp - 0x78]
movzx eax, word [eax]
cmp edx, eax
jne 0x1a48e97
mov edx, dword [ebp - 0x60]
mov eax, dword [ebp - 0x90]
jmp 0x19f97ec
mov dword [ebp - 0x38], 0x19b5114
mov dword [ebp - 0x34], 1
mov dword [ebp - 0x30], 0
lea eax, [ebp - 0x90]
push eax
push 0x30
push 3
lea edx, [ebp - 0x38]
mov ecx, ebx
call fcn.019f93d0
mov dword [ebp - 0xb8], eax
test eax, eax
js 0x19f9fb4
lea eax, [ebp - 0x64]
push eax
lea eax, [ebp - 0x40]
push eax
mov edx, dword [ebp - 0x90]
mov ecx, ebx
call fcn.019fab80
mov dword [ebp - 0xb8], eax
test eax, eax
js 0x19f9fb4
mov edi, dword [ebp - 0x40]
cmp dword [edi], 0xfecdfecd
jne 0x1a48d37
mov dword [ebp - 0x64], 0
mov ecx, edi
push 0
push eax
push 2
push 0
push 0xffffffffffffffff
push ecx
push 0
xor edx, edx
mov ecx, ebx
call fcn.01a06954
test edi, edi
jne 0x19f94f6
mov eax, 0x80000
jmp 0x19f9528
sub eax, 1
jne 0x19fa092
mov esi, 0xc000008a
mov dword [ebp - 0x48], esi
mov edx, ebx
not edx
bt edx, 0x13
setb cl
bt edx, 0x11
setb al
and cl, al
test dl, 0x10
setne al
test al, cl
je 0x19f9940
cmp edi, 3
jne 0x19f9940
mov ecx, dword [ebp - 0x9c]
mov eax, dword [ecx]
mov dword [ebp - 0x2c], eax
mov eax, dword [ecx + 4]
mov dword [ebp - 0x28], eax
mov eax, dword [ecx + 8]
mov dword [ebp - 0x24], eax
cmp dword [ebp + 8], 4
je 0x1a48e8c
push dword [ebp - 0x84]
push ebx
push dword [ebp + 8]
lea edx, [ebp - 0x2c]
mov ebx, dword [ebp - 0x74]
mov ecx, ebx
call fcn.019fdf72
mov esi, eax
mov dword [ebp - 0x48], esi
test esi, esi
jns 0x19f9b12
jmp 0x19f9940
xor edi, edi
mov dword [ebp - 0x40], edi
or ecx, 0xffffffff
jmp 0x19f9e02
mov eax, dword fs:[0x18]
mov dword [ebp - 0x58], eax
push 0xc
push 0
mov eax, dword fs:[0x30]
push dword [eax + 0x18]
call fcn.019f3940
mov ecx, dword [ebp - 0x58]
mov dword [ecx + 0xfe0], eax
jmp 0x19f98f7
mov edi, dword [ebp - 0x80]
mov eax, edi
sub eax, dword [ebp - 0x8c]
cmp eax, 1
jne 0x1a48e3a
mov esi, 0xc000008a
mov dword [ebp - 0x48], esi
mov ebx, dword [ebp + 0xc]
mov edx, ebx
not edx
bt edx, 0x13
setb cl
bt edx, 0x11
setb al
and cl, al
test dl, 0x10
setne al
test al, cl
je 0x19f9940
jmp 0x1a48e62
test bl, 8
je 0x19f94bb
jmp 0x19f959f
push 0x19b5114
push eax
call fcn.01a278b0
add esp, 8
test eax, eax
jne 0x19f94bb
jmp 0x1a48d0e
mov edx, dword [ebp - 0x58]
xor edi, edi
mov dword [ebp - 0x60], edi
jmp 0x19f96c4
mov dword [ebp - 4], 0xfffffffe
mov eax, 0xc0000089
jmp 0x19f9949
sub eax, 1
jne 0x1a48d70
mov esi, 0xc000008b
mov dword [ebp - 0x48], esi
jmp 0x19f9f3f
or eax, 0x100000
mov dword [ebp - 0x4c], eax
jmp 0x19f951d
mov dword [ebp - 4], 0xfffffffe
mov eax, 0xc0000204
jmp 0x19f9949
test dl, 2
jne 0x19f9445
jmp 0x1a48cfd
test bl, 2
je 0x19f9a4f
mov eax, dword [ebp - 0x84]
mov dword [eax], edi
xor esi, esi
jmp 0x19f993d
mov eax, 0xc00000f1
jmp 0x19f9949
xor edi, edi
jmp 0x19f9498
mov edx, dword [ebp + 0xc]
jmp 0x19fa030
mov eax, 0x400
cmp di, ax
je 0x19f95a8
mov eax, 0x800
cmp di, ax
jne 0x19f94bb
jmp 0x19f95a8
mov eax, 0xc000007b
mov dword [ebp - 0xb8], eax
jmp 0x19f9fb4
mov eax, 0x60000
jmp 0x19f9528
xor eax, eax
jmp 0x19f955f
xor eax, eax
jmp 0x19f956e
cmp byte [ebp - 0x51], 0
jne 0x19f9693
xor edi, edi
jmp 0x19f96a6
mov esi, 0xc000000d
mov dword [ebp - 0x48], esi
cmp esi, 0xc000008a
je 0x19f9f3f
cmp esi, 0xc000008b
jne 0x19f9940
jmp 0x19f9f3f
sub eax, 2
je 0x1a48e58
sub eax, 1
je 0x1a48e4e
mov esi, 0xc000000d
jmp 0x19f993d
mov esi, 0xc0000204
jmp 0x19f993d
mov esi, 0xc000008b
jmp 0x19fa003
cmp edi, 3
jne 0x19f9940
mov ecx, dword [ebp - 0x9c]
mov eax, dword [ecx]
mov dword [ebp - 0x2c], eax
mov eax, dword [ecx + 4]
mov dword [ebp - 0x28], eax
mov eax, dword [ecx + 8]
mov dword [ebp - 0x24], eax
cmp dword [ebp + 8], 4
jne 0x19f9f8b
mov eax, dword [ecx + 0xc]
mov dword [ebp - 0x20], eax
jmp 0x19f9f8b
mov edx, dword [ebp - 0x60]
mov eax, dword [ebp - 0x90]
jmp 0x19f9819
lds esi, [ecx]
add byte [ebp + eax*8 + 0x31], bh
add byte [edx - 0x77ffce3b], al
lds esi, [ecx]
add byte [esi - 0x6bffce3b], cl
lds esi, [ecx]
add byte [edx - 0x5fffce3b], bl
lds esi, [ecx]
add byte [esi - 0x53ffce3b], ah
lds esi, [ecx]
add byte [edx - 0x47ffce3b], dh
lds esi, [ecx]
add byte [esi - 0x3bffce3b], bh
lds esi, [ecx]
add dl, cl
lds esi, [ecx]
add al, dl
lds esi, [ecx]
add dh, dl
lds esi, [ecx]
add ah, bl
lds esi, [ecx]
add dl, ah
lds esi, [ecx]
add al, ch
lds esi, [ecx]
add dh, ch
lds esi, [ecx]
add ah, dh
lds esi, [ecx]
add dl, bh
lds esi, [ecx]
add byte [eax], al
invalid