Function at 0x417930
Capabilities:
Get keyboard layout

Disassembly:
mov eax, 0xe0a4
call fcn.00493660
mov ecx, dword [0x4ad1e8]
mov eax, dword [esp + 0xe0ac]
push ebx
mov ebx, dword [esp + 0xe0ac]
push ebp
lea edx, [esp + 0x150]
push esi
dec ecx
mov dword [esp + 0x14], edx
or esi, 0xffffffff
lea edx, [esp + 0xa0a4]
push edi
mov dword [esp + 0x64], ecx
mov byte [esp + 0x4160], 0
mov dword [esp + 0x28], edx
mov byte [esp + 0x1e], 0
mov byte [esp + 0x39], 0
mov byte [esp + 0x3e], 0
mov dword [ebx + 0x170], ecx
mov dword [esp + 0x60], esi
test eax, eax
je 0x4179b8
push 1
push 0x4000
lea ecx, [esp + 0x160]
push ecx
call fcn.00471900
test eax, eax
jne 0x417ae1
mov byte [esp + 0x158], al
mov dword [esp + 0x20], esi
push 2
lea edx, [esp + 0x15c]
push 0x49d25c
push edx
call fcn.00489239
add esp, 0xc
test eax, eax
sete al
mov byte [esp + 0x24], al
test al, al
je 0x4179f0
mov byte [esp + 0x158], 0
mov dword [esp + 0x20], 0
cmp dword [esp + 0x20], 0xffffffff
je 0x419ad0
mov eax, dword [esp + 0x60]
mov esi, dword [esp + 0x18]
push 0xc
inc eax
push 0x49d260
xor edi, edi
push esi
mov dword [ebx + 0x174], eax
mov dword [ebx + 0x374], edi
call fcn.00487920
add esp, 0xc
test eax, eax
jne 0x417a35
push esi
push ebx
call fcn.00419f40
test eax, eax
je 0x4193eb
mov byte [esp + 0x6c], 0
mov dword [esp + 0x34], edi
mov edi, dword [esp + 0x28]
inc dword [esp + 0x60]
mov esi, dword [esp + 0x34]
xor ebx, ebx
cmp edi, ebx
je 0x417c56
mov eax, dword [esp + 0xe0bc]
mov ecx, esi
mov edx, edi
call fcn.00419d80
mov ebp, eax
mov dword [esp + 0x4c], ebp
cmp ebp, ebx
je 0x417c5d
cmp ebp, 0xffffffff
je 0x417c5d
cmp esi, ebx
jne 0x417c5d
push 2
push 0x49d270
push edi
call fcn.00489239
add esp, 0xc
test eax, eax
jne 0x417c71
cmp byte [esp + 0x24], bl
jne 0x417ab1
cmp byte [edi + 2], 0x3a
jne 0x417ab1
cmp byte [edi + 3], 0x3a
je 0x417c7b
lea ecx, [ebp - 1]
push ecx
lea edx, [edi + 2]
push edx
push edi
mov byte [esp + 0x30], bl
call fcn.00487a80
add esp, 0xc
lea eax, [ebp - 2]
call fcn.00414160
mov ebp, eax
mov dword [esp + 0x4c], ebp
cmp byte [edi], bl
je 0x417a3e
jmp 0x417c7b
cmp byte [esp + eax + 0x157], 0xa
jne 0x417aec
dec eax
mov byte [esp + eax + 0x158], 0
or eax, 0xffffffff
lea edi, [esp + 0x158]
call fcn.00414160
mov esi, edi
call fcn.004141d0
mov edx, dword [0x4a83b4]
push edx
mov ebp, eax
mov eax, edi
push 0x4a83c0
push eax
call fcn.00489239
add esp, 0xc
test eax, eax
jne 0x417b37
mov byte [esp + 0x158], al
mov dword [esp + 0x20], eax
jmp 0x4179bc
lea ecx, [esp + 0x158]
push 0x4a83c0
push ecx
call fcn.00487fd2
mov ebx, eax
add esp, 8
test ebx, ebx
je 0x417c46
jmp 0x417b60
lea eax, [ebx - 1]
lea edx, [esp + 0x158]
cmp eax, edx
jb 0x417c15
mov cl, byte [eax]
cmp cl, 0x20
je 0x417c31
cmp cl, 9
je 0x417c31
cmp cl, 0xa0
je 0x417c31
cmp eax, edx
mov dl, byte [0x4a88e3]
mov ecx, eax
jbe 0x417bb7
jmp 0x417ba0
cmp byte [ecx], dl
jne 0x417bb7
cmp byte [ecx - 1], dl
jne 0x417bb7
sub ecx, 2
lea esi, [esp + 0x158]
cmp ecx, esi
ja 0x417ba0
lea esi, [esp + 0x158]
cmp ecx, esi
jb 0x417be6
cmp byte [ecx], dl
jne 0x417be6
lea esi, [eax + 1]
mov ecx, esi
lea edi, [ecx + 1]
mov edi, edi
mov dl, byte [ecx]
inc ecx
test dl, dl
jne 0x417bd0
sub ecx, edi
inc ecx
push ecx
push esi
push eax
call fcn.00487a80
add esp, 0xc
dec ebp
mov eax, dword [0x4a83b4]
add eax, ebx
push 0x4a83c0
push eax
call fcn.00487fd2
mov ebx, eax
add esp, 8
test ebx, ebx
jne 0x417b60
mov ebx, dword [esp + 0xe0b8]
mov dword [esp + 0x20], ebp
jmp 0x4179bc
mov ebx, dword [esp + 0xe0b8]
mov byte [esp + 0x158], 0
mov dword [esp + 0x20], 0
jmp 0x4179bc
lea ecx, [esp + 0x158]
mov byte [eax], 0
sub eax, ecx
mov esi, ecx
call fcn.00414280
mov ebp, eax
mov ebx, dword [esp + 0xe0b8]
mov dword [esp + 0x20], ebp
jmp 0x4179bc
or ebp, 0xffffffff
mov dword [esp + 0x4c], ebp
cmp byte [esp + 0x24], bl
je 0x417c99
cmp ebp, 0xffffffff
jne 0x417a3e
jmp 0x418370
cmp byte [esp + 0x24], bl
jne 0x417a3e
push 2
push 0x49d25c
push edi
call fcn.00489239
add esp, 0xc
test eax, eax
jne 0x417c5d
mov byte [esp + 0x24], 1
jmp 0x417a3e
cmp esi, ebx
jne 0x418171
cmp ebp, 0xffffffff
je 0x417d02
cmp byte [edi], 0x28
jne 0x417d02
cmp byte [edi + 1], 0x3a
lea esi, [edi + 1]
je 0x417d02
cmp byte [edi + ebp - 1], 0x3a
je 0x417d02
mov dl, byte [0x4acadc]
mov ecx, 1
mov dword [esp + 0x34], ecx
mov dword [esp + 0x68], ebx
mov byte [esp + 0x44], dl
mov byte [esp + 0x45], cl
mov byte [esp + 0x46], bl
mov byte [esp + 0x43], bl
mov byte [esp + 0x41], cl
mov word [esp + 0x88], 0xa
mov dword [esp + 0x70], ecx
mov al, byte [esi]
cmp al, 0x20
je 0x417cfe
cmp al, 9
jne 0x417f8b
add esi, ecx
jmp 0x417cf0
mov dword [esp + 0x34], ebx
cmp ebp, 0xffffffff
je 0x418370
cmp ebp, ebx
je 0x417a3e
cmp byte [edi + ebp - 1], 0x3a
jne 0x417d27
cmp byte [edi], 0x2c
jne 0x418370
mov esi, dword [esp + 0x28]
mov bl, byte [esi]
movzx eax, bl
test eax, 0xffffff80
jne 0x417d49
push 2
push eax
call fcn.004883de
add esp, 8
test eax, eax
je 0x417d49
and bl, 0xdf
cmp bl, 0x41
je 0x417eed
cmp bl, 0x4f
je 0x417e98
mov al, byte [esi]
cmp al, 0x3a
je 0x417d69
cmp al, 0x2b
je 0x417d69
cmp al, 0x2d
jne 0x417d72
cmp byte [esi + 1], al
je 0x418370
movsx eax, al
push eax
push 0x49d284
call fcn.00487e91
add esp, 8
test eax, eax
je 0x418370
push 0x49d298
push esi
call fcn.00487fd2
mov edi, eax
add esp, 8
test edi, edi
je 0x417f46
mov eax, dword [esp + 0x28]
cmp byte [eax], 0x3a
jne 0x417e00
mov esi, eax
mov al, byte [esi + 1]
inc esi
test al, al
je 0x417df7
cmp al, 0x3a
je 0x418370
movzx eax, al
test eax, 0xffffff80
jne 0x417dda
push 0x107
push eax
call fcn.004883de
add esp, 8
test eax, eax
jne 0x417def
movsx eax, byte [esi]
push eax
push 0x49d29c
call fcn.00487e91
add esp, 8
test eax, eax
je 0x417e00
mov al, byte [esi + 1]
inc esi
test al, al
jne 0x417db6
cmp byte [esi], 0x3a
je 0x418370
mov eax, dword [esp + 0x28]
cmp byte [eax], 0x2c
jne 0x417e51
mov esi, eax
mov al, byte [esi + 1]
inc esi
cmp al, 0x20
je 0x417e0b
cmp al, 9
je 0x417e0b
push 2
push 0x49d298
push esi
call fcn.00489239
add esp, 0xc
test eax, eax
je 0x418370
push 3
push 0x49c144
dec esi
push esi
call fcn.00489239
add esp, 0xc
test eax, eax
je 0x418370
mov ebp, dword [esp + 0x4c]
jmp 0x417f46
cmp eax, edi
jae 0x417e61
cmp byte [eax], 0x22
je 0x417e5f
inc eax
cmp eax, edi
jb 0x417e55
cmp eax, edi
je 0x418370
mov al, byte [edi + 2]
lea ecx, [edi + 2]
test al, al
je 0x418370
cmp al, 0x22
je 0x417e86
mov al, byte [ecx + 1]
inc ecx
test al, al
jne 0x417e75
jmp 0x418370
cmp byte [ecx], 0
je 0x418370
mov ebp, dword [esp + 0x4c]
jmp 0x417f46
mov edi, dword [esp + 0x28]
movzx esi, byte [edi + 1]
test esi, 0xffffff80
jne 0x417eba
push 2
push esi
call fcn.004883de
add esp, 8
test eax, eax
je 0x417eba
and esi, 0xffffffdf
mov eax, esi
cmp al, 0x52
jne 0x418370
mov al, byte [edi + 2]
lea ecx, [edi + 2]
cmp al, 0x20
je 0x417ee0
cmp al, 9
je 0x417ee0
cmp al, 0xa0
jne 0x418370
lea ebx, [ebx]
mov al, byte [ecx]
cmp al, 0x20
je 0x417eea
cmp al, 9
jne 0x417f2d
inc ecx
jmp 0x417ee0
push 3
push 0x49d274
push esi
call fcn.00487920
add esp, 0xc
test eax, eax
jne 0x418370
mov al, byte [esi + 3]
lea ecx, [esi + 3]
cmp al, 0x20
je 0x417f20
cmp al, 9
je 0x417f20
cmp al, 0xa0
jne 0x418370
jmp 0x417f20
mov al, byte [ecx]
cmp al, 0x20
je 0x417f2a
cmp al, 9
jne 0x417f2d
inc ecx
jmp 0x417f20
movsx eax, byte [ecx]
push eax
push 0x49d278
call fcn.00487e91
add esp, 8
test eax, eax
jne 0x418370
mov esi, dword [esp + 0x20]
mov eax, dword [esp + 0x28]
lea ecx, [esi + ebp]
cmp ecx, 0x4000
jae 0x4198ea
cmp byte [eax], 0x2c
je 0x417f6b
mov edx, dword [esp + 0x18]
mov byte [esi + edx], 0x20
inc esi
mov edx, dword [esp + 0x18]
lea ecx, [ebp + 1]
push ecx
push eax
lea eax, [esi + edx]
push eax
call fcn.0048f790
add esp, 0xc
add esi, ebp
mov dword [esp + 0x20], esi
jmp 0x417a3e
cmp byte [esi], bl
je 0x418167
mov edi, esi
test esi, esi
je 0x417fbf
mov dl, byte [esi]
test dl, dl
je 0x417fbf
nop
mov ecx, 0x49c14c
mov al, 0x20
cmp dl, al
je 0x418056
mov al, byte [ecx + 1]
inc ecx
test al, al
jne 0x417fa7
mov dl, byte [edi + 1]
inc edi
test dl, dl
jne 0x417fa0
mov eax, esi
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x417fc4
sub eax, edx
lea ebp, [eax + esi]
mov bl, byte [ebp]
push 4
push 0x49d2c4
push esi
mov byte [esp + 0x3b], bl
mov byte [ebp], 0
call fcn.00487920
add esp, 0xc
test eax, eax
jne 0x4180c9
push 0xf
add esi, 4
lea eax, [esp + 0x8c]
push esi
push eax
call fcn.00489e40
mov bl, byte [0x4a88e3]
mov byte [esp + 0xa3], 0
lea ecx, [esp + 0x94]
mov al, byte [ecx]
add esp, 0xc
test al, al
je 0x418030
cmp al, bl
je 0x41805d
mov al, byte [ecx + 1]
inc ecx
test al, al
jne 0x418024
lea eax, [esp + 0x88]
lea edx, [eax + 1]
lea ebx, [ebx]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x418040
mov bl, byte [esp + 0x2f]
sub eax, edx
mov dword [esp + 0x70], eax
jmp 0x41814c
mov ebp, edi
jmp 0x417fd0
cmp byte [ecx], 0
je 0x418030
movsx eax, byte [ecx + 1]
lea esi, [ecx + 1]
add eax, 0xffffff9f
cmp eax, 0x15
ja case.0x418078.99
movzx edx, byte [eax + 0x419bb4]
jmp dword [edx*4 + 0x419b90]
mov byte [esi], 7
jmp case.0x418078.99
mov byte [esi], 8
jmp case.0x418078.99
mov byte [esi], 0xc
jmp case.0x418078.99
mov byte [esi], 0xa
jmp case.0x418078.99
mov byte [esi], 0xd
jmp case.0x418078.99
mov byte [esi], 9
jmp case.0x418078.99
mov byte [esi], 0xb
jmp case.0x418078.99
mov byte [esi], 0x20
mov eax, esi
lea edi, [eax + 1]
lea ebx, [ebx]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x4180b0
sub eax, edi
inc eax
push eax
push esi
push ecx
call fcn.00487a80
mov ecx, esi
jmp 0x41801b
push 5
push 0x49d2cc
push esi
call fcn.00487920
add esp, 0xc
test eax, eax
jne 0x4180e8
cmp byte [esi + 5], 0x30
setne byte [esp + 0x44]
jmp 0x41814c
push 5
push 0x49d2d4
push esi
call fcn.00487920
add esp, 0xc
test eax, eax
jne 0x418107
cmp byte [esi + 5], 0x30
setne byte [esp + 0x45]
jmp 0x41814c
mov al, byte [esi]
test al, al
je 0x41814c
mov ecx, 2
movsx eax, al
add eax, 0xffffffdb
cmp eax, 0x3e
ja case.0x418124.38
movzx eax, byte [eax + 0x419be4]
jmp dword [eax*4 + 0x419bcc]
mov byte [esp + 0x46], 1
jmp case.0x418124.38
mov byte [esp + 0x43], 1
jmp case.0x418124.38
mov byte [esp + 0x41], 0
jmp case.0x418124.38
mov dword [esp + 0x34], ecx
mov al, byte [esi + 1]
inc esi
test al, al
jne 0x418112
mov byte [ebp], bl
mov esi, ebp
mov al, byte [esi]
cmp al, 0x20
je 0x41815b
cmp al, 9
jne 0x41815e
inc esi
jmp 0x418151
cmp byte [esi], 0
jne 0x417f93
mov byte [esp + 0x6c], 1
jmp 0x417a3e
cmp ebp, 0xffffffff
je 0x419a8e
cmp ebp, 0xfffffffe
je 0x417a3e
cmp byte [edi], 0x29
jne 0x4181f8
mov eax, edi
mov dword [esp + 0x34], ebx
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x418191
sub eax, edx
lea ecx, [eax + edi - 1]
mov edi, edi
mov dl, byte [ecx]
cmp dl, 0x20
je 0x4181ac
cmp dl, 9
jne 0x4181b4
cmp ecx, edi
je 0x4181c8
dec ecx
dec eax
jmp 0x4181a0
mov edi, dword [esp + 0x28]
mov byte [ecx + 1], bl
mov ebx, dword [esp + 0x28]
mov ebp, eax
inc ebx
dec ebp
jmp 0x4182f3
mov dl, byte [ecx]
cmp dl, 0x20
je 0x4181e5
cmp dl, 9
je 0x4181e5
mov ebx, dword [esp + 0x28]
mov edi, dword [esp + 0x28]
mov ebp, eax
inc ebx
dec ebp
jmp 0x4182f3
mov edi, dword [esp + 0x28]
mov byte [ecx], bl
mov ebx, dword [esp + 0x28]
xor ebp, ebp
inc ebx
dec ebp
jmp 0x4182f3
cmp byte [esp + 0x45], 0
mov edi, dword [esp + 0x28]
mov ebx, edi
je 0x418210
mov eax, ebp
mov esi, edi
call fcn.004141d0
mov ebp, eax
cmp byte [esp + 0x44], 0
je 0x418224
mov edi, dword [esp + 0x28]
mov eax, ebp
call fcn.00414160
mov ebp, eax
xor esi, esi
cmp byte [esp + 0x46], 0
je 0x41825f
mov al, byte [0x4a88e3]
push esi
push 0xffffffffffffffff
push 1
lea ecx, [esp + 0x48]
push ecx
lea edx, [esp + 0x48]
push edx
mov byte [esp + 0x4c], al
mov byte [esp + 0x50], al
mov byte [esp + 0x51], al
push edi
xor eax, eax
mov ecx, 0x4001
call fcn.00474490
add esp, 0x18
mov esi, eax
cmp byte [esp + 0x43], 0
je 0x41829f
mov al, byte [0x4a88e2]
mov cl, byte [0x4a88e3]
push 0
push 0xffffffffffffffff
push 1
mov byte [esp + 0x44], al
mov byte [esp + 0x49], al
lea edx, [esp + 0x48]
push edx
lea eax, [esp + 0x48]
push eax
mov byte [esp + 0x50], cl
push edi
xor eax, eax
mov ecx, 0x4001
call fcn.00474490
add esp, 0x18
add esi, eax
cmp byte [esp + 0x41], 0
je 0x4182df
mov al, byte [0x4a83b3]
mov cl, byte [0x4a88e3]
push 0
push 0xffffffffffffffff
push 1
mov byte [esp + 0x44], al
mov byte [esp + 0x49], al
lea edx, [esp + 0x48]
push edx
lea eax, [esp + 0x48]
push eax
mov byte [esp + 0x50], cl
push edi
xor eax, eax
mov ecx, 0x4001
call fcn.00474490
add esp, 0x18
add esi, eax
test esi, esi
je 0x4182f3
mov eax, edi
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4182e8
sub eax, edx
mov ebp, eax
mov esi, dword [esp + 0x70]
mov eax, dword [esp + 0x20]
lea ecx, [esi + ebp]
add ecx, eax
cmp ecx, 0x4001
jae 0x419ab1
mov ecx, dword [esp + 0x68]
inc ecx
mov dword [esp + 0x68], ecx
cmp ecx, 1
jle 0x418341
test esi, esi
je 0x418341
cmp ebx, edi
jne 0x418341
lea edx, [esi + 1]
push edx
mov edx, dword [esp + 0x1c]
lea ecx, [esp + 0x8c]
push ecx
add eax, edx
push eax
call fcn.0048f790
add esp, 0xc
add dword [esp + 0x20], esi
test ebp, ebp
je 0x417a3e
mov ecx, dword [esp + 0x18]
mov esi, dword [esp + 0x20]
lea eax, [ebp + 1]
push eax
lea edx, [esi + ecx]
push ebx
push edx
call fcn.0048f790
add esp, 0xc
add esi, ebp
mov dword [esp + 0x20], esi
jmp 0x417a3e
mov byte [ebp], bl
mov esi, dword [esp + 0xe0b8]
mov ebp, dword [esp + 0x48]
jmp 0x418380
cmp dword [esp + 0x20], 0
je 0x4196a2
cmp byte [esp + 0x4160], 0
je 0x4184ec
mov eax, dword [esp + 0x50]
mov edi, dword [esi + 0x174]
mov ecx, dword [esp + 0x18]
mov bl, byte [esp + 0x1f]
mov dword [esi + 0x174], eax
cmp byte [ecx], 0x7b
je 0x4183f9
test bl, bl
jne 0x4183f9
test ebp, ebp
jne 0x419909
cmp dword [esi + 0x4c], ebp
je 0x4183d9
mov edx, dword [0x4a8978]
cmp dword [edx + 0x94], ebp
je 0x41992a
push 0
push 0
push 0
push 0
push 0
push 3
lea eax, [esp + 0x4178]
push eax
mov ecx, esi
call fcn.0041b600
jmp 0x41847c
mov eax, ebp
sub eax, 0
je 0x41843a
dec eax
je 0x418422
dec eax
jne 0x41848e
lea ecx, [esp + 0x4160]
push ecx
push esi
call fcn.00420140
test eax, eax
je 0x4193eb
jmp 0x41848e
lea edx, [esp + 0x4160]
push edx
push esi
call fcn.0041fcc0
test eax, eax
je 0x4193eb
jmp 0x41848e
mov eax, dword [0x4a8978]
cmp dword [eax + 0x94], 0
jne 0x41995a
lea ecx, [esp + 0x8168]
push ecx
lea edx, [esp + 0x4164]
push edx
push esi
call fcn.0041f1b0
test eax, eax
je 0x4193eb
test bl, bl
je 0x41848e
push 0
push 0
push 0
push 0x75
push esi
call fcn.0041d9d0
test eax, eax
je 0x4193eb
mov dword [esi + 0x374], 0
mov byte [esp + 0x4160], 0
test ebp, ebp
je 0x4184e6
test bl, bl
jne 0x4184e6
mov ecx, dword [esp + 0x18]
mov al, byte [ecx + 1]
inc ecx
cmp al, 0x20
je 0x4184a2
cmp al, 9
je 0x4184a2
test al, al
jne 0x4184bd
mov dword [esi + 0x174], edi
jmp 0x4196a2
mov eax, ecx
lea esi, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x4184c2
sub eax, esi
mov dword [esp + 0x20], eax
inc eax
push eax
mov eax, dword [esp + 0x1c]
push ecx
push eax
call fcn.00487a80
mov esi, dword [esp + 0xe0c4]
add esp, 0xc
mov dword [esi + 0x174], edi
mov ecx, dword [esp + 0x18]
cmp byte [ecx], 0x7d
jne 0x4185d5
mov eax, dword [esi + 0x4c]
test eax, eax
je 0x4185d5
mov edx, dword [0x4a8978]
cmp dword [edx + 0x94], 0
jne 0x4185d5
cmp dword [esi + 0x168], 0
je 0x418550
mov eax, dword [esi + 0x16c]
mov dword [esi + 0x168], 0
test eax, eax
je 0x41858d
push eax
call fcn.00486eb8
mov eax, dword [esp + 0xe0bc]
add esp, 4
mov dword [eax + 0x16c], 0
jmp 0x41858d
mov esi, dword [esp + 0xe0b8]
dec eax
mov dword [esi + 0x4c], eax
mov edi, dword [esi + eax*4 + 0x50]
call fcn.0046d630
mov ecx, dword [esi + 0x4c]
mov eax, dword [esi + ecx*4 + 0x50]
mov edx, dword [eax]
push eax
mov eax, dword [edx + 8]
call eax
add esi, 0x64
push 0x2e
push esi
call fcn.004892fd
add esp, 8
test eax, eax
je 0x41858a
mov byte [eax], 0
jmp 0x41858d
mov byte [esi], 0
mov eax, dword [esp + 0x18]
mov cl, byte [eax + 1]
inc eax
cmp cl, 0x20
je 0x418591
cmp cl, 9
je 0x418591
mov dword [esp + 0x18], eax
test cl, cl
je 0x4196a2
lea edx, [eax + 1]
mov edi, edi
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4185b0
mov ecx, dword [esp + 0xe0b8]
sub eax, edx
mov dword [esp + 0x20], eax
mov dword [ecx + 0x374], 0
mov esi, ecx
jmp 0x418380
cmp dword [esi + 0x168], 0
je 0x4186b0
mov edx, dword [0x4a8978]
cmp dword [edx + 0x94], 0
jne 0x4186b0
mov esi, dword [esp + 0x18]
push 3
push 0x49d34c
push esi
call fcn.00487920
add esp, 0xc
test eax, eax
je 0x418625
push 3
push 0x49d350
push esi
call fcn.00487920
add esp, 0xc
test eax, eax
jne 0x41997b
mov ebx, dword [esp + 0x18]
lea esi, [ebx + 3]
lea esp, [esp]
mov al, byte [esi]
cmp al, 0x20
je 0x41863a
cmp al, 9
jne 0x41863d
inc esi
jmp 0x418630
mov al, byte [esi]
test al, al
je 0x418655
cmp al, 0x7b
jne 0x41997f
cmp byte [esi + 1], 0
jne 0x41997f
mov edi, dword [esp + 0xe0b8]
mov eax, dword [edi + 0x16c]
lea edx, [esp + 0x4160]
sub edx, eax
jmp 0x418670
mov cl, byte [eax]
mov byte [eax + edx], cl
inc eax
test cl, cl
jne 0x418670
lea eax, [esp + 0x4160]
push 0x2e
push eax
call fcn.00487e91
mov cl, byte [ebx]
mov byte [eax + 1], cl
mov edx, dword [edi + 0x174]
add esp, 8
cmp byte [esi], 0x7b
mov dword [esp + 0x50], edx
sete byte [esp + 0x1f]
mov dword [esp + 0x48], 0
jmp 0x4196a2
mov edi, dword [esp + 0x18]
lea ebx, [esp + 0x1f]
mov eax, edi
call fcn.004175d0
test al, al
je 0x4186f1
lea edx, [esp + 0x4160]
mov eax, edi
sub edx, edi
mov edi, edi
mov cl, byte [eax]
mov byte [eax + edx], cl
inc eax
test cl, cl
jne 0x4186d0
mov eax, dword [esi + 0x174]
mov dword [esp + 0x50], eax
mov dword [esp + 0x48], 0
jmp 0x4196a2
mov ecx, dword [0x4a8978]
cmp dword [ecx + 0x94], 0
jne 0x418898
lea edx, [esp + 0x1f]
push edx
mov eax, edi
call fcn.00417680
add esp, 4
test eax, eax
je 0x418741
lea edx, [esp + 0x4160]
sub edx, eax
mov cl, byte [eax]
mov byte [eax + edx], cl
inc eax
test cl, cl
jne 0x418720
mov eax, dword [esi + 0x174]
mov dword [esp + 0x50], eax
mov dword [esp + 0x48], 1
jmp 0x4196a2
cmp dword [esi + 0x4c], 0
je 0x418898
mov ebx, dword [esp + 0x18]
mov esi, ebx
movzx eax, byte [esi]
test eax, 0xffffff80
jne 0x41876d
push 0x107
push eax
call fcn.004883de
add esp, 8
test eax, eax
jne 0x41877b
mov al, byte [esi]
cmp al, 0x5f
je 0x41877b
cmp al, 0x7f
ja 0x41877b
cmp al, 0x2e
jne 0x41877e
inc esi
jmp 0x418751
cmp esi, ebx
jbe 0x418828
mov al, byte [esi]
cmp al, 0x20
je 0x418790
cmp al, 9
jne 0x418793
inc esi
jmp 0x418786
mov al, byte [esi]
cmp al, 0x3a
jne 0x4187bc
cmp byte [esi + 1], 0x3d
jne 0x4187bc
push 0
mov ecx, dword [esp + 0xe0bc]
push ebx
push ecx
call fcn.004202f0
test eax, eax
je 0x4193eb
jmp 0x4196a2
test al, al
je 0x4187ce
cmp al, 0x5b
je 0x4187ce
cmp al, 0x7b
jne 0x418828
cmp byte [esi + 1], 0
jne 0x418828
mov eax, ebx
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4187d3
sub eax, edx
cmp byte [eax + ebx - 1], 0x7b
sete cl
mov byte [esp + 0x1f], cl
test cl, cl
je 0x4187f4
dec eax
mov esi, ebx
call fcn.004141d0
lea edx, [esp + 0x4160]
mov eax, ebx
sub edx, ebx
nop
mov cl, byte [eax]
mov byte [eax + edx], cl
inc eax
test cl, cl
jne 0x418800
mov edx, dword [esp + 0xe0b8]
mov eax, dword [edx + 0x174]
mov dword [esp + 0x50], eax
mov dword [esp + 0x48], 2
jmp 0x4196a2
push 6
push 0x49b964
push ebx
call fcn.00487920
add esp, 0xc
test eax, eax
jne 0x418851
mov al, byte [ebx + 6]
cmp al, 0x20
je 0x418847
cmp al, 9
jne 0x418851
push 1
add ebx, 7
jmp 0x4187a1
cmp byte [ebx], 0x23
mov edi, dword [esp + 0xe0b8]
jne 0x41999e
mov esi, dword [edi + 0x174]
push ebx
push edi
call fcn.00419f40
test eax, eax
je 0x4193eb
cmp eax, 3
jne 0x41999e
mov edx, dword [esp + 0x64]
mov dword [edi + 0x170], edx
mov dword [edi + 0x174], esi
jmp 0x4196a2
mov edi, dword [esp + 0x18]
xor ebx, ebx
cmp byte [edi], 0x3a
mov dword [esp + 0x34], ebx
mov dword [esp + 0x30], ebx
jne 0x418993
mov cl, byte [edi + 1]
test cl, cl
je 0x418993
lea esi, [edi + 1]
mov dword [esp + 0x80], esi
cmp cl, 0x3a
je 0x4188e6
push 0x3a
push esi
call fcn.00487e91
mov ebp, eax
add esp, 8
cmp ebp, ebx
jne 0x4188df
mov dword [esp + 0x34], ebx
jmp 0x418993
inc ebp
mov dword [esp + 0x34], ebp
jmp 0x4188f8
cmp byte [edi + 2], bl
lea eax, [edi + 2]
je 0x418993
mov ebp, eax
mov dword [esp + 0x34], eax
cmp ebp, ebx
je 0x418993
mov bl, byte [0x4acacf]
mov byte [esp + 0x27], bl
mov edi, esi
cmp esi, ebp
jae 0x418947
movzx esi, byte [edi]
test esi, 0xffffff80
jne 0x41892d
push 2
push esi
call fcn.004883de
add esp, 8
test eax, eax
je 0x41892d
and esi, 0xffffffdf
mov eax, esi
cmp al, 0x58
je 0x41893a
inc edi
cmp edi, ebp
jb 0x418910
jmp 0x418947
cmp byte [edi + 1], 0x30
setne byte [esp + 0x27]
mov bl, byte [esp + 0x27]
mov edi, ebp
lea esp, [esp]
mov al, byte [edi]
test al, al
je 0x41897c
jmp 0x418960
cmp al, byte [0x4a88e3]
je 0x4189f9
cmp al, 0x3a
je 0x4189f9
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x418960
cmp dword [esp + 0x30], 0
jne 0x418abb
mov edi, dword [esp + 0x18]
mov dword [esp + 0x34], 0
push 0x49d298
push edi
call fcn.00487fd2
mov edi, eax
add esp, 8
mov dword [esp + 0x30], edi
test edi, edi
je 0x419256
cmp edi, dword [esp + 0x18]
jne 0x4189c0
cmp byte [edi + 2], 0x3a
jne 0x4189c0
inc edi
mov dword [esp + 0x30], edi
mov ecx, dword [esp + 0x18]
mov esi, edi
cmp edi, ecx
jbe 0x4189df
lea ebx, [ebx]
mov al, byte [esi]
cmp al, 0x20
je 0x4189da
cmp al, 9
jne 0x4189df
dec esi
cmp esi, ecx
ja 0x4189d0
mov bl, byte [esi]
mov byte [esi], 0
mov eax, ecx
mov cl, byte [eax]
cmp cl, 0x20
je 0x4189f6
cmp cl, 9
jne 0x418a88
inc eax
jmp 0x4189e6
mov al, byte [edi]
test al, al
je 0x41897c
lea esi, [edi + 1]
cmp al, 0x3a
jne 0x418a22
cmp byte [esi], al
jne 0x418a82
mov dword [esp + 0x30], edi
mov edi, esi
test bl, bl
jne 0x41897c
inc edi
jmp 0x418950
movsx eax, byte [esi]
add eax, 0xffffff9f
cmp eax, 0x15
ja case.0x418a34.99
movzx eax, byte [eax + 0x419c44]
jmp dword [eax*4 + 0x419c24]
mov byte [esi], 7
jmp case.0x418a34.99
mov byte [esi], 8
jmp case.0x418a34.99
mov byte [esi], 0xc
jmp case.0x418a34.99
mov byte [esi], 0xa
jmp case.0x418a34.99
mov byte [esi], 0xd
jmp case.0x418a34.99
mov byte [esi], 9
jmp case.0x418a34.99
mov byte [esi], 0xb
mov eax, esi
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x418a61
sub eax, edx
inc eax
push eax
push esi
push edi
call fcn.00487a80
add esp, 0xc
cmp byte [edi], 0x3a
jne 0x418a82
cmp byte [esi], 0x3a
jne 0x418a82
mov edi, esi
inc edi
jmp 0x418950
push 0
push 0
push eax
call fcn.0040b6f0
add esp, 0xc
mov dword [esp + 0x84], eax
test eax, eax
je 0x418aab
cmp eax, 4
je 0x4193eb
jmp 0x418ab1
xor edi, edi
mov dword [esp + 0x30], edi
mov byte [esi], bl
test edi, edi
je 0x419256
mov ebp, dword [esp + 0x18]
cmp dword [esp + 0x30], ebp
jbe 0x41925a
mov ecx, dword [0x4a8978]
cmp dword [ecx + 0x94], 0
jne 0x4199b8
mov ebx, dword [esp + 0xe0b8]
mov eax, dword [ebx + 4]
test eax, eax
je 0x418af3
cmp byte [eax], 0x1a
je 0x4199d7
mov edi, dword [esp + 0x30]
mov byte [edi], 0
add edi, 2
cmp dword [esp + 0x34], 0
mov dword [esp + 0x30], edi
jne 0x418f4b
cmp byte [edi], 0
je 0x418b45
mov ecx, edi
mov al, byte [ecx]
cmp al, 0x20
je 0x418b1d
cmp al, 9
jne 0x418b20
inc ecx
jmp 0x418b13
mov edx, ecx
sub edx, edi
je 0x418b45
mov eax, ecx
lea esi, [eax + 1]
jmp 0x418b30
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x418b30
sub eax, esi
inc eax
push eax
push ecx
push edi
call fcn.00487a80
add esp, 0xc
mov esi, dword [esp + 0x30]
cmp byte [esi], 0
mov ebp, esi
je 0x418f43
cmp byte [esi + 1], 0
je 0x418cb7
mov al, byte [esi + 1]
xor dl, dl
xor cl, cl
test al, al
je 0x418c47
mov edi, dword [esp + 0x54]
cmp al, 0x20
je case.0x418b8f.34
movsx eax, byte [esi]
add eax, 0xffffffdf
cmp eax, 0x5d
ja case.0x418b8f.34
movzx eax, byte [eax + 0x419c7c]
jmp dword [eax*4 + 0x419c5c]
mov cl, 1
jmp case.0x418b8f.36
mov dl, 1
jmp case.0x418b8f.36
test cl, cl
jne 0x418bb4
test dl, dl
jne 0x418bb8
or edi, 1
jmp case.0x418b8f.36
test dl, dl
je 0x418bbf
or byte [esp + 0x17], 4
xor dl, dl
test cl, cl
je case.0x418b8f.36
or byte [esp + 0x17], 8
jmp 0x418c35
test cl, cl
jne 0x418bdb
test dl, dl
jne 0x418bdf
or edi, 2
jmp case.0x418b8f.36
test dl, dl
je 0x418be6
or byte [esp + 0x17], 1
xor dl, dl
test cl, cl
je case.0x418b8f.36
or byte [esp + 0x17], 2
jmp 0x418c35
test cl, cl
jne 0x418bfe
test dl, dl
jne 0x418c02
or edi, 4
jmp case.0x418b8f.36
test dl, dl
je 0x418c09
or byte [esp + 0x17], 0x10
xor dl, dl
test cl, cl
je case.0x418b8f.36
or byte [esp + 0x17], 0x20
jmp 0x418c35
test cl, cl
jne 0x418c21
test dl, dl
jne 0x418c25
or edi, 8
jmp case.0x418b8f.36
test dl, dl
je 0x418c2c
or byte [esp + 0x17], 0x40
xor dl, dl
test cl, cl
je case.0x418b8f.36
or byte [esp + 0x17], 0x80
xor cl, cl
mov al, byte [esi + 2]
inc esi
test al, al
jne 0x418b71
mov dword [esp + 0x54], edi
push 0
mov ebp, esi
call dword [sym.imp.USER32.DLL_GetKeyboardLayout]
push eax
push 0
push 0
mov eax, esi
call fcn.004132e0
add esp, 0xc
mov byte [esp + 0x1e], al
test al, al
je 0x418f43
mov bl, al
mov esi, dword [esp + 0x18]
cmp byte [esi], 0
je 0x418d7b
mov cl, byte [esi + 1]
mov eax, esi
inc esi
xor bl, bl
xor dl, dl
test cl, cl
je 0x418d75
mov edi, dword [esp + 0x58]
cmp cl, 0x20
je case.0x418cb0.34
movsx ecx, byte [eax]
add ecx, 0xffffffdf
cmp ecx, 0x5d
ja case.0x418cb0.34
movzx ecx, byte [ecx + 0x419cfc]
jmp dword [ecx*4 + 0x419cdc]
or bl, 0xff
mov byte [esp + 0x1e], bl
jmp 0x418c6e
mov dl, 1
jmp case.0x418cb0.36
mov bl, 1
jmp case.0x418cb0.36
test dl, dl
jne 0x418cde
test bl, bl
jne 0x418ce2
or edi, 1
jmp case.0x418cb0.36
test bl, bl
je 0x418ce9
or byte [esp + 0x16], 4
xor bl, bl
test dl, dl
je case.0x418cb0.36
or byte [esp + 0x16], 8
jmp 0x418d5f
test dl, dl
jne 0x418d05
test bl, bl
jne 0x418d09
or edi, 2
jmp case.0x418cb0.36
test bl, bl
je 0x418d10
or byte [esp + 0x16], 1
xor bl, bl
test dl, dl
je case.0x418cb0.36
or byte [esp + 0x16], 2
jmp 0x418d5f
test dl, dl
jne 0x418d28
test bl, bl
jne 0x418d2c
or edi, 4
jmp case.0x418cb0.36
test bl, bl
je 0x418d33
or byte [esp + 0x16], 0x10
xor bl, bl
test dl, dl
je case.0x418cb0.36
or byte [esp + 0x16], 0x20
jmp 0x418d5f
test dl, dl
jne 0x418d4b
test bl, bl
jne 0x418d4f
or edi, 8
jmp case.0x418cb0.36
test bl, bl
je 0x418d56
or byte [esp + 0x16], 0x40
xor bl, bl
test dl, dl
je case.0x418cb0.36
or byte [esp + 0x16], 0x80
xor dl, dl
mov eax, esi
mov cl, byte [eax + 1]
lea esi, [eax + 1]
test cl, cl
jne 0x418c91
mov dword [esp + 0x58], edi
mov bl, byte [esp + 0x1e]
mov esi, eax
push 0
call dword [sym.imp.USER32.DLL_GetKeyboardLayout]
push eax
push 0
push 0
mov eax, esi
call fcn.004132e0
add esp, 0xc
push 0x49c144
push esi
mov byte [esp + 0x2d], al
call fcn.00487fd2
mov dl, byte [esp + 0x2d]
add esp, 8
test eax, eax
setne byte [esp + 0x2f]
dec dl
cmp dl, 5
ja 0x418dbd
cmp byte [esp + 0x25], 3
jne 0x418dc7
mov al, byte [esp + 0x25]
add al, 0x66
cmp al, 5
ja 0x418dcb
mov al, 1
jmp 0x418dcd
xor al, al
lea ecx, [ebx - 1]
cmp cl, 5
ja 0x418dda
cmp bl, 3
jne 0x418de2
add bl, 0x66
cmp bl, 5
ja 0x418de9
mov byte [esp + 0x26], 1
jmp 0x418dee
mov byte [esp + 0x26], 0
test al, al
jne 0x418dfd
mov byte [esp + 0x42], 1
cmp byte [esp + 0x26], al
jne 0x418e02
mov byte [esp + 0x42], 0
mov eax, esi
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x418e07
sub eax, edx
cmp eax, 1
jne 0x418e28
movzx edx, byte [esi]
push edx
call dword [sym.imp.USER32.DLL_IsCharUpperA]
mov ecx, 0x49d3c8
test eax, eax
jne 0x418e2d
mov ecx, 0x49a8ad
cmp byte [esp + 0x2f], 0
mov eax, 0x49a8ad
jne 0x418e3e
mov eax, 0x49d1d0
mov edx, dword [esp + 0x18]
push edx
push ecx
push eax
push 0x49d3cc
mov esi, 0x20
lea edi, [esp + 0xc8]
call fcn.00473d20
push 0x1f
lea eax, [esp + 0xac]
push ebp
push eax
call fcn.00489e40
mov esi, dword [esp + 0x4c]
add esp, 0x1c
push 7
lea ecx, [esp + 0x7c]
push esi
push ecx
mov byte [esp + 0xc3], 0
call fcn.00489e40
mov edx, ebp
sub edx, esi
add esp, 0xc
mov byte [esp + 0x7f], 0
cmp edx, 8
jae 0x418ea2
lea eax, [esp + 0x78]
sub eax, esi
mov byte [eax + ebp], 0
cmp byte [esp + 0x78], 0
mov dword [esp + 0x5c], 0
jne 0x4196a2
mov al, byte [esp + 0x1e]
cmp al, 0xd
je 0x418f1a
cmp al, 0x13
jne 0x4196a2
movzx esi, byte [esp + 0x98]
test esi, 0xffffff80
jne 0x418ee7
push 2
push esi
call fcn.004883de
add esp, 8
test eax, eax
je 0x418ee7
and esi, 0xffffffdf
mov eax, esi
cmp al, 0x50
je 0x418f37
movzx esi, byte [esp + 0x98]
test esi, 0xffffff80
jne 0x418f0f
push 2
push esi
call fcn.004883de
add esp, 8
test eax, eax
je 0x418f0f
and esi, 0xffffffdf
mov eax, esi
cmp al, 0x42
je 0x418f37
jmp 0x4196ad
lea ecx, [esp + 0x98]
push 0x49b58c
push ecx
call fcn.00486ea1
add esp, 8
test eax, eax
jne 0x4196ad
mov ebx, dword [esp + 0xe0b8]
mov byte [esp + 0x1e], 0
mov ebp, dword [esp + 0x18]
mov edi, dword [esp + 0x30]
cmp byte [ebx + 0x178], 0
je 0x418f7e
push 0
push 0xff
push 0
push 0x67
push ebx
mov byte [ebx + 0x178], 0
call fcn.0041d9d0
test eax, eax
je 0x4193eb
mov dword [ebx + 0x374], 0
push 1
push ebx
mov eax, ebp
call fcn.0041b470
test eax, eax
je 0x4193eb
mov eax, dword [esp + 0x34]
test eax, eax
je 0x41908d
cmp byte [eax], 0
je 0x4199f9
cmp byte [esp + 0x27], 0
mov eax, 0x49a8ad
jne 0x418fb3
mov eax, edi
mov edx, dword [esp + 0x6c]
mov edi, dword [esp + 0x34]
push 0
push edx
push eax
mov eax, dword [esp + 0x8c]
push eax
push ecx
mov ecx, dword [ebx + 0x14]
mov eax, esp
mov dword [eax], ecx
mov edx, dword [ebx + 0x14]
mov eax, dword [edx + 4]
push eax
call fcn.0040c7e0
add esp, 0x18
test eax, eax
je 0x4193eb
mov ecx, dword [esp + 0x30]
cmp byte [ecx], 0
je 0x4196a2
cmp byte [esp + 0x27], 0
je 0x419073
mov edi, ecx
mov al, byte [ecx]
cmp al, 0x20
je 0x41900a
cmp al, 9
jne 0x41900d
inc ecx
jmp 0x419000
mov esi, dword [esp + 0xe0b8]
push 0
push 0
push 0
push 0
push 0
push 0
push ecx
mov ecx, esi
call fcn.0041b600
test eax, eax
je 0x4193eb
mov edx, dword [esi + 4]
mov al, byte [edx]
cmp al, 9
jb 0x41903d
cmp al, 0x20
jbe 0x419051
cmp al, 0x21
je 0x419051
cmp al, 0x69
jb 0x419049
cmp al, 0x6b
jbe 0x419051
cmp al, 0x6f
jb 0x41907a
cmp al, 0x71
ja 0x41907a
mov edx, dword [esp + 0x18]
push edx
push 0x49d400
mov ecx, esi
mov byte [edi - 2], 0x3a
call fcn.0042f2b0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xe0a4
ret 8
mov esi, dword [esp + 0xe0b8]
push 0
push 0
push 0
push 0x67
push esi
call fcn.0041d9d0
jmp 0x4187af
xor esi, esi
cmp byte [edi], 0
je 0x41917d
push 0x49bed4
push edi
call fcn.00486ea1
add esp, 8
test eax, eax
jne 0x4190b4
mov esi, 0x7ffe
jmp 0x419167
push 0x49bedc
push edi
call fcn.00486ea1
add esp, 8
test eax, eax
jne 0x4190d0
mov esi, 0x7ffd
jmp 0x419167
push 0x49bee8
push edi
call fcn.00486ea1
add esp, 8
test eax, eax
jne 0x4190ec
mov esi, 0x7ffc
jmp 0x419167
push 0x49bef4
push edi
call fcn.00486ea1
add esp, 8
test eax, eax
jne 0x419105
mov esi, 0x7ffb
jmp 0x419167
push 0x49bf04
push edi
call fcn.00486ea1
add esp, 8
test eax, eax
jne 0x41911e
mov esi, 0x7ffa
jmp 0x419167
xor esi, esi
push esi
push esi
push esi
push esi
push esi
push esi
push edi
mov ecx, ebx
call fcn.0041b600
test eax, eax
je 0x4193eb
mov eax, dword [ebx + 4]
mov al, byte [eax]
cmp al, 9
jb 0x419147
cmp al, 0x20
jbe 0x419a13
cmp al, 0x21
je 0x419a13
cmp al, 0x69
jb 0x41915b
cmp al, 0x6b
jbe 0x419a13
cmp al, 0x6f
jb 0x419167
cmp al, 0x71
jbe 0x419a13
push 0
push 0
push 0
push 0x67
push ebx
call fcn.0041d9d0
test eax, eax
je 0x4193eb
lea ecx, [esp + 0x47]
push ecx
lea edx, [esp + 0x78]
push edx
push ebp
call fcn.0040be00
mov edi, eax
add esp, 0xc
test edi, edi
je 0x4191f3
test si, si
je 0x4191a4
mov word [edi + 6], si
jmp 0x4196a2
mov eax, dword [edi + 0x20]
test eax, eax
je 0x4191c1
mov ecx, dword [0x4ac44c]
cmp dword [eax + 4], ecx
je 0x419a31
mov eax, dword [eax + 8]
test eax, eax
jne 0x4191b1
mov eax, dword [esp + 0x74]
push eax
mov eax, dword [ebx + 0x14]
call fcn.0040b5d0
test eax, eax
je 0x419a55
cmp byte [esp + 0x47], 0
jne 0x4191ea
cmp byte [0x4acadd], 0
je 0x4196a2
mov byte [edi + 0x14], 1
jmp 0x4196a2
mov eax, dword [ebx + 0x14]
mov ecx, dword [esp + 0x74]
mov edx, dword [eax + 4]
push ecx
push edx
push esi
push eax
xor bl, bl
call fcn.0040aeb0
add esp, 0x10
test eax, eax
jne 0x4196a2
cmp dword [esp + 0x84], 3
jne 0x4193eb
push ebp
push 0x49d440
mov esi, 0x80
lea edi, [esp + 0xe0]
call fcn.00473d20
fldz
fstp qword [esp]
mov eax, edi
push 0
push 0
push 0x10000
push eax
call fcn.00478840
add esp, 0x18
jmp 0x4196a2
mov ebp, dword [esp + 0x18]
mov edi, dword [esp + 0x20]
cmp byte [edi + ebp - 1], 0x3a
lea esi, [edi + ebp - 1]
jne 0x419606
cmp edi, 1
je 0x419a6f
mov al, byte [ebp]
mov ecx, ebp
test al, al
je 0x4192b1
mov dl, byte [0x4a83b3]
cmp al, 0x20
je 0x419606
cmp al, 9
je 0x419606
cmp al, dl
je 0x419606
cmp al, byte [0x4a88e3]
je 0x419606
mov al, byte [ecx + 1]
inc ecx
test al, al
jne 0x419285
cmp byte [edi + ebp - 2], 0x3a
jne 0x4192c1
cmp edi, 2
ja 0x419606
push 0x49ce38
push ebp
mov byte [esi], 0
call fcn.00486ea1
mov edi, dword [esp + 0xe0c0]
add esp, 8
test eax, eax
jne 0x419303
mov eax, dword [edi + 0x40]
test eax, eax
je 0x419303
mov eax, dword [eax + 0x10]
test eax, eax
je 0x419303
cmp byte [eax], 0x73
jne 0x419303
push 0
push 0
push 0
push 0x74
push edi
call fcn.0041d9d0
jmp 0x4187af
cmp byte [ebp], 0
je 0x4193eb
mov esi, dword [edi + 0x10]
test esi, esi
je 0x419330
mov eax, dword [esi + 4]
push ebp
push eax
call fcn.00486ea1
add esp, 8
test eax, eax
je 0x4193a7
mov esi, dword [esi + 0x10]
test esi, esi
jne 0x419314
cmp byte [ebp], 0
je 0x4194a4
mov eax, ebp
lea edx, [eax + 1]
nop
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x419340
sub eax, edx
mov ebp, eax
lea ebx, [ebp + 1]
lea ecx, [ebx - 1]
cmp ecx, 0x7fff
ja 0x4193d7
xor edi, edi
cmp dword [0x4ad204], edi
jne 0x4193fa
push 0x10
call fcn.00488595
mov esi, eax
add esp, 4
cmp esi, edi
je 0x41939d
push 0x8000
mov dword [esi + 0xc], edi
call fcn.00487059
add esp, 4
mov dword [esi + 4], eax
mov dword [esi], eax
cmp eax, edi
jne 0x4193b9
push esi
call fcn.00486c18
add esp, 4
mov esi, dword [0x4ad208]
xor eax, eax
jmp 0x4193ce
push ebp
push 0x49d770
mov ecx, edi
call fcn.0042f2b0
jmp 0x4187af
inc dword [0x4ad210]
mov dword [esi + 8], 0x8000
mov dword [0x4ad208], esi
mov eax, esi
mov dword [0x4ad204], eax
cmp eax, edi
jne 0x419400
mov edx, dword [esp + 0x18]
push edx
push 0x49c0a0
mov ecx, 0x4ad268
call fcn.0042f2b0
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xe0a4
ret 8
mov esi, dword [0x4ad208]
cmp ebx, dword [esi + 8]
jbe 0x419461
push 0x10
call fcn.00488595
mov esi, eax
add esp, 4
cmp esi, edi
je 0x419437
push 0x8000
mov dword [esi + 0xc], edi
call fcn.00487059
add esp, 4
mov dword [esi + 4], eax
mov dword [esi], eax
cmp eax, edi
jne 0x419441
push esi
call fcn.00486c18
add esp, 4
mov esi, dword [0x4ad208]
xor eax, eax
jmp 0x419456
inc dword [0x4ad210]
mov dword [esi + 8], 0x8000
mov dword [0x4ad208], esi
mov eax, esi
mov dword [esi + 0xc], eax
cmp eax, edi
je 0x4193d7
mov edi, dword [esi + 4]
mov eax, ebx
and eax, 3
mov dword [0x4ad20c], edi
je 0x419478
sub ebx, eax
lea eax, [ebx + 4]
jmp 0x41947a
mov eax, ebx
sub dword [esi + 8], eax
lea edx, [edi + eax]
mov dword [esi + 4], edx
test edi, edi
je 0x4193d7
test ebp, ebp
je 0x41949e
mov eax, dword [esp + 0x18]
push ebp
push eax
push edi
call fcn.0048f790
add esp, 0xc
mov byte [edi + ebp], 0
jmp 0x4194af
mov esi, dword [0x4ad208]
mov edi, 0x49a8ad
cmp dword [0x4ad204], 0
jne 0x41951a
push 0x10
call fcn.00488595
mov esi, eax
add esp, 4
test esi, esi
je 0x4194ee
push 0x8000
mov dword [esi + 0xc], 0
call fcn.00487059
add esp, 4
mov dword [esi + 4], eax
mov dword [esi], eax
test eax, eax
jne 0x4194f8
push esi
call fcn.00486c18
add esp, 4
mov esi, dword [0x4ad208]
xor eax, eax
jmp 0x41950d
inc dword [0x4ad210]
mov dword [esi + 8], 0x8000
mov dword [0x4ad208], esi
mov eax, esi
mov dword [0x4ad204], eax
test eax, eax
je 0x4195bf
cmp dword [esi + 8], 0x14
jae 0x41957c
push 0x10
call fcn.00488595
mov esi, eax
add esp, 4
test esi, esi
je 0x419556
push 0x8000
mov dword [esi + 0xc], 0
call fcn.00487059
add esp, 4
mov dword [esi + 4], eax
mov dword [esi], eax
test eax, eax
jne 0x419560
push esi
call fcn.00486c18
add esp, 4
mov esi, dword [0x4ad208]
xor eax, eax
jmp 0x419575
inc dword [0x4ad210]
mov dword [esi + 8], 0x8000
mov dword [0x4ad208], esi
mov eax, esi
mov dword [esi + 0xc], eax
test eax, eax
je 0x4195bf
mov eax, dword [esi + 4]
add dword [esi + 8], 0xffffffec
lea ecx, [eax + 0x14]
mov dword [0x4ad20c], eax
mov dword [esi + 4], ecx
test eax, eax
je 0x4195bf
mov ecx, dword [esp + 0xe0b8]
xor edx, edx
mov dword [eax], 0x49efe8
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 0x4195da
mov dword [ecx + 0x10], eax
jmp 0x4195e0
mov ecx, dword [esp + 0xe0b8]
push 0x49a8ad
push 0x49c0a0
call fcn.0042f2b0
jmp 0x4187af
mov edx, dword [ecx + 0x14]
mov dword [edx + 0x10], eax
mov ebx, ecx
push 0x49d784
push edi
mov dword [ebx + 0x14], eax
call fcn.00486ea1
add esp, 8
test eax, eax
jne 0x4196a2
mov dword [ebx + 0x5c4], esi
jmp 0x4196a2
cmp byte [ebp], 0x23
mov edi, dword [esp + 0xe0b8]
jne 0x41963f
mov esi, dword [edi + 0x174]
push ebp
push edi
call fcn.00419f40
test eax, eax
je 0x4193eb
cmp eax, 3
jne 0x41963f
mov eax, dword [esp + 0x64]
mov dword [edi + 0x170], eax
mov dword [edi + 0x174], esi
jmp 0x4196a2
mov al, byte [ebp]
cmp al, 0x7b
je 0x419663
cmp al, 0x7d
je 0x419663
push 0
push 0
push 0
push 0
push 0
push 0
push ebp
mov ecx, edi
call fcn.0041b600
jmp 0x4187af
cmp al, 0x7b
push 0
setne cl
push 0
add cl, 0x75
movzx edx, cl
push 0
push edx
push edi
call fcn.0041d9d0
test eax, eax
je 0x4193eb
lea eax, [ebp + 1]
mov cl, byte [eax]
cmp cl, 0x20
je 0x419692
cmp cl, 9
jne 0x419695
inc eax
jmp 0x419686
cmp byte [eax], 0
mov dword [esp + 0x18], eax
jne 0x41980d
cmp byte [esp + 0x1e], 0
je case.0x4196c7.4
mov eax, dword [esp + 0x5c]
inc eax
mov dword [esp + 0x5c], eax
dec eax
cmp eax, 9
ja case.0x4196c7.4
movzx eax, byte [eax + 0x419d70]
jmp dword [eax*4 + 0x419d5c]
mov edx, dword [esp + 0x18]
lea ecx, [esp + 0xb8]
push ecx
push 0x49d4d4
push edx
call fcn.004873d8
add esp, 0xc
mov dword [esp + 0x20], eax
jmp 0x418894
mov ax, word [0x49bed0]
mov edi, dword [esp + 0x18]
cmp byte [esp + 0x26], 0
mov esi, dword [esp + 0xe0b8]
mov word [edi], ax
mov cl, byte [0x49bed2]
push 0
setne al
push 1
add al, 0xc3
mov byte [edi + 2], cl
lea edx, [esp + 0x20]
movzx ecx, al
push edx
push ecx
push esi
call fcn.0041d9d0
cmp byte [esp + 0x42], 0
je 0x419764
lea edx, [esp + 0x98]
push edx
push 0x49d4dc
push edi
call fcn.004873d8
add esp, 0xc
mov dword [esp + 0x20], eax
mov dword [esp + 0x5c], 9
jmp 0x418894
mov esi, dword [esp + 0xe0b8]
mov edi, dword [esp + 0x18]
mov al, byte [esp + 0x1e]
mov ecx, 0x49a8ad
cmp al, 0x12
je 0x419779
cmp al, 0xa3
jbe 0x419799
cmp al, 0xa5
ja 0x419799
movzx eax, byte [esp + 0x25]
sub eax, 0x11
je 0x419794
sub eax, 0x91
je 0x419794
dec eax
jne 0x419799
mov ecx, 0x49d504
jmp 0x419799
mov ecx, 0x49d4f8
lea eax, [esp + 0x98]
push eax
lea edx, [esp + 0x7c]
push edx
push ecx
push 0x49d510
xor ebx, ebx
push edi
mov dword [esi + 0x374], ebx
call fcn.004873d8
add esp, 0x14
push ebx
push 1
lea eax, [esp + 0x20]
push eax
push 0x41
push esi
call fcn.0041d9d0
test eax, eax
je 0x4193eb
push ebx
push ebx
push ebx
push 0x67
push esi
call fcn.0041d9d0
lea ecx, [esp + 0xb8]
push ecx
push 0x49d528
push edi
mov dword [esi + 0x374], ebx
call fcn.004873d8
add esp, 0xc
mov dword [esp + 0x20], eax
mov dword [esp + 0x5c], 2
jmp 0x418894
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x419810
mov esi, dword [esp + 0xe0b8]
sub eax, edx
mov dword [esp + 0x20], eax
mov dword [esi + 0x374], 0
jmp 0x418377
mov dx, word [0x49bed0]
mov edi, dword [esp + 0x18]
cmp byte [esp + 0x26], 0
mov esi, dword [esp + 0xe0b8]
mov word [edi], dx
mov al, byte [0x49bed2]
push 0
setne dl
push 1
add dl, 0xc3
mov byte [edi + 2], al
lea ecx, [esp + 0x20]
movzx eax, dl
push ecx
push eax
push esi
call fcn.0041d9d0
lea ecx, [esp + 0x98]
push ecx
push 0x49d530
push edi
call fcn.004873d8
add esp, 0xc
push 0
push 1
lea edx, [esp + 0x20]
push edx
push 0x41
push esi
call fcn.0041d9d0
push 0
push 0
push 0
push 0x67
push esi
call fcn.0041d9d0
mov byte [esp + 0x1e], 0
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x4c]
mov ebx, dword [esp + 0xe0b8]
lea edx, [esp + 0x158]
mov dword [esp + 0x18], eax
mov dword [esp + 0x20], ecx
cmp eax, edx
jne 0x4198da
lea eax, [esp + 0xa0a8]
mov dword [esp + 0x28], eax
jmp 0x4179f0
lea ecx, [esp + 0x158]
mov dword [esp + 0x28], ecx
jmp 0x4179f0
mov ecx, dword [esp + 0xe0b8]
push eax
push 0x49d2a4
call fcn.0042f2b0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xe0a4
ret 8
lea ecx, [esp + 0x4160]
push ecx
push 0x49d30c
mov ecx, esi
call fcn.0042f2b0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xe0a4
ret 8
cmp dword [esi + 0x168], 0
mov eax, 0x49d30c
jne 0x41993d
mov eax, 0x49d318
lea edx, [esp + 0x4160]
push edx
push eax
mov ecx, esi
call fcn.0042f2b0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xe0a4
ret 8
lea eax, [esp + 0x4160]
push eax
push 0x49d2e8
mov ecx, esi
call fcn.0042f2b0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xe0a4
ret 8
mov ebx, dword [esp + 0x18]
mov ecx, dword [esp + 0xe0b8]
push ebx
push 0x49d354
call fcn.0042f2b0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xe0a4
ret 8
push ebx
push 0x49d318
mov ecx, edi
call fcn.0042f2b0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xe0a4
ret 8
mov ecx, dword [esp + 0xe0b8]
push ebp
push 0x49d378
call fcn.0042f2b0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xe0a4
ret 8
mov ecx, eax
push ebp
mov dword [ebx + 0x374], ecx
push 0x49d3b0
mov ecx, ebx
call fcn.0042f2b0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xe0a4
ret 8
push ebp
push 0x49d3d4
mov ecx, ebx
call fcn.0042f2b0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xe0a4
ret 8
push ebp
push 0x49d400
mov ecx, ebx
mov byte [edi - 2], 0x3a
call fcn.0042f2b0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xe0a4
ret 8
push ebp
push 0x49d428
mov ecx, ebx
mov dword [ebx + 0x374], 0
call fcn.0042f2b0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xe0a4
ret 8
push ebp
push 0x49c0a0
mov ecx, ebx
call fcn.0042f2b0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xe0a4
ret 8
mov ecx, dword [esp + 0xe0b8]
push ebp
push 0x49d4a4
call fcn.0042f2b0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xe0a4
ret 8
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0xe0b8]
push eax
push 0x49d2dc
call fcn.0042f2b0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xe0a4
ret 8
mov ecx, dword [esp + 0xe0b8]
push ebx
push 0x49d2a4
call fcn.0042f2b0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xe0a4
ret 8
cmp byte [esp + 0x4160], 0
je 0x419b4c
cmp dword [esp + 0x48], 0
mov ecx, dword [esp + 0x50]
mov esi, dword [ebx + 0x174]
mov dword [ebx + 0x174], ecx
je 0x419b23
cmp byte [esp + 0x1f], 0
mov eax, 0x49d540
jne 0x419b06
mov eax, 0x49d30c
lea edx, [esp + 0x4160]
push edx
push eax
mov ecx, ebx
call fcn.0042f2b0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xe0a4
ret 8
push 0
push 0
push 0
push 0
push 0
push 3
lea eax, [esp + 0x4178]
push eax
mov ecx, ebx
call fcn.0041b600
test eax, eax
je 0x4193eb
mov dword [ebx + 0x174], esi
cmp dword [ebx + 0x4c], 0
je 0x419b76
cmp dword [esp + 0x64], 0
jne 0x419b76
lea ecx, [ebx + 0x64]
push ecx
push 0x49d540
mov ecx, ebx
call fcn.0042f2b0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xe0a4
ret 8
pop edi
pop esi
mov eax, 1
add dword [ebx + 0x174], eax
pop ebp
pop ebx
add esp, 0xe0a4
ret 8