Function at 0x100772a0
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xac
mov eax, dword [0x1010e040]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, ecx
push esi
push edi
mov dword [ebp - 0x5c], ebx
mov eax, dword [ebx]
mov eax, dword [eax + 0xcc]
call eax
test al, al
je 0x100772de
mov eax, dword [ebx]
lea ecx, [ebp - 0x94]
push ecx
mov ecx, ebx
call dword [eax + 0xe0]
mov edi, dword [eax]
jmp 0x100772e4
mov edi, dword [ebx + 0x154]
mov ecx, dword [0x10115b84]
mov eax, edi
shr eax, 0x18
mov dword [ebp - 0x74], edi
mov dword [ebp - 0x3c], edi
mov dword [ebp - 0x80], edi
movd xmm0, eax
cvtdq2ps xmm0, xmm0
mulss xmm0, dword [0x101101b4]
cvttss2si eax, xmm0
mov byte [ebp - 0x71], al
mov eax, dword [ecx]
push dword [ebp - 0x74]
call dword [eax + 0x1c]
mov ecx, dword [ebp - 0x5c]
lea eax, [ebp - 0x6c]
mov esi, dword [0x10115b80]
push eax
lea eax, [ebp - 0x7c]
push eax
mov eax, dword [ecx]
mov ebx, dword [esi]
call dword [eax]
push eax
mov ecx, esi
call dword [ebx + 0x14]
push dword [ebp - 0x6c]
mov ecx, dword [0x10115b84]
push dword [ebp - 0x7c]
push 0
mov eax, dword [ecx]
push 0
call dword [eax + 0x24]
mov ebx, dword [ebp - 0x5c]
mov ecx, ebx
mov eax, dword [ebx + 0x130]
add eax, 3
mov dword [ebp - 0x38], eax
mov eax, dword [ebx]
call dword [eax + 0x3fc]
mov dword [ebp - 0x58], eax
xor eax, eax
mov dword [ebx + 0x394], 0
mov dword [ebp - 0x74], 0
mov word [ebp - 0x10], ax
cmp byte [ebx + 0x183], al
je 0x100774ad
push eax
call dword [sym.imp.USER32.dll_GetKeyboardLayout]
movzx edx, ax
xor ecx, ecx
xor eax, eax
cmp word [eax + 0x1010eb40], dx
je 0x100773ae
add eax, 0x14
inc ecx
cmp eax, 0xd20
jb 0x10077395
jmp 0x100774ad
lea eax, [ecx + ecx*4]
lea eax, [eax*4 + 0x1010eb40]
test eax, eax
je 0x100774ad
push 4
push dword [eax + 8]
lea eax, [ebp - 0x10]
push eax
call fcn.100a5922
xor eax, eax
add esp, 0xc
mov word [ebp - 8], ax
cmp word [ebp - 0x10], ax
je 0x100774ad
lea eax, [ebp - 0x10]
push 0x100e4518
push eax
call fcn.100b541d
add esp, 8
test eax, eax
je 0x100774ad
lea ecx, [ebp - 0x10]
mov dword [ebx + 0x394], 0
lea edx, [ecx + 2]
nop word [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10077410
sub ecx, edx
xor esi, esi
sar ecx, 1
xor eax, eax
mov dword [ebp - 0x74], ecx
test ecx, ecx
jle 0x10077495
mov edi, ecx
nop dword [eax]
movzx eax, word [ebp + esi*2 - 0x10]
mov ecx, dword [ebx + 0x140]
push eax
mov dword [ebp - 0x60], eax
mov dword [ebp - 0x34], ecx
call fcn.100b024a
add esp, 4
test eax, eax
jne 0x1007747d
mov ecx, dword [0x10115b84]
lea eax, [ebp - 0x70]
push eax
lea eax, [ebp - 0x40]
push eax
mov edx, dword [ecx]
lea eax, [ebp - 0x48]
push eax
mov eax, dword [ebp - 0x60]
movzx eax, ax
push eax
push dword [ebp - 0x34]
call dword [edx + 0xfc]
mov ecx, dword [ebp - 0x40]
add ecx, dword [ebp - 0x48]
add ecx, dword [ebp - 0x70]
jmp 0x1007747f
xor ecx, ecx
mov eax, dword [ebx + 0x394]
inc esi
add eax, ecx
mov dword [ebx + 0x394], eax
cmp esi, edi
jl 0x10077430
mov edi, dword [ebp - 0x3c]
add eax, 4
cmp byte [ebx + 0x390], 0
mov dword [ebx + 0x394], eax
je 0x100774aa
add dword [ebp - 0x38], eax
sub dword [ebp - 0x7c], eax
mov ecx, dword [0x10115b84]
mov edx, dword [ebx + 0x13c]
push edx
mov dword [ebp - 0x50], edx
mov eax, dword [ecx]
call dword [eax + 0x34]
mov eax, dword [ebx]
mov ecx, ebx
mov eax, dword [eax + 0xcc]
call eax
test al, al
je 0x100774e7
mov eax, dword [ebx]
lea ecx, [ebp - 0x94]
push ecx
mov ecx, ebx
call dword [eax + 0xe4]
mov esi, dword [eax]
jmp 0x100774ed
mov esi, dword [ebx + 0x150]
mov ecx, dword [0x10115b84]
mov eax, esi
shr eax, 0x18
mov dword [ebp - 0x40], esi
mov dword [ebp - 0x48], esi
movd xmm0, eax
cvtdq2ps xmm0, xmm0
mulss xmm0, dword [0x101101b4]
cvttss2si eax, xmm0
mov byte [ebp - 0x3d], al
mov eax, dword [ecx]
push dword [ebp - 0x40]
call dword [eax + 0x38]
mov eax, dword [ebx]
lea ecx, [ebp - 0x90]
push ecx
mov ecx, ebx
mov dword [ebx + 0x130], 0
mov dword [ebp - 0x90], 0
call dword [eax + 0x40c]
cmp byte [ebx + 0x183], 0
mov dword [ebp - 0x54], eax
mov eax, dword [ebp - 0x58]
mov dword [ebp - 0x94], eax
mov eax, dword [ebx + 0xd8]
mov dword [ebp - 0xac], eax
mov eax, dword [ebx + 0x108]
mov dword [ebp - 0x60], eax
mov dword [ebp - 0x70], 0xffffffff
mov dword [ebp - 0x68], 0xffffffff
je 0x10077597
lea ecx, [ebx + 0x186]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10077582
sub ecx, edx
mov byte [ebp - 0x42], 1
sar ecx, 1
jne 0x1007759b
mov byte [ebp - 0x42], 0
push 0
call dword [sym.imp.USER32.dll_GetKeyboardLayout]
movzx edx, ax
xor ecx, ecx
xor eax, eax
nop word [eax + eax]
cmp word [eax + 0x1010eb40], dx
je 0x100775ca
add eax, 0x14
inc ecx
cmp eax, 0xd20
jb 0x100775b0
mov byte [ebp - 0x41], 0
jmp 0x100775e3
lea eax, [ecx + ecx*4]
lea eax, [eax*4 + 0x1010eb40]
test eax, eax
jne 0x100775dd
mov byte [ebp - 0x41], al
jmp 0x100775e3
mov al, byte [eax + 0x10]
mov byte [ebp - 0x41], al
cmp byte [ebp - 0x42], 0
je 0x1007768f
cmp word [ebx + 0x186], 0
mov ecx, dword [ebx + 0x108]
mov eax, ecx
mov dword [ebp - 0x70], ecx
mov dword [ebp - 0x68], eax
je 0x10077681
mov dword [ebp - 0x68], ecx
lea edi, [ebx + 0x186]
nop
push 1
lea ecx, [ebx + 0xcc]
call fcn.1002b170
mov eax, dword [ebp - 0x68]
mov edx, dword [ebx + 0xd8]
sub edx, eax
dec edx
lea ecx, [eax + eax]
mov dword [ebp - 0x40], ecx
test edx, edx
jle 0x1007764c
add ecx, dword [ebx + 0xcc]
lea eax, [edx + edx]
push eax
push ecx
lea eax, [ecx + 2]
push eax
call fcn.100a2850
add esp, 0xc
jmp 0x1007764f
mov dword [ebp - 0x40], ecx
mov ecx, dword [ebx + 0xcc]
mov ax, word [edi]
add edi, 2
mov edx, dword [ebp - 0x40]
mov word [edx + ecx], ax
mov eax, dword [ebx + 0x108]
inc eax
mov dword [ebx + 0x108], eax
cmp word [edi], 0
mov dword [ebp - 0x68], eax
jne 0x10077610
mov esi, dword [ebp - 0x48]
mov edi, dword [ebp - 0x3c]
mov ecx, dword [ebp - 0x70]
cmp ecx, 0xffffffff
je 0x1007768f
mov byte [ebp - 0x49], 1
cmp eax, 0xffffffff
jne 0x10077693
mov byte [ebp - 0x49], 0
cmp byte [ebx + 0x145], 0
jne 0x10077a95
cmp byte [ebx + 0x16c], 0
jne 0x10077a95
mov eax, dword [ebx + 0xd8]
mov ecx, ebx
mov dword [ebp - 0x78], eax
mov eax, dword [ebx]
mov eax, dword [eax + 0xf0]
call eax
test al, al
jne 0x100776d6
mov eax, dword [ebx]
mov ecx, ebx
mov eax, dword [eax + 0x3a0]
call eax
test al, al
jne 0x100776ea
mov eax, dword [ebx]
mov ecx, ebx
mov eax, dword [eax + 0x3a0]
call eax
test al, al
jne 0x10077846
lea eax, [ebp - 0x3c]
mov dword [ebp - 0x3c], 0xffffffff
push eax
push dword [ebp - 0x50]
mov ecx, ebx
call fcn.10077200
test al, al
je 0x1007782f
mov eax, dword [ebx]
mov ecx, ebx
mov eax, dword [eax + 0x3a0]
call eax
test al, al
jne 0x1007774f
test byte [ebx + 0x398], 1
je 0x1007774f
mov edx, dword [ebx + 0x39c]
test edx, edx
je 0x1007774f
mov ecx, dword [0x10115b84]
push edx
mov dword [ebp - 0x50], edx
mov eax, dword [ecx]
call dword [eax + 0x34]
lea eax, [ebp - 0x3c]
mov ecx, ebx
push eax
push dword [ebp - 0x50]
call fcn.10077200
test al, al
je 0x1007782f
push 0x2e
call fcn.100b024a
add esp, 4
test eax, eax
jne 0x10077826
mov ecx, dword [0x10115b84]
lea edx, [ebp - 0xa0]
push edx
lea edx, [ebp - 0x98]
push edx
mov eax, dword [ecx]
lea edx, [ebp - 0x9c]
push edx
push 0x2e
push dword [ebp - 0x50]
call dword [eax + 0xfc]
mov eax, dword [ebp - 0x9c]
add eax, dword [ebp - 0x98]
add eax, dword [ebp - 0xa0]
lea eax, [eax + eax*2]
mov dword [ebp - 0x40], eax
test eax, eax
jle 0x10077826
mov ecx, dword [ebp - 0x3c]
mov dword [ebp - 0x48], ecx
nop
test ecx, ecx
js 0x10077829
mov eax, dword [ebx + 0xcc]
movzx eax, word [eax + ecx*2]
push eax
mov dword [ebp - 0x34], eax
call fcn.100b024a
add esp, 4
test eax, eax
jne 0x1007780f
mov ecx, dword [0x10115b84]
lea eax, [ebp - 0xa4]
push eax
lea eax, [ebp - 0xa8]
push eax
mov edx, dword [ecx]
lea eax, [ebp - 0x84]
push eax
mov eax, dword [ebp - 0x34]
movzx eax, ax
push eax
push dword [ebp - 0x50]
call dword [edx + 0xfc]
mov eax, dword [ebp - 0xa8]
add eax, dword [ebp - 0xa4]
add eax, dword [ebp - 0x84]
jmp 0x10077811
xor eax, eax
mov edx, dword [ebp - 0x40]
mov ecx, dword [ebp - 0x48]
sub edx, eax
dec ecx
mov dword [ebp - 0x40], edx
mov dword [ebp - 0x48], ecx
test edx, edx
jg 0x100777b0
jmp 0x10077829
mov ecx, dword [ebp - 0x3c]
lea eax, [ecx + 1]
mov dword [ebp - 0x78], eax
mov ecx, dword [ebx + 0xd8]
mov eax, ecx
sub eax, dword [ebp - 0x78]
dec eax
cmp eax, 1
ja 0x10077846
add ecx, 0xfffffffd
mov dword [ebp - 0x78], ecx
mov ecx, dword [ebp - 0x54]
mov eax, dword [ebp - 0x78]
cmp ecx, eax
jge 0x10077a2c
mov eax, esi
shr eax, 0x18
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [ebp - 0x40], xmm0
cmp byte [ebx + 0x115], 0
je 0x10077877
mov dword [ebp - 0x48], 0x2a
jmp 0x10077884
mov eax, dword [ebx + 0xcc]
movzx eax, word [eax + ecx*2]
mov dword [ebp - 0x48], eax
cmp byte [ebp - 0x49], 0
je 0x100779d6
cmp ecx, dword [ebp - 0x70]
jl 0x100779d6
cmp ecx, dword [ebp - 0x68]
jge 0x100779d6
mulss xmm0, dword [0x101101b4]
mov ecx, dword [0x10115b84]
mov dword [ebp - 0x3c], esi
cvttss2si eax, xmm0
mov byte [ebp - 0x39], al
mov eax, dword [ecx]
push dword [ebp - 0x3c]
call dword [eax + 0x1c]
mov ebx, dword [ebp - 0x48]
push ebx
call fcn.100b024a
add esp, 4
test eax, eax
jne 0x1007790b
mov ecx, dword [0x10115b84]
lea eax, [ebp - 0x64]
push eax
lea eax, [ebp - 0x88]
push eax
mov edx, dword [ecx]
lea eax, [ebp - 0x8c]
push eax
movzx eax, bx
push eax
push dword [ebp - 0x50]
call dword [edx + 0xfc]
mov eax, dword [ebp - 0x8c]
add eax, dword [ebp - 0x88]
add eax, dword [ebp - 0x64]
mov dword [ebp - 0x3c], eax
jmp 0x10077912
mov dword [ebp - 0x3c], 0
cmp byte [ebp - 0x41], 0
je 0x100779ae
mov ecx, dword [0x10115b84]
mov ebx, edi
shr ebx, 0x18
mov dword [ebp - 0x34], edi
movd xmm0, ebx
cvtdq2ps xmm0, xmm0
mulss xmm0, dword [0x101101b4]
cvttss2si eax, xmm0
mov byte [ebp - 0x31], al
mov eax, dword [ecx]
push dword [ebp - 0x34]
call dword [eax + 0x38]
movss xmm0, dword [ebp - 0x40]
mulss xmm0, dword [0x101101b4]
mov ecx, dword [0x10115b84]
mov dword [ebp - 0x34], esi
cvttss2si eax, xmm0
mov byte [ebp - 0x31], al
mov eax, dword [ecx]
push dword [ebp - 0x34]
call dword [eax + 0x1c]
push dword [ebp - 0x6c]
mov ecx, dword [0x10115b84]
mov edx, dword [ebp - 0x38]
mov eax, dword [ebp - 0x3c]
add eax, edx
push eax
mov eax, dword [ecx]
push 0
push edx
call dword [eax + 0x24]
mov ecx, dword [0x10115b84]
movd xmm0, ebx
cvtdq2ps xmm0, xmm0
mov dword [ebp - 0x34], edi
mulss xmm0, dword [0x101101b4]
cvttss2si eax, xmm0
mov byte [ebp - 0x31], al
mov eax, dword [ecx]
push dword [ebp - 0x34]
call dword [eax + 0x1c]
mov ecx, dword [ebp - 0x6c]
mov edx, dword [ebp - 0x38]
mov ebx, dword [0x10115b84]
lea eax, [ecx - 1]
push eax
mov eax, dword [ebp - 0x3c]
add eax, edx
push eax
lea eax, [ecx - 2]
mov ecx, ebx
push eax
mov eax, dword [ebx]
push edx
call dword [eax + 0x24]
mov ebx, dword [ebp - 0x5c]
mov ecx, dword [ebp - 0x54]
push dword [ebp - 0x58]
mov eax, dword [ebx]
push dword [ebp - 0x38]
push ecx
push dword [ebp - 0x50]
mov ecx, ebx
push dword [ebp - 0x48]
call dword [eax + 0x3dc]
movss xmm0, dword [ebp - 0x40]
mulss xmm0, dword [0x101101b4]
add dword [ebp - 0x38], eax
mov ecx, dword [0x10115b84]
mov dword [ebp - 0x34], esi
cvttss2si eax, xmm0
mov byte [ebp - 0x31], al
mov eax, dword [ecx]
push dword [ebp - 0x34]
call dword [eax + 0x38]
mov ecx, dword [ebp - 0x54]
mov eax, dword [ebp - 0x78]
inc ecx
movss xmm0, dword [ebp - 0x40]
mov dword [ebp - 0x54], ecx
cmp ecx, eax
jl 0x10077865
cmp eax, dword [ebx + 0xd8]
jge 0x10077c8e
push dword [ebp - 0x58]
mov eax, dword [ebx]
push dword [ebp - 0x38]
push ecx
push dword [ebp - 0x50]
mov ecx, ebx
push 0x2e
call dword [eax + 0x3dc]
push dword [ebp - 0x58]
mov ecx, dword [ebp - 0x38]
mov edi, dword [ebp - 0x54]
add ecx, eax
mov eax, dword [ebx]
inc edi
push ecx
push edi
push dword [ebp - 0x50]
mov dword [ebp - 0x38], ecx
mov ecx, ebx
push 0x2e
call dword [eax + 0x3dc]
push dword [ebp - 0x58]
mov ecx, dword [ebp - 0x38]
mov edx, dword [ebx]
add ecx, eax
push ecx
lea eax, [edi + 1]
mov dword [ebp - 0x38], ecx
push eax
push dword [ebp - 0x50]
mov ecx, ebx
push 0x2e
call dword [edx + 0x3dc]
add dword [ebp - 0x38], eax
jmp 0x10077c8e
mov edx, dword [ebp - 0x54]
cmp edx, dword [ebx + 0xd8]
jge 0x10077c8e
mov eax, esi
shr eax, 0x18
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [ebp - 0x3c], xmm0
cmp byte [ebx + 0x115], 0
je 0x10077ac7
mov dword [ebp - 0x48], 0x2a
jmp 0x10077ad4
mov eax, dword [ebx + 0xcc]
movzx eax, word [eax + edx*2]
mov dword [ebp - 0x48], eax
cmp byte [ebx + 0x145], 0
je 0x10077b0e
mov ecx, dword [ebx + 0xf4]
mov eax, dword [ebp - 0x90]
cmp dword [ecx + eax*4], edx
jne 0x10077b0e
mov eax, dword [ebx]
lea ecx, [ebp - 0x58]
push ecx
lea ecx, [ebp - 0x38]
push ecx
mov ecx, ebx
call dword [eax + 0x3f8]
inc dword [ebp - 0x90]
movss xmm0, dword [ebp - 0x3c]
mov edx, dword [ebp - 0x54]
cmp byte [ebp - 0x49], 0
je 0x10077c34
cmp edx, dword [ebp - 0x70]
jl 0x10077c34
cmp edx, dword [ebp - 0x68]
jge 0x10077c34
mulss xmm0, dword [0x101101b4]
mov ecx, dword [0x10115b84]
mov dword [ebp - 0x34], esi
cvttss2si eax, xmm0
mov byte [ebp - 0x31], al
mov eax, dword [ecx]
push dword [ebp - 0x34]
call dword [eax + 0x1c]
mov ebx, dword [ebp - 0x48]
push ebx
call fcn.100b024a
add esp, 4
test eax, eax
jne 0x10077b95
mov ecx, dword [0x10115b84]
lea eax, [ebp - 0x88]
push eax
lea eax, [ebp - 0x64]
push eax
mov edx, dword [ecx]
lea eax, [ebp - 0x8c]
push eax
movzx eax, bx
push eax
push dword [ebp - 0x50]
call dword [edx + 0xfc]
mov eax, dword [ebp - 0x8c]
add eax, dword [ebp - 0x64]
add eax, dword [ebp - 0x88]
mov dword [ebp - 0x40], eax
jmp 0x10077b9c
mov dword [ebp - 0x40], 0
cmp byte [ebp - 0x41], 0
je 0x10077c0f
mov ecx, dword [0x10115b84]
mov ebx, edi
shr ebx, 0x18
mov dword [ebp - 0x34], edi
movd xmm0, ebx
cvtdq2ps xmm0, xmm0
mulss xmm0, dword [0x101101b4]
cvttss2si eax, xmm0
mov byte [ebp - 0x31], al
mov eax, dword [ecx]
push dword [ebp - 0x34]
call dword [eax + 0x38]
push dword [ebp - 0x6c]
mov ecx, dword [0x10115b84]
mov edx, dword [ebp - 0x38]
mov eax, dword [ebp - 0x40]
add eax, edx
push eax
mov eax, dword [ecx]
push 0
push edx
call dword [eax + 0x24]
mov ecx, dword [0x10115b84]
movd xmm0, ebx
cvtdq2ps xmm0, xmm0
mov dword [ebp - 0x34], edi
mulss xmm0, dword [0x101101b4]
cvttss2si eax, xmm0
mov byte [ebp - 0x31], al
mov eax, dword [ecx]
push dword [ebp - 0x34]
call dword [eax + 0x1c]
mov ecx, dword [ebp - 0x6c]
mov edx, dword [ebp - 0x38]
mov ebx, dword [0x10115b84]
lea eax, [ecx - 1]
push eax
mov eax, dword [ebp - 0x40]
add eax, edx
push eax
lea eax, [ecx - 2]
mov ecx, ebx
push eax
mov eax, dword [ebx]
push edx
call dword [eax + 0x24]
mov ebx, dword [ebp - 0x5c]
push dword [ebp - 0x58]
mov ecx, dword [ebp - 0x54]
push dword [ebp - 0x38]
mov eax, dword [ebx]
push ecx
push dword [ebp - 0x50]
mov ecx, ebx
push dword [ebp - 0x48]
call dword [eax + 0x3dc]
movss xmm0, dword [ebp - 0x3c]
mulss xmm0, dword [0x101101b4]
add dword [ebp - 0x38], eax
mov ecx, dword [0x10115b84]
mov dword [ebp - 0x34], esi
cvttss2si eax, xmm0
mov byte [ebp - 0x31], al
mov eax, dword [ecx]
push dword [ebp - 0x34]
call dword [eax + 0x38]
mov edx, dword [ebp - 0x54]
movss xmm0, dword [ebp - 0x3c]
inc edx
mov dword [ebp - 0x54], edx
cmp edx, dword [ebx + 0xd8]
jl 0x10077ab5
movss xmm0, dword [0x101101b4]
mulss xmm0, dword [0x100f9524]
mov ecx, dword [0x10115b84]
cvttss2si eax, xmm0
mov edx, dword [ecx]
push eax
push 0x32
push 0x32
push 0x32
call dword [edx + 0x20]
mov eax, dword [ebx]
mov ecx, ebx
mov eax, dword [eax + 0xcc]
call eax
test al, al
je 0x10077db2
mov eax, dword [ebx]
mov ecx, ebx
mov eax, dword [eax + 0x3a0]
call eax
test al, al
je 0x10077db2
mov eax, dword [ebx]
mov ecx, ebx
mov eax, dword [eax + 0xf0]
call eax
test al, al
je 0x10077db2
movss xmm0, dword [0x101101b4]
mulss xmm0, dword [0x100f9524]
mov ecx, dword [0x10115b84]
cvttss2si eax, xmm0
mov edx, dword [ecx]
push eax
push 0
push 0
push 0
call dword [edx + 0x20]
push dword [ebp - 0x58]
mov eax, dword [ebx]
mov ecx, ebx
push dword [ebp - 0x38]
call dword [eax + 0x3e0]
cmp byte [ebp - 0x42], 0
je 0x10077db2
mov ecx, dword [ebp - 0x5c]
lea eax, [ebp - 0x8c]
mov edi, dword [0x10115b80]
push eax
lea eax, [ebp - 0x64]
push eax
mov eax, dword [ecx]
mov ebx, dword [edi]
call dword [eax]
push eax
mov ecx, edi
call dword [ebx + 0x28]
mov ebx, dword [ebp - 0x64]
mov eax, dword [ebp - 0x8c]
add eax, dword [ebp - 0x58]
add ebx, dword [ebp - 0x38]
push dword [0x10115ad4]
mov dword [ebp - 0x38], ebx
mov dword [ebp - 0x88], eax
mov dword [ebp - 0x58], eax
call dword [sym.imp.IMM32.dll_ImmGetContext]
mov edi, eax
test edi, edi
je 0x10077daf
mov eax, dword [ebp - 0x88]
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x30]
push eax
push edi
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0x20
mov dword [ebp - 0x28], ebx
call dword [sym.imp.IMM32.dll_ImmSetCandidateWindow]
push edi
push dword [0x10115ad4]
call dword [sym.imp.IMM32.dll_ImmReleaseContext]
mov ebx, dword [ebp - 0x5c]
mov edi, dword [ebx + 0xd8]
sub edi, dword [ebp - 0xac]
test edi, edi
jle 0x10077df5
mov eax, dword [ebx + 0xd8]
mov edx, dword [ebp - 0x60]
sub eax, edi
sub eax, edx
test eax, eax
jle 0x10077def
mov ecx, dword [ebx + 0xcc]
add eax, eax
push eax
lea eax, [edi + edx]
lea eax, [ecx + eax*2]
push eax
lea eax, [ecx + edx*2]
push eax
call fcn.100a2850
add esp, 0xc
sub dword [ebx + 0xd8], edi
mov eax, dword [ebp - 0x60]
mov ecx, ebx
mov dword [ebx + 0x108], eax
mov eax, dword [ebx]
mov eax, dword [eax + 0xf0]
call eax
test al, al
je 0x10077f0b
cmp byte [ebx + 0x183], 0
je 0x10077f0b
mov edi, dword [ebp - 0x74]
test edi, edi
jle 0x10077f0b
mov eax, dword [ebx + 0x394]
mov ecx, dword [ebp - 0x7c]
add ecx, eax
mov dword [ebp - 0x60], esi
mov dword [ebp - 0x7c], ecx
sub ecx, eax
xor eax, eax
cmp byte [ebx + 0x390], al
cmove eax, ecx
mov ecx, dword [0x10115b84]
shr esi, 0x18
mov dword [ebp - 0x38], eax
movd xmm0, esi
cvtdq2ps xmm0, xmm0
mulss xmm0, dword [0x101101b4]
cvttss2si eax, xmm0
mov byte [ebp - 0x5d], al
mov eax, dword [ecx]
push dword [ebp - 0x60]
call dword [eax + 0x1c]
mov eax, dword [ebp - 0x6c]
mov ecx, dword [0x10115b84]
add eax, 0xfffffffe
mov edx, dword [ebp - 0x38]
push eax
mov eax, dword [ebx + 0x394]
mov esi, dword [ecx]
add eax, 0xfffffffe
add eax, edx
push eax
push 2
push edx
call dword [esi + 0x24]
mov ecx, dword [0x10115b84]
mov byte [ebp - 0x7d], 0xff
mov eax, dword [ebp - 0x80]
mov dword [ebp - 0x80], eax
shr eax, 0x18
movd xmm0, eax
cvtdq2ps xmm0, xmm0
mulss xmm0, dword [0x101101b4]
cvttss2si eax, xmm0
mov byte [ebp - 0x7d], al
mov eax, dword [ecx]
push dword [ebp - 0x80]
call dword [eax + 0x38]
mov ecx, dword [0x10115b84]
inc dword [ebp - 0x38]
push dword [ebx + 0x140]
mov eax, dword [ecx]
call dword [eax + 0x34]
mov ecx, dword [ebp - 0x38]
xor esi, esi
push dword [ebp - 0x94]
mov edx, dword [ebx]
movzx eax, word [ebp + esi*2 - 0x10]
push ecx
push esi
push dword [ebx + 0x140]
mov ecx, ebx
push eax
call dword [edx + 0x3dc]
mov ecx, dword [ebp - 0x38]
inc esi
add ecx, eax
mov dword [ebp - 0x38], ecx
cmp esi, edi
jl 0x10077ee0
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1009ee50
mov esp, ebp
pop ebp
ret