Function at 0x313cc350
Capabilities:
Access peb ldr_data
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0x33
push 0
push 0
dec ecx
jne 0x313cc358
push ebx
push esi
push edi
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x313ce933
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0x10]
call fcn.313cf5d4
cmp dword [0x31445b08], 0
je 0x313cdbaa
mov eax, dword [0x31445b08]
mov dword [ebp - 0x14], eax
push 0
lea eax, [ebp - 4]
push eax
mov ecx, 0x313ce950
mov edx, 0x313ce978
mov eax, dword [ebp - 0x14]
mov ebx, dword [eax]
call dword [ebx + 4]
mov dl, 1
mov eax, dword [0x31283630]
call fcn.3128cc58
mov edx, dword [ebp - 0x10]
mov dword [edx + 0x138], eax
mov eax, dword [ebp - 0x10]
cmp byte [eax + 0x13c], 0
je 0x313cc483
mov eax, dword [0x31445c24]
mov eax, dword [eax + 4]
dec eax
test eax, eax
jl 0x313cc4cd
inc eax
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x20], 0
mov eax, dword [ebp - 0x20]
lea eax, [eax + eax*2]
mov edx, dword [0x31445c24]
mov edx, dword [edx + 8]
mov eax, dword [edx + eax*4]
lea edx, [ebp - 0x3c]
call fcn.312430a0
mov eax, dword [ebp - 0x3c]
mov edx, dword [ebp - 4]
call fcn.312374d8
jne 0x313cc475
mov eax, dword [ebp - 0x20]
lea eax, [eax + eax*2]
mov edx, dword [0x31445c24]
mov edx, dword [edx + 8]
mov eax, dword [edx + eax*4 + 8]
xor ecx, ecx
xor edx, edx
mov ebx, dword [eax]
call dword [ebx + 0x14]
mov eax, dword [ebp - 0x20]
lea eax, [eax + eax*2]
mov edx, dword [0x31445c24]
mov edx, dword [edx + 8]
mov edx, dword [edx + eax*4 + 8]
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x138]
mov ecx, dword [eax]
call dword [ecx + 0x5c]
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x138]
call fcn.3128d578
call fcn.31287ce0
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x138]
call fcn.3128d578
call fcn.31286cf0
jmp 0x313cc4cd
inc dword [ebp - 0x20]
dec dword [ebp - 0x30]
jne 0x313cc3e9
jmp 0x313cc4cd
mov edx, dword [ebp - 4]
mov eax, 0x313ce99c
call fcn.31237858
dec eax
jge 0x313cc4aa
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x90]
mov edx, dword [eax + 4]
lea eax, [ebp - 4]
mov ecx, dword [ebp - 4]
call fcn.312372d4
cmp dword [ebp - 4], 0
je 0x313cc4cd
mov eax, dword [ebp - 4]
call fcn.3124461c
test al, al
je 0x313cc4cd
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x138]
mov edx, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 0x54]
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x138]
mov dl, 6
call fcn.3128e8d4
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x138]
mov dl, 1
mov ecx, dword [eax]
call dword [ecx + pe_nt_image_headers32]
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x138]
mov edx, 0xff00ff
call fcn.3128ea3c
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x138]
xor edx, edx
mov ecx, dword [eax]
call dword [ecx + 0x78]
mov dl, 1
mov eax, dword [0x3125d548]
call fcn.3126962c
mov dword [ebp - 0x18], eax
mov dl, 1
mov eax, dword [0x3125d548]
call fcn.3126962c
mov dword [ebp - 0x1c], eax
xor eax, eax
push ebp
push 0x313cdba3
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
call dword [ecx + 0x48]
mov eax, dword [ebp - 0x18]
mov edx, dword [eax]
call dword [edx + 0x14]
dec eax
test eax, eax
jl 0x313cdb74
inc eax
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x20], 0
lea ecx, [ebp - 0x40]
mov edx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x18]
mov ebx, dword [eax]
call dword [ebx + 0xc]
mov edx, dword [ebp - 0x40]
mov ecx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x14]
mov ebx, dword [eax]
call dword [ebx + 0x44]
mov eax, dword [ebp - 0x1c]
mov edx, dword [eax]
call dword [edx + 0x14]
dec eax
test eax, eax
jl 0x313cdb68
inc eax
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x24], 0
lea ecx, [ebp - 0x44]
mov edx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x18]
mov ebx, dword [eax]
call dword [ebx + 0xc]
mov eax, dword [ebp - 0x44]
mov edx, 0x313ce978
call fcn.312374d8
jne 0x313cc5d9
lea ecx, [ebp - 0x48]
mov edx, dword [ebp - 0x24]
mov eax, dword [ebp - 0x1c]
mov ebx, dword [eax]
call dword [ebx + 0xc]
mov eax, dword [ebp - 0x48]
mov edx, 0x313ce950
call fcn.312374d8
je 0x313cdb5c
push 0
lea eax, [ebp - 4]
push eax
lea ecx, [ebp - 0x4c]
mov edx, dword [ebp - 0x24]
mov eax, dword [ebp - 0x1c]
mov ebx, dword [eax]
call dword [ebx + 0xc]
mov eax, dword [ebp - 0x4c]
push eax
lea ecx, [ebp - 0x50]
mov edx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x18]
mov ebx, dword [eax]
call dword [ebx + 0xc]
mov edx, dword [ebp - 0x50]
mov eax, dword [ebp - 0x14]
pop ecx
mov ebx, dword [eax]
call dword [ebx + 4]
cmp dword [ebp - 4], 0
je 0x313cdb5c
mov eax, dword [ebp - 4]
movzx eax, word [eax]
sub ax, 0x21
je 0x313cce33
sub ax, 0x1f
je 0x313cc80a
sub ax, 0x1e
je 0x313cc9ca
sub ax, 0x20
jne 0x313cd3d1
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x94]
call fcn.312385fc
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x28]
inc eax
push eax
mov eax, dword [ebp - 0x10]
add eax, 0x94
mov ecx, 1
mov edx, dword [0x3139ce54]
call fcn.312387c4
add esp, 4
lea ecx, [ebp - 0x54]
mov edx, dword [ebp - 0x24]
mov eax, dword [ebp - 0x1c]
mov esi, dword [eax]
call dword [esi + 0xc]
mov edx, dword [ebp - 0x54]
imul ebx, dword [ebp - 0x28], 0xd
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x94]
lea eax, [eax + ebx*4 + 8]
call fcn.31236df0
lea ecx, [ebp - 0x58]
mov edx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x18]
mov esi, dword [eax]
call dword [esi + 0xc]
mov edx, dword [ebp - 0x58]
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x94]
lea eax, [eax + ebx*4 + 4]
call fcn.31236df0
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x94]
mov edx, dword [ebp - 0x10]
mov dword [eax + ebx*4 + 0x28], edx
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x94]
mov byte [eax + ebx*4 + 0x24], 1
lea eax, [ebp - 0x6c]
push eax
mov ecx, 4
mov edx, 0x11
mov eax, dword [ebp - 4]
call fcn.31237540
mov eax, dword [ebp - 0x6c]
call fcn.312440dc
push eax
lea eax, [ebp - 0x68]
push eax
lea eax, [ebp - 0x70]
push eax
mov ecx, 4
mov edx, 0xc
mov eax, dword [ebp - 4]
call fcn.31237540
mov eax, dword [ebp - 0x70]
call fcn.312440dc
push eax
lea eax, [ebp - 0x74]
push eax
mov ecx, 4
mov edx, 7
mov eax, dword [ebp - 4]
call fcn.31237540
mov eax, dword [ebp - 0x74]
call fcn.312440dc
push eax
lea eax, [ebp - 0x78]
push eax
mov ecx, 4
mov edx, 2
mov eax, dword [ebp - 4]
call fcn.31237540
mov eax, dword [ebp - 0x78]
call fcn.312440dc
pop edx
pop ecx
call fcn.31263970
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x94]
lea esi, [ebp - 0x68]
lea edi, [eax + ebx*4 + 0xc]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x94]
mov word [eax + ebx*4 + 0x1c], 1
lea eax, [ebp - 0x7c]
push eax
mov ecx, 2
mov edx, 0x16
mov eax, dword [ebp - 4]
call fcn.31237540
mov eax, dword [ebp - 0x7c]
call fcn.312440dc
mov edx, dword [ebp - 0x10]
mov edx, dword [edx + 0x94]
mov word [edx + ebx*4 + 0x22], ax
lea eax, [ebp - 4]
call fcn.31236564
call fcn.31237170
cmp eax, 0x18
jle 0x313cc7f5
lea eax, [ebp - 0x80]
push eax
mov ecx, 1
mov edx, 0x19
mov eax, dword [ebp - 4]
call fcn.31237540
mov eax, dword [ebp - 0x80]
call fcn.312440dc
mov edx, dword [ebp - 0x10]
mov edx, dword [edx + 0x94]
mov word [edx + ebx*4 + 0x1e], ax
jmp 0x313cdb5c
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x94]
mov word [eax + ebx*4 + 0x1e], 0
jmp 0x313cdb5c
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x94]
call fcn.312385fc
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x28]
inc eax
push eax
mov eax, dword [ebp - 0x10]
add eax, 0x94
mov ecx, 1
mov edx, dword [0x3139ce54]
call fcn.312387c4
add esp, 4
lea ecx, [ebp - 0x84]
mov edx, dword [ebp - 0x24]
mov eax, dword [ebp - 0x1c]
mov esi, dword [eax]
call dword [esi + 0xc]
mov edx, dword [ebp - 0x84]
imul ebx, dword [ebp - 0x28], 0xd
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x94]
lea eax, [eax + ebx*4 + 8]
call fcn.31236df0
lea ecx, [ebp - 0x88]
mov edx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x18]
mov esi, dword [eax]
call dword [esi + 0xc]
mov edx, dword [ebp - 0x88]
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x94]
lea eax, [eax + ebx*4 + 4]
call fcn.31236df0
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x94]
mov edx, dword [ebp - 0x10]
mov dword [eax + ebx*4 + 0x28], edx
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x94]
mov byte [eax + ebx*4 + 0x24], 2
lea eax, [ebp - 0x8c]
push eax
mov ecx, 4
mov edx, 0x11
mov eax, dword [ebp - 4]
call fcn.31237540
mov eax, dword [ebp - 0x8c]
call fcn.312440dc
push eax
lea eax, [ebp - 0x68]
push eax
lea eax, [ebp - 0x90]
push eax
mov ecx, 4
mov edx, 0xc
mov eax, dword [ebp - 4]
call fcn.31237540
mov eax, dword [ebp - 0x90]
call fcn.312440dc
push eax
lea eax, [ebp - 0x94]
push eax
mov ecx, 4
mov edx, 7
mov eax, dword [ebp - 4]
call fcn.31237540
mov eax, dword [ebp - 0x94]
call fcn.312440dc
push eax
lea eax, [ebp - 0x98]
push eax
mov ecx, 4
mov edx, 2
mov eax, dword [ebp - 4]
call fcn.31237540
mov eax, dword [ebp - 0x98]
call fcn.312440dc
pop edx
pop ecx
call fcn.31263970
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x94]
lea esi, [ebp - 0x68]
lea edi, [eax + ebx*4 + 0xc]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
lea eax, [ebp - 0x9c]
push eax
mov ecx, 1
mov edx, 0x16
mov eax, dword [ebp - 4]
call fcn.31237540
mov eax, dword [ebp - 0x9c]
call fcn.312440dc
mov edx, dword [ebp - 0x10]
mov edx, dword [edx + 0x94]
mov word [edx + ebx*4 + 0x1c], ax
lea eax, [ebp - 0xa0]
push eax
mov ecx, 1
mov edx, 0x18
mov eax, dword [ebp - 4]
call fcn.31237540
mov eax, dword [ebp - 0xa0]
call fcn.312440dc
mov edx, dword [ebp - 0x10]
mov edx, dword [edx + 0x94]
mov word [edx + ebx*4 + 0x1e], ax
jmp 0x313cdb5c
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x94]
call fcn.312385fc
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x28]
inc eax
push eax
mov eax, dword [ebp - 0x10]
add eax, 0x94
mov ecx, 1
mov edx, dword [0x3139ce54]
call fcn.312387c4
add esp, 4
lea ecx, [ebp - 0xa4]
mov edx, dword [ebp - 0x24]
mov eax, dword [ebp - 0x1c]
mov esi, dword [eax]
call dword [esi + 0xc]
mov edx, dword [ebp - 0xa4]
imul ebx, dword [ebp - 0x28], 0xd
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x94]
lea eax, [eax + ebx*4 + 8]
call fcn.31236df0
lea ecx, [ebp - 0xa8]
mov edx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x18]
mov esi, dword [eax]
call dword [esi + 0xc]
mov edx, dword [ebp - 0xa8]
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x94]
lea eax, [eax + ebx*4 + 4]
call fcn.31236df0
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x94]
mov edx, dword [ebp - 0x10]
mov dword [eax + ebx*4 + 0x28], edx
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x94]
mov byte [eax + ebx*4 + 0x24], 0
lea eax, [ebp - 0xac]
push eax
mov ecx, 4
mov edx, 0x11
mov eax, dword [ebp - 4]
call fcn.31237540
mov eax, dword [ebp - 0xac]
call fcn.312440dc
push eax
lea eax, [ebp - 0x68]
push eax
lea eax, [ebp - 0xb0]
push eax
mov ecx, 4
mov edx, 0xc
mov eax, dword [ebp - 4]
call fcn.31237540
mov eax, dword [ebp - 0xb0]
call fcn.312440dc
push eax
lea eax, [ebp - 0xb4]
push eax
mov ecx, 4
mov edx, 7
mov eax, dword [ebp - 4]
call fcn.31237540
mov eax, dword [ebp - 0xb4]
call fcn.312440dc
push eax
lea eax, [ebp - 0xb8]
push eax
mov ecx, 4
mov edx, 2
mov eax, dword [ebp - 4]
call fcn.31237540
mov eax, dword [ebp - 0xb8]
call fcn.312440dc
pop edx
pop ecx
call fcn.31263970
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x94]
lea esi, [ebp - 0x68]
lea edi, [eax + ebx*4 + 0xc]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
lea eax, [ebp - 0xbc]
push eax
mov ecx, 4
mov edx, 0x16
mov eax, dword [ebp - 4]
call fcn.31237540
mov eax, dword [ebp - 0xbc]
call fcn.312440dc
mov edx, dword [ebp - 0x10]
mov edx, dword [edx + 0x94]
mov word [edx + ebx*4 + 0x2c], ax
lea eax, [ebp - 0xc0]
push eax
mov ecx, 4
mov edx, 0x1b
mov eax, dword [ebp - 4]
call fcn.31237540
mov eax, dword [ebp - 0xc0]
call fcn.312440dc
mov edx, dword [ebp - 0x10]
mov edx, dword [edx + 0x94]
mov word [edx + ebx*4 + 0x2e], ax
lea eax, [ebp - 0xc4]
push eax
mov ecx, 4
mov edx, 0x20
mov eax, dword [ebp - 4]
call fcn.31237540
mov eax, dword [ebp - 0xc4]
call fcn.312440dc
mov edx, dword [ebp - 0x10]
mov edx, dword [edx + 0x94]
mov word [edx + ebx*4 + 0x30], ax
lea eax, [ebp - 0xc8]
push eax
mov ecx, 4
mov edx, 0x25
mov eax, dword [ebp - 4]
call fcn.31237540
mov eax, dword [ebp - 0xc8]
call fcn.312440dc
mov edx, dword [ebp - 0x10]
mov edx, dword [edx + 0x94]
mov word [edx + ebx*4 + 0x32], ax
lea eax, [ebp - 0xcc]
push eax
mov ecx, 1
mov edx, 0x2a
mov eax, dword [ebp - 4]
call fcn.31237540
mov eax, dword [ebp - 0xcc]
call fcn.312440dc
mov edx, dword [ebp - 0x10]
mov edx, dword [edx + 0x94]
mov word [edx + ebx*4 + 0x1c], ax
lea eax, [ebp - 0xd0]
push eax
mov ecx, 1
mov edx, 0x2c
mov eax, dword [ebp - 4]
call fcn.31237540
mov eax, dword [ebp - 0xd0]
call fcn.312440dc
mov edx, dword [ebp - 0x10]
mov edx, dword [edx + 0x94]
mov word [edx + ebx*4 + 0x1e], ax
lea eax, [ebp - 0xd4]
push eax
mov ecx, 1
mov edx, 0x2e
mov eax, dword [ebp - 4]
call fcn.31237540
mov eax, dword [ebp - 0xd4]
call fcn.312440dc
mov edx, dword [ebp - 0x10]
mov edx, dword [edx + 0x94]
mov word [edx + ebx*4 + 0x22], ax
lea eax, [ebp - 0xd8]
push eax
mov ecx, 1
mov edx, 0x30
mov eax, dword [ebp - 4]
call fcn.31237540
mov eax, dword [ebp - 0xd8]
call fcn.312440dc
mov edx, dword [ebp - 0x10]
mov edx, dword [edx + 0x94]
mov word [edx + ebx*4 + 0x20], ax
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x94]
movsx eax, word [eax + ebx*4 + 0x2c]
mov edx, dword [ebp - 0x10]
mov edx, dword [edx + 0x94]
movsx edx, word [edx + ebx*4 + 0x2e]
add eax, edx
mov edx, dword [ebp - 0x10]
mov edx, dword [edx + 0x94]
movsx edx, word [edx + ebx*4 + 0x30]
add eax, edx
mov edx, dword [ebp - 0x10]
mov edx, dword [edx + 0x94]
movsx edx, word [edx + ebx*4 + 0x32]
add eax, edx
test eax, eax
jne 0x313cdb5c
imul eax, dword [ebp - 0x28], 0xd
mov edx, dword [ebp - 0x10]
mov edx, dword [edx + 0x94]
cmp word [edx + eax*4 + 0x20], 0
je 0x313ccd85
imul eax, dword [ebp - 0x28], 0xd
mov edx, dword [ebp - 0x10]
mov edx, dword [edx + 0x94]
movzx eax, word [edx + eax*4 + 0x20]
mov edx, dword [ebp - 0x10]
mov edx, dword [edx + 0x94]
mov word [edx + ebx*4 + 0x2c], ax
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x94]
movzx eax, word [eax + ebx*4 + 0x20]
mov edx, dword [ebp - 0x10]
mov edx, dword [edx + 0x94]
mov word [edx + ebx*4 + 0x2e], ax
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x94]
movzx eax, word [eax + ebx*4 + 0x20]
mov edx, dword [ebp - 0x10]
mov edx, dword [edx + 0x94]
mov word [edx + ebx*4 + 0x30], ax
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x94]
movzx eax, word [eax + ebx*4 + 0x20]
mov edx, dword [ebp - 0x10]
mov edx, dword [edx + 0x94]
mov word [edx + ebx*4 + 0x32], ax
jmp 0x313cdb5c
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x94]
lea eax, [eax + ebx*4 + 0xc]
xor edx, edx
call fcn.3141428c
mov edx, dword [ebp - 0x10]
mov edx, dword [edx + 0x94]
movsx edx, word [edx + ebx*4 + 0x1c]
lea edx, [edx + edx*2]
mov ecx, edx
cdq
idiv ecx
mov edx, dword [ebp - 0x10]
mov edx, dword [edx + 0x94]
mov word [edx + ebx*4 + 0x2c], ax
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x94]
lea eax, [eax + ebx*4 + 0xc]
xor edx, edx
call fcn.314142a0
mov edx, dword [ebp - 0x10]
mov edx, dword [edx + 0x94]
movsx edx, word [edx + ebx*4 + 0x1e]
inc edx
lea edx, [edx + edx*2]
mov ecx, edx
cdq
idiv ecx
mov edx, dword [ebp - 0x10]
mov edx, dword [edx + 0x94]
mov word [edx + ebx*4 + 0x2e], ax
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x94]
movzx eax, word [eax + ebx*4 + 0x2c]
mov edx, dword [ebp - 0x10]
mov edx, dword [edx + 0x94]
mov word [edx + ebx*4 + 0x30], ax
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x94]
movzx eax, word [eax + ebx*4 + 0x2e]
mov edx, dword [ebp - 0x10]
mov edx, dword [edx + 0x94]
mov word [edx + ebx*4 + 0x32], ax
jmp 0x313cdb5c
lea eax, [ebp - 0xc]
push eax
mov ecx, 0x313ce9a0
mov edx, dword [ebp - 4]
mov eax, 1
call fcn.314144b4
mov edx, dword [ebp - 0xc]
mov eax, 0x313ce9cc
call fcn.31237858
test eax, eax
setg bl
test bl, bl
jne 0x313cce74
mov edx, dword [ebp - 0xc]
mov eax, 0x313ce9e4
call fcn.31237858
test eax, eax
jle 0x313cdb5c
xor esi, esi
mov eax, dword [ebp - 0x10]
cmp byte [eax + 0x13c], 0
je 0x313ccf74
mov eax, dword [0x31445c24]
mov edi, dword [eax + 4]
dec edi
test edi, edi
jl 0x313ccff8
inc edi
mov dword [ebp - 0x28], 0
mov eax, dword [ebp - 0x28]
lea eax, [eax + eax*2]
mov edx, dword [0x31445c24]
mov edx, dword [edx + 8]
mov eax, dword [edx + eax*4]
lea edx, [ebp - 0xdc]
call fcn.312430a0
mov eax, dword [ebp - 0xdc]
mov edx, dword [ebp - 0xc]
call fcn.312374d8
jne 0x313ccf65
mov dl, 1
mov eax, dword [0x31283630]
call fcn.3128cc58
mov esi, eax
mov eax, dword [ebp - 0x28]
lea eax, [eax + eax*2]
mov edx, dword [0x31445c24]
mov edx, dword [edx + 8]
mov eax, dword [edx + eax*4 + 8]
xor ecx, ecx
xor edx, edx
mov edi, dword [eax]
call dword [edi + 0x14]
test bl, bl
je 0x313ccf1d
mov eax, dword [ebp - 0x28]
lea eax, [eax + eax*2]
mov edx, dword [0x31445c24]
mov edx, dword [edx + 8]
mov edx, dword [edx + eax*4 + 8]
mov eax, esi
mov ecx, dword [eax]
call dword [ecx + 0x5c]
jmp 0x313ccff8
mov dl, 1
mov eax, dword [0x3141e2ec]
call fcn.31420814
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x28]
lea eax, [eax + eax*2]
mov edx, dword [0x31445c24]
mov edx, dword [edx + 8]
mov edx, dword [edx + eax*4 + 8]
mov eax, dword [ebp - 0x2c]
mov ecx, dword [eax]
call dword [ecx + 0x5c]
mov edx, dword [ebp - 0x2c]
mov eax, esi
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, esi
call fcn.31427c00
lea eax, [ebp - 0x2c]
call fcn.3124bdd0
jmp 0x313ccff8
inc dword [ebp - 0x28]
dec edi
jne 0x313cce9f
jmp 0x313ccff8
mov edx, dword [ebp - 0xc]
mov eax, 0x313ce99c
call fcn.31237858
dec eax
jge 0x313ccf9b
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x90]
mov edx, dword [eax + 4]
lea eax, [ebp - 0xc]
mov ecx, dword [ebp - 0xc]
call fcn.312372d4
mov eax, dword [ebp - 0xc]
call fcn.3124461c
test al, al
je 0x313ccff8
mov dl, 1
mov eax, dword [0x31283630]
call fcn.3128cc58
mov esi, eax
test bl, bl
je 0x313ccfc5
mov edx, dword [ebp - 0xc]
mov eax, esi
mov ecx, dword [eax]
call dword [ecx + 0x54]
jmp 0x313ccff8
mov dl, 1
mov eax, dword [0x3141e2ec]
call fcn.31420814
mov dword [ebp - 0x2c], eax
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x2c]
mov ecx, dword [eax]
call dword [ecx + 0x54]
mov edx, dword [ebp - 0x2c]
mov eax, esi
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, esi
call fcn.31427c00
lea eax, [ebp - 0x2c]
call fcn.3124bdd0
test esi, esi
je 0x313cdb5c
mov eax, esi
mov edx, dword [eax]
call dword [edx + 0x30]
test eax, eax
jle 0x313cdb5c
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x94]
call fcn.312385fc
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x28]
inc eax
push eax
mov eax, dword [ebp - 0x10]
add eax, 0x94
mov ecx, 1
mov edx, dword [0x3139ce54]
call fcn.312387c4
add esp, 4
xor eax, eax
push ebp
push 0x313cd3c7
push dword fs:[eax]
mov dword fs:[eax], esp
imul eax, dword [ebp - 0x28], 0xd
mov edx, dword [ebp - 0x10]
mov edx, dword [edx + 0x94]
mov dword [edx + eax*4], esi
imul eax, dword [ebp - 0x28], 0xd
mov edx, dword [ebp - 0x10]
mov edx, dword [edx + 0x94]
mov eax, dword [edx + eax*4]
call fcn.3128d578
call fcn.31287ce0
imul eax, dword [ebp - 0x28], 0xd
mov edx, dword [ebp - 0x10]
mov edx, dword [edx + 0x94]
mov eax, dword [edx + eax*4]
call fcn.3128d578
call fcn.31286cf0
lea eax, [ebp - 0xe0]
push eax
mov ecx, 0x313ce9a0
mov edx, dword [ebp - 4]
mov eax, 4
call fcn.314144b4
mov eax, dword [ebp - 0xe0]
call fcn.312440dc
mov edx, 4
call fcn.3123e15c
mov edx, dword [0x3143f90c]
movzx eax, byte [edx + eax]
imul edx, dword [ebp - 0x28], 0xd
mov ecx, dword [ebp - 0x10]
mov ecx, dword [ecx + 0x94]
mov byte [ecx + edx*4 + 0x24], al
test bl, bl
je 0x313cd10c
imul eax, dword [ebp - 0x28], 0xd
mov edx, dword [ebp - 0x10]
mov edx, dword [edx + 0x94]
movzx eax, byte [edx + eax*4 + 0x24]
sub al, 1
je 0x313cd10c
imul eax, dword [ebp - 0x28], 0xd
mov edx, dword [ebp - 0x10]
mov edx, dword [edx + 0x94]
mov eax, dword [edx + eax*4]
mov dl, 6
call fcn.3128e8d4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x313cdb5c
lea ecx, [ebp - 0xe4]
mov edx, dword [ebp - 0x24]
mov eax, dword [ebp - 0x1c]
mov esi, dword [eax]
call dword [esi + 0xc]
mov edx, dword [ebp - 0xe4]
imul ebx, dword [ebp - 0x28], 0xd
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x94]
lea eax, [eax + ebx*4 + 8]
call fcn.31236df0
lea ecx, [ebp - 0xe8]
mov edx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x18]
mov esi, dword [eax]
call dword [esi + 0xc]
mov edx, dword [ebp - 0xe8]
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x94]
lea eax, [eax + ebx*4 + 4]
call fcn.31236df0
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x94]
mov edx, dword [ebp - 0x10]
mov dword [eax + ebx*4 + 0x28], edx
lea eax, [ebp - 0xec]
push eax
mov ecx, 0x313ce9a0
mov edx, dword [ebp - 4]
mov eax, 2
call fcn.314144b4
mov eax, dword [ebp - 0xec]
call fcn.312440dc
mov edx, dword [ebp - 0x10]
mov edx, dword [edx + 0x94]
mov word [edx + ebx*4 + 0x1c], ax
lea eax, [ebp - 0xf0]
push eax
mov ecx, 0x313ce9a0
mov edx, dword [ebp - 4]
mov eax, 3
call fcn.314144b4
mov eax, dword [ebp - 0xf0]
call fcn.312440dc
mov edx, dword [ebp - 0x10]
mov edx, dword [edx + 0x94]
mov word [edx + ebx*4 + 0x1e], ax
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x94]
mov word [eax + ebx*4 + 0x22], 4
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x94]
mov eax, dword [eax + ebx*4]
mov edx, dword [eax]
call dword [edx + 0x24]
push eax
lea eax, [ebp - 0x68]
push eax
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x94]
mov eax, dword [eax + ebx*4]
mov edx, dword [eax]
call dword [edx + 0x30]
mov ecx, eax
xor edx, edx
xor eax, eax
call fcn.31263970
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x94]
lea esi, [ebp - 0x68]
lea edi, [eax + ebx*4 + 0xc]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov edx, 0x313ce9a0
mov eax, dword [ebp - 4]
call fcn.31414628
cmp eax, 4
jle 0x313cd31c
lea eax, [ebp - 0xf4]
push eax
mov ecx, 0x313ce9a0
mov edx, dword [ebp - 4]
mov eax, 5
call fcn.314144b4
mov eax, dword [ebp - 0xf4]
call fcn.312440dc
mov edx, dword [ebp - 0x10]
mov edx, dword [edx + 0x94]
mov word [edx + ebx*4 + 0x2c], ax
lea eax, [ebp - 0xf8]
push eax
mov ecx, 0x313ce9a0
mov edx, dword [ebp - 4]
mov eax, 6
call fcn.314144b4
mov eax, dword [ebp - 0xf8]
call fcn.312440dc
mov edx, dword [ebp - 0x10]
mov edx, dword [edx + 0x94]
mov word [edx + ebx*4 + 0x2e], ax
lea eax, [ebp - 0xfc]
push eax
mov ecx, 0x313ce9a0
mov edx, dword [ebp - 4]
mov eax, 7
call fcn.314144b4
mov eax, dword [ebp - 0xfc]
call fcn.312440dc
mov edx, dword [ebp - 0x10]
mov edx, dword [edx + 0x94]
mov word [edx + ebx*4 + 0x30], ax
lea eax, [ebp - 0x100]
push eax
mov ecx, 0x313ce9a0
mov edx, dword [ebp - 4]
mov eax, 8
call fcn.314144b4
mov eax, dword [ebp - 0x100]
call fcn.312440dc
mov edx, dword [ebp - 0x10]
mov edx, dword [edx + 0x94]
mov word [edx + ebx*4 + 0x32], ax
jmp 0x313cd3c6
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x94]
lea eax, [eax + ebx*4]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x94]
lea eax, [eax + ebx*4 + 0xc]
xor edx, edx
call fcn.3141428c
mov edx, dword [ebp - 0x38]
movsx edx, word [edx + 0x1c]
lea edx, [edx + edx*2]
mov ecx, edx
cdq
idiv ecx
mov edx, dword [ebp - 0x10]
mov edx, dword [edx + 0x94]
mov word [edx + ebx*4 + 0x2c], ax
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x94]
lea eax, [eax + ebx*4 + 0xc]
xor edx, edx
call fcn.314142a0
mov edx, dword [ebp - 0x38]
movsx edx, word [edx + 0x1e]
inc edx
lea edx, [edx + edx*2]
mov ecx, edx
cdq
idiv ecx
mov edx, dword [ebp - 0x10]
mov edx, dword [edx + 0x94]
mov word [edx + ebx*4 + 0x2e], ax
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x94]
movzx eax, word [eax + ebx*4 + 0x2c]
mov edx, dword [ebp - 0x10]
mov edx, dword [edx + 0x94]
mov word [edx + ebx*4 + 0x30], ax
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x94]
movzx eax, word [eax + ebx*4 + 0x2e]
mov edx, dword [ebp - 0x10]
mov edx, dword [edx + 0x94]
mov word [edx + ebx*4 + 0x32], ax
ret
mov edx, dword [ebp - 4]
mov eax, 0x313ce9fc
call fcn.31237858
test eax, eax
jle 0x313cd7a0
mov eax, dword [ebp - 4]
mov edx, 0x313ce9fc
call fcn.312374d8
je 0x313cdb5c
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x94]
call fcn.312385fc
inc eax
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x28]
push eax
mov eax, dword [ebp - 0x10]
add eax, 0x94
mov ecx, 1
mov edx, dword [0x3139ce54]
call fcn.312387c4
add esp, 4
lea ecx, [ebp - 0x108]
mov edx, dword [ebp - 0x24]
mov eax, dword [ebp - 0x1c]
mov esi, dword [eax]
call dword [esi + 0xc]
mov eax, dword [ebp - 0x108]
lea edx, [ebp - 0x104]
call fcn.312430a0
mov edx, dword [ebp - 0x104]
imul ebx, dword [ebp - 0x28], 0xd
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x94]
lea eax, [eax + ebx*4 - 0x2c]
call fcn.31236df0
lea ecx, [ebp - 0x110]
mov edx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x18]
mov esi, dword [eax]
call dword [esi + 0xc]
mov eax, dword [ebp - 0x110]
lea edx, [ebp - 0x10c]
call fcn.312430a0
mov edx, dword [ebp - 0x10c]
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x94]
lea eax, [eax + ebx*4 - 0x30]
call fcn.31236df0
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x94]
mov edx, dword [ebp - 0x10]
mov dword [eax + ebx*4 - 0xc], edx
lea eax, [ebp - 8]
push eax
mov ecx, 0x313cea00
mov edx, dword [ebp - 4]
mov eax, 2
call fcn.314144b4
lea eax, [ebp - 0x114]
push eax
mov ecx, 0x313cea20
mov edx, dword [ebp - 8]
mov eax, 4
call fcn.314144b4
mov eax, dword [ebp - 0x114]
call fcn.312440dc
push eax
lea eax, [ebp - 0x68]
push eax
lea eax, [ebp - 0x118]
push eax
mov ecx, 0x313cea20
mov edx, dword [ebp - 8]
mov eax, 3
call fcn.314144b4
mov eax, dword [ebp - 0x118]
call fcn.312440dc
push eax
lea eax, [ebp - 0x11c]
push eax
mov ecx, 0x313cea20
mov edx, dword [ebp - 8]
mov eax, 2
call fcn.314144b4
mov eax, dword [ebp - 0x11c]
call fcn.312440dc
push eax
lea eax, [ebp - 0x120]
push eax
mov ecx, 0x313cea40
mov edx, dword [ebp - 8]
mov eax, 1
call fcn.314144b4
mov eax, dword [ebp - 0x120]
call fcn.312440dc
pop edx
pop ecx
call fcn.31263970
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x94]
lea esi, [ebp - 0x68]
lea edi, [eax + ebx*4 - 0x28]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
lea eax, [ebp - 8]
push eax
mov ecx, 0x313cea00
mov edx, dword [ebp - 4]
mov eax, 3
call fcn.314144b4
lea eax, [ebp - 0x124]
push eax
mov ecx, 0x313cea20
mov edx, dword [ebp - 8]
mov eax, 1
call fcn.314144b4
mov eax, dword [ebp - 0x124]
call fcn.312440dc
mov edx, dword [ebp - 0x10]
mov edx, dword [edx + 0x94]
mov word [edx + ebx*4 - 0x18], ax
imul eax, dword [ebp - 0x28], 0xd
mov edx, dword [ebp - 0x10]
mov edx, dword [edx + 0x94]
cmp word [edx + eax*4 - 0x18], 1
jge 0x313cd5e7
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x94]
mov word [eax + ebx*4 - 0x18], 1
lea eax, [ebp - 0x128]
push eax
mov ecx, 0x313cea20
mov edx, dword [ebp - 8]
mov eax, 2
call fcn.314144b4
mov eax, dword [ebp - 0x128]
call fcn.312440dc
mov edx, dword [ebp - 0x10]
mov edx, dword [edx + 0x94]
mov word [edx + ebx*4 - 0x16], ax
imul eax, dword [ebp - 0x28], 0xd
mov edx, dword [ebp - 0x10]
mov edx, dword [edx + 0x94]
cmp word [edx + eax*4 - 0x16], 0
jge 0x313cd63e
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x94]
mov word [eax + ebx*4 - 0x16], 0
lea eax, [ebp - 0xc]
push eax
mov ecx, 0x313cea20
mov edx, dword [ebp - 8]
mov eax, 3
call fcn.314144b4
cmp dword [ebp - 0xc], 0
je 0x313cd697
mov eax, dword [ebp - 0xc]
call fcn.312440dc
mov edx, dword [ebp - 0x10]
mov edx, dword [edx + 0x94]
mov word [edx + ebx*4 - 0x14], ax
imul eax, dword [ebp - 0x28], 0xd
mov edx, dword [ebp - 0x10]
mov edx, dword [edx + 0x94]
cmp word [edx + eax*4 - 0x14], 0
jge 0x313cd6a7
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x94]
mov word [eax + ebx*4 - 0x14], 0
jmp 0x313cd6a7
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x94]
mov word [eax + ebx*4 - 0x14], 0
lea eax, [ebp - 0xc]
push eax
mov ecx, 0x313cea20
mov edx, dword [ebp - 8]
mov eax, 4
call fcn.314144b4
cmp dword [ebp - 0xc], 0
je 0x313cd6db
mov eax, dword [ebp - 0xc]
call fcn.312440dc
mov edx, dword [ebp - 0x10]
mov edx, dword [edx + 0x94]
mov word [edx + ebx*4 - 0x12], ax
jmp 0x313cd6eb
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x94]
mov word [eax + ebx*4 - 0x12], 1
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x94]
lea esi, [eax + ebx*4 - 0x34]
movsx eax, word [esi + 0x2c]
movsx edx, word [esi + 0x2e]
add eax, edx
movsx edx, word [esi + 0x30]
add eax, edx
movsx edx, word [esi + 0x32]
add eax, edx
test eax, eax
jne 0x313cdb5c
cmp word [esi + 0x20], 0
je 0x313cd742
movzx eax, word [esi + 0x20]
mov word [esi + 0x2c], ax
movzx eax, word [esi + 0x20]
mov word [esi + 0x2e], ax
movzx eax, word [esi + 0x20]
mov word [esi + 0x30], ax
movzx eax, word [esi + 0x20]
mov word [esi + 0x32], ax
jmp 0x313cdb5c
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x94]
lea eax, [eax + ebx*4 - 0x28]
xor edx, edx
call fcn.3141428c
movsx edx, word [esi + 0x1c]
lea edx, [edx + edx*2]
mov ecx, edx
cdq
idiv ecx
mov word [esi + 0x2c], ax
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x94]
lea eax, [eax + ebx*4 - 0x28]
xor edx, edx
call fcn.314142a0
movsx edx, word [esi + 0x1e]
inc edx
lea edx, [edx + edx*2]
mov ecx, edx
cdq
idiv ecx
mov word [esi + 0x2e], ax
movzx eax, word [esi + 0x2c]
mov word [esi + 0x30], ax
movzx eax, word [esi + 0x2e]
mov word [esi + 0x32], ax
jmp 0x313cdb5c
lea edx, [ebp - 0x12c]
mov eax, dword [ebp - 4]
call fcn.31243468
mov edx, dword [ebp - 0x12c]
lea eax, [ebp - 4]
call fcn.31236e44
mov edx, dword [ebp - 4]
mov eax, 0x313ce9cc
call fcn.31237858
test eax, eax
jle 0x313cdb5c
xor esi, esi
mov eax, dword [ebp - 0x10]
cmp byte [eax + 0x13c], 0
je 0x313cd877
mov eax, dword [0x31445c24]
mov edi, dword [eax + 4]
dec edi
test edi, edi
jl 0x313cd8c2
inc edi
mov dword [ebp - 0x28], 0
mov eax, dword [ebp - 0x28]
lea eax, [eax + eax*2]
mov edx, dword [0x31445c24]
mov edx, dword [edx + 8]
mov eax, dword [edx + eax*4]
lea edx, [ebp - 0x130]
call fcn.312430a0
mov eax, dword [ebp - 0x130]
mov edx, dword [ebp - 4]
call fcn.312374d8
jne 0x313cd86f
mov dl, 1
mov eax, dword [0x31283630]
call fcn.3128cc58
mov esi, eax
mov eax, dword [ebp - 0x28]
lea eax, [eax + eax*2]
mov edx, dword [0x31445c24]
mov edx, dword [edx + 8]
mov eax, dword [edx + eax*4 + 8]
xor ecx, ecx
xor edx, edx
mov ebx, dword [eax]
call dword [ebx + 0x14]
mov eax, dword [ebp - 0x28]
lea eax, [eax + eax*2]
mov edx, dword [0x31445c24]
mov edx, dword [edx + 8]
mov edx, dword [edx + eax*4 + 8]
mov eax, esi
mov ecx, dword [eax]
call dword [ecx + 0x5c]
jmp 0x313cd8c2
inc dword [ebp - 0x28]
dec edi
jne 0x313cd7fc
jmp 0x313cd8c2
mov edx, dword [ebp - 4]
mov eax, 0x313ce99c
call fcn.31237858
dec eax
jge 0x313cd89e
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x90]
mov edx, dword [eax + 4]
lea eax, [ebp - 4]
mov ecx, dword [ebp - 4]
call fcn.312372d4
mov eax, dword [ebp - 4]
call fcn.3124461c
test al, al
je 0x313cd8c2
mov dl, 1
mov eax, dword [0x31283630]
call fcn.3128cc58
mov esi, eax
mov edx, dword [ebp - 4]
mov eax, esi
mov ecx, dword [eax]
call dword [ecx + 0x54]
test esi, esi
je 0x313cdb5c
mov eax, esi
mov edx, dword [eax]
call dword [edx + 0x30]
test eax, eax
jle 0x313cdb5c
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x94]
call fcn.312385fc
inc eax
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x28]
push eax
mov eax, dword [ebp - 0x10]
add eax, 0x94
mov ecx, 1
mov edx, dword [0x3139ce54]
call fcn.312387c4
add esp, 4
imul eax, dword [ebp - 0x28], 0xd
mov edx, dword [ebp - 0x10]
mov edx, dword [edx + 0x94]
mov dword [edx + eax*4 - 0x34], esi
imul eax, dword [ebp - 0x28], 0xd
mov edx, dword [ebp - 0x10]
mov edx, dword [edx + 0x94]
mov eax, dword [edx + eax*4 - 0x34]
call fcn.3128d578
call fcn.31287ce0
imul eax, dword [ebp - 0x28], 0xd
mov edx, dword [ebp - 0x10]
mov edx, dword [edx + 0x94]
mov eax, dword [edx + eax*4 - 0x34]
call fcn.3128d578
call fcn.31286cf0
imul eax, dword [ebp - 0x28], 0xd
mov edx, dword [ebp - 0x10]
mov edx, dword [edx + 0x94]
lea eax, [edx + eax*4 - 0x2c]
xor edx, edx
call fcn.31236df0
imul eax, dword [ebp - 0x28], 0xd
mov edx, dword [ebp - 0x10]
mov edx, dword [edx + 0x94]
lea eax, [edx + eax*4 - 0x30]
xor edx, edx
call fcn.31236df0
imul eax, dword [ebp - 0x28], 0xd
mov edx, dword [ebp - 0x10]
mov edx, dword [edx + 0x94]
mov ecx, dword [ebp - 0x10]
mov dword [edx + eax*4 - 0xc], ecx
xor eax, eax
push ebp
push 0x313cdb52
push dword fs:[eax]
mov dword fs:[eax], esp
imul eax, dword [ebp - 0x28], 0xd
mov edx, dword [ebp - 0x10]
mov edx, dword [edx + 0x94]
mov eax, dword [edx + eax*4 - 0x34]
mov dl, 6
call fcn.3128e8d4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x313cdb5c
lea ecx, [ebp - 0x138]
mov edx, dword [ebp - 0x24]
mov eax, dword [ebp - 0x1c]
mov esi, dword [eax]
call dword [esi + 0xc]
mov eax, dword [ebp - 0x138]
lea edx, [ebp - 0x134]
call fcn.312430a0
mov edx, dword [ebp - 0x134]
imul ebx, dword [ebp - 0x28], 0xd
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x94]
lea eax, [eax + ebx*4 - 0x2c]
call fcn.31236df0
lea ecx, [ebp - 0x140]
mov edx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x18]
mov esi, dword [eax]
call dword [esi + 0xc]
mov eax, dword [ebp - 0x140]
lea edx, [ebp - 0x13c]
call fcn.312430a0
mov edx, dword [ebp - 0x13c]
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x94]
lea eax, [eax + ebx*4 - 0x30]
call fcn.31236df0
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x94]
mov word [eax + ebx*4 - 0x16], 1
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x94]
mov word [eax + ebx*4 - 0x18], 3
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x94]
mov eax, dword [eax + ebx*4 - 0x34]
mov edx, dword [eax]
call dword [edx + 0x24]
push eax
lea eax, [ebp - 0x68]
push eax
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x94]
mov eax, dword [eax + ebx*4 - 0x34]
mov edx, dword [eax]
call dword [edx + 0x30]
mov ecx, eax
xor edx, edx
xor eax, eax
call fcn.31263970
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x94]
lea esi, [ebp - 0x68]
lea edi, [eax + ebx*4 - 0x28]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x94]
lea eax, [eax + ebx*4 - 0x28]
xor edx, edx
call fcn.3141428c
mov edx, dword [ebp - 0x10]
mov edx, dword [edx + 0x94]
movsx edx, word [edx + ebx*4 - 0x18]
lea edx, [edx + edx*2]
mov ecx, edx
cdq
idiv ecx
mov edx, dword [ebp - 0x10]
mov edx, dword [edx + 0x94]
mov word [edx + ebx*4 - 8], ax
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x94]
lea eax, [eax + ebx*4 - 0x28]
xor edx, edx
call fcn.314142a0
mov edx, dword [ebp - 0x10]
mov edx, dword [edx + 0x94]
movsx edx, word [edx + ebx*4 - 0x16]
inc edx
lea edx, [edx + edx*2]
mov ecx, edx
cdq
idiv ecx
mov edx, dword [ebp - 0x10]
mov edx, dword [edx + 0x94]
mov word [edx + ebx*4 - 6], ax
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x94]
movzx eax, word [eax + ebx*4 - 8]
mov edx, dword [ebp - 0x10]
mov edx, dword [edx + 0x94]
mov word [edx + ebx*4 - 4], ax
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x94]
movzx eax, word [eax + ebx*4 - 6]
mov edx, dword [ebp - 0x10]
mov edx, dword [edx + 0x94]
mov word [edx + ebx*4 - 2], ax
ret
inc dword [ebp - 0x24]
dec dword [ebp - 0x34]
jne 0x313cc59b
inc dword [ebp - 0x20]
dec dword [ebp - 0x30]
jne 0x313cc563
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x313ce177
cmp dword [ebp - 0x1c], 0
je 0x313cdb8f
lea eax, [ebp - 0x1c]
call fcn.3124bdd0
cmp dword [ebp - 0x18], 0
je 0x313cdb9d
lea eax, [ebp - 0x18]
call fcn.3124bdd0
xor eax, eax
mov dword [ebp - 0x14], eax
ret
or ebx, 0xffffffff
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x44]
call fcn.31267274
dec eax
test eax, eax
jl 0x313cdbf3
inc eax
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x20], 0
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x44]
mov edx, dword [ebp - 0x20]
call fcn.313d4150
mov eax, dword [eax + 0x10]
mov edx, dword [ebp - 0x10]
mov edx, dword [edx + 0x38]
call fcn.312374d8
jne 0x313cdbeb
mov ebx, dword [ebp - 0x20]
jmp 0x313cdbf3
inc dword [ebp - 0x20]
dec dword [ebp - 0x30]
jne 0x313cdbc8
test ebx, ebx
jl 0x313ce8fb
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x44]
mov edx, ebx
call fcn.313d4150
cmp dword [eax + 0x1c], 0
je 0x313cdca1
mov eax, dword [ebp - 0x10]
cmp dword [eax + 0x138], 0
je 0x313cdc2b
mov eax, dword [ebp - 0x10]
add eax, 0x138
call fcn.3124bdd0
mov dl, 1
mov eax, dword [0x31283630]
call fcn.3128cc58
mov edx, dword [ebp - 0x10]
mov dword [edx + 0x138], eax
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x44]
mov edx, ebx
call fcn.313d4150
mov edx, dword [eax + 0x1c]
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x138]
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x138]
mov dl, 1
mov ecx, dword [eax]
call dword [ecx + pe_nt_image_headers32]
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x138]
mov edx, 0xff00ff
call fcn.3128ea3c
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x138]
mov dl, 6
call fcn.3128e8d4
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x138]
xor edx, edx
mov ecx, dword [eax]
call dword [ecx + 0x78]
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x44]
mov edx, ebx
call fcn.313d4150
mov eax, dword [eax + 0xc]
call fcn.31267274
dec eax
test eax, eax
jl 0x313ce177
inc eax
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x20], 0
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x94]
call fcn.312385fc
inc eax
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x28]
push eax
mov eax, dword [ebp - 0x10]
add eax, 0x94
mov ecx, 1
mov edx, dword [0x3139ce54]
call fcn.312387c4
add esp, 4
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x44]
mov edx, ebx
call fcn.313d4150
mov eax, dword [eax + 0xc]
mov edx, dword [ebp - 0x20]
call fcn.313d70fc
cmp dword [eax + 0x10], 0
je 0x313cdde1
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x44]
mov edx, ebx
call fcn.313d4150
mov eax, dword [eax + 0xc]
mov edx, dword [ebp - 0x20]
call fcn.313d70fc
cmp dword [eax + 0xc], 0
je 0x313cdde1
mov dl, 1
mov eax, dword [0x31283630]
call fcn.3128cc58
mov edi, eax
imul esi, dword [ebp - 0x28], 0xd
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x94]
mov dword [eax + esi*4 - 0x34], edi
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x44]
mov edx, ebx
call fcn.313d4150
mov eax, dword [eax + 0xc]
mov edx, dword [ebp - 0x20]
call fcn.313d70fc
mov edx, dword [eax + 0x10]
mov eax, edi
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x94]
mov eax, dword [eax + esi*4 - 0x34]
mov dl, 6
call fcn.3128e8d4
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x94]
mov eax, dword [eax + esi*4 - 0x34]
mov edx, dword [eax]
call dword [edx + 0x24]
push eax
lea eax, [ebp - 0x68]
push eax
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x94]
mov eax, dword [eax + esi*4 - 0x34]
mov edx, dword [eax]
call dword [edx + 0x30]
mov ecx, eax
xor edx, edx
xor eax, eax
call fcn.31263970
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x94]
lea edi, [eax + esi*4 - 0x28]
lea esi, [ebp - 0x68]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
jmp 0x313cde73
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x44]
mov edx, ebx
call fcn.313d4150
mov eax, dword [eax + 0xc]
mov edx, dword [ebp - 0x20]
call fcn.313d70fc
mov eax, dword [eax + 0x30]
push eax
lea eax, [ebp - 0x68]
push eax
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x44]
mov edx, ebx
call fcn.313d4150
mov eax, dword [eax + 0xc]
mov edx, dword [ebp - 0x20]
call fcn.313d70fc
mov eax, dword [eax + 0x2c]
push eax
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x44]
mov edx, ebx
call fcn.313d4150
mov eax, dword [eax + 0xc]
mov edx, dword [ebp - 0x20]
call fcn.313d70fc
mov eax, dword [eax + 0x24]
push eax
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x44]
mov edx, ebx
call fcn.313d4150
mov eax, dword [eax + 0xc]
mov edx, dword [ebp - 0x20]
call fcn.313d70fc
mov eax, dword [eax + 0x28]
pop edx
pop ecx
call fcn.31263970
imul eax, dword [ebp - 0x28], 0xd
mov edx, dword [ebp - 0x10]
mov edx, dword [edx + 0x94]
lea esi, [ebp - 0x68]
lea edi, [edx + eax*4 - 0x28]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x44]
mov edx, ebx
call fcn.313d4150
mov eax, dword [eax + 0xc]
mov edx, dword [ebp - 0x20]
call fcn.313d70fc
mov eax, dword [eax + 0x18]
lea edx, [ebp - 0x144]
call fcn.312430a0
mov edx, dword [ebp - 0x144]
imul esi, dword [ebp - 0x28], 0xd
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x94]
lea eax, [eax + esi*4 - 0x2c]
call fcn.31236df0
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x44]
mov edx, ebx
call fcn.313d4150
mov eax, dword [eax + 0xc]
mov edx, dword [ebp - 0x20]
call fcn.313d70fc
mov eax, dword [eax + 0x14]
lea edx, [ebp - 0x148]
call fcn.312430a0
mov edx, dword [ebp - 0x148]
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x94]
lea eax, [eax + esi*4 - 0x30]
call fcn.31236df0
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x44]
mov edx, ebx
call fcn.313d4150
mov eax, dword [eax + 0xc]
mov edx, dword [ebp - 0x20]
call fcn.313d70fc
movzx eax, word [eax + 0x20]
mov edx, dword [ebp - 0x10]
mov edx, dword [edx + 0x94]
mov word [edx + esi*4 - 0x18], ax
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x44]
mov edx, ebx
call fcn.313d4150
mov eax, dword [eax + 0xc]
mov edx, dword [ebp - 0x20]
call fcn.313d70fc
movzx eax, word [eax + 0x1c]
mov edx, dword [ebp - 0x10]
mov edx, dword [edx + 0x94]
mov word [edx + esi*4 - 0x16], ax
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x94]
cmp word [eax + esi*4 - 0x18], 0
jne 0x313cdf68
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x94]
mov word [eax + esi*4 - 0x16], 1
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x94]
cmp word [eax + esi*4 - 0x18], 0
jne 0x313cdf89
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x94]
mov word [eax + esi*4 - 0x18], 3
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x44]
mov edx, ebx
call fcn.313d4150
mov eax, dword [eax + 0xc]
mov edx, dword [ebp - 0x20]
call fcn.313d70fc
movzx eax, word [eax + 0x34]
mov edx, dword [ebp - 0x10]
mov edx, dword [edx + 0x94]
mov word [edx + esi*4 - 0x14], ax
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x44]
mov edx, ebx
call fcn.313d4150
mov eax, dword [eax + 0xc]
mov edx, dword [ebp - 0x20]
call fcn.313d70fc
movzx eax, word [eax + 0x38]
mov edx, dword [ebp - 0x10]
mov edx, dword [edx + 0x94]
mov word [edx + esi*4 - 0x12], ax
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x44]
mov edx, ebx
call fcn.313d4150
mov eax, dword [eax + 0xc]
mov edx, dword [ebp - 0x20]
call fcn.313d70fc
movzx eax, byte [eax + 0x3c]
mov edx, dword [ebp - 0x10]
mov edx, dword [edx + 0x94]
mov byte [edx + esi*4 - 0x10], al
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x44]
mov edx, ebx
call fcn.313d4150
mov eax, dword [eax + 0xc]
mov edx, dword [ebp - 0x20]
call fcn.313d70fc
movzx eax, word [eax + 0x48]
mov edx, dword [ebp - 0x10]
mov edx, dword [edx + 0x94]
mov word [edx + esi*4 - 8], ax
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x44]
mov edx, ebx
call fcn.313d4150
mov eax, dword [eax + 0xc]
mov edx, dword [ebp - 0x20]
call fcn.313d70fc
movzx eax, word [eax + 0x44]
mov edx, dword [ebp - 0x10]
mov edx, dword [edx + 0x94]
mov word [edx + esi*4 - 6], ax
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x44]
mov edx, ebx
call fcn.313d4150
mov eax, dword [eax + 0xc]
mov edx, dword [ebp - 0x20]
call fcn.313d70fc
movzx eax, word [eax + 0x40]
mov edx, dword [ebp - 0x10]
mov edx, dword [edx + 0x94]
mov word [edx + esi*4 - 4], ax
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x44]
mov edx, ebx
call fcn.313d4150
mov eax, dword [eax + 0xc]
mov edx, dword [ebp - 0x20]
call fcn.313d70fc
movzx eax, word [eax + 0x4c]
mov edx, dword [ebp - 0x10]
mov edx, dword [edx + 0x94]
mov word [edx + esi*4 - 2], ax
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x94]
lea edi, [eax + esi*4 - 0x34]
movsx eax, word [edi + 0x2c]
movsx edx, word [edi + 0x2e]
add eax, edx
movsx edx, word [edi + 0x30]
add eax, edx
movsx edx, word [edi + 0x32]
add eax, edx
test eax, eax
jne 0x313ce15b
cmp word [edi + 0x20], 0
je 0x313ce102
movzx eax, word [edi + 0x20]
mov word [edi + 0x2c], ax
movzx eax, word [edi + 0x20]
mov word [edi + 0x2e], ax
movzx eax, word [edi + 0x20]
mov word [edi + 0x30], ax
movzx eax, word [edi + 0x20]
mov word [edi + 0x32], ax
jmp 0x313ce15b
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x94]
lea eax, [eax + esi*4 - 0x28]
xor edx, edx
call fcn.3141428c
movsx edx, word [edi + 0x1c]
lea edx, [edx + edx*2]
mov ecx, edx
cdq
idiv ecx
mov word [edi + 0x2c], ax
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x94]
lea eax, [eax + esi*4 - 0x28]
xor edx, edx
call fcn.314142a0
movsx edx, word [edi + 0x1e]
inc edx
lea edx, [edx + edx*2]
mov ecx, edx
cdq
idiv ecx
mov word [edi + 0x2e], ax
movzx eax, word [edi + 0x2c]
mov word [edi + 0x30], ax
movzx eax, word [edi + 0x2e]
mov word [edi + 0x32], ax
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x94]
mov edx, dword [ebp - 0x10]
mov dword [eax + esi*4 - 0xc], edx
inc dword [ebp - 0x20]
dec dword [ebp - 0x30]
jne 0x313cdcca
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x64]
mov edx, dword [eax]
call dword [edx + 0x14]
test eax, eax
jle 0x313ce8fb
mov ecx, 0x313cea6c
mov dl, 1
mov eax, dword [0x31279e1c]
call fcn.3127b69c
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x10]
mov edx, dword [eax + 0x64]
mov eax, dword [ebp - 0x14]
call fcn.3127bde8
mov dl, 1
mov eax, dword [0x3125d548]
call fcn.3126962c
mov dword [ebp - 0x18], eax
mov dl, 1
mov eax, dword [0x3125d548]
call fcn.3126962c
mov dword [ebp - 0x1c], eax
xor eax, eax
push ebp
push 0x313ce8f4
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
call dword [ecx + 0x48]
mov eax, dword [ebp - 0x10]
mov edx, dword [eax + 0x64]
mov eax, dword [ebp - 0x14]
call fcn.3127bde8
mov eax, dword [ebp - 0x18]
mov edx, dword [eax]
call dword [edx + 0x14]
dec eax
test eax, eax
jl 0x313ce8c8
inc eax
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x20], 0
lea ecx, [ebp - 0x150]
mov edx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x18]
mov ebx, dword [eax]
call dword [ebx + 0xc]
mov eax, dword [ebp - 0x150]
lea edx, [ebp - 0x14c]
call fcn.312430a0
mov eax, dword [ebp - 0x14c]
mov edx, 0x313ce978
call fcn.312374d8
je 0x313ce8bc
lea ecx, [ebp - 0x154]
mov edx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x18]
mov ebx, dword [eax]
call dword [ebx + 0xc]
mov edx, dword [ebp - 0x154]
mov ecx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x14]
mov ebx, dword [eax]
call dword [ebx + 0x44]
mov eax, dword [ebp - 0x1c]
mov edx, dword [eax]
call dword [edx + 0x14]
dec eax
test eax, eax
jl 0x313ce8bc
inc eax
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x24], 0
push 0x313cea84
lea eax, [ebp - 4]
push eax
lea ecx, [ebp - 0x158]
mov edx, dword [ebp - 0x24]
mov eax, dword [ebp - 0x1c]
mov ebx, dword [eax]
call dword [ebx + 0xc]
mov eax, dword [ebp - 0x158]
push eax
lea ecx, [ebp - 0x15c]
mov edx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x18]
mov ebx, dword [eax]
call dword [ebx + 0xc]
mov edx, dword [ebp - 0x15c]
mov eax, dword [ebp - 0x14]
pop ecx
mov ebx, dword [eax]
call dword [ebx + 4]
mov eax, dword [ebp - 0x10]
cmp dword [eax + 0x138], 0
je 0x313ce6a3
mov edx, dword [ebp - 4]
mov eax, 0x313ce9fc
call fcn.31237858
test eax, eax
jle 0x313ce6a3
mov eax, dword [ebp - 4]
mov edx, 0x313ce9fc
call fcn.312374d8
je 0x313ce8b0
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x94]
call fcn.312385fc
inc eax
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x28]
push eax
mov eax, dword [ebp - 0x10]
add eax, 0x94
mov ecx, 1
mov edx, dword [0x3139ce54]
call fcn.312387c4
add esp, 4
lea ecx, [ebp - 0x164]
mov edx, dword [ebp - 0x24]
mov eax, dword [ebp - 0x1c]
mov esi, dword [eax]
call dword [esi + 0xc]
mov eax, dword [ebp - 0x164]
lea edx, [ebp - 0x160]
call fcn.312430a0
mov edx, dword [ebp - 0x160]
imul ebx, dword [ebp - 0x28], 0xd
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x94]
lea eax, [eax + ebx*4 - 0x2c]
call fcn.31236df0
lea ecx, [ebp - 0x16c]
mov edx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x18]
mov esi, dword [eax]
call dword [esi + 0xc]
mov eax, dword [ebp - 0x16c]
lea edx, [ebp - 0x168]
call fcn.312430a0
mov edx, dword [ebp - 0x168]
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x94]
lea eax, [eax + ebx*4 - 0x30]
call fcn.31236df0
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x94]
mov edx, dword [ebp - 0x10]
mov dword [eax + ebx*4 - 0xc], edx
lea eax, [ebp - 8]
push eax
mov ecx, 0x313cea00
mov edx, dword [ebp - 4]
mov eax, 2
call fcn.314144b4
lea eax, [ebp - 0x170]
push eax
mov ecx, 0x313cea20
mov edx, dword [ebp - 8]
mov eax, 4
call fcn.314144b4
mov eax, dword [ebp - 0x170]
call fcn.312440dc
push eax
lea eax, [ebp - 0x68]
push eax
lea eax, [ebp - 0x174]
push eax
mov ecx, 0x313cea20
mov edx, dword [ebp - 8]
mov eax, 3
call fcn.314144b4
mov eax, dword [ebp - 0x174]
call fcn.312440dc
push eax
lea eax, [ebp - 0x178]
push eax
mov ecx, 0x313cea20
mov edx, dword [ebp - 8]
mov eax, 2
call fcn.314144b4
mov eax, dword [ebp - 0x178]
call fcn.312440dc
push eax
lea eax, [ebp - 0x17c]
push eax
mov ecx, 0x313cea20
mov edx, dword [ebp - 8]
mov eax, 1
call fcn.314144b4
mov eax, dword [ebp - 0x17c]
call fcn.312440dc
pop edx
pop ecx
call fcn.31263970
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x94]
lea esi, [ebp - 0x68]
lea edi, [eax + ebx*4 - 0x28]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
lea eax, [ebp - 8]
push eax
mov ecx, 0x313cea00
mov edx, dword [ebp - 4]
mov eax, 3
call fcn.314144b4
lea eax, [ebp - 0x180]
push eax
mov ecx, 0x313cea20
mov edx, dword [ebp - 8]
mov eax, 1
call fcn.314144b4
mov eax, dword [ebp - 0x180]
call fcn.312440dc
mov edx, dword [ebp - 0x10]
mov edx, dword [edx + 0x94]
mov word [edx + ebx*4 - 0x18], ax
imul eax, dword [ebp - 0x28], 0xd
mov edx, dword [ebp - 0x10]
mov edx, dword [edx + 0x94]
cmp word [edx + eax*4 - 0x18], 1
jge 0x313ce4ea
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x94]
mov word [eax + ebx*4 - 0x18], 1
lea eax, [ebp - 0x184]
push eax
mov ecx, 0x313cea20
mov edx, dword [ebp - 8]
mov eax, 2
call fcn.314144b4
mov eax, dword [ebp - 0x184]
call fcn.312440dc
mov edx, dword [ebp - 0x10]
mov edx, dword [edx + 0x94]
mov word [edx + ebx*4 - 0x16], ax
imul eax, dword [ebp - 0x28], 0xd
mov edx, dword [ebp - 0x10]
mov edx, dword [edx + 0x94]
cmp word [edx + eax*4 - 0x16], 0
jge 0x313ce541
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x94]
mov word [eax + ebx*4 - 0x16], 0
lea eax, [ebp - 0xc]
push eax
mov ecx, 0x313cea20
mov edx, dword [ebp - 8]
mov eax, 3
call fcn.314144b4
cmp dword [ebp - 0xc], 0
je 0x313ce59a
mov eax, dword [ebp - 0xc]
call fcn.312440dc
mov edx, dword [ebp - 0x10]
mov edx, dword [edx + 0x94]
mov word [edx + ebx*4 - 0x14], ax
imul eax, dword [ebp - 0x28], 0xd
mov edx, dword [ebp - 0x10]
mov edx, dword [edx + 0x94]
cmp word [edx + eax*4 - 0x14], 0
jge 0x313ce5aa
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x94]
mov word [eax + ebx*4 - 0x14], 0
jmp 0x313ce5aa
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x94]
mov word [eax + ebx*4 - 0x14], 0
lea eax, [ebp - 0xc]
push eax
mov ecx, 0x313cea20
mov edx, dword [ebp - 8]
mov eax, 4
call fcn.314144b4
cmp dword [ebp - 0xc], 0
je 0x313ce5de
mov eax, dword [ebp - 0xc]
call fcn.312440dc
mov edx, dword [ebp - 0x10]
mov edx, dword [edx + 0x94]
mov word [edx + ebx*4 - 0x12], ax
jmp 0x313ce5ee
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x94]
mov word [eax + ebx*4 - 0x12], 1
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x94]
lea esi, [eax + ebx*4 - 0x34]
movsx eax, word [esi + 0x2c]
movsx edx, word [esi + 0x2e]
add eax, edx
movsx edx, word [esi + 0x30]
add eax, edx
movsx edx, word [esi + 0x32]
add eax, edx
test eax, eax
jne 0x313ce8b0
cmp word [esi + 0x20], 0
je 0x313ce645
movzx eax, word [esi + 0x20]
mov word [esi + 0x2c], ax
movzx eax, word [esi + 0x20]
mov word [esi + 0x2e], ax
movzx eax, word [esi + 0x20]
mov word [esi + 0x30], ax
movzx eax, word [esi + 0x20]
mov word [esi + 0x32], ax
jmp 0x313ce8b0
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x94]
lea eax, [eax + ebx*4 - 0x28]
xor edx, edx
call fcn.3141428c
movsx edx, word [esi + 0x1c]
lea edx, [edx + edx*2]
mov ecx, edx
cdq
idiv ecx
mov word [esi + 0x2c], ax
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x94]
lea eax, [eax + ebx*4 - 0x28]
xor edx, edx
call fcn.314142a0
movsx edx, word [esi + 0x1e]
inc edx
lea edx, [edx + edx*2]
mov ecx, edx
cdq
idiv ecx
mov word [esi + 0x2e], ax
movzx eax, word [esi + 0x2c]
mov word [esi + 0x30], ax
movzx eax, word [esi + 0x2e]
mov word [esi + 0x32], ax
jmp 0x313ce8b0
lea edx, [ebp - 0x188]
mov eax, dword [ebp - 4]
call fcn.31243468
mov edx, dword [ebp - 0x188]
lea eax, [ebp - 4]
call fcn.31236e44
mov edx, dword [ebp - 4]
mov eax, 0x313ce9cc
call fcn.31237858
test eax, eax
jle 0x313ce8b0
mov edx, dword [ebp - 4]
mov eax, 0x313ce99c
call fcn.31237858
dec eax
jge 0x313ce6fb
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x90]
mov edx, dword [eax + 4]
lea eax, [ebp - 4]
mov ecx, dword [ebp - 4]
call fcn.312372d4
mov eax, dword [ebp - 4]
call fcn.3124461c
test al, al
je 0x313ce8b0
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x94]
call fcn.312385fc
inc eax
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x28]
push eax
mov eax, dword [ebp - 0x10]
add eax, 0x94
mov ecx, 1
mov edx, dword [0x3139ce54]
call fcn.312387c4
add esp, 4
imul ebx, dword [ebp - 0x28], 0xd
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x94]
lea eax, [eax + ebx*4 - 0x2c]
xor edx, edx
call fcn.31236df0
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x94]
lea eax, [eax + ebx*4 - 0x30]
xor edx, edx
call fcn.31236df0
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x94]
mov edx, dword [ebp - 0x10]
mov dword [eax + ebx*4 - 0xc], edx
xor eax, eax
push ebp
push 0x313ce852
push dword fs:[eax]
mov dword fs:[eax], esp
mov dl, 1
mov eax, dword [0x31283630]
call fcn.3128cc58
mov edx, dword [ebp - 0x10]
mov edx, dword [edx + 0x94]
mov dword [edx + ebx*4 - 0x34], eax
imul eax, dword [ebp - 0x28], 0xd
mov edx, dword [ebp - 0x10]
mov edx, dword [edx + 0x94]
mov eax, dword [edx + eax*4 - 0x34]
mov edx, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 0x54]
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x94]
mov eax, dword [eax + ebx*4 - 0x34]
mov dl, 6
call fcn.3128e8d4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x313ce859
lea ecx, [ebp - 0x190]
mov edx, dword [ebp - 0x24]
mov eax, dword [ebp - 0x1c]
mov esi, dword [eax]
call dword [esi + 0xc]
mov eax, dword [ebp - 0x190]
lea edx, [ebp - 0x18c]
call fcn.312430a0
mov edx, dword [ebp - 0x18c]
imul ebx, dword [ebp - 0x28], 0xd
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x94]
lea eax, [eax + ebx*4 - 0x2c]
call fcn.31236df0
lea ecx, [ebp - 0x198]
mov edx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x18]
mov esi, dword [eax]
call dword [esi + 0xc]
mov eax, dword [ebp - 0x198]
lea edx, [ebp - 0x194]
call fcn.312430a0
mov edx, dword [ebp - 0x194]
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x94]
lea eax, [eax + ebx*4 - 0x30]
call fcn.31236df0
ret
inc dword [ebp - 0x24]
dec dword [ebp - 0x34]
jne 0x313ce283
inc dword [ebp - 0x20]
dec dword [ebp - 0x30]
jne 0x313ce20d
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x313ce8fb
cmp dword [ebp - 0x1c], 0
je 0x313ce8e3
lea eax, [ebp - 0x1c]
call fcn.3124bdd0
lea eax, [ebp - 0x14]
call fcn.3124bdd0
lea eax, [ebp - 0x18]
call fcn.3124bdd0
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x313ce93a
lea eax, [ebp - 0x198]
mov edx, 0x4c
call fcn.31236de8
lea eax, [ebp - 0x58]
mov edx, 8
call fcn.31236de8
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.31236de8
ret