Function at 0xbed5c0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0xd50976
mov eax, dword fs:[0]
push eax
sub esp, 0x30
push ebx
push esi
push edi
mov eax, dword [str._Sk]
xor eax, esp
push eax
lea eax, [esp + 0x40]
mov dword fs:[0], eax
mov edi, ecx
mov dword [esp + 0x18], edi
mov ebx, dword [ebp + 8]
jmp 0xbed604
mov edi, dword [esp + 0x18]
mov eax, dword [ebx + 4]
mov esi, dword [ebx + 8]
cmp eax, esi
jae 0xbed623
mov cl, byte [eax]
cmp cl, 0x80
jae 0xbed623
movzx ecx, cl
inc eax
mov dword [ebx + 4], eax
mov dword [ebx + 0x14], ecx
mov eax, ecx
jmp 0xbed677
mov edx, esi
sub edx, eax
cmp edx, 0xa
jge 0xbed65c
cmp eax, esi
jae 0xbed638
test byte [esi - 1], 0x80
je 0xbed65c
cmp eax, esi
jne 0xbed653
mov eax, dword [ebx + 0x20]
test eax, eax
jle 0xbed653
mov ecx, dword [ebx + 0xc]
sub ecx, eax
cmp ecx, dword [ebx + 0x24]
jge 0xbed653
mov byte [ebx + 0x18], 1
xor eax, eax
jmp 0xbed674
mov eax, ebx
call fcn.00c7b180
jmp 0xbed674
lea edx, [esp + 0x24]
push edx
call fcn.00c7b110
add esp, 4
test eax, eax
je 0xbed674
mov dword [ebx + 4], eax
mov eax, dword [esp + 0x24]
mov dword [ebx + 0x14], eax
test eax, eax
je 0xbedab6
mov ecx, eax
shr ecx, 3
dec ecx
je 0xbed6e4
dec ecx
je 0xbed6d4
dec ecx
jne 0xbed69b
mov ecx, eax
and cl, 7
cmp cl, 2
je 0xbed800
mov ecx, eax
and cl, 7
cmp cl, 4
je 0xbedab6
lea ecx, [edi + 4]
push ebx
call fcn.00c75320
add esp, 4
test al, al
jne 0xbed604
xor al, al
mov ecx, dword [esp + 0x40]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov edx, eax
and dl, 7
cmp dl, 2
je 0xbed775
jmp 0xbed69b
mov ecx, eax
and cl, 7
cmp cl, 2
jne 0xbed69b
or dword [edi + 0x34], 1
cmp dword [edi + 8], 0xdb5620
jne 0xbed729
push 0x1c
call fcn.00cd8a50
add esp, 4
test eax, eax
je 0xbed71c
mov dword [eax + 0x14], 0xf
mov dword [eax + 0x10], 0
mov byte [eax], 0
jmp 0xbed71e
xor eax, eax
mov dword [esp + 0x48], 0xffffffff
mov dword [edi + 8], eax
mov edx, dword [edi + 8]
lea edi, [esp + 0x28]
mov esi, ebx
mov dword [esp + 0x20], edx
call fcn.00baa530
test al, al
je 0xbed6bd
mov esi, dword [esp + 0x28]
mov edi, dword [esp + 0x20]
call fcn.00c6dd80
test al, al
je 0xbed6bd
mov eax, dword [ebx + 4]
cmp eax, dword [ebx + 8]
jae 0xbed600
cmp byte [eax], 0x12
jne 0xbed600
mov edi, dword [esp + 0x18]
inc eax
mov dword [ebx + 4], eax
or dword [edi + 0x34], 2
cmp dword [edi + 0xc], 0xdb5620
jne 0xbed7b0
push 0x1c
call fcn.00cd8a50
add esp, 4
test eax, eax
je 0xbed7a3
mov dword [eax + 0x14], 0xf
mov dword [eax + 0x10], 0
mov byte [eax], 0
jmp 0xbed7a5
xor eax, eax
mov dword [esp + 0x48], 0xffffffff
mov dword [edi + 0xc], eax
mov eax, dword [edi + 0xc]
lea edi, [esp + 0x2c]
mov esi, ebx
mov dword [esp + 0x20], eax
call fcn.00baa530
test al, al
je 0xbed6bd
mov esi, dword [esp + 0x2c]
mov edi, dword [esp + 0x20]
call fcn.00c6dd80
test al, al
je 0xbed6bd
mov eax, dword [ebx + 4]
cmp eax, dword [ebx + 8]
jae 0xbed600
cmp byte [eax], 0x1a
jne 0xbed600
mov edi, dword [esp + 0x18]
inc eax
mov dword [ebx + 4], eax
lea esp, [esp]
mov eax, dword [edi + 0x14]
mov ecx, dword [edi + 0x18]
cmp eax, ecx
jge 0xbed81d
mov ecx, dword [edi + 0x10]
mov ecx, dword [ecx + eax*4]
inc eax
mov dword [edi + 0x14], eax
mov dword [esp + 0x20], ecx
jmp 0xbed912
mov eax, dword [edi + 0x1c]
cmp ecx, eax
jne 0xbed896
mov ecx, dword [edi + 0x1c]
inc eax
mov dword [esp + 0x20], eax
cmp ecx, eax
jge 0xbed896
mov edi, dword [edi + 0x10]
add ecx, ecx
cmp ecx, eax
mov dword [esp + 0x30], ecx
lea eax, [esp + 0x20]
jl 0xbed845
lea eax, [esp + 0x30]
mov esi, dword [eax]
mov edx, dword [esp + 0x18]
mov dword [edx + 0x1c], esi
xor ecx, ecx
mov eax, esi
mov edx, 4
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00cd7a7c
mov esi, dword [esp + 0x1c]
mov ecx, dword [esi + 0x18]
add ecx, ecx
add esp, 4
add ecx, ecx
push ecx
push edi
push eax
mov dword [esi + 0x10], eax
call fcn.00cdc600
add esi, 0x20
add esp, 0xc
cmp edi, esi
je 0xbed892
push edi
call fcn.00cd9081
add esp, 4
mov edi, dword [esp + 0x18]
inc dword [edi + 0x18]
push 0x80
xor esi, esi
call fcn.00cd8a50
add esp, 4
cmp eax, esi
je 0xbed900
mov dword [eax], vtable.ipc::proto::ComponentInfo.0
mov dword [eax + 4], esi
mov dword [eax + 0x20], esi
mov dword [eax + 0x24], esi
lea edx, [eax + 0x2c]
mov dword [eax + 0x1c], edx
mov ecx, 4
mov dword [eax + 0x28], ecx
mov dword [eax + 0x44], ecx
mov dword [eax + 0x40], esi
lea edx, [eax + 0x48]
mov dword [eax + 0x3c], edx
mov dword [eax + 0x60], ecx
mov dword [eax + 0x5c], esi
mov ecx, 0xdb5620
lea edx, [eax + 0x64]
mov dword [eax + 0x58], edx
mov dword [eax + 0x78], esi
mov dword [eax + 8], ecx
mov dword [eax + 0x74], esi
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], ecx
mov dword [eax + 0x14], esi
mov dword [eax + 0x18], ecx
mov dword [eax + 0x7c], esi
jmp 0xbed902
xor eax, eax
mov ecx, dword [edi + 0x14]
mov edx, dword [edi + 0x10]
mov dword [edx + ecx*4], eax
inc dword [edi + 0x14]
mov dword [esp + 0x20], eax
mov eax, dword [ebx + 4]
mov esi, dword [ebx + 8]
cmp eax, esi
jae 0xbed930
mov cl, byte [eax]
cmp cl, 0x80
jae 0xbed930
movzx ecx, cl
inc eax
mov dword [esp + 0x1c], ecx
mov dword [ebx + 4], eax
jmp 0xbed963
mov edx, esi
sub edx, eax
cmp edx, 0xa
jge 0xbed9d5
cmp esi, eax
jbe 0xbed94b
test byte [esi - 1], 0x80
je 0xbed9d5
lea eax, [esp + 0x34]
push eax
mov eax, ebx
call fcn.00c7b550
test al, al
jne 0xbed9c9
test al, al
je 0xbed6bd
inc dword [ebx + 0x2c]
mov eax, dword [ebx + 0x2c]
cmp eax, dword [ebx + 0x30]
jg 0xbed6bd
mov eax, dword [esp + 0x1c]
push eax
mov ecx, ebx
call fcn.00c7ab20
mov ecx, dword [esp + 0x20]
push ebx
mov esi, eax
call fcn.00bbcf90
test al, al
je 0xbed6bd
cmp byte [ebx + 0x18], 0
je 0xbed6bd
mov ecx, dword [ebx + 0x20]
add dword [ebx + 8], ecx
lea eax, [ebx + 0x1c]
mov dword [eax], esi
cmp dword [ebx + 0x24], esi
jge 0xbed9af
lea eax, [ebx + 0x24]
mov ecx, dword [eax]
mov eax, dword [ebx + 0xc]
cmp ecx, eax
jge 0xbeda5b
sub eax, ecx
sub dword [ebx + 8], eax
mov dword [ebx + 0x20], eax
jmp 0xbeda62
mov ecx, dword [esp + 0x34]
mov dword [esp + 0x1c], ecx
mov al, 1
jmp 0xbed95b
movzx ecx, byte [eax]
mov esi, ecx
inc eax
and esi, 0x7f
test cl, cl
jns 0xbeda43
movzx ecx, byte [eax]
mov edx, ecx
and edx, 0x7f
shl edx, 7
inc eax
or esi, edx
test cl, cl
jns 0xbeda43
movzx ecx, byte [eax]
mov edx, ecx
and edx, 0x7f
shl edx, 0xe
inc eax
or esi, edx
test cl, cl
jns 0xbeda43
movzx ecx, byte [eax]
mov edx, ecx
and edx, 0x7f
shl edx, 0x15
inc eax
or esi, edx
test cl, cl
jns 0xbeda43
movzx ecx, byte [eax]
mov edx, ecx
shl edx, 0x1c
inc eax
or esi, edx
test cl, cl
jns 0xbeda43
xor edx, edx
lea esp, [esp]
movzx ecx, byte [eax]
inc eax
test cl, cl
jns 0xbeda43
inc edx
cmp edx, 5
jl 0xbeda30
jmp 0xbed6bd
mov dword [esp + 0x1c], esi
test eax, eax
je 0xbed6bd
mov edi, dword [esp + 0x18]
mov dword [ebx + 4], eax
jmp 0xbed963
mov dword [ebx + 0x20], 0
mov eax, dword [ebx + 0x2c]
mov byte [ebx + 0x18], 0
test eax, eax
jle 0xbeda71
dec eax
mov dword [ebx + 0x2c], eax
mov eax, dword [ebx + 4]
cmp eax, dword [ebx + 8]
jae 0xbeda85
cmp byte [eax], 0x1a
je 0xbed7f8
cmp eax, dword [ebx + 8]
jne 0xbed604
cmp dword [ebx + 0x20], 0
je 0xbed604
mov al, 1
mov dword [ebx + 0x14], 0
mov byte [ebx + 0x18], al
mov ecx, dword [esp + 0x40]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov al, 1
mov ecx, dword [esp + 0x40]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4