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

Disassembly:
push 0xffffffffffffffff
push 0x4b17c2
mov eax, dword fs:[0]
push eax
sub esp, 0xa4
mov eax, dword [0x5116ec]
xor eax, esp
mov dword [esp + 0xa0], eax
push ebx
push ebp
push esi
mov eax, dword [0x5116ec]
xor eax, esp
push eax
lea eax, [esp + 0xb4]
mov dword fs:[0], eax
mov dword [esp + 0x2c], edi
mov dword [esp + 0x20], ecx
xor ebx, ebx
mov dword [esp + 0xbc], ebx
mov dword [edi], vtable.ipc::hub::HubInputContextManager.0
mov dword [edi + 4], ebx
mov dword [edi + 8], ecx
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push edi
call edx
lea eax, [esp + 0x5c]
mov esi, 0x515620
lea ecx, [esp + 0x78]
mov dword [esp + 0x4c], eax
mov eax, 4
mov dword [esp + 0x6c], ecx
lea edx, [esp + 0x94]
mov ecx, esi
mov dword [esp + 0x58], eax
mov dword [esp + 0x74], eax
mov dword [esp + 0x90], eax
mov dword [esp + 0x30], vtable.ipc::proto::ComponentInfo.0
mov dword [esp + 0x34], ebx
mov dword [esp + 0x50], ebx
mov dword [esp + 0x54], ebx
mov dword [esp + 0x70], ebx
mov dword [esp + 0x88], edx
mov dword [esp + 0x8c], ebx
mov dword [esp + 0xa8], ebx
mov dword [esp + 0x38], ecx
mov dword [esp + 0xa4], ebx
mov dword [esp + 0x3c], esi
mov dword [esp + 0x40], esi
mov dword [esp + 0x44], ebx
mov dword [esp + 0x48], esi
xor eax, eax
or eax, 1
mov byte [esp + 0xbc], 1
mov dword [esp + 0xac], eax
lea ebp, [ebx + 0xf]
cmp ecx, esi
jne 0x33587c
push 0x1c
call fcn.00438a50
add esp, 4
cmp eax, ebx
je 0x33586c
mov dword [eax + 0x14], ebp
mov dword [eax + 0x10], ebx
mov byte [eax], bl
jmp 0x33586e
xor eax, eax
mov ecx, eax
mov byte [esp + 0xbc], 1
mov dword [esp + 0x38], ecx
push 0x32
push 0x4c6c40
call fcn.002f8800
mov ecx, dword [esp + 0x3c]
or dword [esp + 0xac], 4
cmp ecx, esi
jne 0x3358c0
push 0x1c
call fcn.00438a50
add esp, 4
cmp eax, ebx
je 0x3358b0
mov dword [eax + 0x14], ebp
mov dword [eax + 0x10], ebx
mov byte [eax], bl
jmp 0x3358b2
xor eax, eax
mov ecx, eax
mov byte [esp + 0xbc], 1
mov dword [esp + 0x3c], ecx
push 0x23
push str.Goopy_IPC_Hub_Input_Context_Manager
call fcn.002f8800
xor eax, eax
mov dword [esp + 0x18], eax
mov eax, dword [eax + str.______ABCF]
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x90]
cmp dword [esp + 0x8c], eax
jne 0x335965
lea ecx, [eax + 1]
mov dword [esp + 0x28], ecx
cmp eax, ecx
jge 0x335965
mov esi, dword [esp + 0x88]
add eax, eax
mov dword [esp + 0x24], eax
cmp eax, ecx
lea eax, [esp + 0x28]
jl 0x335910
lea eax, [esp + 0x24]
mov ebp, dword [eax]
xor ecx, ecx
mov eax, ebp
mov edx, 4
mul edx
seto cl
mov dword [esp + 0x90], ebp
neg ecx
or ecx, eax
push ecx
call fcn.00437a7c
mov ecx, dword [esp + 0x90]
lea edx, [ecx*4]
push edx
push esi
push eax
mov dword [esp + 0x98], eax
call fcn.0043c600
lea eax, [esp + 0xa4]
add esp, 0x10
cmp esi, eax
je 0x335965
push esi
call fcn.00439081
add esp, 4
mov eax, dword [esp + 0x8c]
mov ecx, dword [esp + 0x88]
mov edx, dword [esp + 0x1c]
mov dword [ecx + eax*4], edx
mov eax, dword [esp + 0x18]
inc dword [esp + 0x8c]
add eax, 4
mov dword [esp + 0x18], eax
cmp eax, 0x38
jb 0x3358d2
mov edx, dword [esp + 0x20]
push 1
lea ecx, [esp + 0x34]
push ecx
push edi
push edx
call fcn.0032ac50
lea ecx, [esp + 0x30]
mov dword [edi + 4], eax
mov byte [esp + 0xbc], bl
call fcn.0031ccd0
mov eax, edi
mov ecx, dword [esp + 0xb4]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0xa0]
xor ecx, esp
call fcn.00438a41
add esp, 0xb0
ret