Function at 0x4186d0
Capabilities:
Get keyboard layout
Resolve function by parsing pe exports

Disassembly:
mov eax, 0x1a184
call fcn.0049b300
mov ecx, dword [0x4cb484]
mov eax, dword [esp + 0x1a18c]
xor edx, edx
mov word [esp + 0x2168], dx
push ebx
mov ebx, dword [esp + 0x1a18c]
lea edx, [esp + 0xa174]
mov dword [esp + 0xc], edx
push ebp
lea edx, [esp + 0x12180]
push esi
dec ecx
mov dword [esp + 0x38], edx
xor edx, edx
or esi, 0xffffffff
push edi
mov dword [esp + 0x68], ecx
mov byte [esp + 0x1e], 0
mov word [esp + 0x4a], dx
mov word [esp + 0x50], dx
mov dword [ebx + 0x270], ecx
mov dword [esp + 0x6c], esi
test eax, eax
je 0x418760
push 1
push 0x4000
lea ecx, [esp + 0xa188]
push ecx
push eax
call fcn.00474350
test eax, eax
jne 0x41889a
xor edx, edx
mov word [esp + 0xa180], dx
mov dword [esp + 0x20], esi
push 2
lea eax, [esp + 0xa184]
push 0x4a8770
push eax
call fcn.00491e05
add esp, 0xc
test eax, eax
sete al
mov byte [esp + 0x26], al
test al, al
je 0x4187a0
xor ecx, ecx
mov word [esp + 0xa180], cx
mov dword [esp + 0x20], ecx
jmp 0x4187a0
cmp dword [esp + 0x20], 0xffffffff
je 0x41aa9e
mov edx, dword [esp + 0x6c]
mov esi, dword [esp + 0x18]
push 0xc
inc edx
push 0x4a8778
xor edi, edi
push esi
mov dword [ebx + 0x274], edx
mov dword [ebx + 0x634], edi
call fcn.004901fd
add esp, 0xc
test eax, eax
jne 0x4187e5
push esi
push ebx
call fcn.0041af30
test eax, eax
je 0x41a3ac
mov byte [esp + 0x7c], 0
mov dword [esp + 0x28], edi
mov ebx, dword [esp + 0x3c]
inc dword [esp + 0x6c]
mov esi, dword [esp + 0x28]
test ebx, ebx
je 0x418a24
mov eax, dword [esp + 0x1a19c]
mov ecx, esi
mov edx, ebx
call fcn.0041ad50
mov ebp, eax
mov dword [esp + 0x64], ebp
test ebp, ebp
je 0x418a2b
cmp ebp, 0xffffffff
je 0x418a2b
test esi, esi
jne 0x418a2b
push 2
push 0x4a8794
push ebx
call fcn.00491e05
add esp, 0xc
test eax, eax
jne 0x418a40
cmp byte [esp + 0x26], al
jne 0x418864
mov eax, 0x3a
cmp word [ebx + 4], ax
jne 0x418864
cmp word [ebx + 6], ax
je 0x418a4b
lea eax, [ebp + ebp - 2]
push eax
lea ecx, [ebx + 4]
push ecx
push ebx
mov byte [esp + 0x32], 0
call fcn.00490ac0
add esp, 0xc
lea eax, [ebp - 2]
mov edi, ebx
call fcn.00414f00
cmp word [ebx], 0
mov ebp, eax
mov dword [esp + 0x64], ebp
je 0x4187ee
jmp 0x418a4b
cmp word [esp + eax*2 + 0xa17e], 0xa
jne 0x4188a6
dec eax
xor ecx, ecx
mov word [esp + eax*2 + 0xa180], cx
or eax, 0xffffffff
lea edi, [esp + 0xa180]
call fcn.00414f00
mov esi, edi
call fcn.00414f70
mov edx, dword [0x4c6404]
push edx
mov ebp, eax
mov eax, edi
push 0x4c6410
push eax
call fcn.00491e05
add esp, 0xc
test eax, eax
jne 0x4188f6
xor ecx, ecx
mov word [esp + 0xa180], cx
mov dword [esp + 0x20], ecx
jmp 0x418764
lea edx, [esp + 0xa180]
push 0x4c6410
push edx
call fcn.00490e48
mov ebx, eax
add esp, 8
test ebx, ebx
je 0x418a14
jmp 0x418920
lea eax, [ebx - 2]
lea ecx, [esp + 0xa180]
cmp eax, ecx
jb 0x4189e1
movzx ecx, word [eax]
cmp ecx, 0x20
je 0x4189fb
cmp ecx, 9
je 0x4189fb
lea edx, [esp + 0xa180]
cmp eax, edx
mov dx, word [0x4c6970]
mov ecx, eax
jbe 0x418979
jmp 0x418960
cmp word [ecx], dx
jne 0x418979
cmp word [ecx - 2], dx
jne 0x418979
sub ecx, 4
lea esi, [esp + 0xa180]
cmp ecx, esi
ja 0x418960
lea esi, [esp + 0xa180]
cmp ecx, esi
jb 0x4189b0
cmp word [ecx], dx
jne 0x4189b0
lea esi, [eax + 2]
mov ecx, esi
lea edi, [ecx + 2]
mov dx, word [ecx]
add ecx, 2
test dx, dx
jne 0x418991
sub ecx, edi
sar ecx, 1
lea ecx, [ecx + ecx + 2]
push ecx
push esi
push eax
call fcn.00490ac0
add esp, 0xc
dec ebp
mov edx, dword [0x4c6404]
lea eax, [ebx + edx*2]
push 0x4c6410
push eax
call fcn.00490e48
mov ebx, eax
add esp, 8
test ebx, ebx
jne 0x418920
mov ebx, dword [esp + 0x1a198]
mov dword [esp + 0x20], ebp
jmp 0x418764
mov ebx, dword [esp + 0x1a198]
xor eax, eax
mov word [esp + 0xa180], ax
mov dword [esp + 0x20], eax
jmp 0x418764
xor ecx, ecx
lea edx, [esp + 0xa180]
mov word [eax], cx
sub eax, edx
sar eax, 1
mov esi, edx
call fcn.00414f70
mov ebp, eax
mov ebx, dword [esp + 0x1a198]
mov dword [esp + 0x20], ebp
jmp 0x418764
or ebp, 0xffffffff
mov dword [esp + 0x64], ebp
cmp byte [esp + 0x26], 0
je 0x418a69
cmp ebp, 0xffffffff
jne 0x4187ee
jmp 0x419218
cmp byte [esp + 0x26], 0
jne 0x4187ee
push 2
push 0x4a8770
push ebx
call fcn.00491e05
add esp, 0xc
test eax, eax
jne 0x418a2b
mov byte [esp + 0x26], 1
jmp 0x4187ee
test esi, esi
jne 0x418fde
cmp ebp, 0xffffffff
je 0x418ae6
cmp word [ebx], 0x28
jne 0x418ae6
cmp word [ebx + 2], 0x3a
lea esi, [ebx + 2]
je 0x418ae6
cmp word [ebx + ebp*2 - 2], 0x3a
je 0x418ae6
mov dl, byte [0x4cad78]
mov eax, 1
mov byte [esp + 0x36], dl
mov dword [esp + 0x28], eax
mov dword [esp + 0x78], 0
mov byte [esp + 0x3a], al
mov byte [esp + 0x38], 0
mov byte [esp + 0x35], 0
mov byte [esp + 0x3b], al
xor edx, edx
mov dword [esp + 0x98], 0xa
mov dword [esp + 0x74], eax
lea esp, [esp]
movzx eax, word [esi]
cmp eax, 0x20
je 0x418ae1
cmp eax, 9
jne 0x418d83
add esi, 2
jmp 0x418ad0
mov dword [esp + 0x28], 0
cmp ebp, 0xffffffff
je 0x419218
test ebp, ebp
je 0x4187ee
cmp word [ebx + ebp*2 - 2], 0x3a
jne 0x418b11
cmp word [ebx], 0x2c
jne 0x419218
movzx esi, word [ebx]
test esi, 0xffffff80
jne 0x418b2e
push 2
push esi
call fcn.0049129e
add esp, 8
test eax, eax
je 0x418b2e
and esi, 0xffffffdf
movzx eax, si
cmp eax, 0x41
je 0x418ce0
cmp eax, 0x4f
je 0x418c8b
movzx eax, word [ebx]
cmp eax, 0x3a
je 0x418b55
cmp eax, 0x2b
je 0x418b55
cmp eax, 0x2d
jne 0x418b5f
cmp word [ebx + 2], ax
je 0x419218
push eax
push 0x4a87b8
call fcn.00490e21
add esp, 8
test eax, eax
je 0x419218
push 0x4a87dc
push ebx
call fcn.00490e48
mov edi, eax
add esp, 8
test edi, edi
je 0x418d3b
cmp word [ebx], 0x3a
jne 0x418bf1
movzx eax, word [ebx + 2]
lea esi, [ebx + 2]
test ax, ax
je 0x418be7
nop
cmp ax, 0x3a
je 0x419218
movzx eax, ax
test eax, 0xffffff80
jne 0x418bc6
push 0x107
push eax
call fcn.0049129e
add esp, 8
test eax, eax
jne 0x418bdb
movzx edx, word [esi]
push edx
push 0x4a87e4
call fcn.00490e21
add esp, 8
test eax, eax
je 0x418bf1
movzx eax, word [esi + 2]
add esi, 2
test ax, ax
jne 0x418ba0
cmp word [esi], 0x3a
je 0x419218
cmp word [ebx], 0x2c
jne 0x418c39
lea eax, [ebx + 2]
call fcn.00409b00
push 2
mov esi, eax
push 0x4a87dc
push esi
call fcn.00491e05
add esp, 0xc
test eax, eax
je 0x419218
push 3
push 0x4a681c
add esi, 0xfffffffe
push esi
call fcn.00491e05
add esp, 0xc
test eax, eax
je 0x419218
jmp 0x418d3b
mov eax, ebx
cmp ebx, edi
jae 0x418c4d
nop
cmp word [eax], 0x22
je 0x418c4d
add eax, 2
cmp eax, edi
jb 0x418c40
cmp eax, edi
je 0x419218
movzx eax, word [edi + 4]
lea ecx, [edi + 4]
test ax, ax
je 0x419218
cmp ax, 0x22
je 0x418c7c
movzx eax, word [ecx + 2]
add ecx, 2
test ax, ax
jne 0x418c65
jmp 0x419218
cmp word [ecx], 0
je 0x419218
jmp 0x418d3b
movzx esi, word [ebx + 2]
test esi, 0xffffff80
jne 0x418ca9
push 2
push esi
call fcn.0049129e
add esp, 8
test eax, eax
je 0x418ca9
and esi, 0xffffffdf
cmp si, 0x52
jne 0x419218
movzx eax, word [ebx + 4]
lea ecx, [ebx + 4]
cmp eax, 0x20
je 0x418cc8
cmp eax, 9
jne 0x419218
movzx eax, word [ecx]
cmp eax, 0x20
je 0x418cd5
cmp eax, 9
jne 0x418cda
add ecx, 2
jmp 0x418cc8
movzx eax, word [ecx]
push eax
jmp 0x418d26
push 3
push 0x4a879c
push ebx
call fcn.004901fd
add esp, 0xc
test eax, eax
jne 0x419218
movzx eax, word [ebx + 6]
lea ecx, [ebx + 6]
cmp eax, 0x20
je 0x418d10
cmp eax, 9
jne 0x419218
lea ecx, [ecx]
movzx eax, word [ecx]
cmp eax, 0x20
je 0x418d1d
cmp eax, 9
jne 0x418d22
add ecx, 2
jmp 0x418d10
movzx ecx, word [ecx]
push ecx
push 0x4a87a4
call fcn.00490e21
add esp, 8
test eax, eax
jne 0x419218
mov esi, dword [esp + 0x20]
lea edx, [esi + ebp]
cmp edx, 0x4000
jae 0x41a8ae
cmp word [ebx], 0x2c
je 0x418d62
mov ecx, dword [esp + 0x18]
mov eax, 0x20
mov word [ecx + esi*2], ax
inc esi
mov eax, dword [esp + 0x18]
lea edx, [ebp + ebp + 2]
push edx
lea ecx, [eax + esi*2]
push ebx
push ecx
call fcn.00497ff0
add esp, 0xc
add esi, ebp
mov dword [esp + 0x20], esi
jmp 0x4187ee
cmp word [esi], dx
je 0x418fd4
mov ebx, 0x30
mov edi, esi
test esi, esi
je 0x418dd1
movzx eax, word [esi]
test ax, ax
je 0x418dd1
nop
movzx edx, ax
mov ecx, 0x4a682c
mov eax, 0x20
lea ecx, [ecx]
cmp dx, ax
je 0x418e84
movzx eax, word [ecx + 2]
add ecx, 2
test ax, ax
jne 0x418db0
movzx eax, word [edi + 2]
add edi, 2
test ax, ax
jne 0x418da0
mov eax, esi
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x418dd6
sub eax, edx
sar eax, 1
lea ebp, [esi + eax*2]
movzx edi, word [ebp]
push 4
xor eax, eax
push 0x4a8830
push esi
mov dword [esp + 0x3c], edi
mov word [ebp], ax
call fcn.004901fd
add esp, 0xc
test eax, eax
jne 0x418f25
push 0xf
add esi, 8
lea ecx, [esp + 0x9c]
push esi
push ecx
call fcn.00492bd4
movzx ebx, word [0x4c6970]
add esp, 0xc
xor edx, edx
mov word [esp + 0xb6], dx
lea ecx, [esp + 0x98]
lea esp, [esp]
movzx eax, word [ecx]
test ax, ax
je 0x418e59
cmp ax, bx
je 0x418e8b
movzx eax, word [ecx + 2]
add ecx, 2
test ax, ax
jne 0x418e48
lea eax, [esp + 0x98]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x418e63
mov edi, dword [esp + 0x30]
sub eax, edx
sar eax, 1
mov dword [esp + 0x74], eax
mov ebx, 0x30
jmp 0x418fb2
mov ebp, edi
jmp 0x418de8
cmp word [ecx], 0
je 0x418e59
movzx eax, word [ecx + 2]
lea esi, [ecx + 2]
add eax, 0xffffff9f
cmp eax, 0x15
ja case.0x418ea7.99
movzx eax, byte [eax + 0x41ab84]
jmp dword [eax*4 + 0x41ab60]
mov edx, 7
mov word [esi], dx
jmp case.0x418ea7.99
mov eax, 8
jmp 0x418ef0
mov edx, 0xc
mov word [esi], dx
jmp case.0x418ea7.99
mov eax, 0xa
jmp 0x418ef0
mov edx, 0xd
mov word [esi], dx
jmp case.0x418ea7.99
mov eax, 9
jmp 0x418ef0
mov edx, 0xb
mov word [esi], dx
jmp case.0x418ea7.99
mov eax, 0x20
mov word [esi], ax
mov eax, esi
lea edi, [eax + 2]
jmp 0x418f00
mov dx, word [eax]
add eax, 2
test dx, dx
jne 0x418f00
sub eax, edi
sar eax, 1
lea edx, [eax + eax + 2]
push edx
push esi
push ecx
call fcn.00490ac0
add esp, 0xc
mov ecx, esi
jmp 0x418e40
push 5
push 0x4a883c
push esi
call fcn.004901fd
add esp, 0xc
test eax, eax
jne 0x418f44
cmp word [esi + 0xa], bx
setne byte [esp + 0x36]
jmp 0x418fb2
push 5
push 0x4a8848
push esi
call fcn.004901fd
add esp, 0xc
test eax, eax
jne 0x418f63
cmp word [esi + 0xa], bx
setne byte [esp + 0x3a]
jmp 0x418fb2
movzx eax, word [esi]
test ax, ax
je 0x418fb2
jmp 0x418f70
movzx eax, ax
add eax, 0xffffffdb
cmp eax, 0x3e
ja case.0x418f82.38
movzx eax, byte [eax + 0x41abb4]
jmp dword [eax*4 + 0x41ab9c]
mov byte [esp + 0x38], 1
jmp case.0x418f82.38
mov byte [esp + 0x35], 1
jmp case.0x418f82.38
mov byte [esp + 0x3b], 0
jmp case.0x418f82.38
mov dword [esp + 0x28], 2
movzx eax, word [esi + 2]
add esi, 2
test ax, ax
jne 0x418f70
mov word [ebp], di
mov esi, ebp
movzx eax, word [esi]
cmp eax, 0x20
je 0x418fc5
cmp eax, 9
jne 0x418fca
add esi, 2
jmp 0x418fb8
cmp word [esi], 0
jne 0x418d91
mov byte [esp + 0x7c], 1
jmp 0x4187ee
cmp ebp, 0xffffffff
je 0x41aa7b
cmp ebp, 0xfffffffe
je 0x4187ee
cmp word [ebx], 0x29
jne 0x419088
mov eax, ebx
mov dword [esp + 0x28], 0
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x419007
sub eax, edx
sar eax, 1
lea ecx, [ebx + eax*2 - 2]
lea ebx, [ebx]
movzx edx, word [ecx]
cmp edx, 0x20
je 0x41902d
cmp edx, 9
jne 0x419037
cmp ecx, ebx
je 0x419050
sub ecx, 2
dec eax
jmp 0x419020
mov ebx, dword [esp + 0x3c]
mov edi, dword [esp + 0x3c]
xor edx, edx
mov ebp, eax
add ebx, 2
mov word [ecx + 2], dx
dec ebp
jmp 0x419197
movzx edx, word [ecx]
cmp edx, 0x20
je 0x419070
cmp edx, 9
je 0x419070
mov ebx, dword [esp + 0x3c]
mov edi, dword [esp + 0x3c]
mov ebp, eax
add ebx, 2
dec ebp
jmp 0x419197
mov ebx, dword [esp + 0x3c]
mov edi, dword [esp + 0x3c]
xor eax, eax
xor ebp, ebp
add ebx, 2
mov word [ecx], ax
dec ebp
jmp 0x419197
cmp byte [esp + 0x3a], 0
mov edi, dword [esp + 0x3c]
mov ebx, edi
je 0x4190a0
mov eax, ebp
mov esi, edi
call fcn.00414f70
mov ebp, eax
cmp byte [esp + 0x36], 0
je 0x4190b4
mov edi, dword [esp + 0x3c]
mov eax, ebp
call fcn.00414f00
mov ebp, eax
xor esi, esi
cmp byte [esp + 0x38], 0
je 0x4190f3
mov ax, word [0x4c6970]
push esi
push 0x4001
push 0xffffffffffffffff
push 1
lea ecx, [esp + 0x5c]
push ecx
lea edx, [esp + 0x5c]
push edx
mov word [esp + 0x60], ax
mov word [esp + 0x64], ax
mov word [esp + 0x66], ax
push edi
xor eax, eax
call fcn.00476ee0
add esp, 0x1c
mov esi, eax
cmp byte [esp + 0x35], 0
je 0x419138
mov ax, word [0x4c696c]
mov cx, word [0x4c6970]
push 0
push 0x4001
push 0xffffffffffffffff
push 1
mov word [esp + 0x58], ax
mov word [esp + 0x5e], ax
lea edx, [esp + 0x5c]
push edx
lea eax, [esp + 0x5c]
push eax
push edi
xor eax, eax
mov word [esp + 0x68], cx
call fcn.00476ee0
add esp, 0x1c
add esi, eax
cmp byte [esp + 0x3b], 0
je 0x41917d
mov ax, word [0x4c6968]
mov cx, word [0x4c6970]
push 0
push 0x4001
push 0xffffffffffffffff
push 1
mov word [esp + 0x58], ax
mov word [esp + 0x5e], ax
lea edx, [esp + 0x5c]
push edx
lea eax, [esp + 0x5c]
push eax
push edi
xor eax, eax
mov word [esp + 0x68], cx
call fcn.00476ee0
add esp, 0x1c
add esi, eax
test esi, esi
je 0x419197
mov eax, edi
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x419186
sub eax, edx
sar eax, 1
mov ebp, eax
mov esi, dword [esp + 0x74]
mov eax, dword [esp + 0x20]
lea ecx, [esi + ebp]
add ecx, eax
cmp ecx, 0x4001
jae 0x41a8ae
mov ecx, dword [esp + 0x78]
inc ecx
mov dword [esp + 0x78], ecx
cmp ecx, 1
jle 0x4191e7
test esi, esi
je 0x4191e7
cmp ebx, edi
jne 0x4191e7
lea edx, [esi + esi + 2]
push edx
mov edx, dword [esp + 0x1c]
lea ecx, [esp + 0x9c]
push ecx
lea eax, [edx + eax*2]
push eax
call fcn.00497ff0
add esp, 0xc
add dword [esp + 0x20], esi
test ebp, ebp
je 0x4187ee
mov edx, dword [esp + 0x18]
mov esi, dword [esp + 0x20]
lea ecx, [ebp + ebp + 2]
push ecx
lea eax, [edx + esi*2]
push ebx
push eax
call fcn.00497ff0
add esp, 0xc
add esi, ebp
mov dword [esp + 0x20], esi
jmp 0x4187ee
mov word [ebp], di
mov ebx, dword [esp + 0x1a198]
mov eax, dword [esp + 0x20]
mov ebp, dword [esp + 0x44]
mov esi, dword [esp + 0x18]
jmp 0x419230
test eax, eax
je 0x41a67b
cmp word [esp + 0x2178], 0
je 0x4193b7
mov ecx, dword [esp + 0x54]
mov edi, dword [ebx + 0x274]
mov dword [ebx + 0x274], ecx
cmp word [esi], 0x7b
je 0x4192a3
cmp byte [esp + 0x1f], 0
jne 0x4192a3
test ebp, ebp
jne 0x41a8cd
cmp dword [ebx + 0x4c], ebp
je 0x419283
mov edx, dword [0x4c6a44]
cmp dword [edx + 0xb4], ebp
je 0x41a8ee
push 0
push 0
push 0
push 0
push 0
push 3
lea eax, [esp + 0x2190]
push eax
mov ecx, ebx
call fcn.0041c720
jmp 0x419333
mov eax, ebp
sub eax, 0
je 0x4192ed
dec eax
je 0x4192d5
dec eax
jne 0x419345
mov ebx, dword [esp + 0x1a198]
lea esi, [esp + 0x2178]
call fcn.00421430
test eax, eax
je 0x41a3ac
mov esi, dword [esp + 0x18]
jmp 0x419345
lea ecx, [esp + 0x2178]
push ecx
push ebx
call fcn.00420f70
test eax, eax
je 0x41a3ac
jmp 0x419345
mov edx, dword [0x4c6a44]
cmp dword [edx + 0xb4], 0
jne 0x41a91e
lea eax, [esp + 0x238]
push eax
lea ecx, [esp + 0x217c]
push ecx
push ebx
call fcn.004204b0
test eax, eax
je 0x41a3ac
cmp byte [esp + 0x1f], 0
je 0x419345
push 0
push 0
push 0
push 0x75
push ebx
call fcn.0041ec50
test eax, eax
je 0x41a3ac
mov dword [ebx + 0x634], 0
xor edx, edx
mov word [esp + 0x2178], dx
test ebp, ebp
je 0x4193b1
cmp byte [esp + 0x1f], dl
jne 0x4193b1
lea ecx, [esi + 2]
lea esp, [esp]
movzx eax, word [ecx]
cmp eax, 0x20
je 0x41936d
cmp eax, 9
jne 0x419372
add ecx, 2
jmp 0x419360
cmp word [ecx], dx
jne 0x419382
mov dword [ebx + 0x274], edi
jmp 0x41a67b
mov eax, ecx
lea esi, [eax + 2]
mov dx, word [eax]
add eax, 2
test dx, dx
jne 0x419387
sub eax, esi
sar eax, 1
mov dword [esp + 0x20], eax
lea eax, [eax + eax + 2]
push eax
push ecx
mov ecx, dword [esp + 0x20]
push ecx
call fcn.00490ac0
mov esi, dword [esp + 0x24]
add esp, 0xc
mov dword [ebx + 0x274], edi
cmp word [esi], 0x7d
jne 0x419493
mov eax, dword [ebx + 0x4c]
test eax, eax
je 0x419493
mov edx, dword [0x4c6a44]
cmp dword [edx + 0xb4], 0
jne 0x419493
cmp dword [ebx + 0x268], 0
je 0x419411
mov eax, dword [ebx + 0x26c]
mov dword [ebx + 0x268], 0
test eax, eax
je 0x41944b
push eax
call fcn.00490941
add esp, 4
mov dword [ebx + 0x26c], 0
jmp 0x41944b
dec eax
mov dword [ebx + 0x4c], eax
mov edi, dword [ebx + eax*4 + 0x50]
call fcn.0046fdb0
mov eax, dword [ebx + 0x4c]
mov eax, dword [ebx + eax*4 + 0x50]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
lea esi, [ebx + 0x64]
push 0x2e
push esi
call fcn.00491e3e
add esp, 8
test eax, eax
je 0x419446
xor ecx, ecx
mov word [eax], cx
jmp 0x41944b
xor edx, edx
mov word [esi], dx
mov eax, dword [esp + 0x18]
movzx ecx, word [eax + 2]
add eax, 2
cmp ecx, 0x20
je 0x41944f
cmp ecx, 9
je 0x41944f
cmp word [eax], 0
mov dword [esp + 0x18], eax
je 0x41a67b
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x419471
sub eax, edx
sar eax, 1
mov dword [esp + 0x20], eax
mov dword [ebx + 0x634], 0
jmp 0x419227
cmp dword [ebx + 0x268], 0
je 0x41956a
mov eax, dword [0x4c6a44]
cmp dword [eax + 0xb4], 0
jne 0x41956a
push 3
push 0x4a8934
push esi
call fcn.004901fd
add esp, 0xc
test eax, eax
je 0x4194de
push 3
push 0x4a893c
push esi
call fcn.004901fd
add esp, 0xc
test eax, eax
jne 0x41a93f
mov edi, dword [esp + 0x18]
lea esi, [edi + 6]
movzx eax, word [esi]
cmp eax, 0x20
je 0x4194f2
cmp eax, 9
jne 0x4194f7
add esi, 2
jmp 0x4194e5
movzx eax, word [esi]
test ax, ax
je 0x419513
cmp eax, 0x7b
jne 0x41a943
cmp word [esi + 2], 0
jne 0x41a943
mov eax, dword [ebx + 0x26c]
lea edx, [esp + 0x2178]
sub edx, eax
movzx ecx, word [eax]
mov word [eax + edx], cx
add eax, 2
test cx, cx
jne 0x419522
lea ecx, [esp + 0x2178]
push 0x2e
push ecx
call fcn.00490e21
mov dx, word [edi]
mov word [eax + 2], dx
mov eax, dword [ebx + 0x274]
add esp, 8
cmp word [esi], 0x7b
mov dword [esp + 0x54], eax
sete byte [esp + 0x1f]
mov dword [esp + 0x44], 0
jmp 0x41a67b
lea ecx, [esp + 0x1f]
push ecx
mov eax, esi
call fcn.00418350
add esp, 4
test al, al
je 0x4195b6
lea edx, [esp + 0x2178]
mov eax, esi
sub edx, esi
jmp 0x419590
movzx ecx, word [eax]
mov word [eax + edx], cx
add eax, 2
test cx, cx
jne 0x419590
mov edx, dword [ebx + 0x274]
mov dword [esp + 0x54], edx
mov dword [esp + 0x44], 0
jmp 0x41a67b
mov eax, dword [0x4c6a44]
cmp dword [eax + 0xb4], 0
jne 0x419787
lea ecx, [esp + 0x1f]
push ecx
mov eax, esi
call fcn.00418410
add esp, 4
test eax, eax
je 0x41960a
lea edx, [esp + 0x2178]
sub edx, eax
movzx ecx, word [eax]
mov word [eax + edx], cx
add eax, 2
test cx, cx
jne 0x4195e4
mov edx, dword [ebx + 0x274]
mov dword [esp + 0x54], edx
mov dword [esp + 0x44], 1
jmp 0x41a67b
cmp dword [ebx + 0x4c], 0
je 0x419787
mov edi, dword [esp + 0x18]
mov esi, edi
lea ebx, [ebx]
movzx eax, word [esi]
test eax, 0xffffff80
jne 0x41963c
push 0x107
push eax
call fcn.0049129e
add esp, 8
test eax, eax
jne 0x41964e
movzx eax, word [esi]
cmp eax, 0x5f
je 0x41964e
cmp eax, 0x7f
ja 0x41964e
cmp eax, 0x2e
jne 0x419653
add esi, 2
jmp 0x419620
cmp esi, edi
jbe 0x41970b
jmp 0x419660
movzx eax, word [esi]
cmp eax, 0x20
je 0x41966d
cmp eax, 9
jne 0x419672
add esi, 2
jmp 0x419660
movzx eax, word [esi]
cmp eax, 0x3a
jne 0x419697
cmp word [esi + 2], 0x3d
jne 0x419697
push 0
push edi
push ebx
call fcn.004215c0
test eax, eax
je 0x41a3ac
jmp 0x41a67b
test ax, ax
je 0x4196ad
cmp eax, 0x5b
je 0x4196ad
cmp eax, 0x7b
jne 0x41970b
cmp word [esi + 2], 0
jne 0x41970b
mov eax, edi
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4196b2
sub eax, edx
sar eax, 1
cmp word [edi + eax*2 - 2], 0x7b
sete cl
mov byte [esp + 0x1f], cl
test cl, cl
je 0x4196da
dec eax
mov esi, edi
call fcn.00414f70
lea edx, [esp + 0x2178]
mov eax, edi
sub edx, edi
movzx ecx, word [eax]
mov word [eax + edx], cx
add eax, 2
test cx, cx
jne 0x4196e5
mov eax, dword [ebx + 0x274]
mov dword [esp + 0x54], eax
mov dword [esp + 0x44], 2
jmp 0x41a67b
push 6
push 0x4a58c4
push edi
call fcn.004901fd
add esp, 0xc
test eax, eax
jne 0x419746
movzx eax, word [edi + 0xc]
cmp eax, 0x20
je 0x41972d
cmp eax, 9
jne 0x419746
push 1
add edi, 0xe
push edi
push ebx
call fcn.004215c0
test eax, eax
je 0x41a3ac
jmp 0x41a67b
cmp word [edi], 0x23
jne 0x41a95d
mov esi, dword [ebx + 0x274]
push edi
push ebx
call fcn.0041af30
test eax, eax
je 0x41a3ac
cmp eax, 3
jne 0x41a95d
mov ecx, dword [esp + 0x68]
mov dword [ebx + 0x270], ecx
mov dword [ebx + 0x274], esi
jmp 0x41a67b
mov esi, dword [esp + 0x18]
xor ebp, ebp
cmp word [esi], 0x3a
mov dword [esp + 0x28], ebp
mov dword [esp + 0x30], ebp
jne 0x41987f
movzx ecx, word [esi + 2]
cmp cx, bp
je 0x41987f
lea edi, [esi + 2]
mov dword [esp + 0x80], edi
cmp ecx, 0x3a
je 0x4197da
push 0x3a
push edi
call fcn.00490e21
mov ebx, eax
add esp, 8
test ebx, ebx
jne 0x4197d1
mov dword [esp + 0x28], ebp
jmp 0x41987f
add ebx, 2
mov dword [esp + 0x28], ebx
jmp 0x4197ed
cmp word [esi + 4], bp
lea eax, [esi + 4]
je 0x41987f
mov ebx, eax
mov dword [esp + 0x28], eax
test ebx, ebx
je 0x41987f
mov dl, byte [0x4cad6b]
mov byte [esp + 0x2f], dl
cmp edi, ebx
jae 0x419839
movzx esi, word [edi]
test esi, 0xffffff80
jne 0x419820
push 2
push esi
call fcn.0049129e
add esp, 8
test eax, eax
je 0x419820
and esi, 0xffffffdf
cmp si, 0x58
je 0x41982f
add edi, 2
cmp edi, ebx
jb 0x419803
jmp 0x419839
cmp word [edi + 2], 0x30
setne byte [esp + 0x2f]
mov edi, ebx
movzx eax, word [edi]
mov cx, word [0x4c6970]
test ax, ax
je 0x41986f
lea ebx, [ebx]
cmp ax, cx
je 0x4198e9
cmp ax, 0x3a
je 0x4198e9
movzx eax, word [edi + 2]
add edi, 2
test ax, ax
jne 0x419850
test ebp, ebp
jne 0x4199e8
mov esi, dword [esp + 0x18]
mov dword [esp + 0x28], ebp
push 0x4a87dc
push esi
call fcn.00490e48
mov ebp, eax
add esp, 8
mov dword [esp + 0x30], ebp
test ebp, ebp
je 0x41a1ec
mov ecx, dword [esp + 0x18]
cmp ebp, ecx
jne 0x4198b1
cmp word [ebp + 4], 0x3a
jne 0x4198b1
add ebp, 2
mov dword [esp + 0x30], ebp
mov esi, ebp
cmp ebp, ecx
jbe 0x4198cb
movzx eax, word [esi]
cmp eax, 0x20
je 0x4198c4
cmp eax, 9
jne 0x4198cb
sub esi, 2
cmp esi, ecx
ja 0x4198b7
movzx edi, word [esi]
xor eax, eax
mov word [esi], ax
movzx eax, word [ecx]
cmp eax, 0x20
je 0x4198e4
cmp eax, 9
jne 0x4199b4
add ecx, 2
jmp 0x4198d3
movzx eax, word [edi]
test ax, ax
je 0x41986f
lea esi, [edi + 2]
cmp eax, 0x3a
jne 0x419921
cmp word [esi], ax
jne 0x4199ac
cmp byte [esp + 0x2f], 0
mov ebp, edi
mov dword [esp + 0x30], ebp
mov edi, esi
jne 0x41986f
add edi, 2
jmp 0x41983b
movzx eax, word [esi]
add eax, 0xffffff9f
cmp eax, 0x15
ja case.0x419933.99
movzx eax, byte [eax + 0x41ac14]
jmp dword [eax*4 + 0x41abf4]
mov ecx, 7
jmp 0x419975
mov edx, 8
mov word [esi], dx
jmp case.0x419933.99
mov eax, 0xc
mov word [esi], ax
jmp case.0x419933.99
mov ecx, 0xa
jmp 0x419975
mov edx, 0xd
mov word [esi], dx
jmp case.0x419933.99
mov eax, 9
mov word [esi], ax
jmp case.0x419933.99
mov ecx, 0xb
mov word [esi], cx
mov eax, esi
lea edx, [eax + 2]
lea ecx, [ecx]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x419980
sub eax, edx
sar eax, 1
lea edx, [eax + eax + 2]
push edx
push esi
push edi
call fcn.00490ac0
add esp, 0xc
cmp word [edi], 0x3a
jne 0x4199ac
cmp word [esi], 0x3a
jne 0x4199ac
mov edi, esi
add edi, 2
jmp 0x41983b
push 0
push ecx
xor ebx, ebx
call fcn.0040c0c0
add esp, 8
mov dword [esp + 0x84], eax
test eax, eax
je 0x4199d7
cmp eax, 4
je 0x41a3ac
jmp 0x4199dd
xor ebp, ebp
mov dword [esp + 0x30], ebp
mov word [esi], di
test ebp, ebp
je 0x41a1ec
mov ebx, dword [esp + 0x18]
cmp ebp, ebx
jbe 0x41a1f0
mov ecx, dword [0x4c6a44]
cmp dword [ecx + 0xb4], 0
jne 0x41a977
mov ebp, dword [esp + 0x1a198]
mov eax, dword [ebp + 4]
test eax, eax
je 0x419a1e
cmp byte [eax], 0x1a
je 0x41a996
mov edi, dword [esp + 0x30]
xor edx, edx
mov word [edi], dx
add edi, 4
mov dword [esp + 0x30], edi
cmp dword [esp + 0x28], edx
jne 0x419ec9
cmp word [edi], dx
je 0x419a7e
mov edx, edi
nop
movzx eax, word [edx]
cmp eax, 0x20
je 0x419a4d
cmp eax, 9
jne 0x419a52
add edx, 2
jmp 0x419a40
mov eax, edx
sub eax, edi
sar eax, 1
je 0x419a7e
mov eax, edx
lea esi, [eax + 2]
nop
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x419a60
sub eax, esi
sar eax, 1
lea ecx, [eax + eax + 2]
push ecx
push edx
push edi
call fcn.00490ac0
add esp, 0xc
mov esi, dword [esp + 0x30]
cmp word [esi], 0
mov ebp, esi
je 0x419ebe
cmp word [esi + 2], 0
je 0x419c07
movzx eax, word [esi + 2]
xor dl, dl
xor cl, cl
test ax, ax
je 0x419b88
mov edi, dword [esp + 0x60]
mov edi, edi
cmp ax, 0x20
je case.0x419ad0.34
movzx eax, word [esi]
add eax, 0xffffffdf
cmp eax, 0x5d
ja case.0x419ad0.34
movzx eax, byte [eax + 0x41ac4c]
jmp dword [eax*4 + 0x41ac2c]
mov cl, 1
jmp case.0x419ad0.36
mov dl, 1
jmp case.0x419ad0.36
test cl, cl
jne 0x419af5
test dl, dl
jne 0x419af9
or edi, 1
jmp case.0x419ad0.36
test dl, dl
je 0x419b00
or byte [esp + 0x17], 4
xor dl, dl
test cl, cl
je case.0x419ad0.36
or byte [esp + 0x17], 8
jmp 0x419b72
test cl, cl
jne 0x419b18
test dl, dl
jne 0x419b1c
or edi, 2
jmp case.0x419ad0.36
test dl, dl
je 0x419b23
or byte [esp + 0x17], 1
xor dl, dl
test cl, cl
je case.0x419ad0.36
or byte [esp + 0x17], 2
jmp 0x419b72
test cl, cl
jne 0x419b3b
test dl, dl
jne 0x419b3f
or edi, 4
jmp case.0x419ad0.36
test dl, dl
je 0x419b46
or byte [esp + 0x17], 0x10
xor dl, dl
test cl, cl
je case.0x419ad0.36
or byte [esp + 0x17], 0x20
jmp 0x419b72
test cl, cl
jne 0x419b5e
test dl, dl
jne 0x419b62
or edi, 8
jmp case.0x419ad0.36
test dl, dl
je 0x419b69
or byte [esp + 0x17], 0x40
xor dl, dl
test cl, cl
je case.0x419ad0.36
or byte [esp + 0x17], 0x80
xor cl, cl
movzx eax, word [esi + 4]
add esi, 2
test ax, ax
jne 0x419ab0
mov dword [esp + 0x60], edi
push 0
mov ebp, esi
call dword [sym.imp.USER32.dll_GetKeyboardLayout]
push eax
push 0
xor ecx, ecx
mov eax, esi
call fcn.00414040
add esp, 8
mov byte [esp + 0x1e], al
test al, al
je 0x419ebe
mov bl, al
mov esi, dword [esp + 0x18]
cmp word [esi], 0
je 0x419cc9
movzx ecx, word [esi + 2]
mov eax, esi
add esi, 2
xor bl, bl
xor dl, dl
test cx, cx
je 0x419cc3
mov edi, dword [esp + 0x5c]
jmp 0x419be0
cmp cx, 0x20
je case.0x419c00.34
movzx ecx, word [eax]
add ecx, 0xffffffdf
cmp ecx, 0x5d
ja case.0x419c00.34
movzx ecx, byte [ecx + 0x41accc]
jmp dword [ecx*4 + 0x41acac]
or bl, 0xff
mov byte [esp + 0x1e], bl
jmp 0x419baf
mov dl, 1
jmp case.0x419c00.36
mov bl, 1
jmp case.0x419c00.36
test dl, dl
jne 0x419c2e
test bl, bl
jne 0x419c32
or edi, 1
jmp case.0x419c00.36
test bl, bl
je 0x419c39
or byte [esp + 0x16], 4
xor bl, bl
test dl, dl
je case.0x419c00.36
or byte [esp + 0x16], 8
jmp 0x419cab
test dl, dl
jne 0x419c51
test bl, bl
jne 0x419c55
or edi, 2
jmp case.0x419c00.36
test bl, bl
je 0x419c5c
or byte [esp + 0x16], 1
xor bl, bl
test dl, dl
je case.0x419c00.36
or byte [esp + 0x16], 2
jmp 0x419cab
test dl, dl
jne 0x419c74
test bl, bl
jne 0x419c78
or edi, 4
jmp case.0x419c00.36
test bl, bl
je 0x419c7f
or byte [esp + 0x16], 0x10
xor bl, bl
test dl, dl
je case.0x419c00.36
or byte [esp + 0x16], 0x20
jmp 0x419cab
test dl, dl
jne 0x419c97
test bl, bl
jne 0x419c9b
or edi, 8
jmp case.0x419c00.36
test bl, bl
je 0x419ca2
or byte [esp + 0x16], 0x40
xor bl, bl
test dl, dl
je case.0x419c00.36
or byte [esp + 0x16], 0x80
xor dl, dl
mov eax, esi
movzx ecx, word [eax + 2]
lea esi, [eax + 2]
test cx, cx
jne 0x419be0
mov dword [esp + 0x5c], edi
mov bl, byte [esp + 0x1e]
mov esi, eax
push 0
call dword [sym.imp.USER32.dll_GetKeyboardLayout]
push eax
push 0
xor ecx, ecx
mov eax, esi
call fcn.00414040
push 0x4a681c
push esi
mov byte [esp + 0x49], al
call fcn.00490e48
add esp, 0x10
test eax, eax
mov al, byte [esp + 0x39]
setne byte [esp + 0x42]
lea edx, [eax - 1]
cmp dl, 5
ja 0x419d06
cmp al, 3
jne 0x419d0c
add al, 0x66
cmp al, 5
ja 0x419d10
mov al, 1
jmp 0x419d12
xor al, al
lea ecx, [ebx - 1]
cmp cl, 5
ja 0x419d1f
cmp bl, 3
jne 0x419d27
add bl, 0x66
cmp bl, 5
ja 0x419d2e
mov byte [esp + 0x27], 1
jmp 0x419d33
mov byte [esp + 0x27], 0
test al, al
jne 0x419d42
mov byte [esp + 0x37], 1
cmp byte [esp + 0x27], al
jne 0x419d47
mov byte [esp + 0x37], 0
mov eax, esi
lea edx, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x419d50
sub eax, edx
sar eax, 1
cmp eax, 1
jne 0x419d77
movzx edx, word [esi]
push edx
call dword [sym.imp.USER32.dll_IsCharUpperW]
mov ecx, 0x4a8a2c
test eax, eax
jne 0x419d7c
mov ecx, 0x4a3920
cmp byte [esp + 0x42], 0
mov eax, 0x4a3920
jne 0x419d8d
mov eax, 0x4a8668
mov edx, dword [esp + 0x18]
push edx
push ecx
push eax
push 0x4a8a30
mov esi, 0x20
lea edi, [esp + 0x108]
call fcn.00476740
push 0x1f
lea eax, [esp + 0xcc]
push ebp
push eax
call fcn.00492bd4
mov esi, dword [esp + 0x4c]
add esp, 0x1c
push 7
lea edx, [esp + 0x8c]
xor ecx, ecx
push esi
push edx
mov word [esp + 0x102], cx
call fcn.00492bd4
xor eax, eax
sub ebp, esi
mov word [esp + 0xa2], ax
mov eax, ebp
sar eax, 1
add esp, 0xc
cmp eax, 8
jae 0x419dfd
xor ecx, ecx
mov word [esp + eax*2 + 0x88], cx
cmp word [esp + 0x88], 0
mov dword [esp + 0x58], 0
jne 0x41a674
mov al, byte [esp + 0x1e]
cmp al, 0xd
je 0x419ea0
cmp al, 0x13
jne 0x41a674
movzx esi, word [esp + 0xb8]
test esi, 0xffffff80
jne 0x419e4a
push 2
push esi
call fcn.0049129e
add esp, 8
test eax, eax
je 0x419e4a
and esi, 0xffffffdf
cmp si, 0x50
je 0x419eb9
movzx esi, word [esp + 0xb8]
test esi, 0xffffff80
jne 0x419e72
push 2
push esi
call fcn.0049129e
add esp, 8
test eax, eax
je 0x419e72
and esi, 0xffffffdf
cmp si, 0x42
je 0x419eb9
mov ebx, dword [esp + 0x1a198]
mov eax, dword [esp + 0x58]
inc eax
mov dword [esp + 0x58], eax
dec eax
cmp eax, 9
ja case.0x419e99.4
movzx eax, byte [eax + 0x41ad40]
jmp dword [eax*4 + 0x41ad2c]
lea edx, [esp + 0xb8]
push 0x4a51b0
push edx
call fcn.0048fff9
add esp, 8
test eax, eax
jne 0x419e78
mov byte [esp + 0x1e], 0
mov ebp, dword [esp + 0x1a198]
mov edi, dword [esp + 0x30]
cmp byte [ebp + 0x278], 0
je 0x419f06
push 0
push 0xff
push 0
push 0x67
push ebp
mov byte [ebp + 0x278], 0
call fcn.0041ec50
test eax, eax
je 0x41a3ac
mov eax, dword [ebp + 4]
mov dword [eax + 0xc], 1
mov dword [ebp + 0x634], 0
mov ebx, dword [esp + 0x18]
push 1
mov eax, ebx
mov esi, ebp
call fcn.0041c5e0
test eax, eax
je 0x41a3ac
mov eax, dword [esp + 0x28]
test eax, eax
je 0x41a014
cmp word [eax], 0
je 0x41a9ba
mov bl, byte [esp + 0x2f]
mov eax, 0x4a3920
test bl, bl
jne 0x419f42
mov eax, edi
mov ecx, dword [esp + 0x7c]
mov edx, dword [esp + 0x80]
mov edi, dword [esp + 0x28]
push 0
push ecx
push eax
push edx
push ecx
mov ecx, dword [ebp + 0x14]
mov eax, esp
mov dword [eax], ecx
mov edx, dword [ebp + 0x14]
mov eax, dword [edx + 4]
push eax
call fcn.0040d2a0
add esp, 0x18
test eax, eax
je 0x41a3ac
mov esi, dword [esp + 0x30]
cmp word [esi], 0
je 0x41a674
test bl, bl
je 0x419fef
mov ecx, esi
lea esp, [esp]
movzx eax, word [ecx]
cmp eax, 0x20
je 0x419f9d
cmp eax, 9
jne 0x419fa2
add ecx, 2
jmp 0x419f90
push 0
push 0
push 0
push 0
push 0
push 0
push ecx
mov ecx, ebp
call fcn.0041c720
test eax, eax
je 0x41a3ac
mov ecx, dword [ebp + 4]
mov al, byte [ecx]
cmp al, 9
jb 0x419fcf
cmp al, 0x20
jbe 0x41a9d4
cmp al, 0x21
je 0x41a9d4
cmp al, 0x69
jb 0x419fe3
cmp al, 0x6b
jbe 0x41a9d4
cmp al, 0x6f
jb 0x419fef
cmp al, 0x71
jbe 0x41a9d4
push 0
push 0
push 0
push 0x67
push ebp
call fcn.0041ec50
test eax, eax
je 0x41a3ac
mov edx, dword [ebp + 4]
mov dword [edx + 0xc], 1
jmp 0x41a674
xor esi, esi
cmp word [edi], si
je 0x41a10b
push 0x4a6358
push edi
call fcn.0048fff9
add esp, 8
test eax, eax
jne 0x41a03b
mov esi, 0x7ffe
jmp 0x41a0eb
push 0x4a6368
push edi
call fcn.0048fff9
add esp, 8
test eax, eax
jne 0x41a057
mov esi, 0x7ffd
jmp 0x41a0eb
push 0x4a6380
push edi
call fcn.0048fff9
add esp, 8
test eax, eax
jne 0x41a070
mov esi, 0x7ffc
jmp 0x41a0eb
push 0x4a6398
push edi
call fcn.0048fff9
add esp, 8
test eax, eax
jne 0x41a089
mov esi, 0x7ffb
jmp 0x41a0eb
push 0x4a63b4
push edi
call fcn.0048fff9
add esp, 8
test eax, eax
jne 0x41a0a2
mov esi, 0x7ffa
jmp 0x41a0eb
xor esi, esi
push esi
push esi
push esi
push esi
push esi
push esi
push edi
mov ecx, ebp
call fcn.0041c720
test eax, eax
je 0x41a3ac
mov eax, dword [ebp + 4]
mov al, byte [eax]
cmp al, 9
jb 0x41a0cb
cmp al, 0x20
jbe 0x41a9fb
cmp al, 0x21
je 0x41a9fb
cmp al, 0x69
jb 0x41a0df
cmp al, 0x6b
jbe 0x41a9fb
cmp al, 0x6f
jb 0x41a0eb
cmp al, 0x71
jbe 0x41a9fb
push 0
push 0
push 0
push 0x67
push ebp
call fcn.0041ec50
test eax, eax
je 0x41a3ac
mov ecx, dword [ebp + 4]
mov dword [ecx + 0xc], 1
mov ebx, dword [esp + 0x18]
lea edx, [esp + 0x43]
push edx
lea eax, [esp + 0x74]
push eax
push ebx
call fcn.0040c820
mov edi, eax
add esp, 0xc
test edi, edi
je 0x41a185
test si, si
je 0x41a136
mov word [edi + 6], si
jmp 0x41a674
mov eax, dword [edi + 0x20]
test eax, eax
je 0x41a153
mov ecx, dword [0x4ca6e8]
cmp dword [eax + 4], ecx
je 0x41aa1e
mov eax, dword [eax + 8]
test eax, eax
jne 0x41a143
mov ecx, dword [esp + 0x70]
mov eax, dword [ebp + 0x14]
push ecx
call fcn.0040bfa0
test eax, eax
je 0x41aa42
cmp byte [esp + 0x43], 0
jne 0x41a17c
cmp byte [0x4cad79], 0
je 0x41a674
mov byte [edi + 0x14], 1
jmp 0x41a674
mov eax, dword [ebp + 0x14]
mov edx, dword [esp + 0x70]
mov ecx, dword [eax + 4]
push edx
push ecx
push esi
push eax
xor bl, bl
call fcn.0040b870
add esp, 0x10
test eax, eax
jne 0x41a674
cmp dword [esp + 0x84], 3
jne 0x41a3ac
mov edx, dword [esp + 0x18]
push edx
push 0x4a8b08
mov esi, 0x80
lea edi, [esp + 0x140]
call fcn.00476740
fldz
fstp qword [esp]
mov eax, edi
push 0
push 0
push 0x10000
push eax
call fcn.0047b3a0
add esp, 0x18
jmp 0x41a674
mov ebx, dword [esp + 0x18]
mov esi, dword [esp + 0x20]
mov edi, 0x3a
cmp word [ebx + esi*2 - 2], di
jne 0x41a5c7
cmp esi, 1
je 0x41aa5c
movzx eax, word [ebx]
mov ecx, ebx
test ax, ax
je 0x41a257
mov dx, word [0x4c6968]
mov bp, word [0x4c6970]
cmp ax, 0x20
je 0x41a5c7
cmp ax, 9
je 0x41a5c7
cmp ax, dx
je 0x41a5c7
cmp ax, bp
je 0x41a5c7
movzx eax, word [ecx + 2]
add ecx, 2
test ax, ax
jne 0x41a225
cmp word [ebx + esi*2 - 4], di
jne 0x41a267
cmp esi, 2
ja 0x41a5c7
xor ecx, ecx
push 0x4a8068
push ebx
mov word [ebx + esi*2 - 2], cx
call fcn.0048fff9
mov edi, dword [esp + 0x1a1a0]
add esp, 8
test eax, eax
jne 0x41a2b7
mov eax, dword [edi + 0x40]
test eax, eax
je 0x41a2b7
mov eax, dword [eax + 0x10]
test eax, eax
je 0x41a2b7
cmp byte [eax], 0x73
jne 0x41a2b7
push 0
push 0
push 0
push 0x74
push edi
call fcn.0041ec50
test eax, eax
je 0x41a3ac
mov ebx, edi
jmp 0x41a67b
cmp word [ebx], 0
je 0x41a3ac
mov esi, dword [edi + 0x10]
test esi, esi
je 0x41a2e4
mov edx, dword [esi + 4]
push ebx
push edx
call fcn.0048fff9
add esp, 8
test eax, eax
je 0x41a364
mov esi, dword [esi + 0x10]
test esi, esi
jne 0x41a2c8
cmp word [ebx], 0
je 0x41a46a
mov eax, ebx
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x41a2f3
sub eax, edx
sar eax, 1
lea ebp, [eax + eax]
lea ebx, [ebp + 2]
mov dword [esp + 0x28], eax
lea eax, [ebx - 1]
cmp eax, 0xffff
ja 0x41a398
xor edi, edi
cmp dword [0x4cb4a0], edi
jne 0x41a3bb
push 0x10
call fcn.00491458
mov esi, eax
add esp, 4
cmp esi, edi
je 0x41a35a
push 0x10000
mov dword [esi + 0xc], edi
call fcn.00490084
add esp, 4
mov dword [esi + 4], eax
mov dword [esi], eax
cmp eax, edi
jne 0x41a37a
push esi
call fcn.00490936
add esp, 4
mov esi, dword [0x4cb4a4]
xor eax, eax
jmp 0x41a38f
push ebx
push 0x4a913c
mov ecx, edi
call fcn.00430950
test eax, eax
je 0x41a3ac
jmp 0x41a674
inc dword [0x4cb4ac]
mov dword [esi + 8], 0x10000
mov dword [0x4cb4a4], esi
mov eax, esi
mov dword [0x4cb4a0], eax
cmp eax, edi
jne 0x41a3c1
mov ecx, dword [esp + 0x18]
push ecx
push 0x4a66e0
mov ecx, 0x4cb508
call fcn.00430950
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1a184
ret 8
mov esi, dword [0x4cb4a4]
cmp ebx, dword [esi + 8]
jbe 0x41a422
push 0x10
call fcn.00491458
mov esi, eax
add esp, 4
cmp esi, edi
je 0x41a3f8
push 0x10000
mov dword [esi + 0xc], edi
call fcn.00490084
add esp, 4
mov dword [esi + 4], eax
mov dword [esi], eax
cmp eax, edi
jne 0x41a402
push esi
call fcn.00490936
add esp, 4
mov esi, dword [0x4cb4a4]
xor eax, eax
jmp 0x41a417
inc dword [0x4cb4ac]
mov dword [esi + 8], 0x10000
mov dword [0x4cb4a4], esi
mov eax, esi
mov dword [esi + 0xc], eax
cmp eax, edi
je 0x41a398
mov edi, dword [esi + 4]
mov eax, ebx
and eax, 3
mov dword [0x4cb4a8], edi
je 0x41a439
sub ebx, eax
lea eax, [ebx + 4]
jmp 0x41a43b
mov eax, ebx
sub dword [esi + 8], eax
lea ecx, [edi + eax]
mov dword [esi + 4], ecx
test edi, edi
je 0x41a398
cmp dword [esp + 0x28], 0
je 0x41a462
mov edx, dword [esp + 0x18]
push ebp
push edx
push edi
call fcn.00497ff0
add esp, 0xc
xor eax, eax
mov word [edi + ebp], ax
jmp 0x41a475
mov esi, dword [0x4cb4a4]
mov edi, 0x4a3920
cmp dword [0x4cb4a0], 0
jne 0x41a4e0
push 0x10
call fcn.00491458
mov esi, eax
add esp, 4
test esi, esi
je 0x41a4b4
push 0x10000
mov dword [esi + 0xc], 0
call fcn.00490084
add esp, 4
mov dword [esi + 4], eax
mov dword [esi], eax
test eax, eax
jne 0x41a4be
push esi
call fcn.00490936
add esp, 4
mov esi, dword [0x4cb4a4]
xor eax, eax
jmp 0x41a4d3
inc dword [0x4cb4ac]
mov dword [esi + 8], 0x10000
mov dword [0x4cb4a4], esi
mov eax, esi
mov dword [0x4cb4a0], eax
test eax, eax
je 0x41a585
cmp dword [esi + 8], 0x14
jae 0x41a542
push 0x10
call fcn.00491458
mov esi, eax
add esp, 4
test esi, esi
je 0x41a51c
push 0x10000
mov dword [esi + 0xc], 0
call fcn.00490084
add esp, 4
mov dword [esi + 4], eax
mov dword [esi], eax
test eax, eax
jne 0x41a526
push esi
call fcn.00490936
add esp, 4
mov esi, dword [0x4cb4a4]
xor eax, eax
jmp 0x41a53b
inc dword [0x4cb4ac]
mov dword [esi + 8], 0x10000
mov dword [0x4cb4a4], esi
mov eax, esi
mov dword [esi + 0xc], eax
test eax, eax
je 0x41a585
mov eax, dword [esi + 4]
add dword [esi + 8], 0xffffffec
lea ecx, [eax + 0x14]
mov dword [0x4cb4a8], eax
mov dword [esi + 4], ecx
test eax, eax
je 0x41a585
mov ecx, dword [esp + 0x1a198]
xor edx, edx
mov dword [eax], vtable.Label.0
mov dword [eax + 4], edi
mov dword [eax + 8], edx
mov dword [eax + 0xc], edx
mov dword [eax + 0x10], edx
mov ebx, dword [ecx + 0x14]
mov dword [eax + 0xc], ebx
mov esi, eax
cmp dword [ecx + 0x10], edx
jne 0x41a59b
mov dword [ecx + 0x10], eax
jmp 0x41a5a1
mov ecx, dword [esp + 0x1a198]
push 0x4a3920
push 0x4a66e0
jmp 0x41a36c
mov edx, dword [ecx + 0x14]
mov dword [edx + 0x10], eax
mov ebx, ecx
push str.OnClipboardChange
push edi
mov dword [ebx + 0x14], eax
call fcn.0048fff9
add esp, 8
test eax, eax
jne 0x41a674
mov dword [ebx + 0xa8c], esi
jmp 0x41a67b
cmp word [ebx], 0x23
mov edi, dword [esp + 0x1a198]
jne 0x41a605
mov esi, dword [edi + 0x274]
push ebx
push edi
call fcn.0041af30
test eax, eax
je 0x41a3ac
cmp eax, 3
jne 0x41a605
mov eax, dword [esp + 0x68]
mov dword [edi + 0x270], eax
mov dword [edi + 0x274], esi
mov ebx, edi
jmp 0x41a67b
movzx eax, word [ebx]
cmp eax, 0x7b
je 0x41a630
cmp eax, 0x7d
je 0x41a630
push 0
push 0
push 0
push 0
push 0
push 0
push ebx
mov ecx, edi
call fcn.0041c720
test eax, eax
je 0x41a3ac
jmp 0x41a674
cmp eax, 0x7b
push 0
setne cl
push 0
add cl, 0x75
movzx edx, cl
push 0
push edx
push edi
call fcn.0041ec50
test eax, eax
je 0x41a3ac
lea eax, [ebx + 2]
movzx ecx, word [eax]
cmp ecx, 0x20
je 0x41a661
cmp ecx, 9
jne 0x41a666
add eax, 2
jmp 0x41a654
cmp word [eax], 0
mov dword [esp + 0x18], eax
jne 0x41a7ca
mov ebx, dword [esp + 0x1a198]
cmp byte [esp + 0x1e], 0
je case.0x419e99.4
jmp 0x419e7f
mov edx, dword [esp + 0x18]
lea ecx, [esp + 0xf8]
push ecx
push 0x4a8c30
push edx
call fcn.00490586
add esp, 0xc
mov dword [esp + 0x20], eax
jmp 0x419783
mov esi, dword [esp + 0x18]
mov eax, 0x4a6350
mov edx, esi
sub edx, eax
jmp 0x41a6c0
movzx ecx, word [eax]
mov word [eax + edx], cx
add eax, 2
test cx, cx
jne 0x41a6c0
cmp byte [esp + 0x27], cl
push 0
setne cl
push 1
add cl, 0xc3
lea eax, [esp + 0x20]
movzx edx, cl
push eax
push edx
push ebx
call fcn.0041ec50
cmp byte [esp + 0x37], 0
je 0x41a71e
lea eax, [esp + 0xb8]
push eax
push 0x4a8c3c
push esi
call fcn.00490586
add esp, 0xc
mov dword [esp + 0x20], eax
mov dword [esp + 0x58], 9
jmp 0x419783
mov esi, dword [esp + 0x18]
mov al, byte [esp + 0x1e]
mov ecx, 0x4a3920
cmp al, 0x12
je 0x41a733
cmp al, 0xa3
jbe 0x41a753
cmp al, 0xa5
ja 0x41a753
movzx eax, byte [esp + 0x39]
sub eax, 0x11
je 0x41a74e
sub eax, 0x91
je 0x41a74e
dec eax
jne 0x41a753
mov ecx, 0x4a8c88
jmp 0x41a753
mov ecx, 0x4a8c70
lea edx, [esp + 0xb8]
push edx
lea eax, [esp + 0x8c]
push eax
push ecx
push 0x4a8ca0
xor edi, edi
push esi
mov dword [ebx + 0x634], edi
call fcn.00490586
add esp, 0x14
push edi
push 1
lea ecx, [esp + 0x20]
push ecx
push 0x41
push ebx
call fcn.0041ec50
test eax, eax
je 0x41a3ac
push edi
push edi
push edi
push 0x67
push ebx
call fcn.0041ec50
lea edx, [esp + 0xf8]
push edx
push 0x4a8ccc
push esi
mov dword [ebx + 0x634], edi
call fcn.00490586
add esp, 0xc
mov dword [esp + 0x20], eax
mov dword [esp + 0x58], 2
jmp 0x419783
lea edx, [eax + 2]
lea ecx, [ecx]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x41a7d0
mov ebx, dword [esp + 0x1a198]
sub eax, edx
sar eax, 1
mov dword [esp + 0x20], eax
mov dword [ebx + 0x634], 0
jmp 0x419223
mov esi, dword [esp + 0x18]
mov eax, 0x4a6350
mov edx, esi
sub edx, eax
movzx ecx, word [eax]
mov word [eax + edx], cx
add eax, 2
test cx, cx
jne 0x41a806
cmp byte [esp + 0x27], cl
push 0
setne cl
push 1
add cl, 0xc3
lea eax, [esp + 0x20]
movzx edx, cl
push eax
push edx
push ebx
call fcn.0041ec50
lea eax, [esp + 0xb8]
push eax
push 0x4a8cdc
push esi
call fcn.00490586
add esp, 0xc
push 0
push 1
lea ecx, [esp + 0x20]
push ecx
push 0x41
push ebx
call fcn.0041ec50
push 0
push 0
push 0
push 0x67
push ebx
call fcn.0041ec50
mov byte [esp + 0x1e], 0
mov eax, dword [esp + 0x3c]
mov edx, dword [esp + 0x64]
mov ebx, dword [esp + 0x1a198]
lea ecx, [esp + 0xa180]
mov dword [esp + 0x18], eax
mov dword [esp + 0x20], edx
cmp eax, ecx
jne 0x41a89e
lea edx, [esp + 0x12188]
mov dword [esp + 0x3c], edx
jmp 0x4187a0
lea eax, [esp + 0xa180]
mov dword [esp + 0x3c], eax
jmp 0x4187a0
mov ecx, dword [esp + 0x1a198]
push ebx
push 0x4a87f0
call fcn.00430950
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1a184
ret 8
lea edx, [esp + 0x2178]
push edx
push 0x4a88b8
mov ecx, ebx
call fcn.00430950
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1a184
ret 8
cmp dword [ebx + 0x268], 0
mov eax, 0x4a88b8
jne 0x41a901
mov eax, 0x4a88d0
lea ecx, [esp + 0x2178]
push ecx
push eax
mov ecx, ebx
call fcn.00430950
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1a184
ret 8
lea edx, [esp + 0x2178]
push edx
push 0x4a8870
mov ecx, ebx
call fcn.00430950
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1a184
ret 8
mov edi, dword [esp + 0x18]
push edi
push 0x4a8948
mov ecx, ebx
call fcn.00430950
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1a184
ret 8
push edi
push 0x4a88d0
mov ecx, ebx
call fcn.00430950
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1a184
ret 8
mov ecx, dword [esp + 0x1a198]
push ebx
push 0x4a8990
call fcn.00430950
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1a184
ret 8
mov ecx, dword [esp + 0x18]
push ecx
push 0x4a89fc
mov ecx, ebp
mov dword [ebp + 0x634], eax
call fcn.00430950
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1a184
ret 8
push ebx
push 0x4a8a40
mov ecx, ebp
call fcn.00430950
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1a184
ret 8
mov eax, dword [esp + 0x18]
push eax
mov edx, 0x3a
push 0x4a8a98
mov ecx, ebp
mov word [esi - 4], dx
call fcn.00430950
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1a184
ret 8
mov ecx, 0x3a
push ebx
mov word [edi - 4], cx
push 0x4a8a98
mov ecx, ebp
call fcn.00430950
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1a184
ret 8
push ebx
push 0x4a8ae4
mov ecx, ebp
mov dword [ebp + 0x634], 0
call fcn.00430950
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1a184
ret 8
push ebx
push 0x4a66e0
mov ecx, ebp
call fcn.00430950
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1a184
ret 8
mov ecx, dword [esp + 0x1a198]
push ebx
push 0x4a8bd0
call fcn.00430950
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1a184
ret 8
mov edx, dword [esp + 0x18]
mov ecx, dword [esp + 0x1a198]
push edx
push 0x4a8854
call fcn.00430950
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1a184
ret 8
cmp word [esp + 0x2178], 0
je 0x41ab1b
cmp dword [esp + 0x44], 0
mov eax, dword [esp + 0x54]
mov esi, dword [ebx + 0x274]
mov dword [ebx + 0x274], eax
je 0x41aaf2
cmp byte [esp + 0x1f], 0
mov eax, 0x4a8cfc
jne 0x41aad5
mov eax, 0x4a88b8
lea ecx, [esp + 0x2178]
push ecx
push eax
mov ecx, ebx
call fcn.00430950
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1a184
ret 8
push 0
push 0
push 0
push 0
push 0
push 3
lea edx, [esp + 0x2190]
push edx
mov ecx, ebx
call fcn.0041c720
test eax, eax
je 0x41a3ac
mov dword [ebx + 0x274], esi
cmp dword [ebx + 0x4c], 0
je 0x41ab45
cmp dword [esp + 0x68], 0
jne 0x41ab45
lea eax, [ebx + 0x64]
push eax
push 0x4a8cfc
mov ecx, ebx
call fcn.00430950
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1a184
ret 8
pop edi
pop esi
mov eax, 1
add dword [ebx + 0x274], eax
pop ebp
pop ebx
add esp, 0x1a184
ret 8