Function at 0x46ba00
Capabilities:
Get process heap flags
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x62b6f6
mov eax, dword fs:[0]
push eax
sub esp, 0x40
mov eax, dword [0x6d45e0]
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 edi, ecx
mov dword [ebp - 0x38], edi
mov dword [edi + 0x14], 0xf
mov dword [edi + 0x10], 0
mov dword [ebp - 0x4c], edi
mov byte [edi], 0
lea eax, [edi + 0x18]
mov dword [ebp - 4], 0
mov dword [eax + 0x14], 0xf
mov dword [eax + 0x10], 0
mov dword [ebp - 0x18], eax
mov byte [eax], 0
lea eax, [edi + 0x30]
mov dword [eax + 0x14], 0xf
mov dword [eax + 0x10], 0
mov dword [ebp - 0x3c], eax
mov byte [eax], 0
mov ebx, dword [ebp + 8]
mov byte [ebp - 4], 2
mov byte [edi + 0x4b], 0
cmp dword [ebx + 0x14], 0x10
jb 0x46ba91
mov eax, dword [ebx]
mov dword [ebp - 0x44], eax
jmp 0x46ba96
mov eax, ebx
mov dword [ebp - 0x44], ebx
lea ecx, [ebx + 0x10]
mov dword [ebp - 0x40], ecx
mov ecx, dword [ecx]
mov dword [ebp - 0x48], ecx
cmp ecx, 7
jb 0x46bad8
lea esi, [eax + 6]
mov ecx, eax
push str.wss:__
mov edx, esi
call fcn.004bca40
add esp, 4
test al, al
je 0x46bad5
push 3
push 0x6a0be8
mov ecx, edi
mov byte [edi + 0x4a], 1
call fcn.00404a10
jmp 0x46bb7c
mov ecx, dword [ebp - 0x48]
cmp ecx, 6
jb 0x46bb0d
mov ecx, dword [ebp - 0x44]
push str.ws:__
lea esi, [ecx + 5]
mov edx, esi
call fcn.004bca40
add esp, 4
test al, al
je 0x46bb0a
push 2
push 0x6a0bf4
mov ecx, edi
mov byte [edi + 0x4a], 0
call fcn.00404a10
jmp 0x46bb7c
mov ecx, dword [ebp - 0x48]
cmp ecx, 8
jb 0x46bb44
mov eax, dword [ebp - 0x44]
mov ecx, eax
push str.http:__
lea esi, [eax + 7]
mov edx, esi
call fcn.004bca40
add esp, 4
test al, al
je 0x46bb41
push 4
push str.http
mov ecx, edi
mov byte [edi + 0x4a], 0
call fcn.00404a10
jmp 0x46bb7c
mov ecx, dword [ebp - 0x48]
cmp ecx, 9
jb 0x46bd3b
mov eax, dword [ebp - 0x44]
mov ecx, eax
push str.https:__
lea esi, [eax + 8]
mov edx, esi
call fcn.004bca40
add esp, 4
test al, al
je 0x46bd3b
push str.https
mov ecx, edi
mov byte [edi + 0x4a], 1
call fcn.004047e0
cmp byte [esi], 0x5b
jne 0x46bc56
mov eax, dword [ebp - 0x40]
inc esi
mov ecx, dword [ebx + 0x14]
mov edi, esi
mov edx, dword [eax]
cmp ecx, 0x10
jb 0x46bb99
mov eax, dword [ebx]
jmp 0x46bb9b
mov eax, ebx
add eax, edx
cmp edi, eax
je 0x46bba9
cmp byte [edi], 0x5d
je 0x46bba9
inc edi
jmp 0x46bb90
cmp ecx, 0x10
jb 0x46bbb2
mov eax, dword [ebx]
jmp 0x46bbb4
mov eax, ebx
add eax, edx
cmp edi, eax
je 0x46bc4e
mov edx, dword [ebp - 0x18]
cmp dword [edx + 0x14], 0x10
jb 0x46bbcb
mov eax, dword [edx]
jmp 0x46bbcd
mov eax, edx
mov ecx, dword [edx + 0x10]
add ecx, eax
cmp dword [edx + 0x14], 0x10
jb 0x46bbdc
mov eax, dword [edx]
jmp 0x46bbde
mov eax, edx
add eax, dword [edx + 0x10]
push edi
push esi
push ecx
push eax
mov ecx, edx
call fcn.0047dc00
cmp dword [ebx + 0x14], 0x10
lea esi, [edi + 1]
jb 0x46bbf9
mov ecx, dword [ebx]
jmp 0x46bbfb
mov ecx, ebx
mov edx, dword [ebp - 0x40]
mov eax, dword [edx]
add eax, ecx
cmp esi, eax
jne 0x46bc0b
mov edi, dword [ebp - 0x38]
jmp 0x46bc15
mov al, byte [esi]
cmp al, 0x2f
jne 0x46bc3f
mov edi, dword [ebp - 0x38]
inc esi
mov eax, 2
mov dword [ebp - 0x20], 0xf
mov dword [ebp - 0x24], 0
mov byte [ebp - 0x34], 0
mov byte [ebp - 4], 3
cmp eax, 1
jne 0x46bcb4
cmp dword [ebx + 0x14], 0x10
jb 0x46bc92
mov ecx, dword [ebx]
jmp 0x46bc94
cmp al, 0x3a
jne 0x46bc4e
mov edi, dword [ebp - 0x38]
mov eax, 1
inc esi
jmp 0x46bc1a
mov eax, dword [ebp - 0x38]
jmp 0x46bd3d
cmp dword [ebx + 0x14], 0x10
jb 0x46bc60
mov ecx, dword [ebx]
jmp 0x46bc62
mov ecx, ebx
mov edx, dword [ebp - 0x40]
mov eax, dword [edx]
add eax, ecx
cmp esi, eax
je 0x46bc15
mov al, byte [esi]
cmp al, 0x2f
je 0x46bc14
cmp al, 0x3a
je 0x46bc8a
mov byte [ebp - 0x18], al
lea ecx, [edi + 0x18]
push dword [ebp - 0x18]
push 1
call fcn.00405eb0
inc esi
jmp 0x46bc56
mov eax, 1
inc esi
jmp 0x46bc1a
mov ecx, ebx
mov eax, dword [edx]
add eax, ecx
cmp esi, eax
je 0x46bcb4
mov al, byte [esi]
cmp al, 0x2f
je 0x46bcb3
push eax
push 1
lea ecx, [ebp - 0x34]
call fcn.00405eb0
mov edx, dword [ebp - 0x40]
inc esi
jmp 0x46bc35
inc esi
lea eax, [ebp - 0x1c]
mov dword [ebp - 0x1c], 0
push eax
lea eax, [ebp - 0x34]
mov ecx, edi
push eax
call fcn.0046cb00
cmp dword [ebp - 0x1c], 0
mov word [edi + 0x48], ax
jne 0x46bd2a
mov ecx, dword [ebp - 0x3c]
push 1
push 0x69d294
call fcn.00404a10
cmp dword [ebx + 0x14], 0x10
jb 0x46bceb
mov ebx, dword [ebx]
mov eax, dword [ebp - 0x40]
mov edx, dword [ebp - 0x3c]
mov ecx, dword [eax]
add ecx, ebx
mov ebx, dword [edx + 0x14]
cmp ebx, 0x10
jb 0x46bd01
mov eax, dword [edx]
jmp 0x46bd03
mov eax, edx
mov edx, dword [edx + 0x10]
add edx, eax
mov eax, dword [ebp - 0x3c]
cmp ebx, 0x10
jb 0x46bd12
mov eax, dword [eax]
mov edi, dword [ebp - 0x3c]
push ecx
push esi
push edx
add eax, dword [edi + 0x10]
mov ecx, edi
push eax
call fcn.0047dc00
mov edi, dword [ebp - 0x38]
mov byte [edi + 0x4b], 1
cmp dword [ebp - 0x20], 0x10
jb 0x46bd3b
push dword [ebp - 0x34]
call fcn.004c41b0
add esp, 4
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.004c392d
mov esp, ebp
pop ebp
ret 4