Function at 0x43f360
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4fdbac
mov eax, dword fs:[0]
push eax
sub esp, 0xf8
mov eax, dword [0x53f084]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
cmp dword [ebp + 0x1c], 0
mov edx, dword [ebp + 0x10]
mov ecx, dword [ebp + 0x18]
mov edi, dword [ebp + 0x14]
mov dword [ebp - 0x34], edx
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x38], 0
jne 0x43f9cb
mov eax, dword [ebp + 0xc]
cmp eax, 0x102
jne 0x43f3ea
mov eax, dword [esi + 0x18]
mov ecx, esi
mov dword [eax + 0x20], 1
call fcn.00441f70
mov ecx, dword [ebp - 0x2c]
mov dword [ecx], 0
mov eax, dword [esi + 0x18]
cmp dword [eax + 0x20], 0
je 0x43f9cb
mov eax, 1
jmp 0x43f9cd
cmp eax, 0x7b
jne 0x43f416
mov eax, dword [esi + 0x18]
mov dword [eax + 0x20], 1
movsx eax, di
mov dword [ebp - 0x40], eax
shr edi, 0x10
movsx eax, di
mov dword [ebp - 0x3c], eax
lea eax, [ebp - 0x40]
push eax
push ecx
mov ecx, esi
call fcn.004411c0
jmp 0x43f3ca
cmp eax, 0x301
jne 0x43f430
mov eax, dword [esi + 0x18]
mov ecx, esi
mov dword [eax + 0x20], 1
call fcn.00441350
jmp 0x43f3ca
cmp eax, 0x300
jne 0x43f47b
mov eax, dword [esi + 0x18]
mov dword [eax + 0x20], 1
mov edx, dword [esi + 0x2c]
cmp byte [edx + 0xac], 0
jne 0x43f3cd
test byte [edx + 0x8c], 1
jne 0x43f3cd
mov ecx, esi
call fcn.00441350
push 0x513480
push 1
push 0xc2
push dword [esi + 4]
call dword [sym.imp.USER32.dll_SendMessageW]
jmp 0x43f3ca
cmp eax, 0x286
jne 0x43f491
mov eax, dword [esi + 0x18]
mov dword [eax + 0x20], 1
jmp 0x43f3cd
cmp eax, 0x10d
jne 0x43f4f5
mov eax, dword [esi + 0x18]
push 0
mov dword [eax + 0x20], 1
call dword [sym.imp.USER32.dll_GetKeyboardLayout]
and eax, 0x3ff
cmp eax, 0x11
je 0x43f4bd
cmp eax, 4
je 0x43f4bd
xor al, al
jmp 0x43f4bf
mov al, 1
push edi
push dword [ebp - 0x34]
mov byte [esi + 0x7c], al
mov dword [esi + 0x80], 0
mov dword [esi + 0x84], 0
push 0x10d
push dword [esi + 4]
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_CallWindowProcW]
mov ecx, dword [ebp - 0x2c]
mov dword [ecx], eax
jmp 0x43f3d3
cmp eax, 0x10f
jne 0x43f51e
mov eax, dword [esi + 0x18]
mov ecx, esi
push edi
push edx
push 0x10f
mov dword [eax + 0x20], 1
call fcn.00441420
mov ecx, dword [ebp - 0x2c]
mov dword [ecx], eax
jmp 0x43f3d3
cmp eax, 0x10e
jne 0x43f542
mov eax, dword [esi + 0x18]
mov dword [eax + 0x20], 1
mov ecx, dword [esi + 0x2c]
call fcn.00431900
push edi
push dword [ebp - 0x34]
push 0x10e
jmp 0x43f4df
cmp eax, 0x100
jne 0x43f565
mov eax, dword [esi + 0x18]
shr edi, 0x10
push edi
push ecx
push edx
mov ecx, esi
mov dword [eax + 0x20], 1
call fcn.00441500
jmp 0x43f3ca
cmp eax, 0x203
jne 0x43f672
mov eax, dword [esi + 0x18]
movsx ecx, di
shr edi, 0x10
mov dword [ebp - 0x44], ecx
mov dword [eax + 0x20], 1
movsx eax, di
mov dword [esi + 0x38], eax
mov eax, dword [esi + 0x18]
mov dword [esi + 0x34], ecx
mov ecx, esi
mov byte [esi + 0x30], 1
mov eax, dword [eax + 0x10]
mov dword [esi + 0x3c], eax
call fcn.004424f0
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x4c], esi
mov dword [ebp - 0x48], eax
test eax, eax
je 0x43f5b7
mov ecx, dword [eax]
lea edx, [ebp - 0x3c]
push edx
push eax
call dword [ecx + 0x48]
mov dword [ebp - 4], 0
lea ecx, [esi + 0x24]
mov eax, dword [ecx]
lea edx, [ebp - 0x28]
push edx
mov eax, dword [eax + 4]
call eax
lea ecx, [esi + 0x44]
mov dword [ebp - 0x38], eax
cmp ecx, eax
je 0x43f602
call fcn.00405080
mov eax, dword [ebp - 0x38]
xor ecx, ecx
movups xmm0, xmmword [eax]
movups xmmword [esi + 0x44], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [esi + 0x54], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
mov word [eax], cx
lea ecx, [ebp - 0x28]
call fcn.00405080
push 0
push dword [ebp - 0x44]
mov ecx, esi
call fcn.00442330
movzx ecx, ax
mov eax, edi
shl eax, 0x10
or ecx, eax
push ecx
push dword [ebp - 0x34]
push 0x203
push dword [esi + 4]
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_CallWindowProcW]
push 1
mov ecx, esi
call fcn.00442150
mov dword [ebp - 4], 1
mov ecx, dword [ebp - 0x30]
test ecx, ecx
je 0x43f3ca
mov eax, dword [ecx]
lea edx, [ebp - 0x30]
push edx
push ecx
call dword [eax + 0x4c]
cmp dword [ebp - 0x30], 0
jne 0x43f3ca
push dword [esi + 4]
call dword [sym.imp.USER32.dll_UpdateWindow]
jmp 0x43f3ca
cmp eax, 0x201
jne 0x43f6a3
mov eax, dword [esi + 0x18]
mov ecx, esi
mov dword [eax + 0x20], 1
movsx eax, di
mov dword [ebp - 0x40], eax
shr edi, 0x10
movsx eax, di
mov dword [ebp - 0x3c], eax
lea eax, [ebp - 0x40]
push eax
push edx
call fcn.004417d0
jmp 0x43f3ca
cmp eax, 0x202
jne 0x43f773
mov eax, dword [esi + 0x18]
mov ecx, esi
mov dword [eax + 0x20], 1
movsx eax, di
mov dword [ebp - 0x44], eax
call fcn.004424f0
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x4c], esi
mov dword [ebp - 0x48], eax
test eax, eax
je 0x43f6dc
mov ecx, dword [eax]
lea edx, [ebp - 0x3c]
push edx
push eax
call dword [ecx + 0x48]
mov dword [ebp - 4], 2
lea ecx, [esi + 0x24]
mov eax, dword [ecx]
lea edx, [ebp - 0x28]
push edx
mov eax, dword [eax + 4]
call eax
lea ecx, [esi + 0x44]
mov dword [ebp - 0x30], eax
cmp ecx, eax
je 0x43f727
call fcn.00405080
mov eax, dword [ebp - 0x30]
xor ecx, ecx
movups xmm0, xmmword [eax]
movups xmmword [esi + 0x44], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [esi + 0x54], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
mov word [eax], cx
lea ecx, [ebp - 0x28]
call fcn.00405080
push 0
push dword [ebp - 0x44]
mov ecx, esi
call fcn.00442330
movzx eax, ax
and edi, 0xffff0000
or eax, edi
push eax
push dword [ebp - 0x34]
push 0x202
push dword [esi + 4]
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_CallWindowProcW]
push 1
mov ecx, esi
call fcn.00442150
mov dword [ebp - 4], 3
mov ecx, dword [ebp - 0x38]
jmp 0x43f648
cmp eax, 0x207
jne 0x43f797
mov eax, dword [esi + 0x18]
mov dword [eax + 0x20], 1
mov eax, dword [esi + 0x18]
mov byte [esi + 0x30], 0
mov dword [eax + 0x20], 0
jmp 0x43f3cd
cmp eax, 0x200
jne 0x43f7c8
mov eax, dword [esi + 0x18]
mov ecx, esi
mov dword [eax + 0x20], 1
movsx eax, di
mov dword [ebp - 0x40], eax
shr edi, 0x10
movsx eax, di
mov dword [ebp - 0x3c], eax
lea eax, [ebp - 0x40]
push eax
push edx
call fcn.00441970
jmp 0x43f3ca
cmp eax, 0x2a3
jne 0x43f80f
mov eax, dword [esi + 0x18]
mov dword [eax + 0x20], 1
cmp byte [esi + 0x5c], 0
je 0x43f3cd
mov eax, dword [esi + 0x2c]
mov byte [esi + 0x5c], 0
mov al, byte [eax + 0xb4]
test al, al
je 0x43f3cd
push 0x401
push 0
push 0
push dword [esi + 4]
call dword [sym.imp.USER32.dll_RedrawWindow]
jmp 0x43f3ca
cmp eax, 0x20a
jne 0x43f84a
mov eax, dword [esi + 0x18]
push edi
mov dword [eax + 0x20], 1
mov ecx, dword [esi + 4]
call fcn.00457e00
add esp, 4
test al, al
je 0x43f83c
mov ecx, dword [ebp - 0x2c]
xor eax, eax
mov dword [ecx], eax
jmp 0x43f3d3
push edi
push dword [ebp - 0x34]
push 0x20a
jmp 0x43f4df
cmp eax, 0x83
jne 0x43f8bc
mov eax, dword [esi + 0x18]
mov dword [eax + 0x20], 1
mov dword [esi + 0x68], 0
mov dword [esi + 0x6c], 0
mov dword [esi + 0x70], 0
mov dword [esi + 0x74], 0
mov eax, dword [esi + 0x2c]
mov al, byte [eax + 0xb4]
test al, al
je 0x43f8a0
mov eax, dword [esi + 0x24]
lea ecx, [esi + 0x24]
lea edx, [ebp - 0x54]
push edx
mov eax, dword [eax + 0x38]
call eax
mov ecx, dword [ebp - 0x2c]
mov edx, dword [ebp - 0x34]
movups xmm0, xmmword [eax]
movups xmmword [esi + 0x68], xmm0
mov eax, dword [esi + 0x6c]
add dword [edi], eax
mov eax, dword [esi + 0x74]
sub dword [edi + 8], eax
mov eax, dword [esi + 0x68]
add dword [edi + 4], eax
mov eax, dword [esi + 0x70]
sub dword [edi + 0xc], eax
jmp 0x43f3cd
cmp eax, 0x85
jne 0x43f8da
mov eax, dword [esi + 0x18]
push ecx
mov ecx, esi
mov dword [eax + 0x20], 1
call fcn.00441b60
jmp 0x43f3ca
cmp eax, 0x204
je 0x43f77a
cmp eax, 0x302
jne 0x43f902
mov eax, dword [esi + 0x18]
mov ecx, esi
mov dword [eax + 0x20], 1
call fcn.00441cd0
jmp 0x43f3ca
cmp eax, 7
jne 0x43f996
mov eax, dword [esi + 0x18]
mov dword [eax + 0x20], 1
mov eax, dword [esi + 0x18]
mov dword [eax + 0x20], 0
mov ecx, dword [esi + 0x2c]
mov eax, dword [ecx]
mov eax, dword [eax + 0xb0]
call eax
test eax, eax
jne 0x43f985
cmp dword [0x543fdc], 1
jne 0x43f96b
push 3
push 0x424
push str.f:my_lab_tabexplorerextab_masterlibrary_viewcontrols_textfield_native_textfield_win.cpp
lea ecx, [ebp - 0x104]
call fcn.0040eda0
mov dword [ebp - 4], 4
lea ecx, [eax + 8]
mov edx, str.Check_failed:_false.
mov dword [ebp - 0x38], 1
call fcn.00405a30
test byte [ebp - 0x38], 1
je 0x43f3ca
lea ecx, [ebp - 0x104]
call fcn.0040f1c0
jmp 0x43f3ca
push 2
push dword [esi + 0x2c]
mov ecx, eax
call fcn.0043d9f0
jmp 0x43f3ca
cmp eax, 0x106
jne 0x43f9c0
mov eax, dword [esi + 0x18]
mov dword [eax + 0x20], 1
cmp dx, 0x20
jne 0x43f3cd
mov eax, dword [esi + 0x18]
mov dword [eax + 0x20], 0
jmp 0x43f3cd
cmp eax, 0x104
je 0x43f549
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004d170a
mov esp, ebp
pop ebp
ret 0x18