Function at 0x46e890
Capabilities:
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6442b6
mov eax, dword fs:[0]
push eax
sub esp, 0x38
mov eax, dword [0x6ddc7c]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, ecx
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x44], eax
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
lea edi, [eax + 0x18]
mov dword [ebp - 4], 0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0xf
mov byte [edi], 0
mov dword [eax + 0x40], 0
mov dword [eax + 0x44], 0xf
mov byte [eax + 0x30], 0
mov ebx, dword [ebp + 8]
mov byte [ebp - 4], 2
mov byte [eax + 0x4b], 0
mov eax, ebx
mov dword [ebp - 0x3c], ebx
cmp dword [ebx + 0x14], 0x10
jb 0x46e91f
mov eax, dword [ebx]
mov dword [ebp - 0x3c], eax
lea ecx, [ebx + 0x10]
mov dword [ebp - 0x40], ecx
mov ecx, dword [ecx]
mov dword [ebp - 0x18], ecx
cmp ecx, 7
jb 0x46e954
lea esi, [eax + 6]
mov ecx, str.wss:__
push esi
push eax
call fcn.004864a0
add esp, 8
test al, al
je 0x46e951
push 3
push 0x6b5aa8
jmp 0x46e9e3
mov ecx, dword [ebp - 0x18]
cmp ecx, 6
jb 0x46e985
mov eax, dword [ebp - 0x3c]
mov ecx, str.ws:__
lea esi, [eax + 5]
push esi
push eax
call fcn.004864a0
add esp, 8
test al, al
je 0x46e982
mov eax, dword [ebp - 0x38]
push 2
push 0x6b5ab4
mov byte [eax + 0x4a], 0
jmp 0x46e9ea
mov ecx, dword [ebp - 0x18]
cmp ecx, 8
jb 0x46e9b6
mov eax, dword [ebp - 0x3c]
mov ecx, str.http:__
lea esi, [eax + 7]
push esi
push eax
call fcn.004864a0
add esp, 8
test al, al
je 0x46e9b3
mov eax, dword [ebp - 0x38]
push 4
push str.http
mov byte [eax + 0x4a], 0
jmp 0x46e9ea
mov ecx, dword [ebp - 0x18]
cmp ecx, 9
jb 0x46ec1b
mov eax, dword [ebp - 0x3c]
mov ecx, str.https:__
lea esi, [eax + 8]
push esi
push eax
call fcn.004864a0
add esp, 8
test al, al
je 0x46ec1b
push 5
push str.https
mov eax, dword [ebp - 0x38]
mov byte [eax + 0x4a], 1
mov ecx, eax
call fcn.0044e6d0
cmp byte [esi], 0x5b
jne 0x46eae0
mov edx, dword [ebp - 0x40]
inc esi
mov ecx, dword [ebx + 0x14]
mov edi, esi
mov edx, dword [edx]
mov eax, ebx
cmp ecx, 0x10
jb 0x46ea0e
mov eax, dword [ebx]
add eax, edx
cmp edi, eax
je 0x46ea1c
cmp byte [edi], 0x5d
je 0x46ea1c
inc edi
jmp 0x46ea05
mov eax, ebx
cmp ecx, 0x10
jb 0x46ea25
mov eax, dword [ebx]
add eax, edx
cmp edi, eax
je 0x46ec1b
mov ecx, dword [ebp - 0x38]
push edi
push esi
lea ecx, [ecx + 0x18]
call fcn.00486530
cmp dword [ebx + 0x14], 0x10
lea esi, [edi + 1]
mov ecx, ebx
jb 0x46ea49
mov ecx, dword [ebx]
mov eax, dword [ebp - 0x40]
mov eax, dword [eax]
add eax, ecx
cmp esi, eax
je 0x46ea5b
mov al, byte [esi]
cmp al, 0x2f
jne 0x46ead0
inc esi
mov eax, 2
xor edx, edx
mov edi, 0xf
mov dword [ebp - 0x24], edx
mov dword [ebp - 0x20], edi
mov byte [ebp - 0x34], dl
mov byte [ebp - 4], 3
cmp eax, 1
jne 0x46eb78
nop dword [eax]
cmp dword [ebx + 0x14], 0x10
mov ecx, ebx
jb 0x46ea8a
mov ecx, dword [ebx]
mov eax, dword [ebp - 0x40]
mov eax, dword [eax]
add eax, ecx
cmp esi, eax
je 0x46eb78
mov cl, byte [esi]
cmp cl, 0x2f
je 0x46eb77
mov byte [ebp - 0x18], cl
cmp edx, edi
jae 0x46eb57
lea eax, [edx + 1]
cmp edi, 0x10
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x34]
cmovae eax, dword [ebp - 0x34]
inc esi
mov byte [eax + edx], cl
mov byte [eax + edx + 1], 0
mov edi, dword [ebp - 0x20]
mov edx, dword [ebp - 0x24]
jmp 0x46ea80
cmp al, 0x3a
jne 0x46ec1b
mov eax, 1
inc esi
jmp 0x46ea60
cmp dword [ebx + 0x14], 0x10
mov ecx, ebx
jb 0x46eaea
mov ecx, dword [ebx]
mov eax, dword [ebp - 0x40]
mov eax, dword [eax]
add eax, ecx
cmp esi, eax
je 0x46ea5b
mov cl, byte [esi]
cmp cl, 0x2f
je 0x46eb4c
cmp cl, 0x3a
je 0x46eb41
mov edx, dword [edi + 0x10]
mov byte [ebp - 0x18], cl
cmp edx, dword [edi + 0x14]
jae 0x46eb2b
cmp dword [edi + 0x14], 0x10
lea eax, [edx + 1]
mov dword [edi + 0x10], eax
mov eax, edi
jb 0x46eb20
mov eax, dword [edi]
mov byte [eax + edx], cl
inc esi
mov byte [eax + edx + 1], 0
jmp 0x46eae0
push dword [ebp - 0x18]
mov byte [ebp - 0x3c], 0
mov ecx, edi
push dword [ebp - 0x3c]
push 1
call fcn.0044e900
inc esi
jmp 0x46eae0
mov eax, 1
inc esi
jmp 0x46ea60
mov eax, 2
inc esi
jmp 0x46ea60
push dword [ebp - 0x18]
mov byte [ebp - 0x3c], 0
lea ecx, [ebp - 0x34]
push dword [ebp - 0x3c]
push 1
call fcn.0044e900
mov edi, dword [ebp - 0x20]
inc esi
mov edx, dword [ebp - 0x24]
jmp 0x46ea80
inc esi
push 0x6eb974
push 0x450a50
push 0x6eb9ac
mov dword [ebp - 0x1c], 0
call fcn.005fbcbd
add esp, 0xc
test eax, eax
je 0x46ec3e
mov ecx, dword [ebp - 0x38]
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x34]
push eax
call fcn.0046f4d0
cmp dword [ebp - 0x1c], 0
mov edi, dword [ebp - 0x38]
mov word [edi + 0x48], ax
je 0x46ebed
mov edx, dword [ebp - 0x20]
cmp edx, 0x10
jb 0x46ec1e
mov ecx, dword [ebp - 0x34]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x46ebe1
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x46ec43
push edx
push ecx
call fcn.005ff7fe
add esp, 8
jmp 0x46ec1e
push 1
push 0x6b5acc
lea ecx, [edi + 0x30]
call fcn.0044e6d0
cmp dword [ebx + 0x14], 0x10
jb 0x46ec04
mov ebx, dword [ebx]
mov eax, dword [ebp - 0x40]
lea ecx, [edi + 0x30]
mov eax, dword [eax]
add eax, ebx
push eax
push esi
call fcn.00486530
mov byte [edi + 0x4b], 1
jmp 0x46ebbb
mov edi, dword [ebp - 0x38]
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.005ff7bd
mov esp, ebp
pop ebp
ret 4
call fcn.0061f60e
call fcn.0061f5be
int3