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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x1410976
mov eax, dword fs:[0]
push eax
sub esp, 0x30
push ebx
push esi
push edi
mov eax, dword [0x14716ec]
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 0x12ad604
mov edi, dword [esp + 0x18]
mov eax, dword [ebx + 4]
mov esi, dword [ebx + 8]
cmp eax, esi
jae 0x12ad623
mov cl, byte [eax]
cmp cl, 0x80
jae 0x12ad623
movzx ecx, cl
inc eax
mov dword [ebx + 4], eax
mov dword [ebx + 0x14], ecx
mov eax, ecx
jmp 0x12ad677
mov edx, esi
sub edx, eax
cmp edx, 0xa
jge 0x12ad65c
cmp eax, esi
jae 0x12ad638
test byte [esi - 1], 0x80
je 0x12ad65c
cmp eax, esi
jne 0x12ad653
mov eax, dword [ebx + 0x20]
test eax, eax
jle 0x12ad653
mov ecx, dword [ebx + 0xc]
sub ecx, eax
cmp ecx, dword [ebx + 0x24]
jge 0x12ad653
mov byte [ebx + 0x18], 1
xor eax, eax
jmp 0x12ad674
mov eax, ebx
call fcn.0133b180
jmp 0x12ad674
lea edx, [esp + 0x24]
push edx
call fcn.0133b110
add esp, 4
test eax, eax
je 0x12ad674
mov dword [ebx + 4], eax
mov eax, dword [esp + 0x24]
mov dword [ebx + 0x14], eax
test eax, eax
je 0x12adab6
mov ecx, eax
shr ecx, 3
dec ecx
je 0x12ad6e4
dec ecx
je 0x12ad6d4
dec ecx
jne 0x12ad69b
mov ecx, eax
and cl, 7
cmp cl, 2
je 0x12ad800
mov ecx, eax
and cl, 7
cmp cl, 4
je 0x12adab6
lea ecx, [edi + 4]
push ebx
call fcn.01335320
add esp, 4
test al, al
jne 0x12ad604
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 0x12ad775
jmp 0x12ad69b
mov ecx, eax
and cl, 7
cmp cl, 2
jne 0x12ad69b
or dword [edi + 0x34], 1
cmp dword [edi + 8], 0x1475620
jne 0x12ad729
push 0x1c
call fcn.01398a50
add esp, 4
test eax, eax
je 0x12ad71c
mov dword [eax + 0x14], 0xf
mov dword [eax + 0x10], 0
mov byte [eax], 0
jmp 0x12ad71e
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.0126a530
test al, al
je 0x12ad6bd
mov esi, dword [esp + 0x28]
mov edi, dword [esp + 0x20]
call fcn.0132dd80
test al, al
je 0x12ad6bd
mov eax, dword [ebx + 4]
cmp eax, dword [ebx + 8]
jae 0x12ad600
cmp byte [eax], 0x12
jne 0x12ad600
mov edi, dword [esp + 0x18]
inc eax
mov dword [ebx + 4], eax
or dword [edi + 0x34], 2
cmp dword [edi + 0xc], 0x1475620
jne 0x12ad7b0
push 0x1c
call fcn.01398a50
add esp, 4
test eax, eax
je 0x12ad7a3
mov dword [eax + 0x14], 0xf
mov dword [eax + 0x10], 0
mov byte [eax], 0
jmp 0x12ad7a5
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.0126a530
test al, al
je 0x12ad6bd
mov esi, dword [esp + 0x2c]
mov edi, dword [esp + 0x20]
call fcn.0132dd80
test al, al
je 0x12ad6bd
mov eax, dword [ebx + 4]
cmp eax, dword [ebx + 8]
jae 0x12ad600
cmp byte [eax], 0x1a
jne 0x12ad600
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 0x12ad81d
mov ecx, dword [edi + 0x10]
mov ecx, dword [ecx + eax*4]
inc eax
mov dword [edi + 0x14], eax
mov dword [esp + 0x20], ecx
jmp 0x12ad912
mov eax, dword [edi + 0x1c]
cmp ecx, eax
jne 0x12ad896
mov ecx, dword [edi + 0x1c]
inc eax
mov dword [esp + 0x20], eax
cmp ecx, eax
jge 0x12ad896
mov edi, dword [edi + 0x10]
add ecx, ecx
cmp ecx, eax
mov dword [esp + 0x30], ecx
lea eax, [esp + 0x20]
jl 0x12ad845
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.01397a7c
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.0139c600
add esi, 0x20
add esp, 0xc
cmp edi, esi
je 0x12ad892
push edi
call fcn.01399081
add esp, 4
mov edi, dword [esp + 0x18]
inc dword [edi + 0x18]
push 0x80
xor esi, esi
call fcn.01398a50
add esp, 4
cmp eax, esi
je 0x12ad900
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, 0x1475620
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 0x12ad902
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 0x12ad930
mov cl, byte [eax]
cmp cl, 0x80
jae 0x12ad930
movzx ecx, cl
inc eax
mov dword [esp + 0x1c], ecx
mov dword [ebx + 4], eax
jmp 0x12ad963
mov edx, esi
sub edx, eax
cmp edx, 0xa
jge 0x12ad9d5
cmp esi, eax
jbe 0x12ad94b
test byte [esi - 1], 0x80
je 0x12ad9d5
lea eax, [esp + 0x34]
push eax
mov eax, ebx
call fcn.0133b550
test al, al
jne 0x12ad9c9
test al, al
je 0x12ad6bd
inc dword [ebx + 0x2c]
mov eax, dword [ebx + 0x2c]
cmp eax, dword [ebx + 0x30]
jg 0x12ad6bd
mov eax, dword [esp + 0x1c]
push eax
mov ecx, ebx
call fcn.0133ab20
mov ecx, dword [esp + 0x20]
push ebx
mov esi, eax
call fcn.0127cf90
test al, al
je 0x12ad6bd
cmp byte [ebx + 0x18], 0
je 0x12ad6bd
mov ecx, dword [ebx + 0x20]
add dword [ebx + 8], ecx
lea eax, [ebx + 0x1c]
mov dword [eax], esi
cmp dword [ebx + 0x24], esi
jge 0x12ad9af
lea eax, [ebx + 0x24]
mov ecx, dword [eax]
mov eax, dword [ebx + 0xc]
cmp ecx, eax
jge 0x12ada5b
sub eax, ecx
sub dword [ebx + 8], eax
mov dword [ebx + 0x20], eax
jmp 0x12ada62
mov ecx, dword [esp + 0x34]
mov dword [esp + 0x1c], ecx
mov al, 1
jmp 0x12ad95b
movzx ecx, byte [eax]
mov esi, ecx
inc eax
and esi, 0x7f
test cl, cl
jns 0x12ada43
movzx ecx, byte [eax]
mov edx, ecx
and edx, 0x7f
shl edx, 7
inc eax
or esi, edx
test cl, cl
jns 0x12ada43
movzx ecx, byte [eax]
mov edx, ecx
and edx, 0x7f
shl edx, 0xe
inc eax
or esi, edx
test cl, cl
jns 0x12ada43
movzx ecx, byte [eax]
mov edx, ecx
and edx, 0x7f
shl edx, 0x15
inc eax
or esi, edx
test cl, cl
jns 0x12ada43
movzx ecx, byte [eax]
mov edx, ecx
shl edx, 0x1c
inc eax
or esi, edx
test cl, cl
jns 0x12ada43
xor edx, edx
lea esp, [esp]
movzx ecx, byte [eax]
inc eax
test cl, cl
jns 0x12ada43
inc edx
cmp edx, 5
jl 0x12ada30
jmp 0x12ad6bd
mov dword [esp + 0x1c], esi
test eax, eax
je 0x12ad6bd
mov edi, dword [esp + 0x18]
mov dword [ebx + 4], eax
jmp 0x12ad963
mov dword [ebx + 0x20], 0
mov eax, dword [ebx + 0x2c]
mov byte [ebx + 0x18], 0
test eax, eax
jle 0x12ada71
dec eax
mov dword [ebx + 0x2c], eax
mov eax, dword [ebx + 4]
cmp eax, dword [ebx + 8]
jae 0x12ada85
cmp byte [eax], 0x1a
je 0x12ad7f8
cmp eax, dword [ebx + 8]
jne 0x12ad604
cmp dword [ebx + 0x20], 0
je 0x12ad604
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