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

Disassembly:
mov eax, 0x1a184
call fcn.0049af60
mov ecx, dword [0x4cb480]
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 0x418270
push 1
push 0x4000
lea ecx, [esp + 0xa188]
push ecx
push eax
call fcn.00473ad0
test eax, eax
jne 0x4183aa
xor edx, edx
mov word [esp + 0xa180], dx
mov dword [esp + 0x20], esi
push 2
lea eax, [esp + 0xa184]
push 0x4a86a8
push eax
call fcn.00491575
add esp, 0xc
test eax, eax
sete al
mov byte [esp + 0x26], al
test al, al
je 0x4182b0
xor ecx, ecx
mov word [esp + 0xa180], cx
mov dword [esp + 0x20], ecx
jmp 0x4182b0
cmp dword [esp + 0x20], 0xffffffff
je 0x41a58d
mov edx, dword [esp + 0x6c]
mov esi, dword [esp + 0x18]
push 0xc
inc edx
push 0x4a86b0
xor edi, edi
push esi
mov dword [ebx + 0x274], edx
mov dword [ebx + 0x634], edi
call fcn.0048ffb7
add esp, 0xc
test eax, eax
jne 0x4182f5
push esi
push ebx
call fcn.0041aa20
test eax, eax
je 0x419e9c
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 0x418534
mov eax, dword [esp + 0x1a19c]
mov ecx, esi
mov edx, ebx
call fcn.0041a840
mov ebp, eax
mov dword [esp + 0x64], ebp
test ebp, ebp
je 0x41853b
cmp ebp, 0xffffffff
je 0x41853b
test esi, esi
jne 0x41853b
push 2
push 0x4a86cc
push ebx
call fcn.00491575
add esp, 0xc
test eax, eax
jne 0x418550
cmp byte [esp + 0x26], al
jne 0x418374
mov eax, 0x3a
cmp word [ebx + 4], ax
jne 0x418374
cmp word [ebx + 6], ax
je 0x41855b
lea eax, [ebp + ebp - 2]
push eax
lea ecx, [ebx + 4]
push ecx
push ebx
mov byte [esp + 0x32], 0
call fcn.00490230
add esp, 0xc
lea eax, [ebp - 2]
mov edi, ebx
call fcn.00414a40
cmp word [ebx], 0
mov ebp, eax
mov dword [esp + 0x64], ebp
je 0x4182fe
jmp 0x41855b
cmp word [esp + eax*2 + 0xa17e], 0xa
jne 0x4183b6
dec eax
xor ecx, ecx
mov word [esp + eax*2 + 0xa180], cx
or eax, 0xffffffff
lea edi, [esp + 0xa180]
call fcn.00414a40
mov esi, edi
call fcn.00414ab0
mov edx, dword [0x4c6404]
push edx
mov ebp, eax
mov eax, edi
push 0x4c6410
push eax
call fcn.00491575
add esp, 0xc
test eax, eax
jne 0x418406
xor ecx, ecx
mov word [esp + 0xa180], cx
mov dword [esp + 0x20], ecx
jmp 0x418274
lea edx, [esp + 0xa180]
push 0x4c6410
push edx
call fcn.004905b8
mov ebx, eax
add esp, 8
test ebx, ebx
je 0x418524
jmp 0x418430
lea eax, [ebx - 2]
lea ecx, [esp + 0xa180]
cmp eax, ecx
jb 0x4184f1
movzx ecx, word [eax]
cmp ecx, 0x20
je 0x41850b
cmp ecx, 9
je 0x41850b
lea edx, [esp + 0xa180]
cmp eax, edx
mov dx, word [0x4c6970]
mov ecx, eax
jbe 0x418489
jmp 0x418470
cmp word [ecx], dx
jne 0x418489
cmp word [ecx - 2], dx
jne 0x418489
sub ecx, 4
lea esi, [esp + 0xa180]
cmp ecx, esi
ja 0x418470
lea esi, [esp + 0xa180]
cmp ecx, esi
jb 0x4184c0
cmp word [ecx], dx
jne 0x4184c0
lea esi, [eax + 2]
mov ecx, esi
lea edi, [ecx + 2]
mov dx, word [ecx]
add ecx, 2
test dx, dx
jne 0x4184a1
sub ecx, edi
sar ecx, 1
lea ecx, [ecx + ecx + 2]
push ecx
push esi
push eax
call fcn.00490230
add esp, 0xc
dec ebp
mov edx, dword [0x4c6404]
lea eax, [ebx + edx*2]
push 0x4c6410
push eax
call fcn.004905b8
mov ebx, eax
add esp, 8
test ebx, ebx
jne 0x418430
mov ebx, dword [esp + 0x1a198]
mov dword [esp + 0x20], ebp
jmp 0x418274
mov ebx, dword [esp + 0x1a198]
xor eax, eax
mov word [esp + 0xa180], ax
mov dword [esp + 0x20], eax
jmp 0x418274
xor ecx, ecx
lea edx, [esp + 0xa180]
mov word [eax], cx
sub eax, edx
sar eax, 1
mov esi, edx
call fcn.00414ab0
mov ebp, eax
mov ebx, dword [esp + 0x1a198]
mov dword [esp + 0x20], ebp
jmp 0x418274
or ebp, 0xffffffff
mov dword [esp + 0x64], ebp
cmp byte [esp + 0x26], 0
je 0x418579
cmp ebp, 0xffffffff
jne 0x4182fe
jmp 0x418d28
cmp byte [esp + 0x26], 0
jne 0x4182fe
push 2
push 0x4a86a8
push ebx
call fcn.00491575
add esp, 0xc
test eax, eax
jne 0x41853b
mov byte [esp + 0x26], 1
jmp 0x4182fe
test esi, esi
jne 0x418aee
cmp ebp, 0xffffffff
je 0x4185f6
cmp word [ebx], 0x28
jne 0x4185f6
cmp word [ebx + 2], 0x3a
lea esi, [ebx + 2]
je 0x4185f6
cmp word [ebx + ebp*2 - 2], 0x3a
je 0x4185f6
mov dl, byte [0x4cad74]
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 0x4185f1
cmp eax, 9
jne 0x418893
add esi, 2
jmp 0x4185e0
mov dword [esp + 0x28], 0
cmp ebp, 0xffffffff
je 0x418d28
test ebp, ebp
je 0x4182fe
cmp word [ebx + ebp*2 - 2], 0x3a
jne 0x418621
cmp word [ebx], 0x2c
jne 0x418d28
movzx esi, word [ebx]
test esi, 0xffffff80
jne 0x41863e
push 2
push esi
call fcn.00490a0e
add esp, 8
test eax, eax
je 0x41863e
and esi, 0xffffffdf
movzx eax, si
cmp eax, 0x41
je 0x4187f0
cmp eax, 0x4f
je 0x41879b
movzx eax, word [ebx]
cmp eax, 0x3a
je 0x418665
cmp eax, 0x2b
je 0x418665
cmp eax, 0x2d
jne 0x41866f
cmp word [ebx + 2], ax
je 0x418d28
push eax
push 0x4a86f0
call fcn.00490591
add esp, 8
test eax, eax
je 0x418d28
push 0x4a8714
push ebx
call fcn.004905b8
mov edi, eax
add esp, 8
test edi, edi
je 0x41884b
cmp word [ebx], 0x3a
jne 0x418701
movzx eax, word [ebx + 2]
lea esi, [ebx + 2]
test ax, ax
je 0x4186f7
nop
cmp ax, 0x3a
je 0x418d28
movzx eax, ax
test eax, 0xffffff80
jne 0x4186d6
push 0x107
push eax
call fcn.00490a0e
add esp, 8
test eax, eax
jne 0x4186eb
movzx edx, word [esi]
push edx
push 0x4a871c
call fcn.00490591
add esp, 8
test eax, eax
je 0x418701
movzx eax, word [esi + 2]
add esi, 2
test ax, ax
jne 0x4186b0
cmp word [esi], 0x3a
je 0x418d28
cmp word [ebx], 0x2c
jne 0x418749
lea eax, [ebx + 2]
call fcn.004097c0
push 2
mov esi, eax
push 0x4a8714
push esi
call fcn.00491575
add esp, 0xc
test eax, eax
je 0x418d28
push 3
push 0x4a676c
add esi, 0xfffffffe
push esi
call fcn.00491575
add esp, 0xc
test eax, eax
je 0x418d28
jmp 0x41884b
mov eax, ebx
cmp ebx, edi
jae 0x41875d
nop
cmp word [eax], 0x22
je 0x41875d
add eax, 2
cmp eax, edi
jb 0x418750
cmp eax, edi
je 0x418d28
movzx eax, word [edi + 4]
lea ecx, [edi + 4]
test ax, ax
je 0x418d28
cmp ax, 0x22
je 0x41878c
movzx eax, word [ecx + 2]
add ecx, 2
test ax, ax
jne 0x418775
jmp 0x418d28
cmp word [ecx], 0
je 0x418d28
jmp 0x41884b
movzx esi, word [ebx + 2]
test esi, 0xffffff80
jne 0x4187b9
push 2
push esi
call fcn.00490a0e
add esp, 8
test eax, eax
je 0x4187b9
and esi, 0xffffffdf
cmp si, 0x52
jne 0x418d28
movzx eax, word [ebx + 4]
lea ecx, [ebx + 4]
cmp eax, 0x20
je 0x4187d8
cmp eax, 9
jne 0x418d28
movzx eax, word [ecx]
cmp eax, 0x20
je 0x4187e5
cmp eax, 9
jne 0x4187ea
add ecx, 2
jmp 0x4187d8
movzx eax, word [ecx]
push eax
jmp 0x418836
push 3
push 0x4a86d4
push ebx
call fcn.0048ffb7
add esp, 0xc
test eax, eax
jne 0x418d28
movzx eax, word [ebx + 6]
lea ecx, [ebx + 6]
cmp eax, 0x20
je 0x418820
cmp eax, 9
jne 0x418d28
lea ecx, [ecx]
movzx eax, word [ecx]
cmp eax, 0x20
je 0x41882d
cmp eax, 9
jne 0x418832
add ecx, 2
jmp 0x418820
movzx ecx, word [ecx]
push ecx
push 0x4a86dc
call fcn.00490591
add esp, 8
test eax, eax
jne 0x418d28
mov esi, dword [esp + 0x20]
lea edx, [esi + ebp]
cmp edx, 0x4000
jae 0x41a39d
cmp word [ebx], 0x2c
je 0x418872
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.00497af0
add esp, 0xc
add esi, ebp
mov dword [esp + 0x20], esi
jmp 0x4182fe
cmp word [esi], dx
je 0x418ae4
mov ebx, 0x30
mov edi, esi
test esi, esi
je 0x4188e1
movzx eax, word [esi]
test ax, ax
je 0x4188e1
nop
movzx edx, ax
mov ecx, 0x4a677c
mov eax, 0x20
lea ecx, [ecx]
cmp dx, ax
je 0x418994
movzx eax, word [ecx + 2]
add ecx, 2
test ax, ax
jne 0x4188c0
movzx eax, word [edi + 2]
add edi, 2
test ax, ax
jne 0x4188b0
mov eax, esi
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4188e6
sub eax, edx
sar eax, 1
lea ebp, [esi + eax*2]
movzx edi, word [ebp]
push 4
xor eax, eax
push 0x4a8768
push esi
mov dword [esp + 0x3c], edi
mov word [ebp], ax
call fcn.0048ffb7
add esp, 0xc
test eax, eax
jne 0x418a35
push 0xf
add esi, 8
lea ecx, [esp + 0x9c]
push esi
push ecx
call fcn.00492474
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 0x418969
cmp ax, bx
je 0x41899b
movzx eax, word [ecx + 2]
add ecx, 2
test ax, ax
jne 0x418958
lea eax, [esp + 0x98]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x418973
mov edi, dword [esp + 0x30]
sub eax, edx
sar eax, 1
mov dword [esp + 0x74], eax
mov ebx, 0x30
jmp 0x418ac2
mov ebp, edi
jmp 0x4188f8
cmp word [ecx], 0
je 0x418969
movzx eax, word [ecx + 2]
lea esi, [ecx + 2]
add eax, 0xffffff9f
cmp eax, 0x15
ja case.0x4189b7.99
movzx eax, byte [eax + 0x41a66c]
jmp dword [eax*4 + 0x41a648]
mov edx, 7
mov word [esi], dx
jmp case.0x4189b7.99
mov eax, 8
jmp 0x418a00
mov edx, 0xc
mov word [esi], dx
jmp case.0x4189b7.99
mov eax, 0xa
jmp 0x418a00
mov edx, 0xd
mov word [esi], dx
jmp case.0x4189b7.99
mov eax, 9
jmp 0x418a00
mov edx, 0xb
mov word [esi], dx
jmp case.0x4189b7.99
mov eax, 0x20
mov word [esi], ax
mov eax, esi
lea edi, [eax + 2]
jmp 0x418a10
mov dx, word [eax]
add eax, 2
test dx, dx
jne 0x418a10
sub eax, edi
sar eax, 1
lea edx, [eax + eax + 2]
push edx
push esi
push ecx
call fcn.00490230
add esp, 0xc
mov ecx, esi
jmp 0x418950
push 5
push 0x4a8774
push esi
call fcn.0048ffb7
add esp, 0xc
test eax, eax
jne 0x418a54
cmp word [esi + 0xa], bx
setne byte [esp + 0x36]
jmp 0x418ac2
push 5
push 0x4a8780
push esi
call fcn.0048ffb7
add esp, 0xc
test eax, eax
jne 0x418a73
cmp word [esi + 0xa], bx
setne byte [esp + 0x3a]
jmp 0x418ac2
movzx eax, word [esi]
test ax, ax
je 0x418ac2
jmp 0x418a80
movzx eax, ax
add eax, 0xffffffdb
cmp eax, 0x3e
ja case.0x418a92.38
movzx eax, byte [eax + 0x41a69c]
jmp dword [eax*4 + 0x41a684]
mov byte [esp + 0x38], 1
jmp case.0x418a92.38
mov byte [esp + 0x35], 1
jmp case.0x418a92.38
mov byte [esp + 0x3b], 0
jmp case.0x418a92.38
mov dword [esp + 0x28], 2
movzx eax, word [esi + 2]
add esi, 2
test ax, ax
jne 0x418a80
mov word [ebp], di
mov esi, ebp
movzx eax, word [esi]
cmp eax, 0x20
je 0x418ad5
cmp eax, 9
jne 0x418ada
add esi, 2
jmp 0x418ac8
cmp word [esi], 0
jne 0x4188a1
mov byte [esp + 0x7c], 1
jmp 0x4182fe
cmp ebp, 0xffffffff
je 0x41a56a
cmp ebp, 0xfffffffe
je 0x4182fe
cmp word [ebx], 0x29
jne 0x418b98
mov eax, ebx
mov dword [esp + 0x28], 0
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x418b17
sub eax, edx
sar eax, 1
lea ecx, [ebx + eax*2 - 2]
lea ebx, [ebx]
movzx edx, word [ecx]
cmp edx, 0x20
je 0x418b3d
cmp edx, 9
jne 0x418b47
cmp ecx, ebx
je 0x418b60
sub ecx, 2
dec eax
jmp 0x418b30
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 0x418ca7
movzx edx, word [ecx]
cmp edx, 0x20
je 0x418b80
cmp edx, 9
je 0x418b80
mov ebx, dword [esp + 0x3c]
mov edi, dword [esp + 0x3c]
mov ebp, eax
add ebx, 2
dec ebp
jmp 0x418ca7
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 0x418ca7
cmp byte [esp + 0x3a], 0
mov edi, dword [esp + 0x3c]
mov ebx, edi
je 0x418bb0
mov eax, ebp
mov esi, edi
call fcn.00414ab0
mov ebp, eax
cmp byte [esp + 0x36], 0
je 0x418bc4
mov edi, dword [esp + 0x3c]
mov eax, ebp
call fcn.00414a40
mov ebp, eax
xor esi, esi
cmp byte [esp + 0x38], 0
je 0x418c03
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.00476660
add esp, 0x1c
mov esi, eax
cmp byte [esp + 0x35], 0
je 0x418c48
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.00476660
add esp, 0x1c
add esi, eax
cmp byte [esp + 0x3b], 0
je 0x418c8d
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.00476660
add esp, 0x1c
add esi, eax
test esi, esi
je 0x418ca7
mov eax, edi
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x418c96
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 0x41a39d
mov ecx, dword [esp + 0x78]
inc ecx
mov dword [esp + 0x78], ecx
cmp ecx, 1
jle 0x418cf7
test esi, esi
je 0x418cf7
cmp ebx, edi
jne 0x418cf7
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.00497af0
add esp, 0xc
add dword [esp + 0x20], esi
test ebp, ebp
je 0x4182fe
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.00497af0
add esp, 0xc
add esi, ebp
mov dword [esp + 0x20], esi
jmp 0x4182fe
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 0x418d40
test eax, eax
je 0x41a16a
cmp word [esp + 0x2178], 0
je 0x418ec7
mov ecx, dword [esp + 0x54]
mov edi, dword [ebx + 0x274]
mov dword [ebx + 0x274], ecx
cmp word [esi], 0x7b
je 0x418db3
cmp byte [esp + 0x1f], 0
jne 0x418db3
test ebp, ebp
jne 0x41a3bc
cmp dword [ebx + 0x4c], ebp
je 0x418d93
mov edx, dword [0x4c6a44]
cmp dword [edx + 0xb4], ebp
je 0x41a3dd
push 0
push 0
push 0
push 0
push 0
push 3
lea eax, [esp + 0x2190]
push eax
mov ecx, ebx
call fcn.0041c1d0
jmp 0x418e43
mov eax, ebp
sub eax, 0
je 0x418dfd
dec eax
je 0x418de5
dec eax
jne 0x418e55
mov ebx, dword [esp + 0x1a198]
lea esi, [esp + 0x2178]
call fcn.00420ea0
test eax, eax
je 0x419e9c
mov esi, dword [esp + 0x18]
jmp 0x418e55
lea ecx, [esp + 0x2178]
push ecx
push ebx
call fcn.004209e0
test eax, eax
je 0x419e9c
jmp 0x418e55
mov edx, dword [0x4c6a44]
cmp dword [edx + 0xb4], 0
jne 0x41a40d
lea eax, [esp + 0x238]
push eax
lea ecx, [esp + 0x217c]
push ecx
push ebx
call fcn.0041ff60
test eax, eax
je 0x419e9c
cmp byte [esp + 0x1f], 0
je 0x418e55
push 0
push 0
push 0
push 0x75
push ebx
call fcn.0041e700
test eax, eax
je 0x419e9c
mov dword [ebx + 0x634], 0
xor edx, edx
mov word [esp + 0x2178], dx
test ebp, ebp
je 0x418ec1
cmp byte [esp + 0x1f], dl
jne 0x418ec1
lea ecx, [esi + 2]
lea esp, [esp]
movzx eax, word [ecx]
cmp eax, 0x20
je 0x418e7d
cmp eax, 9
jne 0x418e82
add ecx, 2
jmp 0x418e70
cmp word [ecx], dx
jne 0x418e92
mov dword [ebx + 0x274], edi
jmp 0x41a16a
mov eax, ecx
lea esi, [eax + 2]
mov dx, word [eax]
add eax, 2
test dx, dx
jne 0x418e97
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.00490230
mov esi, dword [esp + 0x24]
add esp, 0xc
mov dword [ebx + 0x274], edi
cmp word [esi], 0x7d
jne 0x418fa3
mov eax, dword [ebx + 0x4c]
test eax, eax
je 0x418fa3
mov edx, dword [0x4c6a44]
cmp dword [edx + 0xb4], 0
jne 0x418fa3
cmp dword [ebx + 0x268], 0
je 0x418f21
mov eax, dword [ebx + 0x26c]
mov dword [ebx + 0x268], 0
test eax, eax
je 0x418f5b
push eax
call fcn.004900b1
add esp, 4
mov dword [ebx + 0x26c], 0
jmp 0x418f5b
dec eax
mov dword [ebx + 0x4c], eax
mov edi, dword [ebx + eax*4 + 0x50]
call fcn.0046f560
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.004915ae
add esp, 8
test eax, eax
je 0x418f56
xor ecx, ecx
mov word [eax], cx
jmp 0x418f5b
xor edx, edx
mov word [esi], dx
mov eax, dword [esp + 0x18]
movzx ecx, word [eax + 2]
add eax, 2
cmp ecx, 0x20
je 0x418f5f
cmp ecx, 9
je 0x418f5f
cmp word [eax], 0
mov dword [esp + 0x18], eax
je 0x41a16a
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x418f81
sub eax, edx
sar eax, 1
mov dword [esp + 0x20], eax
mov dword [ebx + 0x634], 0
jmp 0x418d37
cmp dword [ebx + 0x268], 0
je 0x41907a
mov eax, dword [0x4c6a44]
cmp dword [eax + 0xb4], 0
jne 0x41907a
push 3
push 0x4a886c
push esi
call fcn.0048ffb7
add esp, 0xc
test eax, eax
je 0x418fee
push 3
push 0x4a8874
push esi
call fcn.0048ffb7
add esp, 0xc
test eax, eax
jne 0x41a42e
mov edi, dword [esp + 0x18]
lea esi, [edi + 6]
movzx eax, word [esi]
cmp eax, 0x20
je 0x419002
cmp eax, 9
jne 0x419007
add esi, 2
jmp 0x418ff5
movzx eax, word [esi]
test ax, ax
je 0x419023
cmp eax, 0x7b
jne 0x41a432
cmp word [esi + 2], 0
jne 0x41a432
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 0x419032
lea ecx, [esp + 0x2178]
push 0x2e
push ecx
call fcn.00490591
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 0x41a16a
lea ecx, [esp + 0x1f]
push ecx
mov eax, esi
call fcn.00417e60
add esp, 4
test al, al
je 0x4190c6
lea edx, [esp + 0x2178]
mov eax, esi
sub edx, esi
jmp 0x4190a0
movzx ecx, word [eax]
mov word [eax + edx], cx
add eax, 2
test cx, cx
jne 0x4190a0
mov edx, dword [ebx + 0x274]
mov dword [esp + 0x54], edx
mov dword [esp + 0x44], 0
jmp 0x41a16a
mov eax, dword [0x4c6a44]
cmp dword [eax + 0xb4], 0
jne 0x419297
lea ecx, [esp + 0x1f]
push ecx
mov eax, esi
call fcn.00417f20
add esp, 4
test eax, eax
je 0x41911a
lea edx, [esp + 0x2178]
sub edx, eax
movzx ecx, word [eax]
mov word [eax + edx], cx
add eax, 2
test cx, cx
jne 0x4190f4
mov edx, dword [ebx + 0x274]
mov dword [esp + 0x54], edx
mov dword [esp + 0x44], 1
jmp 0x41a16a
cmp dword [ebx + 0x4c], 0
je 0x419297
mov edi, dword [esp + 0x18]
mov esi, edi
lea ebx, [ebx]
movzx eax, word [esi]
test eax, 0xffffff80
jne 0x41914c
push 0x107
push eax
call fcn.00490a0e
add esp, 8
test eax, eax
jne 0x41915e
movzx eax, word [esi]
cmp eax, 0x5f
je 0x41915e
cmp eax, 0x7f
ja 0x41915e
cmp eax, 0x2e
jne 0x419163
add esi, 2
jmp 0x419130
cmp esi, edi
jbe 0x41921b
jmp 0x419170
movzx eax, word [esi]
cmp eax, 0x20
je 0x41917d
cmp eax, 9
jne 0x419182
add esi, 2
jmp 0x419170
movzx eax, word [esi]
cmp eax, 0x3a
jne 0x4191a7
cmp word [esi + 2], 0x3d
jne 0x4191a7
push 0
push edi
push ebx
call fcn.00421030
test eax, eax
je 0x419e9c
jmp 0x41a16a
test ax, ax
je 0x4191bd
cmp eax, 0x5b
je 0x4191bd
cmp eax, 0x7b
jne 0x41921b
cmp word [esi + 2], 0
jne 0x41921b
mov eax, edi
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4191c2
sub eax, edx
sar eax, 1
cmp word [edi + eax*2 - 2], 0x7b
sete cl
mov byte [esp + 0x1f], cl
test cl, cl
je 0x4191ea
dec eax
mov esi, edi
call fcn.00414ab0
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 0x4191f5
mov eax, dword [ebx + 0x274]
mov dword [esp + 0x54], eax
mov dword [esp + 0x44], 2
jmp 0x41a16a
push 6
push 0x4a5814
push edi
call fcn.0048ffb7
add esp, 0xc
test eax, eax
jne 0x419256
movzx eax, word [edi + 0xc]
cmp eax, 0x20
je 0x41923d
cmp eax, 9
jne 0x419256
push 1
add edi, 0xe
push edi
push ebx
call fcn.00421030
test eax, eax
je 0x419e9c
jmp 0x41a16a
cmp word [edi], 0x23
jne 0x41a44c
mov esi, dword [ebx + 0x274]
push edi
push ebx
call fcn.0041aa20
test eax, eax
je 0x419e9c
cmp eax, 3
jne 0x41a44c
mov ecx, dword [esp + 0x68]
mov dword [ebx + 0x270], ecx
mov dword [ebx + 0x274], esi
jmp 0x41a16a
mov esi, dword [esp + 0x18]
xor ebp, ebp
cmp word [esi], 0x3a
mov dword [esp + 0x28], ebp
mov dword [esp + 0x30], ebp
jne 0x41938f
movzx ecx, word [esi + 2]
cmp cx, bp
je 0x41938f
lea edi, [esi + 2]
mov dword [esp + 0x80], edi
cmp ecx, 0x3a
je 0x4192ea
push 0x3a
push edi
call fcn.00490591
mov ebx, eax
add esp, 8
test ebx, ebx
jne 0x4192e1
mov dword [esp + 0x28], ebp
jmp 0x41938f
add ebx, 2
mov dword [esp + 0x28], ebx
jmp 0x4192fd
cmp word [esi + 4], bp
lea eax, [esi + 4]
je 0x41938f
mov ebx, eax
mov dword [esp + 0x28], eax
test ebx, ebx
je 0x41938f
mov dl, byte [0x4cad67]
mov byte [esp + 0x2f], dl
cmp edi, ebx
jae 0x419349
movzx esi, word [edi]
test esi, 0xffffff80
jne 0x419330
push 2
push esi
call fcn.00490a0e
add esp, 8
test eax, eax
je 0x419330
and esi, 0xffffffdf
cmp si, 0x58
je 0x41933f
add edi, 2
cmp edi, ebx
jb 0x419313
jmp 0x419349
cmp word [edi + 2], 0x30
setne byte [esp + 0x2f]
mov edi, ebx
movzx eax, word [edi]
mov cx, word [0x4c6970]
test ax, ax
je 0x41937f
lea ebx, [ebx]
cmp ax, cx
je 0x4193f9
cmp ax, 0x3a
je 0x4193f9
movzx eax, word [edi + 2]
add edi, 2
test ax, ax
jne 0x419360
test ebp, ebp
jne 0x4194f8
mov esi, dword [esp + 0x18]
mov dword [esp + 0x28], ebp
push 0x4a8714
push esi
call fcn.004905b8
mov ebp, eax
add esp, 8
mov dword [esp + 0x30], ebp
test ebp, ebp
je 0x419cdb
mov ecx, dword [esp + 0x18]
cmp ebp, ecx
jne 0x4193c1
cmp word [ebp + 4], 0x3a
jne 0x4193c1
add ebp, 2
mov dword [esp + 0x30], ebp
mov esi, ebp
cmp ebp, ecx
jbe 0x4193db
movzx eax, word [esi]
cmp eax, 0x20
je 0x4193d4
cmp eax, 9
jne 0x4193db
sub esi, 2
cmp esi, ecx
ja 0x4193c7
movzx edi, word [esi]
xor eax, eax
mov word [esi], ax
movzx eax, word [ecx]
cmp eax, 0x20
je 0x4193f4
cmp eax, 9
jne 0x4194c4
add ecx, 2
jmp 0x4193e3
movzx eax, word [edi]
test ax, ax
je 0x41937f
lea esi, [edi + 2]
cmp eax, 0x3a
jne 0x419431
cmp word [esi], ax
jne 0x4194bc
cmp byte [esp + 0x2f], 0
mov ebp, edi
mov dword [esp + 0x30], ebp
mov edi, esi
jne 0x41937f
add edi, 2
jmp 0x41934b
movzx eax, word [esi]
add eax, 0xffffff9f
cmp eax, 0x15
ja case.0x419443.99
movzx eax, byte [eax + 0x41a6fc]
jmp dword [eax*4 + 0x41a6dc]
mov ecx, 7
jmp 0x419485
mov edx, 8
mov word [esi], dx
jmp case.0x419443.99
mov eax, 0xc
mov word [esi], ax
jmp case.0x419443.99
mov ecx, 0xa
jmp 0x419485
mov edx, 0xd
mov word [esi], dx
jmp case.0x419443.99
mov eax, 9
mov word [esi], ax
jmp case.0x419443.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 0x419490
sub eax, edx
sar eax, 1
lea edx, [eax + eax + 2]
push edx
push esi
push edi
call fcn.00490230
add esp, 0xc
cmp word [edi], 0x3a
jne 0x4194bc
cmp word [esi], 0x3a
jne 0x4194bc
mov edi, esi
add edi, 2
jmp 0x41934b
push 0
push ecx
xor ebx, ebx
call fcn.0040bc70
add esp, 8
mov dword [esp + 0x84], eax
test eax, eax
je 0x4194e7
cmp eax, 4
je 0x419e9c
jmp 0x4194ed
xor ebp, ebp
mov dword [esp + 0x30], ebp
mov word [esi], di
test ebp, ebp
je 0x419cdb
mov ebx, dword [esp + 0x18]
cmp ebp, ebx
jbe 0x419cdf
mov ecx, dword [0x4c6a44]
cmp dword [ecx + 0xb4], 0
jne 0x41a466
mov ebp, dword [esp + 0x1a198]
mov eax, dword [ebp + 4]
test eax, eax
je 0x41952e
cmp byte [eax], 0x1a
je 0x41a485
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 0x4199d9
cmp word [edi], dx
je 0x41958e
mov edx, edi
nop
movzx eax, word [edx]
cmp eax, 0x20
je 0x41955d
cmp eax, 9
jne 0x419562
add edx, 2
jmp 0x419550
mov eax, edx
sub eax, edi
sar eax, 1
je 0x41958e
mov eax, edx
lea esi, [eax + 2]
nop
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x419570
sub eax, esi
sar eax, 1
lea ecx, [eax + eax + 2]
push ecx
push edx
push edi
call fcn.00490230
add esp, 0xc
mov esi, dword [esp + 0x30]
cmp word [esi], 0
mov ebp, esi
je 0x4199ce
cmp word [esi + 2], 0
je 0x419717
movzx eax, word [esi + 2]
xor dl, dl
xor cl, cl
test ax, ax
je 0x419698
mov edi, dword [esp + 0x60]
mov edi, edi
cmp ax, 0x20
je case.0x4195e0.34
movzx eax, word [esi]
add eax, 0xffffffdf
cmp eax, 0x5d
ja case.0x4195e0.34
movzx eax, byte [eax + 0x41a734]
jmp dword [eax*4 + 0x41a714]
mov cl, 1
jmp case.0x4195e0.36
mov dl, 1
jmp case.0x4195e0.36
test cl, cl
jne 0x419605
test dl, dl
jne 0x419609
or edi, 1
jmp case.0x4195e0.36
test dl, dl
je 0x419610
or byte [esp + 0x17], 4
xor dl, dl
test cl, cl
je case.0x4195e0.36
or byte [esp + 0x17], 8
jmp 0x419682
test cl, cl
jne 0x419628
test dl, dl
jne 0x41962c
or edi, 2
jmp case.0x4195e0.36
test dl, dl
je 0x419633
or byte [esp + 0x17], 1
xor dl, dl
test cl, cl
je case.0x4195e0.36
or byte [esp + 0x17], 2
jmp 0x419682
test cl, cl
jne 0x41964b
test dl, dl
jne 0x41964f
or edi, 4
jmp case.0x4195e0.36
test dl, dl
je 0x419656
or byte [esp + 0x17], 0x10
xor dl, dl
test cl, cl
je case.0x4195e0.36
or byte [esp + 0x17], 0x20
jmp 0x419682
test cl, cl
jne 0x41966e
test dl, dl
jne 0x419672
or edi, 8
jmp case.0x4195e0.36
test dl, dl
je 0x419679
or byte [esp + 0x17], 0x40
xor dl, dl
test cl, cl
je case.0x4195e0.36
or byte [esp + 0x17], 0x80
xor cl, cl
movzx eax, word [esi + 4]
add esi, 2
test ax, ax
jne 0x4195c0
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.00413b80
add esp, 8
mov byte [esp + 0x1e], al
test al, al
je 0x4199ce
mov bl, al
mov esi, dword [esp + 0x18]
cmp word [esi], 0
je 0x4197d9
movzx ecx, word [esi + 2]
mov eax, esi
add esi, 2
xor bl, bl
xor dl, dl
test cx, cx
je 0x4197d3
mov edi, dword [esp + 0x5c]
jmp 0x4196f0
cmp cx, 0x20
je case.0x419710.34
movzx ecx, word [eax]
add ecx, 0xffffffdf
cmp ecx, 0x5d
ja case.0x419710.34
movzx ecx, byte [ecx + 0x41a7b4]
jmp dword [ecx*4 + 0x41a794]
or bl, 0xff
mov byte [esp + 0x1e], bl
jmp 0x4196bf
mov dl, 1
jmp case.0x419710.36
mov bl, 1
jmp case.0x419710.36
test dl, dl
jne 0x41973e
test bl, bl
jne 0x419742
or edi, 1
jmp case.0x419710.36
test bl, bl
je 0x419749
or byte [esp + 0x16], 4
xor bl, bl
test dl, dl
je case.0x419710.36
or byte [esp + 0x16], 8
jmp 0x4197bb
test dl, dl
jne 0x419761
test bl, bl
jne 0x419765
or edi, 2
jmp case.0x419710.36
test bl, bl
je 0x41976c
or byte [esp + 0x16], 1
xor bl, bl
test dl, dl
je case.0x419710.36
or byte [esp + 0x16], 2
jmp 0x4197bb
test dl, dl
jne 0x419784
test bl, bl
jne 0x419788
or edi, 4
jmp case.0x419710.36
test bl, bl
je 0x41978f
or byte [esp + 0x16], 0x10
xor bl, bl
test dl, dl
je case.0x419710.36
or byte [esp + 0x16], 0x20
jmp 0x4197bb
test dl, dl
jne 0x4197a7
test bl, bl
jne 0x4197ab
or edi, 8
jmp case.0x419710.36
test bl, bl
je 0x4197b2
or byte [esp + 0x16], 0x40
xor bl, bl
test dl, dl
je case.0x419710.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 0x4196f0
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.00413b80
push 0x4a676c
push esi
mov byte [esp + 0x49], al
call fcn.004905b8
add esp, 0x10
test eax, eax
mov al, byte [esp + 0x39]
setne byte [esp + 0x42]
lea edx, [eax - 1]
cmp dl, 5
ja 0x419816
cmp al, 3
jne 0x41981c
add al, 0x66
cmp al, 5
ja 0x419820
mov al, 1
jmp 0x419822
xor al, al
lea ecx, [ebx - 1]
cmp cl, 5
ja 0x41982f
cmp bl, 3
jne 0x419837
add bl, 0x66
cmp bl, 5
ja 0x41983e
mov byte [esp + 0x27], 1
jmp 0x419843
mov byte [esp + 0x27], 0
test al, al
jne 0x419852
mov byte [esp + 0x37], 1
cmp byte [esp + 0x27], al
jne 0x419857
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 0x419860
sub eax, edx
sar eax, 1
cmp eax, 1
jne 0x419887
movzx edx, word [esi]
push edx
call dword [sym.imp.USER32.dll_IsCharUpperW]
mov ecx, 0x4a8964
test eax, eax
jne 0x41988c
mov ecx, 0x4a3920
cmp byte [esp + 0x42], 0
mov eax, 0x4a3920
jne 0x41989d
mov eax, 0x4a85a0
mov edx, dword [esp + 0x18]
push edx
push ecx
push eax
push 0x4a8968
mov esi, 0x20
lea edi, [esp + 0x108]
call fcn.00475ec0
push 0x1f
lea eax, [esp + 0xcc]
push ebp
push eax
call fcn.00492474
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.00492474
xor eax, eax
sub ebp, esi
mov word [esp + 0xa2], ax
mov eax, ebp
sar eax, 1
add esp, 0xc
cmp eax, 8
jae 0x41990d
xor ecx, ecx
mov word [esp + eax*2 + 0x88], cx
cmp word [esp + 0x88], 0
mov dword [esp + 0x58], 0
jne 0x41a163
mov al, byte [esp + 0x1e]
cmp al, 0xd
je 0x4199b0
cmp al, 0x13
jne 0x41a163
movzx esi, word [esp + 0xb8]
test esi, 0xffffff80
jne 0x41995a
push 2
push esi
call fcn.00490a0e
add esp, 8
test eax, eax
je 0x41995a
and esi, 0xffffffdf
cmp si, 0x50
je 0x4199c9
movzx esi, word [esp + 0xb8]
test esi, 0xffffff80
jne 0x419982
push 2
push esi
call fcn.00490a0e
add esp, 8
test eax, eax
je 0x419982
and esi, 0xffffffdf
cmp si, 0x42
je 0x4199c9
mov ebx, dword [esp + 0x1a198]
mov eax, dword [esp + 0x58]
inc eax
mov dword [esp + 0x58], eax
dec eax
cmp eax, 9
ja case.0x4199a9.4
movzx edx, byte [eax + 0x41a828]
jmp dword [edx*4 + 0x41a814]
lea edx, [esp + 0xb8]
push 0x4a5100
push edx
call fcn.0048f769
add esp, 8
test eax, eax
jne 0x419988
mov byte [esp + 0x1e], 0
mov ebp, dword [esp + 0x1a198]
mov edi, dword [esp + 0x30]
cmp byte [ebp + 0x278], 0
je 0x419a0c
push 0
push 0xff
push 0
push 0x67
push ebp
mov byte [ebp + 0x278], 0
call fcn.0041e700
test eax, eax
je 0x419e9c
mov dword [ebp + 0x634], 0
mov ebx, dword [esp + 0x18]
push 1
mov eax, ebx
mov esi, ebp
call fcn.0041c090
test eax, eax
je 0x419e9c
mov eax, dword [esp + 0x28]
test eax, eax
je 0x419b0a
cmp word [eax], 0
je 0x41a4a9
mov bl, byte [esp + 0x2f]
mov eax, 0x4a3920
test bl, bl
jne 0x419a48
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.0040ce50
add esp, 0x18
test eax, eax
je 0x419e9c
mov esi, dword [esp + 0x30]
cmp word [esi], 0
je 0x41a163
test bl, bl
je 0x419aef
mov ecx, esi
nop
movzx eax, word [ecx]
cmp eax, 0x20
je 0x419a9d
cmp eax, 9
jne 0x419aa2
add ecx, 2
jmp 0x419a90
push 0
push 0
push 0
push 0
push 0
push 0
push ecx
mov ecx, ebp
call fcn.0041c1d0
test eax, eax
je 0x419e9c
mov ecx, dword [ebp + 4]
mov al, byte [ecx]
cmp al, 9
jb 0x419acf
cmp al, 0x20
jbe 0x41a4c3
cmp al, 0x21
je 0x41a4c3
cmp al, 0x69
jb 0x419ae3
cmp al, 0x6b
jbe 0x41a4c3
cmp al, 0x6f
jb 0x419aef
cmp al, 0x71
jbe 0x41a4c3
push 0
push 0
push 0
push 0x67
push ebp
call fcn.0041e700
test eax, eax
je 0x419e9c
jmp 0x41a163
xor esi, esi
cmp word [edi], si
je 0x419bfa
push 0x4a62a8
push edi
call fcn.0048f769
add esp, 8
test eax, eax
jne 0x419b31
mov esi, 0x7ffe
jmp 0x419be4
push 0x4a62b8
push edi
call fcn.0048f769
add esp, 8
test eax, eax
jne 0x419b4d
mov esi, 0x7ffd
jmp 0x419be4
push 0x4a62d0
push edi
call fcn.0048f769
add esp, 8
test eax, eax
jne 0x419b69
mov esi, 0x7ffc
jmp 0x419be4
push 0x4a62e8
push edi
call fcn.0048f769
add esp, 8
test eax, eax
jne 0x419b82
mov esi, 0x7ffb
jmp 0x419be4
push 0x4a6304
push edi
call fcn.0048f769
add esp, 8
test eax, eax
jne 0x419b9b
mov esi, 0x7ffa
jmp 0x419be4
xor esi, esi
push esi
push esi
push esi
push esi
push esi
push esi
push edi
mov ecx, ebp
call fcn.0041c1d0
test eax, eax
je 0x419e9c
mov edx, dword [ebp + 4]
mov al, byte [edx]
cmp al, 9
jb 0x419bc4
cmp al, 0x20
jbe 0x41a4ea
cmp al, 0x21
je 0x41a4ea
cmp al, 0x69
jb 0x419bd8
cmp al, 0x6b
jbe 0x41a4ea
cmp al, 0x6f
jb 0x419be4
cmp al, 0x71
jbe 0x41a4ea
push 0
push 0
push 0
push 0x67
push ebp
call fcn.0041e700
test eax, eax
je 0x419e9c
mov ebx, dword [esp + 0x18]
lea eax, [esp + 0x43]
push eax
lea ecx, [esp + 0x74]
push ecx
push ebx
call fcn.0040c3d0
mov edi, eax
add esp, 0xc
test edi, edi
je 0x419c74
test si, si
je 0x419c25
mov word [edi + 6], si
jmp 0x41a163
mov eax, dword [edi + 0x20]
test eax, eax
je 0x419c42
mov ecx, dword [0x4ca6e4]
cmp dword [eax + 4], ecx
je 0x41a50d
mov eax, dword [eax + 8]
test eax, eax
jne 0x419c32
mov edx, dword [esp + 0x70]
mov eax, dword [ebp + 0x14]
push edx
call fcn.0040bb50
test eax, eax
je 0x41a531
cmp byte [esp + 0x43], 0
jne 0x419c6b
cmp byte [0x4cad75], 0
je 0x41a163
mov byte [edi + 0x14], 1
jmp 0x41a163
mov eax, dword [ebp + 0x14]
mov ecx, dword [esp + 0x70]
mov edx, dword [eax + 4]
push ecx
push edx
push esi
push eax
xor bl, bl
call fcn.0040b420
add esp, 0x10
test eax, eax
jne 0x41a163
cmp dword [esp + 0x84], 3
jne 0x419e9c
mov eax, dword [esp + 0x18]
push eax
push 0x4a8a40
mov esi, 0x80
lea edi, [esp + 0x140]
call fcn.00475ec0
fldz
fstp qword [esp]
mov ecx, edi
push 0
push 0
push 0x10000
push ecx
call fcn.0047ab10
add esp, 0x18
jmp 0x41a163
mov ebx, dword [esp + 0x18]
mov esi, dword [esp + 0x20]
mov edi, 0x3a
cmp word [ebx + esi*2 - 2], di
jne 0x41a0b7
cmp esi, 1
je 0x41a54b
movzx eax, word [ebx]
mov ecx, ebx
test ax, ax
je 0x419d46
mov dx, word [0x4c6968]
mov bp, word [0x4c6970]
cmp ax, 0x20
je 0x41a0b7
cmp ax, 9
je 0x41a0b7
cmp ax, dx
je 0x41a0b7
cmp ax, bp
je 0x41a0b7
movzx eax, word [ecx + 2]
add ecx, 2
test ax, ax
jne 0x419d14
cmp word [ebx + esi*2 - 4], di
jne 0x419d56
cmp esi, 2
ja 0x41a0b7
xor edx, edx
push 0x4a7fa0
push ebx
mov word [ebx + esi*2 - 2], dx
call fcn.0048f769
mov edi, dword [esp + 0x1a1a0]
add esp, 8
test eax, eax
jne 0x419da6
mov eax, dword [edi + 0x40]
test eax, eax
je 0x419da6
mov eax, dword [eax + 0x10]
test eax, eax
je 0x419da6
cmp byte [eax], 0x73
jne 0x419da6
push 0
push 0
push 0
push 0x74
push edi
call fcn.0041e700
test eax, eax
je 0x419e9c
mov ebx, edi
jmp 0x41a16a
cmp word [ebx], 0
je 0x419e9c
mov esi, dword [edi + 0x10]
test esi, esi
je 0x419dd3
mov eax, dword [esi + 4]
push ebx
push eax
call fcn.0048f769
add esp, 8
test eax, eax
je 0x419e54
mov esi, dword [esi + 0x10]
test esi, esi
jne 0x419db7
cmp word [ebx], 0
je 0x419f5a
mov eax, ebx
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x419de2
sub eax, edx
sar eax, 1
lea ebp, [eax + eax]
lea ebx, [ebp + 2]
lea ecx, [ebx - 1]
mov dword [esp + 0x28], eax
cmp ecx, 0xffff
ja 0x419e88
xor edi, edi
cmp dword [0x4cb49c], edi
jne 0x419eab
push 0x10
call fcn.00490bc8
mov esi, eax
add esp, 4
cmp esi, edi
je 0x419e4a
push 0x10000
mov dword [esi + 0xc], edi
call fcn.0048f7f4
add esp, 4
mov dword [esi + 4], eax
mov dword [esi], eax
cmp eax, edi
jne 0x419e6a
push esi
call fcn.004900a6
add esp, 4
mov esi, dword [0x4cb4a0]
xor eax, eax
jmp 0x419e7f
push ebx
push 0x4a9060
mov ecx, edi
call fcn.004301a0
test eax, eax
je 0x419e9c
jmp 0x41a163
inc dword [0x4cb4a8]
mov dword [esi + 8], 0x10000
mov dword [0x4cb4a0], esi
mov eax, esi
mov dword [0x4cb49c], eax
cmp eax, edi
jne 0x419eb1
mov edx, dword [esp + 0x18]
push edx
push 0x4a6630
mov ecx, 0x4cb520
call fcn.004301a0
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1a184
ret 8
mov esi, dword [0x4cb4a0]
cmp ebx, dword [esi + 8]
jbe 0x419f12
push 0x10
call fcn.00490bc8
mov esi, eax
add esp, 4
cmp esi, edi
je 0x419ee8
push 0x10000
mov dword [esi + 0xc], edi
call fcn.0048f7f4
add esp, 4
mov dword [esi + 4], eax
mov dword [esi], eax
cmp eax, edi
jne 0x419ef2
push esi
call fcn.004900a6
add esp, 4
mov esi, dword [0x4cb4a0]
xor eax, eax
jmp 0x419f07
inc dword [0x4cb4a8]
mov dword [esi + 8], 0x10000
mov dword [0x4cb4a0], esi
mov eax, esi
mov dword [esi + 0xc], eax
cmp eax, edi
je 0x419e88
mov edi, dword [esi + 4]
mov eax, ebx
and eax, 3
mov dword [0x4cb4a4], edi
je 0x419f29
sub ebx, eax
lea eax, [ebx + 4]
jmp 0x419f2b
mov eax, ebx
sub dword [esi + 8], eax
lea edx, [edi + eax]
mov dword [esi + 4], edx
test edi, edi
je 0x419e88
cmp dword [esp + 0x28], 0
je 0x419f52
mov eax, dword [esp + 0x18]
push ebp
push eax
push edi
call fcn.00497af0
add esp, 0xc
xor ecx, ecx
mov word [edi + ebp], cx
jmp 0x419f65
mov esi, dword [0x4cb4a0]
mov edi, 0x4a3920
cmp dword [0x4cb49c], 0
jne 0x419fd0
push 0x10
call fcn.00490bc8
mov esi, eax
add esp, 4
test esi, esi
je 0x419fa4
push 0x10000
mov dword [esi + 0xc], 0
call fcn.0048f7f4
add esp, 4
mov dword [esi + 4], eax
mov dword [esi], eax
test eax, eax
jne 0x419fae
push esi
call fcn.004900a6
add esp, 4
mov esi, dword [0x4cb4a0]
xor eax, eax
jmp 0x419fc3
inc dword [0x4cb4a8]
mov dword [esi + 8], 0x10000
mov dword [0x4cb4a0], esi
mov eax, esi
mov dword [0x4cb49c], eax
test eax, eax
je 0x41a0a1
cmp dword [esi + 8], 0x14
jae 0x41a032
push 0x10
call fcn.00490bc8
mov esi, eax
add esp, 4
test esi, esi
je 0x41a00c
push 0x10000
mov dword [esi + 0xc], 0
call fcn.0048f7f4
add esp, 4
mov dword [esi + 4], eax
mov dword [esi], eax
test eax, eax
jne 0x41a016
push esi
call fcn.004900a6
add esp, 4
mov esi, dword [0x4cb4a0]
xor eax, eax
jmp 0x41a02b
inc dword [0x4cb4a8]
mov dword [esi + 8], 0x10000
mov dword [0x4cb4a0], esi
mov eax, esi
mov dword [esi + 0xc], eax
test eax, eax
je 0x41a0a1
mov eax, dword [esi + 4]
add dword [esi + 8], 0xffffffec
lea edx, [eax + 0x14]
mov dword [0x4cb4a4], eax
mov dword [esi + 4], edx
test eax, eax
je 0x41a0a1
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
je 0x41a073
mov ecx, dword [ecx + 0x14]
mov ebx, dword [esp + 0x1a198]
push str.OnClipboardChange
mov dword [ecx + 0x10], eax
push edi
mov dword [ebx + 0x14], eax
call fcn.0048f769
add esp, 8
test eax, eax
jne 0x41a163
mov dword [ebx + 0xa8c], esi
jmp 0x41a16a
mov ecx, dword [esp + 0x1a198]
push 0x4a3920
push 0x4a6630
jmp 0x419e5c
cmp word [ebx], 0x23
mov edi, dword [esp + 0x1a198]
jne 0x41a0f5
mov esi, dword [edi + 0x274]
push ebx
push edi
call fcn.0041aa20
test eax, eax
je 0x419e9c
cmp eax, 3
jne 0x41a0f5
mov edx, dword [esp + 0x68]
mov dword [edi + 0x270], edx
mov dword [edi + 0x274], esi
mov ebx, edi
jmp 0x41a16a
movzx eax, word [ebx]
cmp eax, 0x7b
je 0x41a120
cmp eax, 0x7d
je 0x41a120
push 0
push 0
push 0
push 0
push 0
push 0
push ebx
mov ecx, edi
call fcn.0041c1d0
test eax, eax
je 0x419e9c
jmp 0x41a163
cmp eax, 0x7b
push 0
setne al
push 0
add al, 0x75
movzx ecx, al
push 0
push ecx
push edi
call fcn.0041e700
test eax, eax
je 0x419e9c
lea eax, [ebx + 2]
movzx ecx, word [eax]
cmp ecx, 0x20
je 0x41a150
cmp ecx, 9
jne 0x41a155
add eax, 2
jmp 0x41a143
cmp word [eax], 0
mov dword [esp + 0x18], eax
jne 0x41a2b9
mov ebx, dword [esp + 0x1a198]
cmp byte [esp + 0x1e], 0
je case.0x4199a9.4
jmp 0x41998f
mov ecx, dword [esp + 0x18]
lea eax, [esp + 0xf8]
push eax
push 0x4a8b68
push ecx
call fcn.0048fb73
add esp, 0xc
mov dword [esp + 0x20], eax
jmp 0x419293
mov esi, dword [esp + 0x18]
mov eax, 0x4a62a0
mov edx, esi
sub edx, eax
lea ebx, [ebx]
movzx ecx, word [eax]
mov word [eax + edx], cx
add eax, 2
test cx, cx
jne 0x41a1b0
cmp byte [esp + 0x27], cl
push 0
setne al
push 1
add al, 0xc3
lea edx, [esp + 0x20]
movzx ecx, al
push edx
push ecx
push ebx
call fcn.0041e700
cmp byte [esp + 0x37], 0
je 0x41a20d
lea edx, [esp + 0xb8]
push edx
push 0x4a8b74
push esi
call fcn.0048fb73
add esp, 0xc
mov dword [esp + 0x20], eax
mov dword [esp + 0x58], 9
jmp 0x419293
mov esi, dword [esp + 0x18]
mov al, byte [esp + 0x1e]
mov ecx, 0x4a3920
cmp al, 0x12
je 0x41a222
cmp al, 0xa3
jbe 0x41a242
cmp al, 0xa5
ja 0x41a242
movzx eax, byte [esp + 0x39]
sub eax, 0x11
je 0x41a23d
sub eax, 0x91
je 0x41a23d
dec eax
jne 0x41a242
mov ecx, 0x4a8bc0
jmp 0x41a242
mov ecx, 0x4a8ba8
lea eax, [esp + 0xb8]
push eax
lea edx, [esp + 0x8c]
push edx
push ecx
push 0x4a8bd8
xor edi, edi
push esi
mov dword [ebx + 0x634], edi
call fcn.0048fb73
add esp, 0x14
push edi
push 1
lea eax, [esp + 0x20]
push eax
push 0x41
push ebx
call fcn.0041e700
test eax, eax
je 0x419e9c
push edi
push edi
push edi
push 0x67
push ebx
call fcn.0041e700
lea ecx, [esp + 0xf8]
push ecx
push 0x4a8c04
push esi
mov dword [ebx + 0x634], edi
call fcn.0048fb73
add esp, 0xc
mov dword [esp + 0x20], eax
mov dword [esp + 0x58], 2
jmp 0x419293
lea edx, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x41a2c0
mov ebx, dword [esp + 0x1a198]
sub eax, edx
sar eax, 1
mov dword [esp + 0x20], eax
mov dword [ebx + 0x634], 0
jmp 0x418d33
mov esi, dword [esp + 0x18]
mov eax, 0x4a62a0
mov edx, esi
sub edx, eax
movzx ecx, word [eax]
mov word [eax + edx], cx
add eax, 2
test cx, cx
jne 0x41a2f6
cmp byte [esp + 0x27], cl
push 0
setne al
push 1
add al, 0xc3
lea edx, [esp + 0x20]
movzx ecx, al
push edx
push ecx
push ebx
call fcn.0041e700
lea edx, [esp + 0xb8]
push edx
push 0x4a8c14
push esi
call fcn.0048fb73
add esp, 0xc
push 0
push 1
lea eax, [esp + 0x20]
push eax
push 0x41
push ebx
call fcn.0041e700
push 0
push 0
push 0
push 0x67
push ebx
call fcn.0041e700
mov byte [esp + 0x1e], 0
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x64]
mov ebx, dword [esp + 0x1a198]
lea edx, [esp + 0xa180]
mov dword [esp + 0x18], eax
mov dword [esp + 0x20], ecx
cmp eax, edx
jne 0x41a38d
lea eax, [esp + 0x12188]
mov dword [esp + 0x3c], eax
jmp 0x4182b0
lea ecx, [esp + 0xa180]
mov dword [esp + 0x3c], ecx
jmp 0x4182b0
mov ecx, dword [esp + 0x1a198]
push ebx
push 0x4a8728
call fcn.004301a0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1a184
ret 8
lea eax, [esp + 0x2178]
push eax
push 0x4a87f0
mov ecx, ebx
call fcn.004301a0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1a184
ret 8
cmp dword [ebx + 0x268], 0
mov eax, 0x4a87f0
jne 0x41a3f0
mov eax, 0x4a8808
lea ecx, [esp + 0x2178]
push ecx
push eax
mov ecx, ebx
call fcn.004301a0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1a184
ret 8
lea edx, [esp + 0x2178]
push edx
push 0x4a87a8
mov ecx, ebx
call fcn.004301a0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1a184
ret 8
mov edi, dword [esp + 0x18]
push edi
push 0x4a8880
mov ecx, ebx
call fcn.004301a0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1a184
ret 8
push edi
push 0x4a8808
mov ecx, ebx
call fcn.004301a0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1a184
ret 8
mov ecx, dword [esp + 0x1a198]
push ebx
push 0x4a88c8
call fcn.004301a0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1a184
ret 8
mov ecx, dword [esp + 0x18]
push ecx
push 0x4a8934
mov ecx, ebp
mov dword [ebp + 0x634], eax
call fcn.004301a0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1a184
ret 8
push ebx
push 0x4a8978
mov ecx, ebp
call fcn.004301a0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1a184
ret 8
mov eax, dword [esp + 0x18]
push eax
mov edx, 0x3a
push 0x4a89d0
mov ecx, ebp
mov word [esi - 4], dx
call fcn.004301a0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1a184
ret 8
mov ecx, 0x3a
push ebx
mov word [edi - 4], cx
push 0x4a89d0
mov ecx, ebp
call fcn.004301a0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1a184
ret 8
push ebx
push 0x4a8a1c
mov ecx, ebp
mov dword [ebp + 0x634], 0
call fcn.004301a0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1a184
ret 8
push ebx
push 0x4a6630
mov ecx, ebp
call fcn.004301a0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1a184
ret 8
mov ecx, dword [esp + 0x1a198]
push ebx
push 0x4a8b08
call fcn.004301a0
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 0x4a878c
call fcn.004301a0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1a184
ret 8
cmp word [esp + 0x2178], 0
je 0x41a606
cmp dword [esp + 0x44], 0
mov eax, dword [esp + 0x54]
mov esi, dword [ebx + 0x274]
mov dword [ebx + 0x274], eax
je 0x41a5dd
cmp byte [esp + 0x1f], 0
mov eax, 0x4a8c34
jne 0x41a5c0
mov eax, 0x4a87f0
lea ecx, [esp + 0x2178]
push ecx
push eax
mov ecx, ebx
call fcn.004301a0
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.0041c1d0
test eax, eax
je 0x419e9c
mov dword [ebx + 0x274], esi
cmp dword [ebx + 0x4c], 0
je 0x41a630
cmp dword [esp + 0x68], 0
jne 0x41a630
lea eax, [ebx + 0x64]
push eax
push 0x4a8c34
mov ecx, ebx
call fcn.004301a0
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