Function at 0xe45f2d2
Capabilities:
Get process heap flags

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x698
mov eax, dword [0xe4a2008]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, 0x104
xor ebx, ebx
push esi
lea eax, [ebp - 0x2d3]
push ebx
push eax
mov byte [ebp - 0x2d4], bl
call fcn.0e4360e0
push 0x80
lea eax, [ebp - 0xc7]
push ebx
push eax
mov byte [ebp - 0xc8], bl
call fcn.0e4360e0
add esp, 0x18
mov dword [ebp - 0x5f4], 0x3a3f3d
cmp dword [0xe4adf54], ebx
jne 0xe45f336
call fcn.0e45ef8d
push edi
lea eax, [ebp - 0x5f0]
push eax
xor edi, edi
inc edi
push edi
push ebx
push 0xe432fa8
push 0x80000002
mov dword [ebp - 0x5f8], 0x100
call dword [section..text]
test eax, eax
jne 0xe45f3af
lea eax, [ebp - 0x5f8]
push eax
lea eax, [ebp - 0x3d4]
push eax
push ebx
push ebx
push 0xe432f9c
push dword [ebp - 0x5f0]
call dword [0xe43100c]
test eax, eax
jne 0xe45f3a3
lea eax, [ebp - 0x3d4]
push 0xe432f94
push eax
call 0xe48f160
pop ecx
pop ecx
test eax, eax
je 0xe45f3a3
mov dword [0xe4aec38], edi
push dword [ebp - 0x5f0]
call dword [0xe431008]
mov byte [ebp - 0x1cc], bl
cmp dword [0xe4adf54], ebx
jne 0xe45f419
cmp dword [0xe4adf5c], ebx
jne 0xe45f3dd
push esi
lea eax, [ebp - 0x1cc]
push eax
call dword [0xe431204]
test eax, eax
jne 0xe45f3dd
mov byte [ebp - 0x1cc], bl
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0x10]
push dword [eax + 0x10]
call dword [0xe431140]
push eax
call dword [0xe43113c]
push eax
push 0xe432f80
lea eax, [ebp - 0x44]
push 0x40
push eax
call fcn.0e48e98d
add esp, 0x18
lea eax, [ebp - 0x44]
push eax
call dword [0xe431200]
jmp 0xe45f443
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0x10]
push dword [eax + 0x10]
lea eax, [ebp - 0x1cc]
push dword [0xe4adf60]
push 0xe432f5c
push esi
push eax
call fcn.0e48e98d
add esp, 0x14
mov ecx, dword [0xe4adf58]
lea eax, [ebp - 0x5e0]
mov dword [ebp - 0x674], eax
mov eax, esi
mov word [ebp - 0x604], ax
mov eax, dword [0xe4adf54]
mov dword [ebp - 0x668], ebx
mov dword [ebp - 0x66c], ebx
cmp ecx, ebx
je 0xe45f47a
mov edx, 0x900
jmp 0xe45f485
mov edx, 0x102
cmp eax, ebx
jne 0xe45f485
mov edx, esi
mov word [ebp - 0x600], dx
xor edx, edx
mov dword [ebp - 0x67c], ebx
mov word [ebp - 0x608], dx
mov dword [ebp - 0x678], ebx
mov word [ebp - 0x606], dx
cmp eax, ebx
je 0xe45f4b6
cmp ecx, ebx
mov ecx, dword [0xe4adf60]
je 0xe45f4bc
mov ecx, dword [0xe4adf5c]
mov dword [ebp - 0x698], ecx
mov ecx, eax
neg ecx
sbb ecx, ecx
and ecx, 0xffffff7f
add ecx, 0x81
neg eax
sbb eax, eax
not eax
mov dword [ebp - 0x60c], ecx
lea ecx, [ebp - 0xc8]
and eax, ecx
mov dword [ebp - 0x610], eax
mov eax, 0x105
mov word [ebp - 0x602], ax
lea eax, [ebp - 0x2d4]
mov dword [ebp - 0x620], ebx
mov dword [ebp - 0x61c], ebx
mov dword [ebp - 0x670], eax
cmp byte [ebp - 0x1cc], bl
jne 0xe45f52e
lea eax, [ebp - 0x1cc]
mov dword [ebp - 0x618], eax
mov dword [ebp - 0x614], esi
jmp 0xe45f53a
mov dword [ebp - 0x618], ebx
mov dword [ebp - 0x614], ebx
lea eax, [ebp - 0x698]
push eax
mov byte [ebp - 0x5e0], bl
mov byte [0xe4dda69], bl
mov byte [0xe4dda6a], bl
mov byte [0xe4dda6b], bl
call 0xe4966fc
test eax, eax
je 0xe45f620
mov byte [ebp - 0x48], bl
cmp dword [0xe4adf54], ebx
jne 0xe45f5ea
cmp dword [ebp - 0x60c], ebx
je 0xe45f5ea
lea eax, [ebp - 0xc8]
push 0xe432f54
push eax
call 0xe48f160
mov esi, eax
pop ecx
pop ecx
cmp esi, ebx
je 0xe45f5ea
add esi, 6
cmp byte [esi], 0x30
mov eax, esi
jl 0xe45f5ea
cmp byte [esi], 0x39
jg 0xe45f5a7
inc esi
cmp byte [esi], 0x30
jge 0xe45f59c
cmp eax, esi
je 0xe45f5ea
mov cl, byte [esi]
push 0xa
push ebx
push eax
mov byte [ebp - 0x5e1], cl
mov byte [esi], bl
call 0xe43df98
mov cl, byte [ebp - 0x5e1]
add esp, 0xc
mov byte [esi], cl
test al, 1
je 0xe45f5d4
mov byte [0xe4dda6a], 1
test al, 2
je 0xe45f5df
mov byte [0xe4dda6b], 1
test al, 4
je 0xe45f5ea
mov byte [0xe4dda69], 1
cmp word [ebp - 0x602], bx
je 0xe45f620
mov al, byte [ebp - 0x2d4]
mov byte [ebp - 0x5f3], al
lea eax, [ebp - 0x2d4]
push eax
lea eax, [ebp - 0x5f4]
push eax
call dword [0xe4311fc]
lea eax, [ebp - 0x2d4]
push eax
call dword [0xe4311f8]
cmp byte [ebp - 0x5e0], bl
mov byte [0xe4dda6c], bl
setne al
mov byte [0xe4dda6d], bl
mov byte [0xe4dda68], al
cmp dword [0xe4adf54], ebx
je 0xe45f664
mov dword [0xe4adf5c], ebx
mov byte [0xe4dda6a], 1
mov byte [0xe4dda69], 1
mov byte [0xe4dda6c], 1
mov byte [0xe4dda6b], 1
lea eax, [ebp - 0x5e0]
push eax
call fcn.0e45ecae
call fcn.0e473f41
mov edi, dword [0xe4adf54]
mov esi, 0x8000
cmp edi, ebx
je 0xe45f696
mov dword [0xe4dda3c], ebx
mov dword [0xe4b99dc], 0x3c00
jmp 0xe45f701
mov ax, word [0xe4aec2c]
mov ecx, 0xffff
mov edx, ecx
cmp ax, dx
jne 0xe45f6b4
mov dword [0xe4dda3c], 0x1000
jmp 0xe45f6bc
movzx eax, ax
mov dword [0xe4dda3c], eax
mov ax, word [0xe4aec28]
mov ecx, 0x3c00
cmp ax, dx
jne 0xe45f6d0
mov eax, ecx
jmp 0xe45f6d3
movzx eax, ax
mov dword [0xe4b99dc], eax
cmp dword [0xe4dda3c], esi
jbe 0xe45f6e6
mov dword [0xe4dda3c], esi
mov edx, 0x400
cmp eax, edx
jae 0xe45f6f7
mov dword [0xe4b99dc], edx
jmp 0xe45f705
cmp eax, ecx
jbe 0xe45f705
mov dword [0xe4b99dc], ecx
cmp edi, ebx
jne 0xe45f729
push ebx
push 9
call fcn.0e45f0e6
test eax, eax
je 0xe45f729
push 0xe4a559c
call 0xe45a059
test eax, eax
je 0xe45f729
mov dword [0xe4a559c], 1
mov eax, dword [0xe4b99dc]
mov ecx, dword [0xe4dda3c]
lea eax, [eax + ecx + 0x400]
shl eax, 0xa
push eax
call 0xe47461c
call 0xe46c063
pop edi
cmp dword [0xe4aec38], ebx
je 0xe45f7c4
push 0x40
mov dword [ebp - 0x5ec], esi
mov esi, 0x3000
push esi
lea eax, [ebp - 0x5ec]
push eax
push ebx
lea eax, [ebp - 0x5e8]
push eax
push 0xffffffffffffffff
mov dword [ebp - 0x5e8], 0xc0000
call 0xe4968d0
test eax, eax
jge 0xe45f789
call fcn.0e45d021
push 0x40
push esi
lea eax, [ebp - 0x5ec]
push eax
push ebx
lea eax, [ebp - 0x5e8]
push eax
push 0xffffffffffffffff
mov dword [ebp - 0x5e8], 0xf0000
mov dword [ebp - 0x5ec], 0x10000
call 0xe4968d0
test eax, eax
jge 0xe45f7bf
call fcn.0e45d021
call fcn.0e4975af
cmp dword [0xe4adf54], ebx
jne 0xe45f808
push 6
pop esi
lea eax, [ebp - 0x44]
push eax
push 0xe432f40
call dword [0xe431418]
mov dword [0xe4dd4b8], eax
cmp eax, ebx
jne 0xe45f808
cmp esi, ebx
je 0xe45f7fb
push 0xa
call dword [0xe4310e4]
cmp dword [0xe4dd4b8], ebx
jne 0xe45f808
mov eax, esi
dec esi
test eax, eax
jne 0xe45f7cf
mov dword [0xe4dd4b8], ebx
cmp byte [ebp - 0x1cc], bl
je 0xe45f81d
lea eax, [ebp - 0x1cc]
push eax
call dword [0xe431200]
call fcn.0e469edb
call fcn.0e45eeaf
push 2
mov byte [0xe4aec2a], bl
mov byte [ebp - 0x5e8], 0x33
pop esi
push ebx
push 1
push dword [ebp - 0x5e8]
call 0xe44e4cf
test ax, ax
jne 0xe45f850
inc byte [0xe4aec2a]
inc byte [ebp - 0x5e8]
dec esi
jne 0xe45f837
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.0e4357d5
leave
ret