Function at 0x1003c3f2
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10067313
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
sub esp, 0x7dc
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x2d8], 0x1bda
mov dword [ebp - 0x4ec], 0x1000aedc
cmp dword [ebp - 0x2d8], 0x1d60
jle 0x1003c519
and dword [ebp - 0xc0], 0
jmp 0x1003c451
mov eax, dword [ebp - 0xc0]
inc eax
mov dword [ebp - 0xc0], eax
cmp dword [ebp - 0xc0], 0x7109
jge 0x1003c519
and dword [ebp - 0x114], 0
jmp 0x1003c477
mov eax, dword [ebp - 0x114]
inc eax
mov dword [ebp - 0x114], eax
cmp dword [ebp - 0x114], 0x1452
jge 0x1003c514
and dword [ebp - 0xcc], 0
jmp 0x1003c49d
mov eax, dword [ebp - 0xcc]
inc eax
mov dword [ebp - 0xcc], eax
cmp dword [ebp - 0xcc], 0x316c
jge 0x1003c50f
and dword [ebp - 0x13c], 0
jmp 0x1003c4bf
mov eax, dword [ebp - 0x13c]
inc eax
mov dword [ebp - 0x13c], eax
cmp dword [ebp - 0x13c], 0x31f3
jge 0x1003c50d
mov eax, dword [ebp - 0xc0]
cdq
idiv dword [ebp - 0x114]
imul edx, dword [ebp - 0xcc]
imul edx, dword [ebp - 0x13c]
mov eax, edx
cdq
mov dword [ebp - 0x478], eax
mov dword [ebp - 0x474], edx
push dword [ebp - 0x474]
push dword [ebp - 0x478]
mov ecx, 0x10610838
call fcn.100130d2
jmp 0x1003c4b2
jmp 0x1003c490
jmp 0x1003c46a
jmp 0x1003c444
and dword [ebp - 4], 0
cmp dword [ebp - 0x2d8], 0x1819
jge 0x1003c539
mov edx, dword [ebp - 0x4ec]
mov ecx, 0x10610838
call fcn.100159ac
jmp 0x1003c555
or dword [ebp - 4], 0xffffffff
jmp 0x1003c55f
mov dword [ebp - 0x24], 7
mov dword [ebp - 0x44], 0xfffffffc
mov dword [ebp - 0x84], 0x3cf81320
push 2
lea ecx, [ebp - 0x54c]
call fcn.100132fd
mov dword [ebp - 4], 2
push 0
lea eax, [ebp - 0x54c]
push eax
lea eax, [ebp - 0x94]
push eax
push 0x69a2
push 0x184d
push 0x733e
call fcn.100468b9
add esp, 0x18
mov dword [ebp - 0x94], 0
jmp 0x1003c5cb
mov eax, dword [ebp - 0x94]
inc eax
mov dword [ebp - 0x94], eax
cmp dword [ebp - 0x94], 1
jge 0x1003c5e7
mov eax, dword [ebp - 0x94]
mov dword [ebp + eax*4 - 0x9c], 1
jmp 0x1003c5be
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x608], eax
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x72c], eax
mov eax, dword [ebp - 0x24]
cmp eax, dword [ebp - 0x24]
jle 0x1003c613
mov dword [ebp - 0x3b8], 1
jmp 0x1003c61a
and dword [ebp - 0x3b8], 0
cmp dword [ebp - 0x3b8], 0
je 0x1003c635
cmp dword [ebp - 0x44], 0
je 0x1003c635
mov dword [ebp - 0x45c], 1
jmp 0x1003c63c
and dword [ebp - 0x45c], 0
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x698], eax
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x84], eax
mov eax, dword [ebp - 0x24]
imul eax, dword [ebp - 0x84]
cmp eax, 0x6273
je 0x1003c66b
mov dword [ebp - 0x3cc], 1
jmp 0x1003c672
and dword [ebp - 0x3cc], 0
cmp dword [ebp - 0x3cc], 0x943e2f7c
jne 0x1003c68a
mov dword [ebp - 0x3d4], 1
jmp 0x1003c691
and dword [ebp - 0x3d4], 0
cmp dword [ebp - 0x3d4], 0
jne 0x1003c6a6
mov dword [ebp - 0x3dc], 1
jmp 0x1003c6ad
and dword [ebp - 0x3dc], 0
xor eax, eax
sub eax, dword [ebp - 0x3dc]
cmp eax, dword [ebp - 0x24]
jl 0x1003c6c6
mov dword [ebp - 0x3b0], 1
jmp 0x1003c6cd
and dword [ebp - 0x3b0], 0
cmp dword [ebp - 0x3b0], 1
je 0x1003c6e2
mov dword [ebp - 0x17c], 1
jmp 0x1003c6e9
and dword [ebp - 0x17c], 0
push 0
lea ecx, [ebp - 0x54c]
call fcn.10013375
mov ecx, dword [ebp - 0x17c]
mov dword [eax], ecx
mov eax, dword [ebp - 0x24]
cmp dword [ebp - 0x17c], eax
jle 0x1003c719
xor eax, eax
je 0x1003c719
mov dword [ebp - 0x1f0], 1
jmp 0x1003c720
and dword [ebp - 0x1f0], 0
mov eax, dword [ebp - 0x1f0]
sub eax, 0x17c7
cmp eax, 0xfffffffd
jbe 0x1003c73c
mov dword [ebp - 0x2e4], 1
jmp 0x1003c743
and dword [ebp - 0x2e4], 0
mov eax, dword [ebp - 0x24]
cmp dword [ebp - 0x2e4], eax
jg 0x1003c75a
mov dword [ebp - 0x1f4], 1
jmp 0x1003c761
and dword [ebp - 0x1f4], 0
push 4
pop eax
imul eax, eax, 0
mov ecx, dword [ebp - 0x1f4]
mov dword [ebp + eax - 0x9c], ecx
mov dword [ebp - 0x44], 0
jmp 0x1003c784
mov eax, dword [ebp - 0x44]
inc eax
mov dword [ebp - 0x44], eax
cmp dword [ebp - 0x44], 0x15
jge 0x1003c8c8
mov dword [ebp - 0x700], 0x767dbf12
mov dword [ebp - 0x464], 0xffffffff
call fcn.1003be39
mov eax, dword [ebp - 0x84]
mov dword [ebp - 0x84], eax
cmp dword [ebp - 0x84], 0x7f45
jle 0x1003c7cb
mov dword [ebp - 0x39c], 1
jmp 0x1003c7d2
and dword [ebp - 0x39c], 0
mov eax, dword [ebp - 0x39c]
dec eax
push 4
pop ecx
imul ecx, ecx, 0
mov ecx, dword [ebp + ecx - 0x9c]
sub ecx, eax
cmp ecx, dword [ebp - 0x24]
jle 0x1003c7f9
mov dword [ebp - 0x1fc], 1
jmp 0x1003c800
and dword [ebp - 0x1fc], 0
cmp dword [ebp - 0x1fc], 0xfd39ef5b
ja 0x1003c81e
cmp dword [ebp - 0x44], 0
je 0x1003c81e
mov dword [ebp - 0x2ec], 1
jmp 0x1003c825
and dword [ebp - 0x2ec], 0
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x9c]
cmp eax, dword [ebp - 0x2ec]
jle 0x1003c84c
mov eax, 0x4ade
test eax, eax
jne 0x1003c84c
and dword [ebp - 0x204], 0
jmp 0x1003c856
mov dword [ebp - 0x204], 1
push 4
pop eax
imul eax, eax, 0
mov esi, dword [ebp + eax - 0x9c]
push 0
lea ecx, [ebp - 0x54c]
call fcn.10013375
mov ecx, dword [ebp - 0x204]
add ecx, dword [eax]
cmp ecx, esi
jle 0x1003c888
mov dword [ebp - 0x364], 1
jmp 0x1003c88f
and dword [ebp - 0x364], 0
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x9c]
cmp dword [ebp - 0x364], eax
je 0x1003c8b0
mov dword [ebp - 0x20c], 1
jmp 0x1003c8b7
and dword [ebp - 0x20c], 0
mov eax, dword [ebp - 0x20c]
mov dword [ebp - 0x464], eax
jmp 0x1003c77d
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x54c]
call fcn.10013359
mov dword [ebp - 0xb0], 1
mov dword [ebp - 0x14], 0x897a4a12
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x58], 1
mov dword [ebp - 0x50], 0xd5ec
mov dword [ebp - 0x25c], 0xe816884
mov dword [ebp - 0xd4], 0
jmp 0x1003c920
mov eax, dword [ebp - 0xd4]
inc eax
mov dword [ebp - 0xd4], eax
cmp dword [ebp - 0xd4], 3
jge 0x1003c93c
mov eax, dword [ebp - 0xd4]
mov dword [ebp + eax*4 - 0x16c], 3
jmp 0x1003c913
mov dword [ebp - 0x14], 2
jmp 0x1003c94c
mov eax, dword [ebp - 0x14]
dec eax
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jl 0x1003cb70
mov dword [ebp - 0x36c], 0x44ad
mov dword [ebp - 0x214], 0xfffffffa
mov eax, dword [ebp - 0x14]
cmp dword [ebp + eax*4 - 0x16c], 0xae0fc36f
jbe 0x1003c986
mov dword [ebp - 0x2f4], 1
jmp 0x1003c98d
and dword [ebp - 0x2f4], 0
mov eax, dword [ebp - 0x36c]
mov ecx, dword [ebp - 0x2f4]
lea eax, [eax + ecx*4]
mov dword [ebp - 0x214], eax
mov eax, dword [ebp - 0x214]
mov dword [ebp - 0x6a0], eax
push 4
pop eax
shl eax, 1
mov eax, dword [ebp + eax - 0x16c]
mov dword [ebp - 0x714], eax
mov eax, 0xfff9
neg eax
je 0x1003c9d9
xor eax, eax
je 0x1003c9d9
mov dword [ebp - 0x3bc], 1
jmp 0x1003c9e0
and dword [ebp - 0x3bc], 0
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0x3bc]
jle 0x1003c9f7
mov dword [ebp - 0x21c], 1
jmp 0x1003c9fe
and dword [ebp - 0x21c], 0
mov eax, dword [ebp - 0x14]
mov eax, dword [ebp + eax*4 - 0x16c]
add eax, 0x658cc1cc
imul eax, dword [ebp - 0x21c]
cmp eax, dword [ebp - 0x14]
jle 0x1003ca25
mov dword [ebp - 0x2fc], 1
jmp 0x1003ca2c
and dword [ebp - 0x2fc], 0
push 4
pop eax
imul eax, eax, 0
mov ecx, dword [ebp - 0x2fc]
sub ecx, dword [ebp + eax - 0x16c]
imul ecx, dword [ebp - 0x14]
mov dword [ebp - 0x34], ecx
cmp dword [ebp - 0x34], 7
ja 0x1003ca58
mov dword [ebp - 0x224], 1
jmp 0x1003ca5f
and dword [ebp - 0x224], 0
mov eax, dword [ebp - 0x224]
mov dword [ebp - 0x58], eax
cmp dword [ebp - 0x50], 0
je 0x1003cb34
push 4
pop eax
imul eax, eax, 0
cmp dword [ebp + eax - 0x16c], 0x7018
mov eax, dword [ebp - 0x36c]
cmp eax, dword [ebp - 0x34]
jne 0x1003ca9a
mov dword [ebp - 0x22c], 1
jmp 0x1003caa1
and dword [ebp - 0x22c], 0
mov eax, dword [ebp - 0x34]
sub eax, dword [ebp - 0x22c]
je 0x1003cac5
mov eax, dword [ebp - 0x14]
cmp dword [ebp + eax*4 - 0x16c], 0
je 0x1003cac5
mov dword [ebp - 0x304], 1
jmp 0x1003cacc
and dword [ebp - 0x304], 0
mov eax, dword [ebp - 0x14]
mov eax, dword [ebp + eax*4 - 0x16c]
cmp dword [ebp - 0x304], eax
jge 0x1003caea
mov dword [ebp - 0x234], 1
jmp 0x1003caf1
and dword [ebp - 0x234], 0
mov eax, dword [ebp - 0x14]
cmp dword [ebp - 0x234], eax
je 0x1003cb08
mov dword [ebp - 0x46c], 1
jmp 0x1003cb0f
and dword [ebp - 0x46c], 0
mov eax, dword [ebp - 0x14]
mov eax, dword [ebp + eax*4 - 0x16c]
mov dword [ebp - 0x6a8], eax
cmp dword [ebp - 0x58], 0x9457720
je 0x1003cb34
mov dword [ebp - 0x3a4], 1
jmp 0x1003cb3b
and dword [ebp - 0x3a4], 0
mov eax, dword [ebp - 0x50]
cmp eax, dword [ebp - 0x3a4]
jle 0x1003cb58
mov eax, 0xf4f2
test eax, eax
jne 0x1003cb58
and dword [ebp - 0x23c], 0
jmp 0x1003cb62
mov dword [ebp - 0x23c], 1
mov eax, dword [ebp - 0x23c]
mov dword [ebp - 0x34], eax
jmp 0x1003c945
mov dword [ebp - 0x58], 2
jmp 0x1003cb80
mov eax, dword [ebp - 0x58]
dec eax
mov dword [ebp - 0x58], eax
cmp dword [ebp - 0x58], 0
jl 0x1003cd45
mov dword [ebp - 0x254], 2
mov dword [ebp - 0x14], 2
jmp 0x1003cba4
mov eax, dword [ebp - 0x14]
dec eax
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jl 0x1003cd31
mov dword [ebp - 0x30c], 0xfffffffe
mov dword [ebp - 0x19c], 0x14e288a3
mov dword [ebp - 0x34], 0
jmp 0x1003cbd2
mov eax, dword [ebp - 0x34]
inc eax
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 2
jg 0x1003cd2c
mov dword [ebp - 0x50], 2
jmp 0x1003cbec
mov eax, dword [ebp - 0x50]
dec eax
mov dword [ebp - 0x50], eax
cmp dword [ebp - 0x50], 0
jl 0x1003cd27
mov dword [ebp - 0x4f8], 0x95a2e206
mov eax, dword [ebp - 0x254]
mov dword [ebp - 0x30c], eax
mov eax, dword [ebp - 0x30c]
neg eax
cmp eax, dword [ebp - 0x19c]
jl 0x1003cc28
mov dword [ebp - 0x244], 1
jmp 0x1003cc2f
and dword [ebp - 0x244], 0
cmp dword [ebp - 0x244], 0x6d35
jle 0x1003cc47
mov dword [ebp - 0x374], 1
jmp 0x1003cc4e
and dword [ebp - 0x374], 0
mov eax, dword [ebp - 0x19c]
cmp dword [ebp - 0x374], eax
jle 0x1003cc68
mov dword [ebp - 0x24c], 1
jmp 0x1003cc6f
and dword [ebp - 0x24c], 0
mov eax, dword [ebp - 0x19c]
cmp dword [ebp - 0x24c], eax
jge 0x1003cc89
mov dword [ebp - 0x314], 1
jmp 0x1003cc90
and dword [ebp - 0x314], 0
mov eax, dword [ebp - 0x14]
mov eax, dword [ebp + eax*4 - 0x16c]
cmp dword [ebp - 0x314], eax
jg 0x1003ccae
mov dword [ebp - 0x3d0], 1
jmp 0x1003ccb5
and dword [ebp - 0x3d0], 0
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x254]
imul ecx, dword [ebp - 0x3d0]
cmp ecx, dword [ebp + eax*4 - 0x16c]
jle 0x1003ccda
mov dword [ebp - 0x31c], 1
jmp 0x1003cce1
and dword [ebp - 0x31c], 0
mov eax, dword [ebp - 0x14]
imul eax, dword [ebp + eax*4 - 0x16c], 0
mov dword [ebp - 0x25c], eax
mov eax, dword [ebp - 0x25c]
cmp eax, dword [ebp - 0x31c]
jle 0x1003cd0c
mov dword [ebp - 0x264], 1
jmp 0x1003cd13
and dword [ebp - 0x264], 0
mov eax, dword [ebp - 0x50]
add eax, dword [ebp - 0x264]
mov dword [ebp - 0x4f8], eax
jmp 0x1003cbe5
jmp 0x1003cbcb
jmp 0x1003cb9d
mov eax, dword [ebp - 0x58]
cmp dword [ebp + eax*4 - 0x16c], 0
je 0x1003cd40
jmp 0x1003cd45
jmp 0x1003cb79
mov eax, dword [ebp + 8]
mov eax, dword [eax + 4]
mov dword [ebp - 0x120], eax
mov dword [ebp - 0x37c], 0x42a7
mov dword [ebp - 0x500], 0x1000af30
cmp dword [ebp - 0x37c], 0x43f5
jle 0x1003cde8
and dword [ebp - 0x11c], 0
jmp 0x1003cd87
mov eax, dword [ebp - 0x11c]
inc eax
mov dword [ebp - 0x11c], eax
cmp dword [ebp - 0x11c], 0x73c5
jge 0x1003cde8
and dword [ebp - 0xdc], 0
jmp 0x1003cda9
mov eax, dword [ebp - 0xdc]
inc eax
mov dword [ebp - 0xdc], eax
cmp dword [ebp - 0xdc], 0x689c
jge 0x1003cde6
mov eax, dword [ebp - 0x11c]
or eax, dword [ebp - 0xdc]
cdq
mov dword [ebp - 0x484], eax
mov dword [ebp - 0x480], edx
push dword [ebp - 0x480]
push dword [ebp - 0x484]
mov ecx, 0x10610838
call fcn.100130d2
jmp 0x1003cd9c
jmp 0x1003cd7a
mov dword [ebp - 0x74], 1
mov dword [ebp - 4], 3
cmp dword [ebp - 0x37c], 0x3fba
jge 0x1003ce12
mov edx, dword [ebp - 0x500]
mov ecx, 0x10610838
call fcn.100159ac
jmp 0x1003ce2e
or dword [ebp - 4], 0xffffffff
jmp 0x1003ce38
mov dword [ebp - 0x184], 0x97412df3
mov dword [ebp - 0x324], 0xfffffffa
mov dword [ebp - 0x518], 0x5c7d8169
mov dword [ebp - 0x510], 0x50d5
mov dword [ebp - 0x74], 0x12
jmp 0x1003ce70
mov eax, dword [ebp - 0x74]
dec eax
mov dword [ebp - 0x74], eax
cmp dword [ebp - 0x74], 0xe
jne 0x1003cf46
mov dword [ebp - 0x26c], 1
push 2
lea ecx, [ebp - 0x5c8]
call fcn.100132fd
mov dword [ebp - 4], 5
mov dword [ebp - 0x508], 0x4c5530c4
mov dword [ebp - 0xb4], 0
jmp 0x1003cebb
mov eax, dword [ebp - 0xb4]
inc eax
mov dword [ebp - 0xb4], eax
cmp dword [ebp - 0xb4], 2
jge 0x1003cedd
push dword [ebp - 0xb4]
lea ecx, [ebp - 0x5c8]
call fcn.10013375
mov dword [eax], 0xb9725245
jmp 0x1003ceae
push 0x68c4
lea eax, [ebp - 0x508]
push eax
push 0x1379
lea eax, [ebp - 0x5c8]
push eax
lea eax, [ebp - 0x74]
push eax
push 0
lea eax, [ebp - 0x184]
push eax
lea eax, [ebp - 0x26c]
push eax
call fcn.10042eee
add esp, 0x20
lea eax, [ebp - 0x26c]
push eax
lea eax, [ebp - 0x74]
push eax
lea eax, [ebp - 0x324]
push eax
lea eax, [ebp - 0x184]
push eax
call fcn.1003be5f
add esp, 0x10
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x5c8]
call fcn.10013359
jmp 0x1003ce69
lea eax, [ebp - 0x510]
push eax
lea eax, [ebp - 0x184]
push eax
lea eax, [ebp - 0x518]
push eax
lea eax, [ebp - 0x324]
push eax
call fcn.1003bed9
add esp, 0x10
push 8
pop eax
shl eax, 0
mov ecx, dword [ebp + 8]
mov ecx, dword [ecx]
lea eax, [ecx + eax + 0x78]
mov dword [ebp - 0x294], eax
mov dword [ebp - 0x454], 0xfffffffb
mov dword [ebp - 0x410], 9
mov dword [ebp - 0x1c], 0
jmp 0x1003cfa3
mov eax, dword [ebp - 0x1c]
inc eax
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 1
jge 0x1003cfb9
mov eax, dword [ebp - 0x1c]
mov dword [ebp + eax*4 - 0x18c], 0
jmp 0x1003cf9c
mov dword [ebp - 0x1c], 0
jmp 0x1003cfc9
mov eax, dword [ebp - 0x1c]
inc eax
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 2
jge 0x1003cfdf
mov eax, dword [ebp - 0x1c]
mov dword [ebp + eax*4 - 0x1c0], 0
jmp 0x1003cfc2
mov dword [ebp - 0x1c], 0
jmp 0x1003cfef
mov eax, dword [ebp - 0x1c]
inc eax
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 2
jge 0x1003d005
mov eax, dword [ebp - 0x1c]
mov dword [ebp + eax*4 - 0x560], 0x1a796d40
jmp 0x1003cfe8
push 4
pop eax
imul eax, eax, 0
mov dword [ebp + eax - 0x1c0], 0
jmp 0x1003d033
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x1c0]
inc eax
push 4
pop ecx
imul ecx, ecx, 0
mov dword [ebp + ecx - 0x1c0], eax
push 4
pop eax
imul eax, eax, 0
cmp dword [ebp + eax - 0x1c0], 0
jg 0x1003d2a5
push 1
lea ecx, [ebp - 0x1d4]
call fcn.100132fd
mov dword [ebp - 4], 6
mov dword [ebp - 0x284], 0xfffffff6
lea eax, [ebp - 0x1d4]
push eax
lea eax, [ebp - 0x710]
push eax
call fcn.1003bff2
pop ecx
pop ecx
push 0
lea ecx, [ebp - 0x1d4]
call fcn.10013375
and dword [eax], 0
jmp 0x1003d0b0
push 0
lea ecx, [ebp - 0x1d4]
call fcn.10013375
mov dword [ebp - 0x274], eax
mov eax, dword [ebp - 0x274]
mov eax, dword [eax]
dec eax
mov ecx, dword [ebp - 0x274]
mov dword [ecx], eax
push 0
lea ecx, [ebp - 0x1d4]
call fcn.10013375
cmp dword [eax], 0
jl 0x1003d113
mov dword [ebp - 0x4cc], 0x835a
push 0
lea ecx, [ebp - 0x1d4]
call fcn.10013375
mov eax, dword [eax]
cmp dword [ebp + eax*4 - 0x18c], 0
je 0x1003d0e7
jmp 0x1003d113
push 0x528b
push 1
push 0
push 0x2415
lea eax, [ebp - 0x4cc]
push eax
push 0x7130
push 0x58fd
call fcn.10039792
add esp, 0x1c
jmp 0x1003d08c
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x1c0]
cmp dword [ebp + eax*4 - 0x18c], 0
je 0x1003d24f
push 4
pop eax
shl eax, 0
mov esi, dword [ebp + eax - 0x1c0]
push 0
lea ecx, [ebp - 0x1d4]
call fcn.10013375
cmp dword [eax], esi
jge 0x1003d158
mov dword [ebp - 0x3ac], 1
jmp 0x1003d15f
and dword [ebp - 0x3ac], 0
mov eax, dword [ebp - 0x454]
cmp dword [ebp - 0x3ac], eax
jg 0x1003d179
mov dword [ebp - 0x27c], 1
jmp 0x1003d180
and dword [ebp - 0x27c], 0
mov esi, dword [ebp - 0x27c]
add esi, 0x15cc5b2f
push 0
lea ecx, [ebp - 0x1d4]
call fcn.10013375
cmp dword [eax], esi
jge 0x1003d1a9
mov dword [ebp - 0x1b8], 1
jmp 0x1003d1b0
and dword [ebp - 0x1b8], 0
push 4
pop eax
imul eax, eax, 0
mov ecx, dword [ebp - 0x1b8]
mov dword [ebp + eax - 0x560], ecx
cmp dword [ebp - 0x1b8], 0
jne 0x1003d1d3
push 4
pop eax
test eax, eax
je 0x1003d1e8
mov eax, 0x2044
test eax, eax
je 0x1003d1e8
mov dword [ebp - 0x32c], 1
jmp 0x1003d1ef
and dword [ebp - 0x32c], 0
mov eax, dword [ebp - 0x32c]
mov dword [ebp - 0x284], eax
mov esi, dword [ebp - 0x284]
push 0
lea ecx, [ebp - 0x1d4]
call fcn.10013375
cmp dword [eax], esi
jle 0x1003d21e
mov dword [ebp - 0x384], 1
jmp 0x1003d225
and dword [ebp - 0x384], 0
push 0
lea ecx, [ebp - 0x1d4]
call fcn.10013375
mov ecx, dword [ebp - 0x384]
cmp ecx, dword [eax]
jne 0x1003d248
mov dword [ebp - 0x28c], 1
jmp 0x1003d24f
and dword [ebp - 0x28c], 0
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x1c0]
push 4
pop ecx
imul ecx, ecx, 0
mov ecx, dword [ebp + ecx - 0x560]
cmp ecx, dword [ebp + eax*4 - 0x18c]
je 0x1003d27e
mov dword [ebp - 0x334], 1
jmp 0x1003d285
and dword [ebp - 0x334], 0
mov eax, dword [ebp - 0x334]
mov dword [ebp - 0x410], eax
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1d4]
call fcn.10013359
jmp 0x1003d018
mov dword [ebp - 0x340], 0x5a4
mov dword [ebp - 0x40c], 0x1000af94
cmp dword [ebp - 0x340], 0x944
jle 0x1003d3af
push 0x1716
call dword [sym.imp.USER32.dll_GetKeyboardLayout]
and dword [ebp - 0x15c], 0
jmp 0x1003d2ea
mov eax, dword [ebp - 0x15c]
inc eax
mov dword [ebp - 0x15c], eax
cmp dword [ebp - 0x15c], 0x365f
jge 0x1003d3af
and dword [ebp - 0xe4], 0
jmp 0x1003d310
mov eax, dword [ebp - 0xe4]
inc eax
mov dword [ebp - 0xe4], eax
cmp dword [ebp - 0xe4], 0x71c1
jge 0x1003d3aa
and dword [ebp - 0x124], 0
jmp 0x1003d336
mov eax, dword [ebp - 0x124]
inc eax
mov dword [ebp - 0x124], eax
cmp dword [ebp - 0x124], 0x77fe
jge 0x1003d3a5
and dword [ebp - 0xec], 0
jmp 0x1003d358
mov eax, dword [ebp - 0xec]
inc eax
mov dword [ebp - 0xec], eax
cmp dword [ebp - 0xec], 0x4c0c
jge 0x1003d3a3
mov eax, dword [ebp - 0x15c]
imul eax, dword [ebp - 0xe4]
imul eax, dword [ebp - 0x124]
add eax, dword [ebp - 0xec]
cdq
mov dword [ebp - 0x490], eax
mov dword [ebp - 0x48c], edx
push dword [ebp - 0x48c]
push dword [ebp - 0x490]
mov ecx, 0x10610838
call fcn.100130d2
jmp 0x1003d34b
jmp 0x1003d329
jmp 0x1003d303
jmp 0x1003d2dd
mov eax, dword [ebp - 0x294]
cmp dword [eax + 4], 0
jbe 0x1003f337
mov dword [ebp - 0x8c], 0xfffffff6
mov dword [ebp - 0x6b0], 0xc5336de0
mov dword [ebp - 0x144], 0
jmp 0x1003d3ec
mov eax, dword [ebp - 0x144]
inc eax
mov dword [ebp - 0x144], eax
cmp dword [ebp - 0x144], 2
jge 0x1003d408
mov eax, dword [ebp - 0x144]
mov dword [ebp + eax*4 - 0x3f4], 0x477862fd
jmp 0x1003d3df
push 4
pop eax
shl eax, 0
mov dword [ebp + eax - 0x3f4], 4
jmp 0x1003d436
push 4
pop eax
shl eax, 0
mov eax, dword [ebp + eax - 0x3f4]
inc eax
push 4
pop ecx
shl ecx, 0
mov dword [ebp + ecx - 0x3f4], eax
push 4
pop eax
shl eax, 0
cmp dword [ebp + eax - 0x3f4], 0x13
jle 0x1003d538
mov dword [ebp - 0x12c], 0xde2167fa
mov dword [ebp - 0xf4], 0
jmp 0x1003d46d
mov eax, dword [ebp - 0xf4]
inc eax
mov dword [ebp - 0xf4], eax
cmp dword [ebp - 0xf4], 3
jge 0x1003d489
mov eax, dword [ebp - 0xf4]
mov dword [ebp + eax*4 - 0x76c], 0x67f5ed9a
jmp 0x1003d460
mov dword [ebp - 0x12c], 0xfffffffe
jmp 0x1003d4a2
mov eax, dword [ebp - 0x12c]
dec eax
mov dword [ebp - 0x12c], eax
cmp dword [ebp - 0x12c], 0xfffffff0
jge 0x1003d533
mov dword [ebp - 0xac], 0xffffffff
mov dword [ebp - 0xac], 0
jmp 0x1003d4d2
mov eax, dword [ebp - 0xac]
inc eax
mov dword [ebp - 0xac], eax
cmp dword [ebp - 0xac], 2
jg 0x1003d52e
push 0x7462
push 0x78ba
push 0
lea eax, [ebp - 0x8c]
push eax
call fcn.100404c9
add esp, 0x10
mov dword [ebp - 0x8c], 2
jmp 0x1003d50f
mov eax, dword [ebp - 0x8c]
dec eax
mov dword [ebp - 0x8c], eax
cmp dword [ebp - 0x8c], 0
jl 0x1003d52c
mov eax, dword [ebp - 0xac]
cmp dword [ebp + eax*4 - 0x76c], 0
je 0x1003d52a
jmp 0x1003d52c
jmp 0x1003d502
jmp 0x1003d4c5
jmp 0x1003d495
jmp 0x1003d41b
mov eax, dword [ebp - 0x294]
mov ecx, dword [ebp - 0x120]
add ecx, dword [eax]
mov dword [ebp - 0x70], ecx
mov dword [ebp - 0x154], 3
mov dword [ebp - 0x604], 0xfffffff6
mov dword [ebp - 0x60c], 0
mov dword [ebp - 0x614], 0xfffffffb
mov dword [ebp - 0x61c], 0xcc2fdcb
mov dword [ebp - 0x3c8], 0x5d367296
mov dword [ebp - 0xfc], 0
jmp 0x1003d59e
mov eax, dword [ebp - 0xfc]
inc eax
mov dword [ebp - 0xfc], eax
cmp dword [ebp - 0xfc], 4
jge 0x1003d5ba
mov eax, dword [ebp - 0xfc]
mov dword [ebp + eax*4 - 0x7ec], 3
jmp 0x1003d591
mov dword [ebp - 0x154], 0xa
jmp 0x1003d5d3
mov eax, dword [ebp - 0x154]
inc eax
mov dword [ebp - 0x154], eax
cmp dword [ebp - 0x154], 0x1a
je 0x1003d64b
mov dword [ebp - 0x65c], 0xfc558bac
mov dword [ebp - 0x664], 0x194ddbc3
mov dword [ebp - 0x66c], 0xe6e7f737
mov dword [ebp - 0x674], 0x4e76ab2a
mov dword [ebp - 0x104], 0
jmp 0x1003d61d
mov eax, dword [ebp - 0x104]
inc eax
mov dword [ebp - 0x104], eax
cmp dword [ebp - 0x104], 2
jge 0x1003d639
mov eax, dword [ebp - 0x104]
mov dword [ebp + eax*4 - 0x78c], 0x64ba8b35
jmp 0x1003d610
mov eax, dword [ebp - 0x3c8]
dec eax
mov dword [ebp - 0x3c8], eax
jmp 0x1003d5c6
jmp 0x1003d656
mov eax, dword [ebp - 0x70]
add eax, 0x14
mov dword [ebp - 0x70], eax
push dword [ebp - 0x70]
call fcn.100376e7
pop ecx
movzx eax, al
test eax, eax
jne 0x1003f337
mov eax, dword [ebp - 0x70]
cmp dword [eax + 0xc], 0
je 0x1003f337
mov dword [ebp - 0x67c], 0x27cb3f4f
mov dword [ebp - 0x684], 0x52061f66
mov dword [ebp - 0x68c], 0
mov dword [ebp - 0x694], 0x9d5fac12
mov dword [ebp - 0x69c], 0xffffffff
mov dword [ebp - 0x6a4], 1
mov dword [ebp - 0x4f0], 1
mov dword [ebp - 0x134], 0
jmp 0x1003d6d6
mov eax, dword [ebp - 0x134]
inc eax
mov dword [ebp - 0x134], eax
cmp dword [ebp - 0x134], 3
jge 0x1003d6f2
mov eax, dword [ebp - 0x134]
mov dword [ebp + eax*4 - 0x7dc], 0xc558bac0
jmp 0x1003d6c9
push 0x7ec6
push 0x5c73
push 0
lea eax, [ebp - 0x4f0]
push eax
call fcn.10047f82
add esp, 0x10
mov dword [ebp - 0x1c4], 0x256915a
mov dword [ebp - 0x1b0], 0x1ad386cc
mov dword [ebp - 0x6ac], 0
mov dword [ebp - 0x6b4], 6
mov dword [ebp - 0x504], 0xb9849b76
mov dword [ebp - 0x6bc], 0xfffffffc
mov dword [ebp - 0x6c4], 0xfffffffb
mov dword [ebp - 0x6cc], 0xdd9cd443
mov dword [ebp - 0x30], 0xd7d393e7
mov dword [ebp - 0x418], 0x42afa017
mov dword [ebp - 0x728], 0xfffffff6
mov dword [ebp - 0x14c], 0xe61780ee
mov dword [ebp - 0x730], 0xfffffffe
mov dword [ebp - 0x428], 0xfffffffc
mov dword [ebp - 0x38c], 0x81320f2d
mov dword [ebp - 0x2ac], 0x5943e2f7
mov dword [ebp - 0x5a4], 0xddb84c6a
mov dword [ebp - 0x5a0], 0xddb84c6a
mov dword [ebp - 0x59c], 0xddb84c6a
mov dword [ebp - 0x598], 0xddb84c6a
lea ecx, [ebp - 0x16d]
call fcn.10013af8
push eax
lea eax, [ebp - 0x594]
push eax
lea eax, [ebp - 0x5a4]
push eax
lea ecx, [ebp - 0x7ac]
call fcn.10023564
push dword [eax + 4]
push dword [eax]
lea ecx, [ebp - 0x1ec]
call fcn.1002353e
mov dword [ebp - 4], 7
mov dword [ebp - 0x194], 1
mov dword [ebp - 0x74c], 1
lea eax, [ebp - 0x1c4]
push eax
lea eax, [ebp - 0x1b0]
push eax
call fcn.1003c03a
pop ecx
pop ecx
cmp dword [ebp - 0x1c4], 0
jg 0x1003d84c
mov dword [ebp - 0x344], 1
jmp 0x1003d853
and dword [ebp - 0x344], 0
mov eax, dword [ebp - 0x1b0]
mov dword [ebp - 0x748], eax
cmp dword [ebp - 0x1b0], 0xfa3fda37
je 0x1003d877
mov dword [ebp - 0x29c], 1
jmp 0x1003d87e
and dword [ebp - 0x29c], 0
mov eax, dword [ebp - 0x418]
imul eax, dword [ebp - 0x29c]
cmp eax, dword [ebp - 0x504]
jle 0x1003d89f
mov dword [ebp - 0x33c], 1
jmp 0x1003d8a6
and dword [ebp - 0x33c], 0
mov eax, dword [ebp - 0x194]
mov dword [ebp - 0x420], eax
mov eax, dword [ebp - 0x33c]
mov dword [ebp - 0x4d4], eax
mov eax, dword [ebp - 0x194]
inc eax
mov dword [ebp - 0x194], eax
mov eax, dword [ebp - 0x420]
cmp eax, dword [ebp - 0x4d4]
jl 0x1003d8e5
mov dword [ebp - 0x2a4], 1
jmp 0x1003d8ec
and dword [ebp - 0x2a4], 0
mov eax, dword [ebp - 0x428]
add eax, dword [ebp - 0x2a4]
mov dword [ebp - 0x38c], eax
mov eax, dword [ebp - 0x38c]
mov dword [ebp - 0x2ac], eax
cmp dword [ebp - 0x2ac], 0x6b87d0fa
je 0x1003d922
mov dword [ebp - 0x2b4], 1
jmp 0x1003d929
and dword [ebp - 0x2b4], 0
mov eax, dword [ebp - 0x344]
cmp eax, dword [ebp - 0x2b4]
jl 0x1003d943
mov dword [ebp - 0x3b4], 1
jmp 0x1003d94a
and dword [ebp - 0x3b4], 0
mov eax, dword [ebp - 0x1c4]
sub eax, dword [ebp - 0x3b4]
je 0x1003d977
mov dword [ebp - 0x53c], 0x8fc786c7
push 0
lea eax, [ebp - 0x53c]
push eax
call fcn.10046658
pop ecx
pop ecx
jmp 0x1003dc48
mov dword [ebp - 0x6c], 0xaf2c67a9
mov dword [ebp - 0x430], 0
mov dword [ebp - 0x10c], 0
jmp 0x1003d9a1
mov eax, dword [ebp - 0x10c]
inc eax
mov dword [ebp - 0x10c], eax
cmp dword [ebp - 0x10c], 1
jge 0x1003d9bd
mov eax, dword [ebp - 0x10c]
mov dword [ebp + eax*4 - 0x4dc], 0xd6c8
jmp 0x1003d994
mov dword [ebp - 0x14c], 0
jmp 0x1003d9d6
mov eax, dword [ebp - 0x14c]
inc eax
mov dword [ebp - 0x14c], eax
cmp dword [ebp - 0x14c], 0x13
jg 0x1003dc36
mov dword [ebp - 0xbc], 0x4adb5d23
mov byte [ebp - 0x49], 0
lea eax, [ebp - 0x49]
push eax
call fcn.1003c059
pop ecx
mov dword [ebp - 0x30], 3
jmp 0x1003da0b
mov eax, dword [ebp - 0x30]
dec eax
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0
jl 0x1003dc31
mov dword [ebp - 0x2dc], 0x27488f
or eax, 0xffffffff
je 0x1003dae5
cmp dword [ebp - 0x6c], 1
jg 0x1003da3a
mov dword [ebp - 0x2bc], 1
jmp 0x1003da41
and dword [ebp - 0x2bc], 0
mov esi, dword [ebp - 0xbc]
push dword [ebp - 0x30]
lea ecx, [ebp - 0x1ec]
call fcn.10013375
mov ecx, dword [ebp - 0x2bc]
sub ecx, dword [eax]
imul ecx, esi
test ecx, ecx
jne 0x1003da73
cmp dword [ebp - 0x6c], 0
jne 0x1003da73
and dword [ebp - 0x34c], 0
jmp 0x1003da7d
mov dword [ebp - 0x34c], 1
cmp dword [ebp - 0x34c], 0x98a8
jl 0x1003da95
mov dword [ebp - 0x2c4], 1
jmp 0x1003da9c
and dword [ebp - 0x2c4], 0
mov eax, dword [ebp - 0xbc]
cmp dword [ebp - 0x2c4], eax
jl 0x1003dab6
mov dword [ebp - 0x394], 1
jmp 0x1003dabd
and dword [ebp - 0x394], 0
mov eax, dword [ebp - 0x394]
dec eax
jne 0x1003dad5
cmp dword [ebp - 0x6c], 0
jne 0x1003dad5
and dword [ebp - 0x2cc], 0
jmp 0x1003dadf
mov dword [ebp - 0x2cc], 1
mov eax, dword [ebp - 0xbc]
mov eax, 0xa74b4fbf
cmp eax, 0x40931bc1
jbe 0x1003dafd
mov dword [ebp - 0x354], 1
jmp 0x1003db04
and dword [ebp - 0x354], 0
mov eax, dword [ebp - 0x430]
cmp dword [ebp - 0x354], eax
jle 0x1003db1e
mov dword [ebp - 0x2d4], 1
jmp 0x1003db25
and dword [ebp - 0x2d4], 0
mov eax, dword [ebp - 0xbc]
imul eax, dword [ebp - 0x2d4]
test eax, eax
je 0x1003db48
cmp dword [ebp - 0x6c], 0
je 0x1003db48
mov dword [ebp - 0x3d8], 1
jmp 0x1003db4f
and dword [ebp - 0x3d8], 0
push dword [ebp - 0x30]
lea ecx, [ebp - 0x1ec]
call fcn.10013375
mov ecx, dword [ebp - 0x3d8]
imul ecx, dword [eax]
mov dword [ebp - 0x2dc], ecx
mov esi, dword [ebp - 0x2dc]
push dword [ebp - 0x30]
lea ecx, [ebp - 0x1ec]
call fcn.10013375
cmp esi, dword [eax]
jge 0x1003db90
mov dword [ebp - 0x35c], 1
jmp 0x1003db97
and dword [ebp - 0x35c], 0
mov eax, dword [ebp - 0x6c]
cmp eax, dword [ebp - 0x35c]
je 0x1003dbae
mov dword [ebp - 0x1dc], 1
jmp 0x1003dbb5
and dword [ebp - 0x1dc], 0
push 4
pop eax
imul eax, eax, 0
lea eax, [ebp + eax - 0x4dc]
mov dword [ebp - 0x1e0], eax
push dword [ebp - 0x30]
lea ecx, [ebp - 0x1ec]
call fcn.10013375
mov ecx, dword [ebp - 0x1e0]
mov eax, dword [eax]
mov dword [ecx], eax
mov eax, dword [ebp - 0x1e0]
mov esi, dword [eax]
imul esi, dword [ebp - 0x1dc]
neg esi
push dword [ebp - 0x30]
lea ecx, [ebp - 0x1ec]
call fcn.10013375
cmp esi, dword [eax]
jl 0x1003dc0f
mov dword [ebp - 0x1f8], 1
jmp 0x1003dc16
and dword [ebp - 0x1f8], 0
push dword [ebp - 0x30]
lea ecx, [ebp - 0x1ec]
call fcn.10013375
mov ecx, dword [ebp - 0x1f8]
mov dword [eax], ecx
jmp 0x1003da04
jmp 0x1003d9c9
push 1
lea ecx, [ebp - 0x1ec]
call fcn.10013375
mov eax, dword [eax]
mov dword [ebp - 0x6c], eax
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1ec]
call fcn.10013359
mov eax, dword [ebp - 0x70]
mov ecx, dword [ebp - 0x120]
add ecx, dword [eax + 0xc]
push ecx
push 0x362
push 0x347
call fcn.1001288a
pop ecx
pop ecx
call eax
mov dword [ebp - 0x198], eax
mov dword [ebp - 0x3c], 0xd29be1d9
mov dword [ebp - 0x448], 0xc59cdc34
push 1
lea ecx, [ebp - 0x528]
call fcn.100132fd
mov dword [ebp - 4], 8
push 3
lea ecx, [ebp - 0x5bc]
call fcn.100132fd
mov byte [ebp - 4], 9
mov dword [ebp - 0x52c], 0x52bf
mov dword [ebp - 0x28], 0
jmp 0x1003dccd
mov eax, dword [ebp - 0x28]
inc eax
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 1
jge 0x1003dce3
mov eax, dword [ebp - 0x28]
mov dword [ebp + eax*4 - 0x174], 0x648261f
jmp 0x1003dcc6
mov dword [ebp - 0x28], 0
jmp 0x1003dcf3
mov eax, dword [ebp - 0x28]
inc eax
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 1
jge 0x1003dd0f
push dword [ebp - 0x28]
lea ecx, [ebp - 0x528]
call fcn.10013375
mov dword [eax], 0xcc895931
jmp 0x1003dcec
lea eax, [ebp - 0x28]
push eax
push 0x4ac2
push 0
lea eax, [ebp - 0x5bc]
push eax
push 1
push 1
push 0x424d
push 0x77d0
call fcn.100404f0
add esp, 0x20
mov dword [ebp - 0x200], 0x3ea4
mov dword [ebp - 0x438], 0x1000afb8
cmp dword [ebp - 0x200], 0x3fef
jle 0x1003de3a
and dword [ebp - 0xe0], 0
jmp 0x1003dd71
mov eax, dword [ebp - 0xe0]
inc eax
mov dword [ebp - 0xe0], eax
cmp dword [ebp - 0xe0], 0x1c0b
jge 0x1003de3a
and dword [ebp - 0xc8], 0
jmp 0x1003dd97
mov eax, dword [ebp - 0xc8]
inc eax
mov dword [ebp - 0xc8], eax
cmp dword [ebp - 0xc8], 0x140a
jge 0x1003de35
and dword [ebp - 0xd0], 0
jmp 0x1003ddbd
mov eax, dword [ebp - 0xd0]
inc eax
mov dword [ebp - 0xd0], eax
cmp dword [ebp - 0xd0], 0x2ac2
jge 0x1003de30
and dword [ebp - 0xd8], 0
jmp 0x1003dddf
mov eax, dword [ebp - 0xd8]
inc eax
mov dword [ebp - 0xd8], eax
cmp dword [ebp - 0xd8], 0x6c2d
jge 0x1003de2e
mov eax, dword [ebp - 0xc8]
cdq
idiv dword [ebp - 0xd0]
mov eax, edx
cdq
idiv dword [ebp - 0xd8]
or edx, dword [ebp - 0xe0]
mov eax, edx
cdq
mov dword [ebp - 0x49c], eax
mov dword [ebp - 0x498], edx
push dword [ebp - 0x498]
push dword [ebp - 0x49c]
mov ecx, 0x10610838
call fcn.100130d2
jmp 0x1003ddd2
jmp 0x1003ddb0
jmp 0x1003dd8a
jmp 0x1003dd64
mov byte [ebp - 0x4a], 0
lea eax, [ebp - 0x4a]
push eax
push 0x5b7f
push 0x6019
push 1
push 0x1f19
push 1
push 0x2637
push 0
call fcn.100463bd
add esp, 0x20
mov byte [ebp - 4], 0xa
cmp dword [ebp - 0x200], 0x3e9a
jge 0x1003de84
mov edx, dword [ebp - 0x438]
mov ecx, 0x10610838
call fcn.100159ac
jmp 0x1003dea0
mov dword [ebp - 4], 9
jmp 0x1003deb0
mov dword [ebp - 0x3c], 0
jmp 0x1003dec0
mov eax, dword [ebp - 0x3c]
inc eax
mov dword [ebp - 0x3c], eax
cmp dword [ebp - 0x3c], 0
jg 0x1003e07d
mov dword [ebp - 0x450], 0xfffffffc
mov dword [ebp - 0xe8], 0
jmp 0x1003deed
mov eax, dword [ebp - 0xe8]
inc eax
mov dword [ebp - 0xe8], eax
cmp dword [ebp - 0xe8], 2
jge 0x1003df09
mov eax, dword [ebp - 0xe8]
mov dword [ebp + eax*4 - 0x628], 0
jmp 0x1003dee0
mov eax, dword [ebp - 0x3c]
cmp dword [ebp + eax*4 - 0x174], 0
jne 0x1003df2c
mov eax, dword [ebp - 0x3c]
cmp dword [ebp + eax*4 - 0x174], 0
jne 0x1003df2c
and dword [ebp - 0x50c], 0
jmp 0x1003df36
mov dword [ebp - 0x50c], 1
cmp dword [ebp - 0x3c], 0x4bda
jle 0x1003df4b
mov dword [ebp - 0x440], 1
jmp 0x1003df52
and dword [ebp - 0x440], 0
push 4
pop eax
shl eax, 0
lea eax, [ebp + eax - 0x628]
mov dword [ebp - 0x208], eax
push 0
lea ecx, [ebp - 0x528]
call fcn.10013375
mov ecx, dword [ebp - 0x208]
mov eax, dword [eax]
mov dword [ecx], eax
mov eax, dword [ebp - 0x208]
mov ecx, dword [ebp - 0x3c]
imul ecx, dword [eax]
test ecx, ecx
jne 0x1003df98
mov dword [ebp - 0x210], 1
jmp 0x1003df9f
and dword [ebp - 0x210], 0
cmp dword [ebp - 0x210], 0x42c7
jl 0x1003dfb7
mov dword [ebp - 0x4e4], 1
jmp 0x1003dfbe
and dword [ebp - 0x4e4], 0
mov eax, dword [ebp - 0x448]
mov dword [ebp - 0x718], eax
cmp dword [ebp - 0x52c], 1
je 0x1003dfdf
mov dword [ebp - 0x218], 1
jmp 0x1003dfe6
and dword [ebp - 0x218], 0
mov eax, dword [ebp - 0x450]
cmp dword [ebp - 0x218], eax
je 0x1003e000
mov dword [ebp - 0x404], 1
jmp 0x1003e007
and dword [ebp - 0x404], 0
mov eax, dword [ebp - 0x3c]
mov eax, dword [ebp + eax*4 - 0x174]
mov dword [ebp - 0x600], eax
push 0
lea ecx, [ebp - 0x5bc]
call fcn.10013375
mov dword [ebp - 0x220], eax
mov eax, dword [ebp - 0x220]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 0x220]
mov dword [ecx], eax
push 0
lea ecx, [ebp - 0x528]
call fcn.10013375
cmp dword [eax], 0x76ac116e
jl 0x1003e05c
mov dword [ebp - 0x228], 1
jmp 0x1003e063
and dword [ebp - 0x228], 0
push 0
lea ecx, [ebp - 0x528]
call fcn.10013375
mov ecx, dword [ebp - 0x228]
mov dword [eax], ecx
jmp 0x1003deb9
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x5bc]
call fcn.10013359
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x528]
call fcn.10013359
cmp dword [ebp - 0x198], 0
jne 0x1003e563
mov dword [ebp - 0x3ec], 0x13f1a073
mov dword [ebp - 0x3e8], 0x13f1a073
mov dword [ebp - 0x3e4], 0x13f1a073
mov dword [ebp - 0x3e0], 0x13f1a073
mov dword [ebp - 0xf0], 4
mov dword [ebp - 0x178], 1
mov dword [ebp - 0x240], 0x9737e0d1
mov dword [ebp - 0x630], 0
mov dword [ebp - 0x610], 1
mov dword [ebp - 0x744], 0xff68e10
mov dword [ebp - 0x740], 0xff68e10
mov dword [ebp - 0x73c], 0xff68e10
mov dword [ebp - 0x738], 0xff68e10
mov dword [ebp - 0x634], 0x95c380a3
mov dword [ebp - 0xf8], 0x8ca0e2c2
mov dword [ebp - 0x618], 0x3f5cfeb4
push 4
pop eax
shl eax, 1
mov eax, dword [ebp + eax - 0x3ec]
mov dword [ebp - 0x63c], eax
cmp dword [ebp - 0xf0], 0
je 0x1003e16a
cmp dword [ebp - 0xf0], 0
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x3ec]
sub eax, 9
mov dword [ebp - 0x178], eax
push 4
pop eax
shl eax, 0
mov ecx, dword [ebp - 0x178]
cmp ecx, dword [ebp + eax - 0x3ec]
jl 0x1003e1a1
mov dword [ebp - 0x230], 1
jmp 0x1003e1a8
and dword [ebp - 0x230], 0
mov eax, dword [ebp - 0xf0]
sub eax, dword [ebp - 0x230]
cmp eax, 0xf1e0
jg 0x1003e1c7
mov dword [ebp - 0x238], 1
jmp 0x1003e1ce
and dword [ebp - 0x238], 0
mov eax, dword [ebp - 0x238]
mov dword [ebp - 0x240], eax
push 4
pop eax
shl eax, 1
mov ecx, dword [ebp - 0x240]
cmp ecx, dword [ebp + eax - 0x3ec]
jge 0x1003e1fa
mov dword [ebp - 0x248], 1
jmp 0x1003e201
and dword [ebp - 0x248], 0
cmp dword [ebp - 0x248], 0x95e2de4b
ja 0x1003e219
mov dword [ebp - 0x250], 1
jmp 0x1003e220
and dword [ebp - 0x250], 0
push 4
pop eax
shl eax, 1
mov eax, dword [ebp + eax - 0x3ec]
add eax, dword [ebp - 0x250]
imul eax, dword [ebp - 0xf0]
test eax, eax
je 0x1003e252
cmp dword [ebp - 0x178], 0
je 0x1003e252
mov dword [ebp - 0x258], 1
jmp 0x1003e259
and dword [ebp - 0x258], 0
push 4
pop eax
imul eax, eax, 3
mov ecx, dword [ebp - 0x258]
sub ecx, dword [ebp + eax - 0x3ec]
je 0x1003e2ca
mov byte [ebp - 0x45], 0
push 1
push 1
push 0x2674
push 1
lea eax, [ebp - 0x45]
push eax
push 0x3d22
push 0x3906
push 0x166b
push 0x71a
push 0x4f75
call fcn.10037cd5
add esp, 0x28
mov byte [ebp - 0x46], 0
push 0x414d
push 0x77bd
lea eax, [ebp - 0x46]
push eax
push 1
push 1
push 0x6f46
call fcn.10037eaa
add esp, 0x18
jmp 0x1003e3f3
mov dword [ebp - 0x620], 0x18ebdb8
mov dword [ebp - 0x644], 0
mov dword [ebp - 0x62c], 0xfffffffc
mov dword [ebp - 0x64c], 0x17716e31
mov dword [ebp - 0x654], 0xffffffff
or dword [ebp - 0x590], 0xffffffff
or dword [ebp - 0x58c], 0xffffffff
or dword [ebp - 0x588], 0xffffffff
or dword [ebp - 0x584], 0xffffffff
lea ecx, [ebp - 0x1c5]
call fcn.10013af8
push eax
lea eax, [ebp - 0x580]
push eax
lea eax, [ebp - 0x590]
push eax
lea ecx, [ebp - 0x79c]
call fcn.10023564
push dword [eax + 4]
push dword [eax]
lea ecx, [ebp - 0x778]
call fcn.1002353e
mov dword [ebp - 4], 0xc
mov dword [ebp - 0x38], 0
jmp 0x1003e364
mov eax, dword [ebp - 0x38]
inc eax
mov dword [ebp - 0x38], eax
cmp dword [ebp - 0x38], 3
jge 0x1003e37a
mov eax, dword [ebp - 0x38]
mov dword [ebp + eax*4 - 0x7d0], 0xbb002891
jmp 0x1003e35d
mov dword [ebp - 0x38], 0
jmp 0x1003e38a
mov eax, dword [ebp - 0x38]
inc eax
mov dword [ebp - 0x38], eax
cmp dword [ebp - 0x38], 4
jge 0x1003e3a0
mov eax, dword [ebp - 0x38]
mov dword [ebp + eax*4 - 0x760], 0
jmp 0x1003e383
push 4
pop eax
imul eax, eax, 3
mov eax, dword [ebp + eax - 0x760]
inc eax
push 4
pop ecx
imul ecx, ecx, 3
mov dword [ebp + ecx - 0x760], eax
mov dword [ebp - 0xf8], 0xffffffe7
jmp 0x1003e3d4
mov eax, dword [ebp - 0xf8]
inc eax
mov dword [ebp - 0xf8], eax
cmp dword [ebp - 0xf8], 0xfffffffc
jle 0x1003e3e4
call fcn.1003c089
jmp 0x1003e3c7
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x778]
call fcn.10013359
push 0x39bb
push 0x21af
push 0x35ad
push 0x6c0c
lea eax, [ebp - 0xb0]
push eax
push 1
push 1
call fcn.1003845d
add esp, 0x1c
mov dword [ebp - 0x7c], 0x477862f
mov dword [ebp - 0x460], 4
mov dword [ebp - 0x7c], 0xffffffea
jmp 0x1003e43b
mov eax, dword [ebp - 0x7c]
inc eax
mov dword [ebp - 0x7c], eax
cmp dword [ebp - 0x7c], 0xffffffef
jge 0x1003e55e
mov dword [ebp - 0x514], 0
mov dword [ebp - 0x468], 1
mov dword [ebp - 0x57c], 0xbe856dfc
mov dword [ebp - 0x578], 0xbe856dfc
mov dword [ebp - 0x574], 0xbe856dfc
mov dword [ebp - 0x570], 0xbe856dfc
lea ecx, [ebp - 0x1b1]
call fcn.10013af8
push eax
lea eax, [ebp - 0x56c]
push eax
lea eax, [ebp - 0x57c]
push eax
lea ecx, [ebp - 0x7a4]
call fcn.10023564
push dword [eax + 4]
push dword [eax]
lea ecx, [ebp - 0x6dc]
call fcn.1002353e
mov dword [ebp - 4], 0xd
mov dword [ebp - 0x458], 1
mov dword [ebp - 0x470], 0xfffffff8
mov dword [ebp - 0x4f4], 0
mov dword [ebp - 0x540], 0xfda6c2e3
mov byte [ebp - 0x59], 0
lea eax, [ebp - 0x59]
push eax
call fcn.1003c0b9
pop ecx
lea eax, [ebp - 0x458]
push eax
lea eax, [ebp - 0x514]
push eax
lea eax, [ebp - 0x6dc]
push eax
push 1
lea eax, [ebp - 0x460]
push eax
lea eax, [ebp - 0x4f4]
push eax
push 0x40a7
push 0x3b14
lea eax, [ebp - 0x468]
push eax
lea eax, [ebp - 0x540]
push eax
lea eax, [ebp - 0x470]
push eax
lea eax, [ebp - 0x7c]
push eax
push 1
push 0x5f9b
call fcn.100386a2
add esp, 0x38
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x6dc]
call fcn.10013359
jmp 0x1003e434
jmp 0x1003f337
mov dword [ebp - 0x60], 0xfffffffc
push 4
lea ecx, [ebp - 0x70c]
call fcn.100132fd
mov dword [ebp - 4], 0xe
mov dword [ebp - 0x5fc], 0x35b5b06a
mov dword [ebp - 0x5f8], 0x35b5b06a
mov dword [ebp - 0x5f4], 0x35b5b06a
mov dword [ebp - 0x5f0], 0x35b5b06a
mov dword [ebp - 0x288], 0x54d1843a
mov dword [ebp - 0x47c], 0x407b
mov dword [ebp - 0xa4], 0
jmp 0x1003e5d3
mov eax, dword [ebp - 0xa4]
inc eax
mov dword [ebp - 0xa4], eax
cmp dword [ebp - 0xa4], 3
jge 0x1003e5ef
mov eax, dword [ebp - 0xa4]
mov dword [ebp + eax*4 - 0x784], 0xa30a4ccf
jmp 0x1003e5c6
push 1
lea eax, [ebp - 0xa4]
push eax
push 0x372b
push 1
lea eax, [ebp - 0x70c]
push eax
push 0x2d4d
push 1
push 0x3f
push 0x3aff
call fcn.10038dab
add esp, 0x24
mov dword [ebp - 0x60], 0
jmp 0x1003e62c
mov eax, dword [ebp - 0x60]
inc eax
mov dword [ebp - 0x60], eax
cmp dword [ebp - 0x60], 0x18
jge 0x1003e79a
mov dword [ebp - 0x100], 0xb96ca2cb
mov dword [ebp - 0x638], 1
mov dword [ebp - 0x6b8], 0x288586fd
mov dword [ebp - 0x640], 0xffffffff
mov dword [ebp - 0x720], 0xfffffffc
mov dword [ebp - 0x648], 0xffffffff
push 1
lea ecx, [ebp - 0x6fc]
call fcn.100132fd
mov byte [ebp - 4], 0xf
push 1
push 0x318c
lea eax, [ebp - 0x6fc]
push eax
push 0x6731
push 0x704c
push 0
push 0x286
lea eax, [ebp - 0x6c0]
push eax
call fcn.10044b1b
add esp, 0x20
mov dword [ebp - 0x100], 0
jmp 0x1003e6ca
mov eax, dword [ebp - 0x100]
dec eax
mov dword [ebp - 0x100], eax
cmp dword [ebp - 0x100], 0xfffffff7
jl 0x1003e786
push 3
lea ecx, [ebp - 0x6ec]
call fcn.100132fd
mov byte [ebp - 4], 0x10
mov dword [ebp - 0x650], 7
mov dword [ebp - 0x71c], 0x744e
push 2
lea ecx, [ebp - 0x5ec]
call fcn.100132fd
mov byte [ebp - 4], 0x11
push 0x2e1b
push 0x7de5
push 0x62e1
push 1
push 1
lea eax, [ebp - 0x4fc]
push eax
push 0x5141
lea eax, [ebp - 0x6ec]
push eax
call fcn.10039069
add esp, 0x20
lea eax, [ebp - 0x5ec]
push eax
lea eax, [ebp - 0x4fc]
push eax
call fcn.1003c0ec
pop ecx
pop ecx
push 1
lea ecx, [ebp - 0x5ec]
call fcn.10013375
mov dword [eax], 1
mov byte [ebp - 4], 0x10
lea ecx, [ebp - 0x5ec]
call fcn.10013359
mov byte [ebp - 4], 0xf
lea ecx, [ebp - 0x6ec]
call fcn.10013359
jmp 0x1003e6bd
mov byte [ebp - 4], 0xe
lea ecx, [ebp - 0x6fc]
call fcn.10013359
jmp 0x1003e625
mov eax, dword [ebp - 0x288]
mov dword [ebp - 0x658], eax
push 4
pop eax
shl eax, 1
cmp dword [ebp + eax - 0x5fc], 0xbf2f
jg 0x1003e7c4
mov dword [ebp - 0x260], 1
jmp 0x1003e7cb
and dword [ebp - 0x260], 0
mov eax, dword [ebp - 0x47c]
cmp dword [ebp - 0x260], eax
jle 0x1003e7e5
mov dword [ebp - 0x268], 1
jmp 0x1003e7ec
and dword [ebp - 0x268], 0
mov eax, dword [ebp - 0x60]
mov dword [ebp - 0x60], eax
mov eax, dword [ebp - 0x60]
cmp eax, dword [ebp - 0x268]
jge 0x1003e809
mov dword [ebp - 0x270], 1
jmp 0x1003e810
and dword [ebp - 0x270], 0
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x784]
cmp eax, dword [ebp - 0x270]
jle 0x1003e837
mov eax, 0x55ef1c8d
test eax, eax
jne 0x1003e837
and dword [ebp - 0x278], 0
jmp 0x1003e841
mov dword [ebp - 0x278], 1
cmp dword [ebp - 0x278], 0xdc7e9069
ja 0x1003e859
mov dword [ebp - 0x280], 1
jmp 0x1003e860
and dword [ebp - 0x280], 0
mov eax, dword [ebp - 0x280]
mov dword [ebp - 0x288], eax
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x70c]
call fcn.10013359
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0xc]
lea eax, [eax*4 + 4]
push eax
mov eax, dword [ebp + 8]
push dword [eax + 8]
call fcn.100514f4
pop ecx
pop ecx
mov ecx, dword [ebp + 8]
mov dword [ecx + 8], eax
mov eax, dword [ebp + 8]
cmp dword [eax + 8], 0
jne 0x1003ed29
mov dword [ebp - 0x20], 7
mov dword [ebp - 0x40], 0xfffffffc
mov dword [ebp - 0x88], 0x3cf81320
push 2
lea ecx, [ebp - 0x558]
call fcn.100132fd
mov dword [ebp - 4], 0x12
lea eax, [ebp - 0x558]
push eax
lea eax, [ebp - 0x80]
push eax
call fcn.1003c134
pop ecx
pop ecx
mov dword [ebp - 0x80], 0
jmp 0x1003e8f7
mov eax, dword [ebp - 0x80]
inc eax
mov dword [ebp - 0x80], eax
cmp dword [ebp - 0x80], 1
jge 0x1003e90d
mov eax, dword [ebp - 0x80]
mov dword [ebp + eax*4 - 0x90], 1
jmp 0x1003e8f0
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x6c8], eax
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x660], eax
mov eax, dword [ebp - 0x20]
cmp eax, dword [ebp - 0x20]
jle 0x1003e939
mov dword [ebp - 0x290], 1
jmp 0x1003e940
and dword [ebp - 0x290], 0
cmp dword [ebp - 0x290], 0
je 0x1003e95b
cmp dword [ebp - 0x40], 0
je 0x1003e95b
mov dword [ebp - 0x51c], 1
jmp 0x1003e962
and dword [ebp - 0x51c], 0
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x734], eax
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x88], eax
mov eax, dword [ebp - 0x20]
imul eax, dword [ebp - 0x88]
cmp eax, 0x6273
je 0x1003e991
mov dword [ebp - 0x298], 1
jmp 0x1003e998
and dword [ebp - 0x298], 0
cmp dword [ebp - 0x298], 0x943e2f7c
jne 0x1003e9b0
mov dword [ebp - 0x2a0], 1
jmp 0x1003e9b7
and dword [ebp - 0x2a0], 0
cmp dword [ebp - 0x2a0], 0
jne 0x1003e9cc
mov dword [ebp - 0x2a8], 1
jmp 0x1003e9d3
and dword [ebp - 0x2a8], 0
xor eax, eax
sub eax, dword [ebp - 0x2a8]
cmp eax, dword [ebp - 0x20]
jl 0x1003e9ec
mov dword [ebp - 0x2b0], 1
jmp 0x1003e9f3
and dword [ebp - 0x2b0], 0
cmp dword [ebp - 0x2b0], 1
je 0x1003ea08
mov dword [ebp - 0x180], 1
jmp 0x1003ea0f
and dword [ebp - 0x180], 0
push 0
lea ecx, [ebp - 0x558]
call fcn.10013375
mov ecx, dword [ebp - 0x180]
mov dword [eax], ecx
mov eax, dword [ebp - 0x20]
cmp dword [ebp - 0x180], eax
jle 0x1003ea3f
xor eax, eax
je 0x1003ea3f
mov dword [ebp - 0x2b8], 1
jmp 0x1003ea46
and dword [ebp - 0x2b8], 0
mov eax, dword [ebp - 0x2b8]
sub eax, 0x17c7
cmp eax, 0xfffffffd
jbe 0x1003ea62
mov dword [ebp - 0x2c0], 1
jmp 0x1003ea69
and dword [ebp - 0x2c0], 0
mov eax, dword [ebp - 0x20]
cmp dword [ebp - 0x2c0], eax
jg 0x1003ea80
mov dword [ebp - 0x2c8], 1
jmp 0x1003ea87
and dword [ebp - 0x2c8], 0
push 4
pop eax
imul eax, eax, 0
mov ecx, dword [ebp - 0x2c8]
mov dword [ebp + eax - 0x90], ecx
mov dword [ebp - 0x40], 0
jmp 0x1003eaaa
mov eax, dword [ebp - 0x40]
inc eax
mov dword [ebp - 0x40], eax
cmp dword [ebp - 0x40], 0x15
jge 0x1003ec09
mov dword [ebp - 0x668], 0x767dbf12
mov dword [ebp - 0x488], 0xffffffff
mov byte [ebp - 0x47], 0
movzx eax, byte [ebp - 0x47]
test eax, eax
je 0x1003eae8
push 0x76c1
push 0
push 0x5f1f
call fcn.10044e87
add esp, 0xc
mov eax, dword [ebp - 0x88]
mov dword [ebp - 0x88], eax
cmp dword [ebp - 0x88], 0x7f45
jle 0x1003eb0c
mov dword [ebp - 0x2d0], 1
jmp 0x1003eb13
and dword [ebp - 0x2d0], 0
mov eax, dword [ebp - 0x2d0]
dec eax
push 4
pop ecx
imul ecx, ecx, 0
mov ecx, dword [ebp + ecx - 0x90]
sub ecx, eax
cmp ecx, dword [ebp - 0x20]
jle 0x1003eb3a
mov dword [ebp - 0x1d8], 1
jmp 0x1003eb41
and dword [ebp - 0x1d8], 0
cmp dword [ebp - 0x1d8], 0xfd39ef5b
ja 0x1003eb5f
cmp dword [ebp - 0x40], 0
je 0x1003eb5f
mov dword [ebp - 0x2e0], 1
jmp 0x1003eb66
and dword [ebp - 0x2e0], 0
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x90]
cmp eax, dword [ebp - 0x2e0]
jle 0x1003eb8d
mov eax, 0x4ade
test eax, eax
jne 0x1003eb8d
and dword [ebp - 0x2e8], 0
jmp 0x1003eb97
mov dword [ebp - 0x2e8], 1
push 4
pop eax
imul eax, eax, 0
mov esi, dword [ebp + eax - 0x90]
push 0
lea ecx, [ebp - 0x558]
call fcn.10013375
mov ecx, dword [ebp - 0x2e8]
add ecx, dword [eax]
cmp ecx, esi
jle 0x1003ebc9
mov dword [ebp - 0x2f0], 1
jmp 0x1003ebd0
and dword [ebp - 0x2f0], 0
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x90]
cmp dword [ebp - 0x2f0], eax
je 0x1003ebf1
mov dword [ebp - 0x2f8], 1
jmp 0x1003ebf8
and dword [ebp - 0x2f8], 0
mov eax, dword [ebp - 0x2f8]
mov dword [ebp - 0x488], eax
jmp 0x1003eaa3
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x558]
call fcn.10013359
push 0
lea eax, [ebp - 0xb0]
push eax
push 0x4685
push 1
call fcn.100433db
add esp, 0x10
mov dword [ebp - 0x2c], 5
mov dword [ebp - 0x4c8], 0
mov dword [ebp - 0xb8], 0
jmp 0x1003ec5a
mov eax, dword [ebp - 0xb8]
inc eax
mov dword [ebp - 0xb8], eax
cmp dword [ebp - 0xb8], 2
jge 0x1003ec76
mov eax, dword [ebp - 0xb8]
mov dword [ebp + eax*4 - 0x794], 0x45f5b1b6
jmp 0x1003ec4d
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x6d0], eax
mov eax, dword [ebp - 0x2c]
cmp eax, dword [ebp - 0x2c]
je 0x1003ec93
mov dword [ebp - 0x310], 1
jmp 0x1003ec9a
and dword [ebp - 0x310], 0
cmp dword [ebp - 0x2c], 1
jle 0x1003ecac
mov dword [ebp - 0x300], 1
jmp 0x1003ecb3
and dword [ebp - 0x300], 0
mov eax, dword [ebp - 0x2c]
cmp dword [ebp - 0x300], eax
jle 0x1003ecca
mov dword [ebp - 0x308], 1
jmp 0x1003ecd1
and dword [ebp - 0x308], 0
mov eax, dword [ebp - 0x2c]
imul eax, dword [ebp - 0x308]
sub eax, dword [ebp - 0x2c]
cmp dword [ebp - 0x310], eax
jl 0x1003ecf2
mov dword [ebp - 0x318], 1
jmp 0x1003ecf9
and dword [ebp - 0x318], 0
cmp dword [ebp - 0x318], 0xfffffffc
je 0x1003ed06
cmp dword [ebp - 0x2c], 0
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x4c8], eax
push 1
push 1
lea eax, [ebp - 0x2c]
push eax
push 0x3869
call fcn.10039239
add esp, 0x10
jmp 0x1003f337
push 2
lea ecx, [ebp - 0x5b0]
call fcn.100132fd
mov dword [ebp - 4], 0x13
push 3
lea ecx, [ebp - 0x5e0]
call fcn.100132fd
mov byte [ebp - 4], 0x14
mov dword [ebp - 0x4d0], 0xe71f09a2
push 0x598b
push 0x2885
push 1
push 0x56d5
push 0x629f
push 0x173e
push 0x6122
push 0x5952
push 1
lea eax, [ebp - 0x494]
push eax
lea eax, [ebp - 0x5b0]
push eax
push 0x7fce
push 1
push 0x10ce
call fcn.1003935e
add esp, 0x38
push 1
push 0
lea eax, [ebp - 0x494]
push eax
lea eax, [ebp - 0x5e0]
push eax
push 0x1b9b
push 0x2369
push 0x7813
call fcn.10047428
add esp, 0x1c
lea eax, [ebp - 0x4d0]
push eax
lea eax, [ebp - 0x5b0]
push eax
lea eax, [ebp - 0x5e0]
push eax
call fcn.1003c17c
add esp, 0xc
mov byte [ebp - 4], 0x13
lea ecx, [ebp - 0x5e0]
call fcn.10013359
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x5b0]
call fcn.10013359
lea eax, [ebp - 0x4c4]
push eax
lea eax, [ebp - 0x408]
push eax
push dword [ebp - 0x120]
push dword [ebp - 0x70]
lea eax, [ebp - 0x198]
push eax
push dword [ebp + 8]
call fcn.10037788
add esp, 0x18
push 3
lea ecx, [ebp - 0x1a8]
call fcn.100132fd
mov dword [ebp - 4], 0x15
mov dword [ebp - 0x188], 0x7392715e
mov dword [ebp - 0x78], 0x1c5860bc
mov dword [ebp - 0x4e0], 0x2be8ca40
mov dword [ebp - 0x4ac], 0x5476
mov dword [ebp - 0x4d8], 0
push 0x269e
push 1
push 1
push 0x788a
push 0x44bc
lea eax, [ebp - 0x670]
push eax
lea eax, [ebp - 0x1a8]
push eax
call fcn.10039792
add esp, 0x1c
push 1
push 0x489d
push 0x596
push 0x40fa
push 1
push 0x2256
push 0x379e
lea eax, [ebp - 0x1a8]
push eax
push 0x3a0
push 0x5c90
call fcn.1003988c
add esp, 0x28
xor eax, eax
je 0x1003f036
mov byte [ebp - 0x51], 0
lea eax, [ebp - 0x51]
push eax
call fcn.1003c1ef
pop ecx
mov dword [ebp - 0x320], 0x2406
mov dword [ebp - 0x4a0], 0x1000b034
cmp dword [ebp - 0x320], 0x2605
jle 0x1003efd7
and dword [ebp - 0x118], 0
jmp 0x1003ef20
mov eax, dword [ebp - 0x118]
inc eax
mov dword [ebp - 0x118], eax
cmp dword [ebp - 0x118], 0xf2b
jge 0x1003efb7
and dword [ebp - 0x108], 0
jmp 0x1003ef46
mov eax, dword [ebp - 0x108]
inc eax
mov dword [ebp - 0x108], eax
cmp dword [ebp - 0x108], 0x2a53
jge 0x1003efb2
and dword [ebp - 0x110], 0
jmp 0x1003ef68
mov eax, dword [ebp - 0x110]
inc eax
mov dword [ebp - 0x110], eax
cmp dword [ebp - 0x110], 0x1ede
jge 0x1003efb0
mov eax, dword [ebp - 0x108]
cdq
idiv dword [ebp - 0x110]
mov eax, dword [ebp - 0x118]
mov ecx, edx
shl eax, cl
cdq
mov dword [ebp - 0x4a8], eax
mov dword [ebp - 0x4a4], edx
push dword [ebp - 0x4a4]
push dword [ebp - 0x4a8]
mov ecx, 0x10610838
call fcn.100130d2
jmp 0x1003ef5b
jmp 0x1003ef39
jmp 0x1003ef13
push 0
push 0x1192
push 0x1d9e
push 0
push 0x11ac
push 0x1d8b
push 0
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov byte [ebp - 0x48], 0
lea eax, [ebp - 0x48]
push eax
call fcn.1003c227
pop ecx
mov byte [ebp - 4], 0x16
cmp dword [ebp - 0x320], 0x23ae
jge 0x1003f005
mov edx, dword [ebp - 0x4a0]
mov ecx, 0x10610838
call fcn.100159ac
jmp 0x1003f021
mov dword [ebp - 4], 0x15
jmp 0x1003f031
jmp 0x1003f2e9
mov dword [ebp - 0x190], 5
mov dword [ebp - 0x98], 0x6cd33356
push 2
lea ecx, [ebp - 0x400]
call fcn.100132fd
mov byte [ebp - 4], 0x18
mov dword [ebp - 0x4b8], 0xffffffff
mov dword [ebp - 0x4e8], 0x6a332e52
push 0xacd
push 0x6ea8
push 1
push 0x3668
lea eax, [ebp - 0x400]
push eax
push 0x27f9
lea eax, [ebp - 0x724]
push eax
push 0x4f19
push 0x53fb
push 0x6029
push 0x62b8
push 0xee3
push 1
push 0x7dc0
push 0x5b31
push 0x2a7f
push 0x72ff
push 0x1f4e
call fcn.10039db2
add esp, 0x48
push 1
lea ecx, [ebp - 0x1a8]
call fcn.10013375
cmp dword [eax], 0
jne 0x1003f181
push 2
lea ecx, [ebp - 0x1a8]
call fcn.10013375
cmp dword [eax], 0
je 0x1003f109
push 1
lea ecx, [ebp - 0x1a8]
call fcn.10013375
cmp dword [eax], 0
jne 0x1003f130
mov eax, dword [ebp - 0x98]
mov dword [ebp - 0x678], eax
cmp dword [ebp - 0x98], 0
jne 0x1003f130
push 1
lea ecx, [ebp - 0x1a8]
call fcn.10013375
cmp dword [eax], 0
je 0x1003f14e
push 0
lea ecx, [ebp - 0x1a8]
call fcn.10013375
cmp dword [eax], 0
je 0x1003f14e
mov dword [ebp - 0x328], 1
jmp 0x1003f155
and dword [ebp - 0x328], 0
mov eax, dword [ebp - 0x328]
mov dword [ebp - 0x98], eax
mov esi, dword [ebp - 0x98]
push 0
lea ecx, [ebp - 0x400]
call fcn.10013375
cmp esi, dword [eax]
jl 0x1003f181
and dword [ebp - 0x330], 0
jmp 0x1003f18b
mov dword [ebp - 0x330], 1
cmp dword [ebp - 0x330], 0x6f39
jle 0x1003f1a3
mov dword [ebp - 0x338], 1
jmp 0x1003f1aa
and dword [ebp - 0x338], 0
mov dword [ebp - 0x190], 0xdb85
mov eax, dword [ebp - 0x190]
add eax, dword [ebp - 0x338]
mov dword [ebp - 0x188], eax
mov esi, dword [ebp - 0x188]
push 0
lea ecx, [ebp - 0x400]
call fcn.10013375
add esi, dword [eax]
push 2
lea ecx, [ebp - 0x1a8]
call fcn.10013375
add esi, dword [eax]
push 0
lea ecx, [ebp - 0x400]
call fcn.10013375
sub esi, dword [eax]
push 1
lea ecx, [ebp - 0x1a8]
call fcn.10013375
imul esi, dword [eax]
test esi, esi
je 0x1003f256
mov dword [ebp - 0x6e0], 5
push 0x37d8
push 0xa50
push 0x61cf
push 0x1f04
push 0x4665
push 0
push 0x100c
push 0x165f
push 1
push 0x12d2
lea eax, [ebp - 0x78]
push eax
push 0x3476
call fcn.1003a1a2
add esp, 0x30
jmp 0x1003f27c
mov dword [ebp - 0x78], 8
jmp 0x1003f266
mov eax, dword [ebp - 0x78]
inc eax
mov dword [ebp - 0x78], eax
cmp dword [ebp - 0x78], 0x26
jge 0x1003f27c
mov byte [ebp - 0x61], 0
lea eax, [ebp - 0x61]
push eax
call fcn.1003c32e
pop ecx
jmp 0x1003f25f
push 0x5202
push 0x39bb
lea eax, [ebp - 0x4d8]
push eax
lea eax, [ebp - 0x400]
push eax
lea eax, [ebp - 0x98]
push eax
lea eax, [ebp - 0x188]
push eax
push 0
lea eax, [ebp - 0x190]
push eax
lea eax, [ebp - 0x1a8]
push eax
lea eax, [ebp - 0x4ac]
push eax
lea eax, [ebp - 0x4e0]
push eax
lea eax, [ebp - 0x78]
push eax
lea eax, [ebp - 0x4b8]
push eax
lea eax, [ebp - 0x4e8]
push eax
call fcn.1003fa67
add esp, 0x38
mov byte [ebp - 4], 0x15
lea ecx, [ebp - 0x400]
call fcn.10013359
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1a8]
call fcn.10013359
lea eax, [ebp - 0xb0]
push eax
lea eax, [ebp - 0x4c4]
push eax
lea eax, [ebp - 0x408]
push eax
push dword [ebp - 0x120]
lea eax, [ebp - 0x198]
push eax
call fcn.100377f5
add esp, 0x14
call fcn.1003c35a
cmp dword [ebp - 0xb0], 0
jne 0x1003f332
jmp 0x1003f337
jmp 0x1003d64d
mov dword [ebp - 4], 0x19
cmp dword [ebp - 0x340], 0x3cb
jge 0x1003f35a
mov edx, dword [ebp - 0x40c]
mov ecx, 0x10610838
call fcn.100159ac
jmp 0x1003f376
or dword [ebp - 4], 0xffffffff
jmp 0x1003f380
mov dword [ebp - 0x18], 0xe8e56f9b
mov dword [ebp - 0x68], 0
push 3
lea ecx, [ebp - 0x5d4]
call fcn.100132fd
mov dword [ebp - 4], 0x1b
mov dword [ebp - 0x1ac], 0x95866b38
mov dword [ebp - 0xa0], 0
jmp 0x1003f3c5
mov eax, dword [ebp - 0xa0]
inc eax
mov dword [ebp - 0xa0], eax
cmp dword [ebp - 0xa0], 1
jge 0x1003f3e1
mov eax, dword [ebp - 0xa0]
mov dword [ebp + eax*4 - 0xc4], 0xbdde0bcd
jmp 0x1003f3b8
push 0x3c3
lea eax, [ebp - 0xa0]
push eax
push 0x35c9
push 1
push 0x565
push 1
push 0x72ee
lea eax, [ebp - 0x5d4]
push eax
call fcn.1003adf1
add esp, 0x20
mov dword [ebp - 0x18], 0
jmp 0x1003f41f
mov eax, dword [ebp - 0x18]
inc eax
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
jg 0x1003f43b
mov eax, dword [ebp - 0x18]
mov eax, dword [ebp + eax*4 - 0xc4]
mov ecx, dword [ebp - 0x18]
mov dword [ebp + ecx*4 - 0xc4], eax
jmp 0x1003f418
cmp dword [ebp - 0x18], 0
je 0x1003f453
cmp dword [ebp - 0x18], 0
je 0x1003f453
mov dword [ebp - 0x414], 1
jmp 0x1003f45a
and dword [ebp - 0x414], 0
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x680], eax
cmp dword [ebp - 0x18], 0x6ee9
jle 0x1003f478
mov dword [ebp - 0x348], 1
jmp 0x1003f47f
and dword [ebp - 0x348], 0
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x68], eax
mov eax, dword [ebp - 0x68]
mov dword [ebp - 0x350], eax
push 1
lea ecx, [ebp - 0x5d4]
call fcn.10013375
mov ecx, dword [ebp - 0x350]
mov dword [eax], ecx
mov eax, dword [ebp - 0x348]
neg eax
push 4
pop ecx
imul ecx, ecx, 0
mov edx, dword [ebp - 0x18]
add edx, dword [ebp + ecx - 0xc4]
sub edx, dword [ebp - 0x350]
cmp edx, eax
je 0x1003f4d1
mov dword [ebp - 0x41c], 1
jmp 0x1003f4d8
and dword [ebp - 0x41c], 0
push 0xfffffffffffffff9
pop eax
test eax, eax
je 0x1003f662
mov dword [ebp - 0x42c], 0xffffffff
mov dword [ebp - 0x18], 0
jmp 0x1003f4fd
mov eax, dword [ebp - 0x18]
dec eax
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0xfffffff2
jg 0x1003f65d
mov dword [ebp - 0x358], 0x2fcd
mov dword [ebp - 0x434], 0x1000b08c
cmp dword [ebp - 0x358], 0x30fd
jle 0x1003f603
and dword [ebp - 0x128], 0
jmp 0x1003f541
mov eax, dword [ebp - 0x128]
inc eax
mov dword [ebp - 0x128], eax
cmp dword [ebp - 0x128], 0x3017
jge 0x1003f603
and dword [ebp - 0x130], 0
jmp 0x1003f567
mov eax, dword [ebp - 0x130]
inc eax
mov dword [ebp - 0x130], eax
cmp dword [ebp - 0x130], 0x6c5b
jge 0x1003f5fe
and dword [ebp - 0x138], 0
jmp 0x1003f58d
mov eax, dword [ebp - 0x138]
inc eax
mov dword [ebp - 0x138], eax
cmp dword [ebp - 0x138], 0x2f35
jge 0x1003f5f9
mov eax, dword [ebp - 0x128]
imul eax, dword [ebp - 0x130]
mov ecx, dword [ebp - 0x138]
sar eax, cl
cdq
mov dword [ebp - 0x4b4], eax
mov dword [ebp - 0x4b0], edx
push dword [ebp - 0x4b0]
push dword [ebp - 0x4b4]
lea ecx, [ebp - 0x7c4]
call fcn.1000dcee
pop ecx
pop ecx
mov dword [ebp - 0x424], eax
mov ecx, dword [ebp - 0x424]
call fcn.100130b2
push eax
call fcn.10050ebf
pop ecx
lea ecx, [ebp - 0x7c4]
call fcn.100130a8
jmp 0x1003f580
jmp 0x1003f55a
jmp 0x1003f534
lea eax, [ebp - 0x42c]
push eax
call fcn.1003c3d9
pop ecx
mov byte [ebp - 4], 0x1c
cmp dword [ebp - 0x358], 0x2ee3
jge 0x1003f62c
push dword [ebp - 0x434]
call fcn.10050ebf
pop ecx
jmp 0x1003f648
mov dword [ebp - 4], 0x1b
jmp 0x1003f658
jmp 0x1003f4f6
jmp 0x1003fa41
push 3
lea ecx, [ebp - 0x538]
call fcn.100132fd
mov byte [ebp - 4], 0x1e
mov dword [ebp - 0x370], 0xffffffff
mov dword [ebp - 0x388], 0xffffffff
mov dword [ebp - 0x360], 0x67606e82
mov dword [ebp - 0x444], 0xfdda7840
lea eax, [ebp - 0x538]
push eax
lea eax, [ebp - 0xa8]
push eax
push 0
call fcn.10045b8b
add esp, 0xc
mov dword [ebp - 0xa8], 0
jmp 0x1003f6cc
mov eax, dword [ebp - 0xa8]
inc eax
mov dword [ebp - 0xa8], eax
cmp dword [ebp - 0xa8], 2
jge 0x1003f6e8
mov eax, dword [ebp - 0xa8]
mov dword [ebp + eax*4 - 0x568], 5
jmp 0x1003f6bf
mov dword [ebp - 0x68], 0
jmp 0x1003f6f8
mov eax, dword [ebp - 0x68]
inc eax
mov dword [ebp - 0x68], eax
cmp dword [ebp - 0x68], 0xb
jge 0x1003fa32
mov dword [ebp - 0x390], 0x4b58fe4d
mov dword [ebp - 0x140], 0
jmp 0x1003f725
mov eax, dword [ebp - 0x140]
inc eax
mov dword [ebp - 0x140], eax
cmp dword [ebp - 0x140], 2
jge 0x1003f741
mov eax, dword [ebp - 0x140]
mov dword [ebp + eax*4 - 0x3c4], 0xffffffff
jmp 0x1003f718
mov eax, dword [ebp - 0x1ac]
dec eax
mov dword [ebp - 0x1ac], eax
mov eax, dword [ebp - 0x1ac]
mov dword [ebp - 0x750], eax
push 4
pop eax
shl eax, 0
mov eax, dword [ebp + eax - 0x3c4]
mov dword [ebp - 0x360], eax
cmp dword [ebp - 0x360], 0
jne 0x1003f78f
push 4
pop eax
imul eax, eax, 0
cmp dword [ebp + eax - 0x568], 0
jne 0x1003f78f
and dword [ebp - 0x368], 0
jmp 0x1003f799
mov dword [ebp - 0x368], 1
mov eax, dword [ebp - 0x368]
mov dword [ebp - 0x370], eax
cmp dword [ebp - 0x370], 0x2ef7
jne 0x1003f7bd
mov dword [ebp - 0x378], 1
jmp 0x1003f7c4
and dword [ebp - 0x378], 0
mov eax, dword [ebp - 0x378]
dec eax
je 0x1003f7e2
cmp dword [ebp - 0x390], 0
je 0x1003f7e2
mov dword [ebp - 0x380], 1
jmp 0x1003f7e9
and dword [ebp - 0x380], 0
push 4
pop eax
shl eax, 0
mov eax, dword [ebp + eax - 0x3c4]
cmp dword [ebp - 0x380], eax
je 0x1003f80a
mov dword [ebp - 0x43c], 1
jmp 0x1003f811
and dword [ebp - 0x43c], 0
push 4
pop eax
shl eax, 0
mov eax, dword [ebp + eax - 0x568]
mov dword [ebp - 0x688], eax
push 2
lea ecx, [ebp - 0x538]
call fcn.10013375
mov eax, dword [eax]
mov dword [ebp - 0x388], eax
mov eax, dword [ebp - 0x388]
mov dword [ebp - 0x390], eax
mov dword [ebp - 0x3a8], 0x4981
mov dword [ebp - 0x44c], 0x1000b0a4
cmp dword [ebp - 0x3a8], 0x4b00
jle 0x1003f942
and dword [ebp - 0x160], 0
jmp 0x1003f87f
mov eax, dword [ebp - 0x160]
inc eax
mov dword [ebp - 0x160], eax
cmp dword [ebp - 0x160], 0x416f
jge 0x1003f942
and dword [ebp - 0x148], 0
jmp 0x1003f8a5
mov eax, dword [ebp - 0x148]
inc eax
mov dword [ebp - 0x148], eax
cmp dword [ebp - 0x148], 0x219d
jge 0x1003f93d
and dword [ebp - 0x150], 0
jmp 0x1003f8cb
mov eax, dword [ebp - 0x150]
inc eax
mov dword [ebp - 0x150], eax
cmp dword [ebp - 0x150], 0x695d
jge 0x1003f938
and dword [ebp - 0x158], 0
jmp 0x1003f8ed
mov eax, dword [ebp - 0x158]
inc eax
mov dword [ebp - 0x158], eax
cmp dword [ebp - 0x158], 0x18b3
jge 0x1003f936
mov eax, dword [ebp - 0x148]
add eax, dword [ebp - 0x150]
sub eax, dword [ebp - 0x158]
xor eax, dword [ebp - 0x160]
cdq
mov dword [ebp - 0x4c0], eax
mov dword [ebp - 0x4bc], edx
push dword [ebp - 0x4bc]
push dword [ebp - 0x4c0]
mov ecx, 0x10610838
call fcn.100130d2
jmp 0x1003f8e0
jmp 0x1003f8be
jmp 0x1003f898
jmp 0x1003f872
push 4
pop eax
shl eax, 0
mov eax, dword [ebp + eax - 0x3c4]
mov dword [ebp - 0x6f0], eax
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x690], eax
push 1
lea ecx, [ebp - 0x538]
call fcn.10013375
push 4
pop eax
shl eax, 0
mov esi, dword [ebp + eax - 0x3c4]
push 2
lea ecx, [ebp - 0x538]
call fcn.10013375
cmp dword [eax], esi
jl 0x1003f995
mov dword [ebp - 0x398], 1
jmp 0x1003f99c
and dword [ebp - 0x398], 0
push 4
pop eax
imul eax, eax, 0
mov ecx, dword [ebp - 0x68]
imul ecx, dword [ebp - 0x398]
cmp ecx, dword [ebp + eax - 0x3c4]
jg 0x1003f9c1
mov dword [ebp - 0x3a0], 1
jmp 0x1003f9c8
and dword [ebp - 0x3a0], 0
mov eax, dword [ebp - 0x444]
add eax, dword [ebp - 0x3a0]
push 4
pop ecx
imul ecx, ecx, 0
mov dword [ebp + ecx - 0xc4], eax
mov byte [ebp - 4], 0x1f
cmp dword [ebp - 0x3a8], 0x48c1
jge 0x1003fa01
mov edx, dword [ebp - 0x44c]
mov ecx, 0x10610838
call fcn.100159ac
jmp 0x1003fa1d
mov dword [ebp - 4], 0x1e
jmp 0x1003fa2d
jmp 0x1003f6f1
mov byte [ebp - 4], 0x1b
lea ecx, [ebp - 0x538]
call fcn.10013359
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x5d4]
call fcn.10013359
mov eax, dword [ebp - 0xb0]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret