Function at 0x42df74
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
push 0
push ebx
push esi
push edi
xor eax, eax
push ebp
push 0x42e8ee
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp + 8]
cmp byte [eax - 0x49], 0
je 0x42df9c
mov eax, dword [ebp + 8]
cmp byte [eax - 0x4a], 0
jne 0x42dfb7
mov eax, dword [ebp + 8]
cmp byte [eax - 0x49], 0
je 0x42e030
call fcn.00445b00
call fcn.00445c08
test al, al
je 0x42e030
mov eax, dword [ebp + 8]
test byte [eax + 0xc], 1
jne 0x42dfc9
mov eax, dword [ebp + 8]
test byte [eax + 0xc], 0x40
je 0x42e014
call fcn.00445b00
call fcn.00445c08
test al, al
je 0x42dfec
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x14]
mov eax, dword [eax + 0x14]
mov edx, 0xff00001d
call fcn.00422ba8
jmp 0x42dfff
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x14]
mov eax, dword [eax + 0x14]
mov edx, 0xff00000d
call fcn.00422ba8
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x14]
mov eax, dword [eax + 0xc]
mov edx, 0xff00000e
call fcn.004222a8
jmp 0x42e030
mov eax, dword [ebp + 8]
cmp byte [eax + 8], 0
je 0x42e030
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x14]
mov eax, dword [eax + 0x14]
mov edx, 0xff00001e
call fcn.00422ba8
mov eax, dword [ebp + 8]
cmp byte [eax - 0x33], 0
je 0x42e04e
mov eax, dword [ebp + 8]
cmp byte [eax - 0x49], 0
je 0x42e05f
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x18]
cmp byte [eax + 0x38], 0
jne 0x42e05f
mov eax, dword [ebp + 8]
lea edx, [eax - 0x10]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x14]
call fcn.00422f8c
mov eax, dword [ebp + 8]
cmp dword [eax - 0x30], 0
je 0x42e071
mov eax, dword [ebp + 8]
mov byte [eax - 0x31], 0
jmp 0x42e09f
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x30]
mov edx, dword [0x42b3e0]
call fcn.00403e00
test al, al
je 0x42e098
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x30]
movzx eax, byte [eax + 0x60]
mov edx, dword [ebp + 8]
mov byte [edx - 0x31], al
jmp 0x42e09f
mov eax, dword [ebp + 8]
mov byte [eax - 0x31], 0
mov eax, dword [ebp + 8]
mov eax, dword [eax - 8]
dec eax
mov edx, dword [ebp + 8]
mov dword [edx - 0x20], eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0xc]
inc eax
mov edx, dword [ebp + 8]
mov dword [edx - 0x24], eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x18]
mov eax, dword [eax + 0x30]
mov edx, 0x42e904
call fcn.00404f84
jne 0x42e102
mov eax, dword [ebp + 8]
lea edx, [eax - 0x10]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x14]
call fcn.00422f8c
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x20]
add eax, 2
mov edx, dword [ebp + 8]
mov dword [edx - 0x28], eax
mov eax, dword [ebp + 8]
xor edx, edx
mov dword [eax - 0x20], edx
mov eax, dword [ebp + 8]
mov byte [eax - 0x4b], 0
jmp 0x42e594
mov eax, dword [ebp + 8]
cmp dword [eax - 0x2c], 0
je 0x42e152
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x18]
mov ebx, dword [eax + 0x40]
cmp ebx, 0xffffffff
jle 0x42e12b
mov eax, dword [ebp + 8]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x2c]
call fcn.00446a40
cmp ebx, eax
jl 0x42e156
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x18]
cmp byte [eax + 0x38], 0
je 0x42e152
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x18]
mov esi, dword [eax + 0x4c]
test esi, esi
je 0x42e156
mov eax, dword [ebp + 8]
mov eax, esi
mov edx, dword [eax]
call dword [edx + 0x1c]
test al, al
jne 0x42e156
xor eax, eax
jmp 0x42e158
mov al, 1
mov edx, dword [ebp + 8]
mov byte [edx - 0x32], al
mov eax, dword [ebp + 8]
cmp byte [eax - 0x32], 0
jne 0x42e18a
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x18]
mov ebx, dword [eax + 0x4c]
test ebx, ebx
je 0x42e537
mov eax, dword [ebp + 8]
mov eax, ebx
mov edx, dword [eax]
call dword [edx + 0x1c]
test al, al
jne 0x42e537
mov eax, dword [ebp + 8]
mov byte [eax - 0x4b], 1
mov eax, dword [ebp + 8]
cmp byte [eax - 0x32], 0
je 0x42e1c6
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x20]
mov edx, dword [ebp + 8]
mov edx, dword [edx - 0x2c]
sub eax, dword [edx + 0x34]
mov edx, dword [ebp + 8]
mov dword [edx - 0x28], eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x24]
mov edx, dword [ebp + 8]
mov edx, dword [edx - 0x2c]
add eax, dword [edx + 0x30]
mov edx, dword [ebp + 8]
mov dword [edx - 0x1c], eax
jmp 0x42e1e4
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x20]
sub eax, 0x10
mov edx, dword [ebp + 8]
mov dword [edx - 0x28], eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x24]
add eax, 0x10
mov edx, dword [ebp + 8]
mov dword [edx - 0x1c], eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x18]
cmp byte [eax + 0x38], 0
je 0x42e2a7
mov eax, dword [ebp + 8]
dec dword [eax - 0x28]
mov eax, dword [ebp + 8]
inc dword [eax - 0x1c]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x14]
mov eax, dword [eax + 0x14]
call fcn.00422ba0
mov edx, dword [ebp + 8]
mov dword [edx - 0x50], eax
mov eax, dword [ebp + 8]
test byte [eax + 0xc], 1
jne 0x42e263
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x14]
mov eax, dword [eax + 0x14]
call fcn.00422ba0
mov edx, dword [ebp + 8]
mov dword [edx - 0x50], eax
mov edx, 0xff000014
mov eax, 0xff00000f
call fcn.00427c9c
mov edx, eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x14]
mov eax, dword [eax + 0x14]
call fcn.00422b7c
mov eax, dword [ebp + 8]
lea edx, [eax - 0x28]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x14]
call fcn.00422f8c
jmp 0x42e287
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x14]
mov eax, dword [eax + 0x14]
mov edx, 0xff00000f
call fcn.00422ba8
mov eax, dword [ebp + 8]
lea edx, [eax - 0x28]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x14]
call fcn.00422f8c
mov eax, dword [ebp + 8]
mov edx, dword [eax - 0x50]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x14]
mov eax, dword [eax + 0x14]
call fcn.00422ba8
mov eax, dword [ebp + 8]
dec dword [eax - 0x20]
mov eax, dword [ebp + 8]
inc dword [eax - 0x24]
mov eax, dword [ebp + 8]
cmp byte [eax - 0x32], 0
je 0x42e40f
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x18]
mov ebx, dword [eax + 0x40]
cmp ebx, 0xffffffff
jle 0x42e30c
mov eax, dword [ebp + 8]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x2c]
call fcn.00446a40
cmp ebx, eax
jge 0x42e30c
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x24]
push eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x18]
mov eax, dword [eax + 0x40]
push eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x18]
movzx eax, byte [eax + 0x39]
push eax
mov eax, dword [ebp + 8]
mov ecx, dword [eax - 0x28]
mov eax, dword [ebp + 8]
mov edx, dword [eax - 0x14]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x2c]
call fcn.00446d30
jmp 0x42e51d
mov dl, 1
mov eax, dword [0x421248]
call fcn.004259c4
mov edx, dword [ebp + 8]
mov dword [edx - 0x54], eax
xor eax, eax
push ebp
push 0x42e408
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x54]
mov dl, 1
mov ecx, dword [eax]
call dword [ecx + 0x3c]
push 0x7ff8
push 0
call sub.user32.dll_GetKeyboardLayoutList
mov edx, eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x54]
call fcn.00426ac0
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x14]
mov eax, dword [eax + 0xc]
mov eax, dword [eax + 0x18]
mov edx, dword [ebp + 8]
mov dword [edx - 0x50], eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x14]
mov eax, dword [eax + 0xc]
mov edx, 0xff000012
call fcn.004222a8
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x54]
push eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x54]
mov edx, dword [eax]
call dword [edx + 0x20]
mov edx, dword [ebp + 8]
mov edx, dword [edx - 0x1c]
mov ecx, dword [ebp + 8]
mov esi, dword [ecx - 0x24]
sub edx, esi
sub edx, eax
sar edx, 1
jns 0x42e3a0
adc edx, 0
mov eax, dword [ebp + 8]
add edx, esi
inc edx
push edx
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x54]
mov edx, dword [eax]
call dword [edx + 0x2c]
mov edx, dword [ebp + 8]
mov edx, dword [edx - 0x20]
mov ecx, dword [ebp + 8]
mov ebx, dword [ecx - 0x28]
sub edx, ebx
sub edx, eax
sar edx, 1
jns 0x42e3c9
adc edx, 0
mov eax, dword [ebp + 8]
add edx, ebx
inc edx
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x14]
pop ecx
call fcn.00422ee0
mov eax, dword [ebp + 8]
mov edx, dword [eax - 0x50]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x14]
mov eax, dword [eax + 0xc]
call fcn.004222a8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x42e51d
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x54]
call fcn.00403c74
ret
mov eax, dword [ebp + 8]
mov edx, dword [ebp + 8]
lea esi, [eax - 0x28]
lea edi, [edx - 0x48]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x18]
mov eax, dword [eax + 0x4c]
mov edx, dword [eax]
call dword [edx + 0x2c]
mov edx, dword [ebp + 8]
mov edx, dword [edx - 0x20]
mov ecx, dword [ebp + 8]
sub edx, dword [ecx - 0x28]
cmp eax, edx
jge 0x42e48b
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x18]
mov eax, dword [eax + 0x4c]
mov edx, dword [eax]
call dword [edx + 0x2c]
mov edx, dword [ebp + 8]
mov edx, dword [edx - 0x20]
mov ecx, dword [ebp + 8]
sub edx, dword [ecx - 0x28]
sub edx, eax
sar edx, 1
jns 0x42e460
adc edx, 0
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x20]
sub eax, edx
inc eax
mov edx, dword [ebp + 8]
mov dword [edx - 0x20], eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x18]
mov eax, dword [eax + 0x4c]
mov edx, dword [eax]
call dword [edx + 0x2c]
mov edx, dword [ebp + 8]
mov edx, dword [edx - 0x20]
sub edx, eax
mov eax, dword [ebp + 8]
mov dword [eax - 0x28], edx
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x18]
mov eax, dword [eax + 0x4c]
mov edx, dword [eax]
call dword [edx + 0x20]
mov edx, dword [ebp + 8]
mov edx, dword [edx - 0x1c]
mov ecx, dword [ebp + 8]
sub edx, dword [ecx - 0x24]
cmp eax, edx
jge 0x42e4f3
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x18]
mov eax, dword [eax + 0x4c]
mov edx, dword [eax]
call dword [edx + 0x20]
mov edx, dword [ebp + 8]
mov edx, dword [edx - 0x1c]
mov ecx, dword [ebp + 8]
sub edx, dword [ecx - 0x24]
sub edx, eax
sar edx, 1
jns 0x42e4cc
adc edx, 0
mov eax, dword [ebp + 8]
add edx, dword [eax - 0x24]
inc edx
mov eax, dword [ebp + 8]
mov dword [eax - 0x24], edx
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x18]
mov eax, dword [eax + 0x4c]
mov edx, dword [eax]
call dword [edx + 0x20]
mov edx, dword [ebp + 8]
add eax, dword [edx - 0x24]
mov edx, dword [ebp + 8]
mov dword [edx - 0x1c], eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x18]
mov ecx, dword [eax + 0x4c]
mov eax, dword [ebp + 8]
lea edx, [eax - 0x28]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x14]
call fcn.00423054
mov eax, dword [ebp + 8]
mov edx, dword [ebp + 8]
lea esi, [eax - 0x48]
lea edi, [edx - 0x28]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x18]
cmp byte [eax + 0x38], 0
je 0x42e594
mov eax, dword [ebp + 8]
dec dword [eax - 0x20]
mov eax, dword [ebp + 8]
dec dword [eax - 0x1c]
jmp 0x42e594
mov eax, dword [ebp + 8]
cmp dword [eax - 0x2c], 0
je 0x42e575
mov eax, dword [ebp + 8]
cmp byte [eax + 8], 0
jne 0x42e575
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x20]
mov edx, dword [ebp + 8]
mov edx, dword [edx - 0x2c]
sub eax, dword [edx + 0x34]
mov edx, dword [ebp + 8]
mov dword [edx - 0x28], eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x24]
mov edx, dword [ebp + 8]
mov edx, dword [edx - 0x2c]
add eax, dword [edx + 0x30]
mov edx, dword [ebp + 8]
mov dword [edx - 0x1c], eax
jmp 0x42e58d
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x20]
mov edx, dword [ebp + 8]
mov dword [edx - 0x28], eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x24]
mov edx, dword [ebp + 8]
mov dword [edx - 0x1c], eax
mov eax, dword [ebp + 8]
mov byte [eax - 0x4b], 0
mov eax, dword [ebp + 8]
dec dword [eax - 0x28]
mov eax, dword [ebp + 8]
dec dword [eax - 0x24]
mov eax, dword [ebp + 8]
add dword [eax - 0x20], 2
mov eax, dword [ebp + 8]
add dword [eax - 0x1c], 2
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x18]
cmp byte [eax + 0x38], 0
jne 0x42e5d5
mov eax, dword [ebp + 8]
cmp byte [eax - 0x33], 0
je 0x42e601
mov eax, dword [ebp + 8]
cmp byte [eax - 0x4b], 0
je 0x42e601
mov eax, dword [ebp + 8]
cmp byte [eax - 0x49], 0
jne 0x42e601
push 0xf
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x18]
movzx eax, byte [eax + 0x38]
mov eax, dword [eax*4 + 0x48a3c4]
push eax
mov eax, dword [ebp + 8]
add eax, 0xffffffd8
push eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x14]
call fcn.0042327c
push eax
call fcn.00407394
mov eax, dword [ebp + 8]
cmp byte [eax - 0x33], 0
je 0x42e656
mov eax, dword [ebp + 8]
cmp byte [eax - 0x4b], 0
je 0x42e620
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x28]
dec eax
mov edx, dword [ebp + 8]
mov dword [edx - 8], eax
mov eax, dword [ebp + 8]
cmp byte [eax - 0x55], 0
je 0x42e632
mov eax, dword [ebp + 8]
cmp byte [eax + 8], 0
jne 0x42e645
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x14]
mov eax, dword [eax + 0x14]
mov edx, 0xff00000d
call fcn.00422ba8
mov eax, dword [ebp + 8]
lea edx, [eax - 0x10]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x14]
call fcn.00422f8c
mov eax, dword [ebp + 8]
cmp byte [eax + 8], 0
je 0x42e6e3
mov eax, dword [ebp + 8]
cmp byte [eax - 0x55], 0
je 0x42e6e3
mov eax, dword [ebp + 8]
cmp byte [eax - 0x49], 0
je 0x42e67e
mov eax, dword [ebp + 8]
cmp byte [eax - 0x4a], 0
jne 0x42e6e3
mov eax, dword [ebp + 8]
cmp byte [eax - 0x33], 0
je 0x42e6a5
push 0xf
push 2
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
push eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x14]
call fcn.0042327c
push eax
call fcn.00407394
jmp 0x42e6ca
mov eax, dword [ebp + 8]
test byte [eax + 0xc], 0x40
je 0x42e6ca
push 0xf
push 4
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
push eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x14]
call fcn.0042327c
push eax
call fcn.00407394
mov eax, dword [ebp + 8]
cmp byte [eax - 0x33], 0
jne 0x42e6e3
push 0xffffffffffffffff
push 0
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
push eax
call sub.user32.dll_GetMessagePos
mov eax, dword [ebp + 8]
cmp byte [eax - 0x33], 0
je 0x42e6f5
mov eax, dword [ebp + 8]
cmp byte [eax - 0x4b], 0
jne 0x42e702
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x28]
dec eax
mov edx, dword [ebp + 8]
mov dword [edx - 8], eax
mov eax, dword [ebp + 8]
add dword [eax - 0x10], 2
mov eax, dword [ebp + 8]
dec dword [eax - 8]
mov eax, dword [ebp + 8]
movzx eax, byte [eax - 0x31]
movzx eax, word [eax*2 + 0x48a3bc]
or ax, 0x60
movzx eax, ax
mov edx, dword [ebp + 8]
mov dword [edx - 0x38], eax
mov eax, dword [ebp + 8]
cmp byte [eax - 0x56], 0
je 0x42e747
mov eax, dword [ebp + 8]
test byte [eax + 0xd], 1
je 0x42e747
mov eax, dword [ebp + 8]
or dword [eax - 0x38], 0x100000
mov eax, dword [ebp + 8]
mov edx, dword [ebp + 8]
lea esi, [eax - 0x10]
lea edi, [edx - 0x48]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov eax, dword [ebp + 8]
test byte [eax + 0xc], 0x20
je 0x42e775
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x14]
mov eax, dword [eax + 0xc]
movzx edx, byte [0x42e908]
call fcn.0042263c
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
push eax
mov eax, dword [ebp + 8]
movzx eax, byte [eax - 0x33]
push eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x38]
or eax, 0x400
or eax, 0x100
push eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x18]
mov ecx, dword [eax + 0x30]
mov eax, dword [ebp + 8]
mov edx, dword [eax - 0x14]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x18]
call fcn.0042c874
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x48]
mov edx, dword [ebp + 8]
mov dword [edx - 0x10], eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x40]
mov edx, dword [ebp + 8]
mov dword [edx - 8], eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x3c]
mov edx, dword [ebp + 8]
sub eax, dword [edx - 0x44]
mov edx, dword [ebp + 8]
mov edx, dword [edx - 4]
mov ecx, dword [ebp + 8]
sub edx, dword [ecx - 0xc]
sub eax, edx
sar eax, 1
jns 0x42e7e8
adc eax, 0
push eax
push 0
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
push eax
call sub.user32.dll_GetMessagePos
mov eax, dword [ebp + 8]
cmp byte [eax + 8], 0
je 0x42e822
mov eax, dword [ebp + 8]
cmp byte [eax - 0x33], 0
je 0x42e822
mov eax, dword [ebp + 8]
cmp byte [eax - 0x55], 0
je 0x42e822
push 0
push 1
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
push eax
call sub.user32.dll_GetMessagePos
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
push eax
mov eax, dword [ebp + 8]
movzx eax, byte [eax - 0x33]
push eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x38]
push eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x18]
mov ecx, dword [eax + 0x30]
mov eax, dword [ebp + 8]
mov edx, dword [eax - 0x14]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x18]
call fcn.0042c874
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x18]
cmp word [eax + 0x60], 0
je 0x42e8d8
mov eax, dword [ebp + 8]
cmp byte [eax + 8], 0
jne 0x42e8d8
mov eax, dword [ebp + 8]
cmp byte [eax - 0x57], 0
je 0x42e87d
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x18]
cmp dword [eax + 0x5c], 0
jne 0x42e8d8
lea edx, [ebp - 4]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x18]
movzx eax, word [eax + 0x60]
call fcn.0042b870
mov eax, dword [ebp + 8]
mov dword [eax - 0x10], 0xa
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x14]
mov edx, dword [ebp - 4]
call fcn.004230d8
mov edx, dword [ebp + 8]
add eax, dword [edx - 0x10]
mov edx, dword [ebp + 8]
mov dword [edx - 8], eax
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
push eax
mov eax, dword [ebp + 8]
movzx eax, byte [eax - 0x33]
push eax
push 2
mov eax, dword [ebp + 8]
mov edx, dword [eax - 0x14]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x18]
mov ecx, dword [ebp - 4]
call fcn.0042c874
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x42e8f5
lea eax, [ebp - 4]
call fcn.00404b5c
ret