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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x5c0e58
mov eax, dword fs:[0]
push eax
sub esp, 0x60
mov eax, dword [0x6216ec]
xor eax, esp
mov dword [esp + 0x58], eax
push ebx
push esi
push edi
mov eax, dword [0x6216ec]
xor eax, esp
push eax
lea eax, [esp + 0x70]
mov dword fs:[0], eax
mov esi, ecx
mov edi, edx
xor ebx, ebx
mov dword [esp + 0x20], esi
mov dword [esp + 0x30], edi
mov dword [esp + 0x28], ebx
call fcn.0046c440
xor ecx, ecx
mov dword [esp + 0x28], ecx
cmp dword [edi + 4], ebx
jbe 0x46bd83
jmp 0x46ba52
mov edi, eax
mov eax, dword [edi]
mov edi, dword [eax + ecx*4]
xor eax, eax
mov dword [esp + 0x2c], edi
mov dword [esp + 0x34], eax
cmp dword [edi + 0xc], ebx
jbe 0x46bd71
lea ebx, [ebx]
mov ecx, dword [edi + 8]
mov esi, dword [ecx + eax*4]
test byte [esi + 0x34], 1
mov dword [esp + 0x1c], esi
je 0x46bd5b
mov edx, dword [esi + 0x34]
shr edx, 6
test dl, 1
je 0x46bd5b
mov eax, dword [esp + 0x20]
push ebx
push esi
push eax
call fcn.0046c610
mov dword [esp + 0x18], eax
cmp eax, ebx
je 0x46bd5b
mov ecx, dword [esp + 0x20]
mov ecx, dword [ecx + 4]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
mov esi, dword [esi + 8]
mov edi, dword [edi + 0x28]
call eax
push 0xffffffffffffffff
push ebx
push esi
lea ecx, [esp + 0x58]
mov dword [esp + 0x44], eax
mov byte [esp + 0x48], bl
mov dword [esp + 0x4c], edi
mov dword [esp + 0x50], ebx
mov dword [esp + 0x54], ebx
mov dword [esp + 0x6c], 0xf
mov dword [esp + 0x68], ebx
mov byte [esp + 0x58], bl
call fcn.00409870
mov edi, dword [esp + 0x20]
push edi
lea ecx, [esp + 0x3c]
mov dword [esp + 0x7c], 2
call fcn.0046d9a0
mov edx, dword [esp + 0x1c]
add esp, 4
push eax
mov eax, dword [edx + 0x10]
add eax, 0xe4
call fcn.0048acd0
add edi, 0x8c
mov esi, eax
mov eax, dword [edi + 4]
lea ecx, [esp + 0x14]
mov dword [esp + 0x14], esi
cmp ecx, eax
jae 0x46bb61
mov ecx, dword [edi]
lea edx, [esp + 0x14]
cmp ecx, edx
ja 0x46bb61
mov esi, edx
sub esi, ecx
sar esi, 2
cmp eax, dword [edi + 8]
jne 0x46bb4f
mov eax, edi
call fcn.004be360
mov eax, dword [edi]
lea ecx, [eax + esi*4]
mov eax, dword [edi + 4]
cmp eax, ebx
je 0x46bb76
mov ecx, dword [ecx]
mov dword [eax], ecx
jmp 0x46bb76
cmp eax, dword [edi + 8]
jne 0x46bb6d
mov eax, edi
call fcn.004be360
mov eax, dword [edi + 4]
cmp eax, ebx
je 0x46bb76
mov dword [eax], esi
add dword [edi + 4], 4
mov edx, dword [esp + 0x1c]
mov eax, dword [edx + 0x34]
shr eax, 0xa
test al, 1
je 0x46bd3b
push 0x38
call fcn.00548a50
add esp, 4
cmp eax, ebx
je 0x46bbd7
mov dword [eax], vtable.ipc::proto::Command.0
mov dword [eax + 4], ebx
mov ecx, 0x625620
mov esi, eax
mov dword [eax + 0x30], ebx
mov dword [eax + 8], ecx
mov dword [eax + 0xc], ebx
mov word [eax + 0x10], 0x101
mov dword [eax + 0x14], ebx
mov dword [eax + 0x18], ebx
mov dword [eax + 0x1c], ebx
mov dword [eax + 0x20], ecx
mov dword [eax + 0x24], ebx
mov dword [eax + 0x28], ebx
mov dword [eax + 0x2c], ebx
mov dword [eax + 0x34], ebx
mov dword [esp + 0x14], esi
jmp 0x46bbdd
mov dword [esp + 0x14], ebx
mov esi, ebx
mov dword [esp + 0x24], esi
cmp dword [esp + 0x1c], esi
je 0x46bbfc
mov edx, dword [esi]
mov eax, dword [edx + 0xc]
mov ecx, esi
call eax
mov ecx, dword [esp + 0x1c]
push ecx
mov ecx, esi
call fcn.00425500
mov esi, dword [esp + 0x20]
mov ecx, dword [esi + 0xa0]
lea edx, [esp + 0x24]
cmp edx, ecx
jae 0x46bc55
mov edx, dword [esi + 0x9c]
lea eax, [esp + 0x24]
cmp edx, eax
ja 0x46bc55
sub eax, edx
sar eax, 2
mov dword [esp + 0x1c], eax
cmp ecx, dword [esi + 0xa4]
jne 0x46bc3c
lea eax, [esi + 0x9c]
call fcn.004be360
mov eax, dword [esp + 0x1c]
mov ecx, dword [esi + 0x9c]
lea ecx, [ecx + eax*4]
mov eax, dword [esi + 0xa0]
cmp eax, ebx
je 0x46bc78
mov edx, dword [ecx]
mov dword [eax], edx
jmp 0x46bc78
cmp ecx, dword [esi + 0xa4]
jne 0x46bc68
lea eax, [esi + 0x9c]
call fcn.004be360
mov eax, dword [esi + 0xa0]
cmp eax, ebx
je 0x46bc78
mov ecx, dword [esp + 0x14]
mov dword [eax], ecx
add dword [esi + 0xa0], 4
push 0x10
call fcn.00548a50
add esp, 4
cmp eax, ebx
je 0x46bcaa
mov ecx, dword [esp + 0x14]
mov edx, esi
mov dword [eax], vtable.._AV__MethodSlotClosure2_XPAVBasicElement_ggadget__PAVMenuInterface_2_VToolbarElementManager_ToolbarManager_components_ime_goopy__P84567_AEXPAV12_PAV32_PBVCommand_proto_ipc___ZPBV89ipc___ggadget__.0
mov dword [eax + 4], edx
mov dword [eax + 8], 0x46bf50
mov dword [eax + 0xc], ecx
mov esi, eax
jmp 0x46bcac
xor esi, esi
push 0xc
call fcn.00548a50
add esp, 4
cmp eax, ebx
je 0x46bcce
mov edx, dword [esp + 0x18]
mov dword [eax], vtable.ime_goopy::skin::Skin::Impl::ContextMenuEventSlot.0
mov dword [eax + 4], edx
mov dword [eax + 8], esi
mov ecx, eax
jmp 0x46bcd0
xor ecx, ecx
mov eax, dword [esp + 0x18]
mov eax, dword [eax + 0x10]
add eax, 0x17c
push ecx
call fcn.0048acd0
mov esi, eax
mov eax, dword [edi + 4]
lea ecx, [esp + 0x18]
mov dword [esp + 0x18], esi
cmp ecx, eax
jae 0x46bd22
mov ecx, dword [edi]
lea edx, [esp + 0x18]
cmp ecx, edx
ja 0x46bd22
mov esi, edx
sub esi, ecx
sar esi, 2
cmp eax, dword [edi + 8]
jne 0x46bd10
mov eax, edi
call fcn.004be360
mov eax, dword [edi]
lea ecx, [eax + esi*4]
mov eax, dword [edi + 4]
cmp eax, ebx
je 0x46bd37
mov ecx, dword [ecx]
mov dword [eax], ecx
jmp 0x46bd37
cmp eax, dword [edi + 8]
jne 0x46bd2e
mov eax, edi
call fcn.004be360
mov eax, dword [edi + 4]
cmp eax, ebx
je 0x46bd37
mov dword [eax], esi
add dword [edi + 4], 4
mov dword [esp + 0x78], 0xffffffff
cmp dword [esp + 0x60], 0x10
jb 0x46bd57
mov edx, dword [esp + 0x4c]
push edx
call fcn.00548a36
add esp, 4
mov edi, dword [esp + 0x2c]
mov eax, dword [esp + 0x34]
inc eax
mov dword [esp + 0x34], eax
cmp eax, dword [edi + 0xc]
jb 0x46ba70
mov ecx, dword [esp + 0x28]
mov eax, dword [esp + 0x30]
inc ecx
mov dword [esp + 0x28], ecx
cmp ecx, dword [eax + 4]
jb 0x46ba50
mov ecx, dword [esp + 0x70]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x58]
xor ecx, esp
call fcn.00548a41
mov esp, ebp
pop ebp
ret