Function at 0x10046dc0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1012c072
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
push edi
mov eax, dword [0x10188068]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov edi, dword [esi + 4]
push edi
call dword [sym.imp.IMM32.dll_ImmLockIMC]
test eax, eax
je 0x10046e01
cmp dword [eax], 0
je 0x10046e01
mov cl, 1
jmp 0x10046e03
xor cl, cl
test cl, cl
jne 0x10046e2b
test eax, eax
je 0x10046e12
push edi
call dword [sym.imp.IMM32.dll_ImmUnlockIMC]
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov ebx, dword [sym.imp.IMM32.dll_ImmUnlockIMC]
test eax, eax
je 0x10046e38
push edi
call ebx
mov edi, dword [ebp + 8]
test edi, edi
je 0x10046fc5
mov ecx, esi
call fcn.100468e0
push edi
push dword [esi + 4]
call dword [sym.imp.IMM32.dll_ImmSetOpenStatus]
cmp byte [0x10196d48], 0
jne 0x10046e12
mov ecx, dword [esi + 0x10]
mov byte [0x10196d48], 1
call fcn.10069270
mov ecx, esi
call fcn.100468e0
mov byte [0x10196d48], 0
test al, al
je 0x10046e12
push dword [esi + 4]
mov eax, dword [sym.imp.IMM32.dll_ImmLockIMC]
call eax
mov edi, eax
test edi, edi
je 0x10046ec0
cmp dword [edi], 0
je 0x10046ec0
mov eax, dword [edi + 0x118]
push 0x464
test eax, eax
jne 0x10046eaa
call dword [sym.imp.IMM32.dll_ImmCreateIMCC]
jmp 0x10046eb1
push eax
call dword [sym.imp.IMM32.dll_ImmReSizeIMCC]
mov dword [edi + 0x118], eax
test eax, eax
jne 0x10046ed9
push dword [esi + 4]
call ebx
mov eax, 0x80004005
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
push eax
call dword [sym.imp.IMM32.dll_ImmLockIMCC]
mov dword [ebp - 0x14], eax
test eax, eax
je 0x10046ebb
mov eax, dword [esi + 0x14]
mov ecx, dword [edi]
mov dword [ebp + 8], eax
mov dword [ebp - 0x10], ecx
mov ebx, dword [eax + 4]
test ebx, ebx
jne 0x10046f2c
push 0xe98
call fcn.100e279e
add esp, 4
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp + 8]
mov dword [ebp - 4], ebx
push dword [ecx + 0x19c]
push ecx
mov ecx, eax
call fcn.1004dc40
mov ebx, eax
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp + 8]
mov dword [eax + 4], ebx
push dword [ebx + 0x14]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x10046f61
mov eax, dword [ebp - 0x10]
cmp dword [ebx + 0x250], eax
je 0x10046f6c
push dword [ebx + 0x14]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x10046f61
push dword [ebx + 0x14]
call dword [sym.imp.USER32.dll_DestroyWindow]
mov dword [ebx + 0x14], 0
push dword [ebp - 0x10]
lea ecx, [ebx + 0x10]
call fcn.100527f0
cmp dword [edi + 4], 0
je 0x10046f84
call dword [sym.imp.USER32.dll_GetFocus]
cmp eax, dword [edi]
jne 0x10046f84
mov ecx, dword [esi + 0x14]
call fcn.1004e330
mov ebx, dword [ebp - 0x14]
push 0x464
push 0
push ebx
call fcn.100fc650
add esp, 0xc
mov dword [ebx], 0x464
mov dword [ebx + 0x30], 0x64
mov dword [ebx + 0x58], 0x264
push dword [edi + 0x118]
call dword [sym.imp.IMM32.dll_ImmUnlockIMCC]
push dword [esi + 4]
call dword [sym.imp.IMM32.dll_ImmUnlockIMC]
jmp 0x1004708b
mov edi, dword [esi + 0x10]
cmp dword [edi + 0x3c], 0xffffffff
je 0x10046fd7
cmp dword [edi], 0
je 0x10046fd7
mov al, 1
jmp 0x10046fd9
xor al, al
test al, al
je 0x10046ff3
push dword [edi]
mov ecx, edi
push 0
push 0x8003
call fcn.10069a00
mov dword [edi], 0
mov edi, dword [esi + 0x14]
mov ecx, dword [edi + 4]
test ecx, ecx
je 0x10047005
call fcn.1004e570
mov edi, dword [esi + 0x14]
mov edi, dword [edi + 4]
mov ecx, dword [sym.imp.USER32.dll_IsWindow]
test edi, edi
je 0x10047031
push dword [edi + 0x14]
call ecx
test eax, eax
je 0x1004702b
mov eax, dword [edi + 0x14]
test eax, eax
je 0x1004702b
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, dword [sym.imp.USER32.dll_IsWindow]
mov eax, dword [esi + 0x14]
mov edi, dword [eax + 4]
test edi, edi
je 0x10047054
push dword [edi + 0x14]
call ecx
test eax, eax
je 0x10047054
push dword [edi + 0x14]
call dword [sym.imp.USER32.dll_DestroyWindow]
mov dword [edi + 0x14], 0
push dword [esi + 4]
mov eax, dword [sym.imp.IMM32.dll_ImmLockIMC]
call eax
mov edi, eax
test edi, edi
je 0x1004708b
mov eax, dword [edi + 0x118]
mov dword [edi + 4], 0
test eax, eax
je 0x10047086
push eax
call dword [sym.imp.IMM32.dll_ImmDestroyIMCC]
mov dword [edi + 0x118], 0
push dword [esi + 4]
call ebx
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4