Function at 0x1014ecc0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov edx, dword [esp + 0xc]
sub esp, 0x54
push ebx
push ebp
mov ebp, dword [esp + 0x6c]
mov eax, dword [edx + ebp*4 + 4]
push esi
mov esi, ecx
mov ecx, eax
shr ecx, 0xf
mov ebx, 1
and ecx, 0xf
sub ecx, ebx
push edi
je 0x1014f7cf
sub ecx, 2
je 0x1014edef
sub ecx, 5
je 0x1014ed0d
mov eax, dword [esp + 0x68]
pop edi
pop esi
mov ebx, 2
pop ebp
mov dword [eax], ebx
pop ebx
add esp, 0x54
ret 0x1c
mov eax, dword [esi + 0x24]
xor ebp, ebp
cmp dword [eax + 0xdc], ebp
jbe 0x101501cf
mov edi, 0x3c8
jmp 0x1014ed30
lea ecx, [esp + 0x74]
mov dword [esp + 0x74], 0
mov eax, dword [eax + 0xc]
push ecx
push eax
mov ecx, esi
call fcn.1011bdb0
push eax
push 0x10
call fcn.1017f130
mov ebx, eax
add esp, 0x10
test bl, 1
je 0x1014edca
mov eax, dword [esp + 0x7c]
xor edx, edx
cmp eax, 4
jae 0x1014ed77
cmp edi, 0x3d0
jae 0x1014ed77
lea edx, [ebp + eax*2 + 0x3a]
mov eax, dword [esi + 0x24]
mov edx, dword [eax + edx*4]
xor ecx, ecx
cmp edi, 0x3d0
jae 0x1014ed87
mov ecx, dword [esi + 0x24]
mov ecx, dword [edi + ecx]
mov eax, dword [esp + 0x74]
mov ebx, dword [eax + 0x5c]
mov eax, dword [eax + 0x68]
mov ebx, dword [ebx]
mov dword [eax + ebx*4], edx
mov eax, dword [esp + 0x74]
mov edx, dword [eax + 0x50]
mov edx, dword [edx]
mov eax, dword [eax + 0x34]
mov dword [eax + edx*4], ecx
mov ecx, dword [esp + 0x6c]
mov edx, dword [ecx]
mov eax, dword [esp + 0x74]
mov dword [eax + 0x24], edx
mov ecx, dword [esp + 0x74]
push ecx
mov ecx, dword [esp + 0x84]
lea edx, [esp + 0x1c]
push edx
call fcn.1011db90
mov ebx, dword [eax]
mov eax, dword [esi + 0x24]
add ebp, 1
add edi, 4
cmp ebp, dword [eax + 0xdc]
jb 0x1014ed30
mov eax, dword [esp + 0x68]
pop edi
pop esi
pop ebp
mov dword [eax], ebx
pop ebx
add esp, 0x54
ret 0x1c
mov ecx, eax
mov edi, eax
shr ecx, 0x19
and edi, 0x7fff
test cl, 1
je 0x1014ee05
add edi, dword [edx + ebp*4 + 0x28]
shr eax, 0x18
test al, 1
je 0x1014f318
mov ecx, dword [esp + 0x78]
lea eax, [edx + ebp*8 + 0x10]
lea edi, [ecx + edi*4]
mov dword [esp + 0x10], eax
mov eax, dword [esi + 0x24]
imul edi, dword [eax + 0xdc]
imul edi, dword [eax + 0xc]
add edi, dword [eax + 0xb8]
mov dword [esp + 0x14], edi
xor edi, edi
cmp dword [eax + 0xdc], edi
jbe 0x1014ef01
test bl, 1
je 0x1014eeeb
lea edx, [esp + 0x78]
mov dword [esp + 0x78], 0
mov eax, dword [eax + 0xc]
push edx
push eax
mov ecx, esi
call fcn.1011bdb0
push eax
push 0x13
call fcn.1017f130
mov ebx, eax
add esp, 0x10
test bl, 1
je 0x1014eeeb
mov ecx, dword [esi + 0x24]
xor eax, eax
cmp dword [ecx + 0xc], eax
jbe 0x1014eec6
mov ebx, dword [esp + 0x7c]
xor edx, edx
cmp ebx, 4
jae 0x1014eea1
cmp edi, 2
jae 0x1014eea1
cmp eax, 2
jae 0x1014eea1
lea edx, [edi + ebx*2]
lea edx, [eax + edx*2 + 0x72]
mov edx, dword [ecx + edx*4]
mov ecx, dword [esp + 0x78]
mov ebx, dword [ecx + 0x4c]
mov ebp, dword [ecx + 0x5c]
mov ebx, dword [ebp + ebx*4]
mov ecx, dword [ecx + 0x68]
add ebx, eax
mov dword [ecx + ebx*4], edx
mov ecx, dword [esi + 0x24]
add eax, 1
cmp eax, dword [ecx + 0xc]
jb 0x1014ee82
mov ebp, dword [esp + 0x74]
mov edx, dword [esp + 0x6c]
mov eax, dword [edx]
mov ecx, dword [esp + 0x78]
mov dword [ecx + 0x24], eax
mov edx, dword [esp + 0x78]
mov ecx, dword [esp + 0x80]
push edx
lea eax, [esp + 0x20]
push eax
call fcn.1011db90
mov ebx, dword [eax]
mov eax, dword [esi + 0x24]
add edi, 1
cmp edi, dword [eax + 0xdc]
jb 0x1014ee45
mov edx, dword [esp + 0x70]
mov eax, dword [esi + 0x24]
xor edi, edi
cmp dword [eax + 0xdc], edi
jbe 0x1014eff7
test bl, 1
je 0x1014efe1
lea ecx, [esp + 0x78]
push ecx
mov dword [esp + 0x7c], 0
mov eax, dword [eax + 0xc]
push 0
push eax
mov ecx, esi
call fcn.1011bdb0
push eax
push 0x21
call fcn.1016b000
mov ebx, eax
add esp, 0x14
test bl, 1
je 0x1014efe1
mov ecx, dword [esi + 0x24]
xor eax, eax
cmp dword [ecx + 0xc], eax
jbe 0x1014efaf
mov ebx, dword [esp + 0x7c]
xor edx, edx
cmp ebx, 4
jae 0x1014ef74
cmp edi, 2
jae 0x1014ef74
cmp eax, 2
jae 0x1014ef74
lea edx, [edi + ebx*2]
lea edx, [eax + edx*2 + 0x72]
mov edx, dword [ecx + edx*4]
mov ecx, dword [esp + 0x78]
mov ebp, dword [ecx + 0x5c]
mov ebx, dword [ecx + 0x4c]
mov ebx, dword [ebp + ebx*4]
mov ecx, dword [ecx + 0x68]
add ebx, eax
mov dword [ecx + ebx*4], edx
mov ecx, dword [esp + 0x78]
mov ebx, dword [ecx + 0x44]
mov ebp, dword [ecx + 0x50]
mov ebx, dword [ebp + ebx*4]
mov ecx, dword [ecx + 0x34]
add ebx, eax
mov dword [ecx + ebx*4], edx
mov ecx, dword [esi + 0x24]
add eax, 1
cmp eax, dword [ecx + 0xc]
jb 0x1014ef55
mov ebp, dword [esp + 0x74]
mov edx, dword [esp + 0x78]
mov eax, dword [edx + 0x28]
mov ecx, dword [esp + 0x6c]
mov dword [eax], 4
mov edx, dword [ecx]
mov eax, dword [esp + 0x78]
mov dword [eax + 0x24], edx
mov ecx, dword [esp + 0x78]
push ecx
mov ecx, dword [esp + 0x84]
lea edx, [esp + 0x24]
push edx
call fcn.1011db90
mov ebx, dword [eax]
mov eax, dword [esi + 0x24]
add edi, 1
cmp edi, dword [eax + 0xdc]
jb 0x1014ef12
mov edx, dword [esp + 0x70]
test bl, 1
je 0x1014f041
mov eax, dword [esp + 0x10]
mov ecx, dword [eax]
mov eax, dword [eax + 4]
shrd ecx, eax, 0x1f
shr eax, 0x1f
test cl, 1
je 0x1014f017
mov eax, dword [edx + ebp*4 + 0x20]
jmp 0x1014f019
xor eax, eax
mov ecx, dword [esp + 0x80]
mov edx, dword [esp + 0x7c]
push ecx
mov ecx, dword [esp + 0x70]
push edx
push eax
mov eax, dword [esp + 0x1c]
push eax
push 0
push ecx
lea edx, [esp + 0x3c]
push edx
mov ecx, esi
call fcn.1014ead0
mov ebx, dword [eax]
mov eax, dword [esi + 0x24]
cmp dword [eax + 0xdc], 0
mov dword [esp + 0x10], 0
jbe 0x1014f197
mov ebp, 0xf6
mov dword [esp + 0x78], ebp
test bl, 1
je 0x1014f176
lea ecx, [esp + 0x70]
push ecx
mov dword [esp + 0x74], 0
mov eax, dword [eax + 0xc]
push 0
push eax
mov ecx, esi
call fcn.1011bdb0
push eax
push 0x47
call fcn.1016b000
mov ebx, eax
add esp, 0x14
test bl, 1
je 0x1014f176
mov ecx, dword [esi + 0x24]
xor eax, eax
cmp dword [ecx + 0xc], eax
jbe 0x1014f138
mov edi, dword [esp + 0x7c]
xor edx, edx
cmp edi, 4
jae 0x1014f0cf
cmp ebp, 0xfa
jae 0x1014f0cf
cmp eax, 2
jae 0x1014f0cf
mov edx, dword [esp + 0x10]
lea edx, [edx + edi*2]
lea edx, [eax + edx*2 + 0x72]
mov edx, dword [ecx + edx*4]
xor edi, edi
cmp ebp, 0xfa
jae 0x1014f0e3
cmp eax, 2
jae 0x1014f0e3
add ebp, eax
mov edi, dword [ecx + ebp*4]
mov ecx, dword [esp + 0x70]
mov ebp, dword [ecx + 0x5c]
mov ebx, dword [ecx + 0x4c]
mov ebx, dword [ebp + ebx*4]
mov ecx, dword [ecx + 0x68]
add ebx, eax
mov dword [ecx + ebx*4], edx
mov ecx, dword [esp + 0x70]
mov ebp, dword [ecx + 0x50]
mov ebx, dword [ecx + 0x44]
mov ebx, dword [ebp + ebx*4]
mov ecx, dword [ecx + 0x34]
mov ebp, dword [esp + 0x78]
add ebx, eax
mov dword [ecx + ebx*4], edi
mov ecx, dword [esp + 0x70]
mov edi, dword [ecx + 0x44]
mov ebx, dword [ecx + 0x50]
mov edi, dword [ebx + edi*4 + 4]
mov ecx, dword [ecx + 0x34]
add edi, eax
mov dword [ecx + edi*4], edx
mov ecx, dword [esi + 0x24]
add eax, 1
cmp eax, dword [ecx + 0xc]
jb 0x1014f0a9
mov eax, dword [esi + 0x24]
mov edx, dword [eax + 0xdc]
imul edx, dword [eax + 0xc]
mov eax, dword [esp + 0x70]
mov ecx, dword [eax + 0x28]
shl edx, 7
mov dword [ecx], edx
mov edx, dword [esp + 0x6c]
mov eax, dword [edx]
mov ecx, dword [esp + 0x70]
mov dword [ecx + 0x24], eax
mov edx, dword [esp + 0x70]
mov ecx, dword [esp + 0x80]
push edx
lea eax, [esp + 0x2c]
push eax
call fcn.1011db90
mov ebx, dword [eax]
mov ecx, dword [esp + 0x10]
mov eax, dword [esi + 0x24]
add ecx, 1
add ebp, 2
cmp ecx, dword [eax + 0xdc]
mov dword [esp + 0x10], ecx
mov dword [esp + 0x78], ebp
jb 0x1014f062
mov eax, dword [esi + 0x24]
xor edi, edi
cmp dword [eax + 0xdc], edi
jbe 0x101501cf
jmp 0x1014f1b0
test bl, 1
je 0x1014f2f6
lea ecx, [esp + 0x70]
mov dword [esp + 0x70], 0
mov eax, dword [eax + 0xc]
push ecx
push eax
mov ecx, esi
call fcn.1011bdb0
push eax
push 0xa
call fcn.1017f130
mov edx, dword [esi]
add esp, 0x10
mov ecx, esi
mov ebx, eax
call dword [edx + 0x58]
test bl, 1
je 0x1014f2f6
mov ecx, dword [esi + 0x24]
xor eax, eax
cmp dword [ecx + 0xc], eax
jbe 0x1014f28e
mov ebx, dword [esp + 0x7c]
cmp ebx, 4
mov ebp, dword [esp + 0x74]
mov dword [esp + 0x78], 0
jae 0x1014f229
cmp edi, 2
jae 0x1014f229
cmp eax, 2
jae 0x1014f229
lea edx, [edi + ebx*2]
lea edx, [eax + edx*2 + 0x72]
mov edx, dword [ecx + edx*4]
mov dword [esp + 0x78], edx
xor edx, edx
cmp ebp, 2
jae 0x1014f24f
cmp ebx, 4
jae 0x1014f24f
cmp edi, 2
jae 0x1014f24f
cmp eax, 2
jae 0x1014f24f
lea edx, [ebx + ebp*4]
lea edx, [edi + edx*2]
lea edx, [eax + edx*2 + 0xd2]
mov edx, dword [ecx + edx*4]
mov ecx, dword [esp + 0x70]
mov ebp, dword [ecx + 0x50]
mov ebx, dword [ecx + 0x44]
mov ebx, dword [ebp + ebx*4 + 4]
mov ecx, dword [ecx + 0x34]
mov ebp, dword [esp + 0x78]
add ebx, eax
mov dword [ecx + ebx*4], ebp
mov ecx, dword [esp + 0x70]
mov ebx, dword [ecx + 0x44]
mov ebp, dword [ecx + 0x50]
mov ebx, dword [ebp + ebx*4 + 8]
mov ecx, dword [ecx + 0x34]
add ebx, eax
mov dword [ecx + ebx*4], edx
mov ecx, dword [esi + 0x24]
add eax, 1
cmp eax, dword [ecx + 0xc]
jb 0x1014f1fc
mov eax, dword [esi + 0x24]
xor ecx, ecx
test edi, edi
jne 0x1014f29c
mov ecx, dword [eax + 0x1c]
jmp 0x1014f2a8
cmp edi, 2
jae 0x1014f2a8
mov ecx, dword [eax + edi*4 + 0xe0]
mov eax, dword [esp + 0x70]
mov edx, dword [eax + 0x44]
mov ebx, dword [eax + 0x50]
mov edx, dword [ebx + edx*4]
mov eax, dword [eax + 0x34]
mov dword [eax + edx*4], ecx
mov ecx, dword [esi + 0x24]
mov edx, dword [ecx + 0xc]
mov eax, dword [esp + 0x70]
imul edx, edi
mov ecx, dword [eax + 0x28]
add edx, dword [esp + 0x14]
mov dword [ecx], edx
mov edx, dword [esp + 0x6c]
mov eax, dword [edx]
mov ecx, dword [esp + 0x70]
mov dword [ecx + 0x24], eax
mov edx, dword [esp + 0x70]
mov ecx, dword [esp + 0x80]
push edx
lea eax, [esp + 0x30]
push eax
call fcn.1011db90
mov ebx, dword [eax]
mov eax, dword [esi + 0x24]
add edi, 1
cmp edi, dword [eax + 0xdc]
jb 0x1014f1b0
mov eax, dword [esp + 0x68]
pop edi
pop esi
pop ebp
mov dword [eax], ebx
pop ebx
add esp, 0x54
ret 0x1c
mov edx, dword [esi]
push edi
mov ecx, esi
call dword [edx + 0x18]
test al, al
mov eax, dword [esi + 0x24]
je 0x1014f67d
mov ecx, dword [esp + 0x78]
lea ebp, [ecx + edi*4]
imul ebp, dword [eax + 0xdc]
imul ebp, dword [eax + 0xc]
add ebp, dword [eax + 0xb8]
xor edi, edi
cmp dword [eax + 0xdc], edi
mov dword [esp + 0x14], ebp
jbe 0x1014f40d
test bl, 1
je 0x1014f3fb
lea edx, [esp + 0x70]
mov dword [esp + 0x70], 0
mov eax, dword [eax + 0xc]
push edx
push eax
mov ecx, esi
call fcn.1011bdb0
push eax
push 0x13
call fcn.1017f130
mov ebx, eax
add esp, 0x10
test bl, 1
je 0x1014f3fb
mov ecx, dword [esi + 0x24]
xor eax, eax
cmp dword [ecx + 0xc], eax
jbe 0x1014f3d6
mov ebx, dword [esp + 0x7c]
xor edx, edx
cmp ebx, 4
jae 0x1014f3b1
cmp edi, 2
jae 0x1014f3b1
cmp eax, 2
jae 0x1014f3b1
lea edx, [edi + ebx*2]
lea edx, [eax + edx*2 + 0x72]
mov edx, dword [ecx + edx*4]
mov ecx, dword [esp + 0x70]
mov ebx, dword [ecx + 0x4c]
mov ebp, dword [ecx + 0x5c]
mov ebx, dword [ebp + ebx*4]
mov ecx, dword [ecx + 0x68]
add ebx, eax
mov dword [ecx + ebx*4], edx
mov ecx, dword [esi + 0x24]
add eax, 1
cmp eax, dword [ecx + 0xc]
jb 0x1014f392
mov ebp, dword [esp + 0x14]
mov edx, dword [esp + 0x6c]
mov eax, dword [edx]
mov ecx, dword [esp + 0x70]
mov dword [ecx + 0x24], eax
mov edx, dword [esp + 0x70]
mov ecx, dword [esp + 0x80]
push edx
lea eax, [esp + 0x34]
push eax
call fcn.1011db90
mov ebx, dword [eax]
mov eax, dword [esi + 0x24]
add edi, 1
cmp edi, dword [eax + 0xdc]
jb 0x1014f355
mov eax, dword [esi + 0x24]
xor edi, edi
cmp dword [eax + 0xdc], edi
jbe 0x1014f501
mov edi, edi
test bl, 1
je 0x1014f4ef
lea ecx, [esp + 0x70]
push ecx
mov dword [esp + 0x74], 0
mov eax, dword [eax + 0xc]
push 0
push eax
mov ecx, esi
call fcn.1011bdb0
push eax
push 0x21
call fcn.1016b000
mov ebx, eax
add esp, 0x14
test bl, 1
je 0x1014f4ef
mov ecx, dword [esi + 0x24]
xor eax, eax
cmp dword [ecx + 0xc], eax
jbe 0x1014f4bd
mov ebx, dword [esp + 0x7c]
xor edx, edx
cmp ebx, 4
jae 0x1014f482
cmp edi, 2
jae 0x1014f482
cmp eax, 2
jae 0x1014f482
lea edx, [edi + ebx*2]
lea edx, [eax + edx*2 + 0x72]
mov edx, dword [ecx + edx*4]
mov ecx, dword [esp + 0x70]
mov ebp, dword [ecx + 0x5c]
mov ebx, dword [ecx + 0x4c]
mov ebx, dword [ebp + ebx*4]
mov ecx, dword [ecx + 0x68]
add ebx, eax
mov dword [ecx + ebx*4], edx
mov ecx, dword [esp + 0x70]
mov ebx, dword [ecx + 0x44]
mov ebp, dword [ecx + 0x50]
mov ebx, dword [ebp + ebx*4]
mov ecx, dword [ecx + 0x34]
add ebx, eax
mov dword [ecx + ebx*4], edx
mov ecx, dword [esi + 0x24]
add eax, 1
cmp eax, dword [ecx + 0xc]
jb 0x1014f463
mov ebp, dword [esp + 0x14]
mov edx, dword [esp + 0x70]
mov eax, dword [edx + 0x28]
mov ecx, dword [esp + 0x6c]
mov dword [eax], 4
mov edx, dword [ecx]
mov eax, dword [esp + 0x70]
mov dword [eax + 0x24], edx
mov ecx, dword [esp + 0x70]
push ecx
mov ecx, dword [esp + 0x84]
lea edx, [esp + 0x38]
push edx
call fcn.1011db90
mov ebx, dword [eax]
mov eax, dword [esi + 0x24]
add edi, 1
cmp edi, dword [eax + 0xdc]
jb 0x1014f420
mov eax, dword [esi + 0x24]
xor edi, edi
cmp dword [eax + 0xdc], edi
jbe 0x101501cf
test bl, 1
je 0x1014f65b
lea ecx, [esp + 0x70]
mov dword [esp + 0x70], 0
mov eax, dword [eax + 0xc]
push ecx
push eax
mov ecx, esi
call fcn.1011bdb0
push eax
push 0xa
call fcn.1017f130
mov edx, dword [esi]
add esp, 0x10
mov ecx, esi
mov ebx, eax
call dword [edx + 0x58]
test bl, 1
je 0x1014f65b
mov ecx, dword [esi + 0x24]
xor eax, eax
cmp dword [ecx + 0xc], eax
jbe 0x1014f5f5
mov ebp, dword [esp + 0x7c]
cmp ebp, 4
mov ebx, dword [esp + 0x74]
mov dword [esp + 0x78], 0
jae 0x1014f58b
cmp edi, 2
jae 0x1014f58b
cmp eax, 2
jae 0x1014f58b
lea edx, [edi + ebp*2]
lea edx, [eax + edx*2 + 0x72]
mov edx, dword [ecx + edx*4]
mov dword [esp + 0x78], edx
xor edx, edx
cmp ebx, 2
jae 0x1014f5b2
cmp ebp, 4
jae 0x1014f5b2
cmp edi, 2
jae 0x1014f5b2
cmp eax, 2
jae 0x1014f5b2
lea edx, [ebp + ebx*4]
lea edx, [edi + edx*2]
lea edx, [eax + edx*2 + 0xd2]
mov edx, dword [ecx + edx*4]
mov ecx, dword [esp + 0x70]
mov ebp, dword [ecx + 0x50]
mov ebx, dword [ecx + 0x44]
mov ebx, dword [ebp + ebx*4 + 4]
mov ecx, dword [ecx + 0x34]
mov ebp, dword [esp + 0x78]
add ebx, eax
mov dword [ecx + ebx*4], ebp
mov ecx, dword [esp + 0x70]
mov ebx, dword [ecx + 0x44]
mov ebp, dword [ecx + 0x50]
mov ebx, dword [ebp + ebx*4 + 8]
mov ecx, dword [ecx + 0x34]
add ebx, eax
mov dword [ecx + ebx*4], edx
mov ecx, dword [esi + 0x24]
add eax, 1
cmp eax, dword [ecx + 0xc]
jb 0x1014f55e
mov ebp, dword [esp + 0x14]
mov eax, dword [esi + 0x24]
xor ecx, ecx
test edi, edi
jne 0x1014f603
mov ecx, dword [eax + 0x1c]
jmp 0x1014f60f
cmp edi, 2
jae 0x1014f60f
mov ecx, dword [eax + edi*4 + 0xe0]
mov eax, dword [esp + 0x70]
mov edx, dword [eax + 0x44]
mov ebx, dword [eax + 0x50]
mov edx, dword [ebx + edx*4]
mov eax, dword [eax + 0x34]
mov dword [eax + edx*4], ecx
mov ecx, dword [esi + 0x24]
mov edx, dword [ecx + 0xc]
mov eax, dword [esp + 0x70]
imul edx, edi
mov ecx, dword [eax + 0x28]
add edx, ebp
mov dword [ecx], edx
mov edx, dword [esp + 0x6c]
mov eax, dword [edx]
mov ecx, dword [esp + 0x70]
mov dword [ecx + 0x24], eax
mov edx, dword [esp + 0x70]
mov ecx, dword [esp + 0x80]
push edx
lea eax, [esp + 0x3c]
push eax
call fcn.1011db90
mov ebx, dword [eax]
mov eax, dword [esi + 0x24]
add edi, 1
cmp edi, dword [eax + 0xdc]
jb 0x1014f512
mov eax, dword [esp + 0x68]
pop edi
pop esi
pop ebp
mov dword [eax], ebx
pop ebx
add esp, 0x54
ret 0x1c
xor ebp, ebp
cmp dword [eax + 0xdc], ebp
mov dword [esp + 0x10], ebp
jbe 0x101501cf
nop
lea ecx, [esp + 0x14]
mov dword [esp + 0x14], 0
mov eax, dword [eax + 0xc]
push ecx
push eax
mov ecx, esi
call fcn.1011bdb0
push eax
push 0xf
call fcn.1017f130
mov ebx, eax
add esp, 0x10
test bl, 1
je 0x1014f7a9
mov ecx, dword [esi + 0x24]
xor eax, eax
cmp dword [ecx + 0xc], eax
jbe 0x1014f784
lea esp, [esp]
mov edx, dword [esp + 0x70]
mov edi, dword [esp + 0x74]
mov edx, dword [edx + edi*4 + 4]
and edx, 0x7fff
xor ebx, ebx
cmp edx, dword [ecx + 0x18]
jae 0x1014f715
cmp dword [esp + 0x7c], 4
jae 0x1014f715
cmp ebp, 2
jae 0x1014f715
mov edi, dword [ecx + 0xc]
cmp eax, edi
jae 0x1014f715
mov ebx, dword [esp + 0x7c]
lea edx, [ebx + edx*4]
lea edx, [ebp + edx*2]
imul edx, edi
mov edi, dword [ecx + 0xcc]
add edx, eax
mov ebx, dword [edi + edx*4]
xor edx, edx
cmp dword [esp + 0x74], 2
jae 0x1014f746
mov edi, dword [esp + 0x78]
cmp edi, 4
jae 0x1014f746
cmp ebp, 2
jae 0x1014f746
cmp eax, 2
jae 0x1014f746
mov edx, dword [esp + 0x74]
lea edx, [edi + edx*4]
lea edx, [ebp + edx*2]
lea edx, [eax + edx*2 + 0xd2]
mov edx, dword [ecx + edx*4]
mov ecx, dword [esp + 0x14]
mov ebp, dword [ecx + 0x5c]
mov edi, dword [ecx + 0x4c]
mov edi, dword [ebp + edi*4]
mov ecx, dword [ecx + 0x68]
mov ebp, dword [esp + 0x10]
add edi, eax
mov dword [ecx + edi*4], ebx
mov ecx, dword [esp + 0x14]
mov edi, dword [ecx + 0x44]
mov ebx, dword [ecx + 0x50]
mov edi, dword [ebx + edi*4]
mov ecx, dword [ecx + 0x34]
add edi, eax
mov dword [ecx + edi*4], edx
mov ecx, dword [esi + 0x24]
add eax, 1
cmp eax, dword [ecx + 0xc]
jb 0x1014f6d0
mov edx, dword [esp + 0x6c]
mov eax, dword [edx]
mov ecx, dword [esp + 0x14]
mov dword [ecx + 0x24], eax
mov edx, dword [esp + 0x14]
mov ecx, dword [esp + 0x80]
push edx
lea eax, [esp + 0x40]
push eax
call fcn.1011db90
mov ebx, dword [eax]
mov eax, dword [esi + 0x24]
add ebp, 1
cmp ebp, dword [eax + 0xdc]
mov dword [esp + 0x10], ebp
jb 0x1014f690
mov eax, dword [esp + 0x68]
pop edi
pop esi
pop ebp
mov dword [eax], ebx
pop ebx
add esp, 0x54
ret 0x1c
mov ecx, eax
shr ecx, 0x18
test cl, 1
je 0x1014fd08
lea ecx, [edx + ebp*8 + 0x10]
mov dword [esp + 0x10], ecx
mov ecx, eax
shr ecx, 0x19
test cl, 1
je 0x1014f7f9
mov edx, dword [edx + ebp*4 + 0x28]
mov dword [esp + 0x14], edx
jmp 0x1014f801
mov dword [esp + 0x14], 0
mov ecx, dword [esi + 0x24]
mov edi, dword [ecx + 0xdc]
mov ebp, dword [ecx + 0xc]
and eax, 0x7fff
push eax
call fcn.1011ba00
mov edx, dword [esp + 0x14]
mov ecx, dword [esp + 0x78]
lea ecx, [ecx + edx*4]
imul ecx, ebp
imul ecx, edi
add eax, ecx
mov dword [esp + 0x14], eax
mov eax, dword [esi + 0x24]
xor edi, edi
cmp dword [eax + 0xdc], edi
jbe 0x1014f8f4
test bl, 1
je 0x1014f8e2
lea edx, [esp + 0x78]
mov dword [esp + 0x78], 0
mov eax, dword [eax + 0xc]
push edx
push eax
mov ecx, esi
call fcn.1011bdb0
push eax
push 0x13
call fcn.1017f130
mov ebx, eax
add esp, 0x10
test bl, 1
je 0x1014f8e2
mov ecx, dword [esi + 0x24]
xor eax, eax
cmp dword [ecx + 0xc], eax
jbe 0x1014f8bd
mov ebx, dword [esp + 0x7c]
xor edx, edx
cmp ebx, 4
jae 0x1014f89c
cmp edi, 2
jae 0x1014f89c
cmp eax, 2
jae 0x1014f89c
lea edx, [edi + ebx*2]
lea edx, [eax + edx*2 + 0x72]
mov edx, dword [ecx + edx*4]
mov ecx, dword [esp + 0x78]
mov ebx, dword [ecx + 0x4c]
mov ebp, dword [ecx + 0x5c]
mov ebx, dword [ebp + ebx*4]
mov ecx, dword [ecx + 0x68]
add ebx, eax
mov dword [ecx + ebx*4], edx
mov ecx, dword [esi + 0x24]
add eax, 1
cmp eax, dword [ecx + 0xc]
jb 0x1014f87d
mov edx, dword [esp + 0x6c]
mov eax, dword [edx]
mov ecx, dword [esp + 0x78]
mov dword [ecx + 0x24], eax
mov edx, dword [esp + 0x78]
mov ecx, dword [esp + 0x80]
push edx
lea eax, [esp + 0x44]
push eax
call fcn.1011db90
mov ebx, dword [eax]
mov eax, dword [esi + 0x24]
add edi, 1
cmp edi, dword [eax + 0xdc]
jb 0x1014f840
mov eax, dword [esi + 0x24]
mov ebp, dword [esp + 0x7c]
xor edi, edi
cmp dword [eax + 0xdc], edi
jbe 0x1014f9ed
lea esp, [esp]
test bl, 1
je 0x1014f9db
lea ecx, [esp + 0x78]
push ecx
mov dword [esp + 0x7c], 0
mov eax, dword [eax + 0xc]
push 0
push eax
mov ecx, esi
call fcn.1011bdb0
push eax
push 0x21
call fcn.1016b000
mov ebx, eax
add esp, 0x14
test bl, 1
je 0x1014f9db
mov ecx, dword [esi + 0x24]
xor eax, eax
cmp dword [ecx + 0xc], eax
jbe 0x1014f9a9
xor edx, edx
cmp ebp, 4
jae 0x1014f96e
cmp edi, 2
jae 0x1014f96e
cmp eax, 2
jae 0x1014f96e
lea edx, [edi + ebp*2]
lea edx, [eax + edx*2 + 0x72]
mov edx, dword [ecx + edx*4]
mov ecx, dword [esp + 0x78]
mov ebp, dword [ecx + 0x5c]
mov ebx, dword [ecx + 0x4c]
mov ebx, dword [ebp + ebx*4]
mov ecx, dword [ecx + 0x68]
add ebx, eax
mov dword [ecx + ebx*4], edx
mov ecx, dword [esp + 0x78]
mov ebp, dword [ecx + 0x50]
mov ebx, dword [ecx + 0x44]
mov ebx, dword [ebp + ebx*4]
mov ecx, dword [ecx + 0x34]
mov ebp, dword [esp + 0x7c]
add ebx, eax
mov dword [ecx + ebx*4], edx
mov ecx, dword [esi + 0x24]
add eax, 1
cmp eax, dword [ecx + 0xc]
jb 0x1014f953
mov edx, dword [esp + 0x78]
mov eax, dword [edx + 0x28]
mov ecx, dword [esp + 0x6c]
mov dword [eax], 4
mov edx, dword [ecx]
mov eax, dword [esp + 0x78]
mov dword [eax + 0x24], edx
mov ecx, dword [esp + 0x78]
push ecx
mov ecx, dword [esp + 0x84]
lea edx, [esp + 0x48]
push edx
call fcn.1011db90
mov ebx, dword [eax]
mov eax, dword [esi + 0x24]
add edi, 1
cmp edi, dword [eax + 0xdc]
jb 0x1014f910
test bl, 1
je 0x1014fa36
mov ecx, dword [esp + 0x10]
mov eax, dword [ecx]
mov edx, dword [ecx + 4]
shrd eax, edx, 0x1f
shr edx, 0x1f
test al, 1
je 0x1014fa14
mov eax, dword [esp + 0x70]
mov edx, dword [esp + 0x74]
mov eax, dword [eax + edx*4 + 0x20]
jmp 0x1014fa16
xor eax, eax
mov edx, dword [esp + 0x80]
push edx
push ebp
push eax
mov eax, dword [esp + 0x78]
push ecx
push 0
push eax
lea ecx, [esp + 0x60]
push ecx
mov ecx, esi
call fcn.1014ead0
mov ebx, dword [eax]
mov eax, dword [esi + 0x24]
cmp dword [eax + 0xdc], 0
mov dword [esp + 0x10], 0
jbe 0x1014fb8c
mov ebp, 0xf6
mov dword [esp + 0x78], ebp
test bl, 1
je 0x1014fb6b
lea edx, [esp + 0x70]
push edx
mov dword [esp + 0x74], 0
mov eax, dword [eax + 0xc]
push 0
push eax
mov ecx, esi
call fcn.1011bdb0
push eax
push 0x47
call fcn.1016b000
mov ebx, eax
add esp, 0x14
test bl, 1
je 0x1014fb6b
mov ecx, dword [esi + 0x24]
xor eax, eax
cmp dword [ecx + 0xc], eax
jbe 0x1014fb2d
mov edi, dword [esp + 0x7c]
xor edx, edx
cmp edi, 4
jae 0x1014fac4
cmp ebp, 0xfa
jae 0x1014fac4
cmp eax, 2
jae 0x1014fac4
mov edx, dword [esp + 0x10]
lea edx, [edx + edi*2]
lea edx, [eax + edx*2 + 0x72]
mov edx, dword [ecx + edx*4]
xor edi, edi
cmp ebp, 0xfa
jae 0x1014fad8
cmp eax, 2
jae 0x1014fad8
add ebp, eax
mov edi, dword [ecx + ebp*4]
mov ecx, dword [esp + 0x70]
mov ebp, dword [ecx + 0x5c]
mov ebx, dword [ecx + 0x4c]
mov ebx, dword [ebp + ebx*4]
mov ecx, dword [ecx + 0x68]
add ebx, eax
mov dword [ecx + ebx*4], edx
mov ecx, dword [esp + 0x70]
mov ebp, dword [ecx + 0x50]
mov ebx, dword [ecx + 0x44]
mov ebx, dword [ebp + ebx*4]
mov ecx, dword [ecx + 0x34]
mov ebp, dword [esp + 0x78]
add ebx, eax
mov dword [ecx + ebx*4], edi
mov ecx, dword [esp + 0x70]
mov edi, dword [ecx + 0x44]
mov ebx, dword [ecx + 0x50]
mov edi, dword [ebx + edi*4 + 4]
mov ecx, dword [ecx + 0x34]
add edi, eax
mov dword [ecx + edi*4], edx
mov ecx, dword [esi + 0x24]
add eax, 1
cmp eax, dword [ecx + 0xc]
jb 0x1014fa9e
mov eax, dword [esi + 0x24]
mov edx, dword [eax + 0xdc]
imul edx, dword [eax + 0xc]
mov eax, dword [esp + 0x70]
mov ecx, dword [eax + 0x28]
shl edx, 7
mov dword [ecx], edx
mov edx, dword [esp + 0x6c]
mov eax, dword [edx]
mov ecx, dword [esp + 0x70]
mov dword [ecx + 0x24], eax
mov edx, dword [esp + 0x70]
mov ecx, dword [esp + 0x80]
push edx
lea eax, [esp + 0x50]
push eax
call fcn.1011db90
mov ebx, dword [eax]
mov ecx, dword [esp + 0x10]
mov eax, dword [esi + 0x24]
add ecx, 1
add ebp, 2
cmp ecx, dword [eax + 0xdc]
mov dword [esp + 0x10], ecx
mov dword [esp + 0x78], ebp
jb 0x1014fa57
mov eax, dword [esi + 0x24]
xor edi, edi
cmp dword [eax + 0xdc], edi
jbe 0x101501cf
lea ecx, [ecx]
test bl, 1
je 0x1014fce6
lea ecx, [esp + 0x70]
mov dword [esp + 0x70], 0
mov eax, dword [eax + 0xc]
push ecx
push eax
mov ecx, esi
call fcn.1011bdb0
push eax
push 0xa
call fcn.1017f130
mov edx, dword [esi]
add esp, 0x10
mov ecx, esi
mov ebx, eax
call dword [edx + 0x54]
test bl, 1
je 0x1014fce6
mov ecx, dword [esi + 0x24]
xor eax, eax
cmp dword [ecx + 0xc], eax
jbe 0x1014fc7e
mov ebx, dword [esp + 0x7c]
cmp ebx, 4
mov ebp, dword [esp + 0x74]
mov dword [esp + 0x78], 0
jae 0x1014fc19
cmp edi, 2
jae 0x1014fc19
cmp eax, 2
jae 0x1014fc19
lea edx, [edi + ebx*2]
lea edx, [eax + edx*2 + 0x72]
mov edx, dword [ecx + edx*4]
mov dword [esp + 0x78], edx
xor edx, edx
cmp ebp, 2
jae 0x1014fc3f
cmp ebx, 4
jae 0x1014fc3f
cmp edi, 2
jae 0x1014fc3f
cmp eax, 2
jae 0x1014fc3f
lea edx, [ebx + ebp*4]
lea edx, [edi + edx*2]
lea edx, [eax + edx*2 + 0xd2]
mov edx, dword [ecx + edx*4]
mov ecx, dword [esp + 0x70]
mov ebp, dword [ecx + 0x50]
mov ebx, dword [ecx + 0x44]
mov ebx, dword [ebp + ebx*4 + 4]
mov ecx, dword [ecx + 0x34]
mov ebp, dword [esp + 0x78]
add ebx, eax
mov dword [ecx + ebx*4], ebp
mov ecx, dword [esp + 0x70]
mov ebx, dword [ecx + 0x44]
mov ebp, dword [ecx + 0x50]
mov ebx, dword [ebp + ebx*4 + 8]
mov ecx, dword [ecx + 0x34]
add ebx, eax
mov dword [ecx + ebx*4], edx
mov ecx, dword [esi + 0x24]
add eax, 1
cmp eax, dword [ecx + 0xc]
jb 0x1014fbec
mov eax, dword [esi + 0x24]
xor ecx, ecx
test edi, edi
jne 0x1014fc8c
mov ecx, dword [eax + 0x1c]
jmp 0x1014fc98
cmp edi, 2
jae 0x1014fc98
mov ecx, dword [eax + edi*4 + 0xe0]
mov eax, dword [esp + 0x70]
mov edx, dword [eax + 0x44]
mov ebx, dword [eax + 0x50]
mov edx, dword [ebx + edx*4]
mov eax, dword [eax + 0x34]
mov dword [eax + edx*4], ecx
mov ecx, dword [esi + 0x24]
mov edx, dword [ecx + 0xc]
mov eax, dword [esp + 0x70]
imul edx, edi
mov ecx, dword [eax + 0x28]
add edx, dword [esp + 0x14]
mov dword [ecx], edx
mov edx, dword [esp + 0x6c]
mov eax, dword [edx]
mov ecx, dword [esp + 0x70]
mov dword [ecx + 0x24], eax
mov edx, dword [esp + 0x70]
mov ecx, dword [esp + 0x80]
push edx
lea eax, [esp + 0x54]
push eax
call fcn.1011db90
mov ebx, dword [eax]
mov eax, dword [esi + 0x24]
add edi, 1
cmp edi, dword [eax + 0xdc]
jb 0x1014fba0
mov eax, dword [esp + 0x68]
pop edi
pop esi
pop ebp
mov dword [eax], ebx
pop ebx
add esp, 0x54
ret 0x1c
mov ecx, eax
shr ecx, 0x19
test cl, 1
je 0x1015007f
mov edx, dword [esp + 0x70]
mov edx, dword [edx + ebp*4 + 0x28]
mov ecx, dword [esi + 0x24]
mov edi, dword [esp + 0x78]
lea ebp, [edi + edx*4]
imul ebp, dword [ecx + 0xdc]
imul ebp, dword [ecx + 0xc]
and eax, 0x7fff
push eax
call fcn.1011ba00
add ebp, eax
mov eax, dword [esi + 0x24]
xor edi, edi
cmp dword [eax + 0xdc], edi
mov dword [esp + 0x14], ebp
jbe 0x1014fe11
test bl, 1
je 0x1014fdff
lea ecx, [esp + 0x70]
mov dword [esp + 0x70], 0
mov eax, dword [eax + 0xc]
push ecx
push eax
mov ecx, esi
call fcn.1011bdb0
push eax
push 0x13
call fcn.1017f130
mov ebx, eax
add esp, 0x10
test bl, 1
je 0x1014fdff
mov ecx, dword [esi + 0x24]
xor eax, eax
cmp dword [ecx + 0xc], eax
jbe 0x1014fdda
mov ebx, dword [esp + 0x7c]
xor edx, edx
cmp ebx, 4
jae 0x1014fdb5
cmp edi, 2
jae 0x1014fdb5
cmp eax, 2
jae 0x1014fdb5
lea edx, [edi + ebx*2]
lea edx, [eax + edx*2 + 0x72]
mov edx, dword [ecx + edx*4]
mov ecx, dword [esp + 0x70]
mov ebx, dword [ecx + 0x4c]
mov ebp, dword [ecx + 0x5c]
mov ebx, dword [ebp + ebx*4]
mov ecx, dword [ecx + 0x68]
add ebx, eax
mov dword [ecx + ebx*4], edx
mov ecx, dword [esi + 0x24]
add eax, 1
cmp eax, dword [ecx + 0xc]
jb 0x1014fd96
mov ebp, dword [esp + 0x14]
mov edx, dword [esp + 0x6c]
mov eax, dword [edx]
mov ecx, dword [esp + 0x70]
mov dword [ecx + 0x24], eax
mov edx, dword [esp + 0x70]
mov ecx, dword [esp + 0x80]
push edx
lea eax, [esp + 0x58]
push eax
call fcn.1011db90
mov ebx, dword [eax]
mov eax, dword [esi + 0x24]
add edi, 1
cmp edi, dword [eax + 0xdc]
jb 0x1014fd55
mov eax, dword [esi + 0x24]
xor edi, edi
cmp dword [eax + 0xdc], edi
jbe 0x1014ff03
test bl, 1
je 0x1014fef1
lea ecx, [esp + 0x70]
push ecx
mov dword [esp + 0x74], 0
mov eax, dword [eax + 0xc]
push 0
push eax
mov ecx, esi
call fcn.1011bdb0
push eax
push 0x21
call fcn.1016b000
mov ebx, eax
add esp, 0x14
test bl, 1
je 0x1014fef1
mov ecx, dword [esi + 0x24]
xor eax, eax
cmp dword [ecx + 0xc], eax
jbe 0x1014febf
mov ebx, dword [esp + 0x7c]
xor edx, edx
cmp ebx, 4
jae 0x1014fe84
cmp edi, 2
jae 0x1014fe84
cmp eax, 2
jae 0x1014fe84
lea edx, [edi + ebx*2]
lea edx, [eax + edx*2 + 0x72]
mov edx, dword [ecx + edx*4]
mov ecx, dword [esp + 0x70]
mov ebp, dword [ecx + 0x5c]
mov ebx, dword [ecx + 0x4c]
mov ebx, dword [ebp + ebx*4]
mov ecx, dword [ecx + 0x68]
add ebx, eax
mov dword [ecx + ebx*4], edx
mov ecx, dword [esp + 0x70]
mov ebx, dword [ecx + 0x44]
mov ebp, dword [ecx + 0x50]
mov ebx, dword [ebp + ebx*4]
mov ecx, dword [ecx + 0x34]
add ebx, eax
mov dword [ecx + ebx*4], edx
mov ecx, dword [esi + 0x24]
add eax, 1
cmp eax, dword [ecx + 0xc]
jb 0x1014fe65
mov ebp, dword [esp + 0x14]
mov edx, dword [esp + 0x70]
mov eax, dword [edx + 0x28]
mov ecx, dword [esp + 0x6c]
mov dword [eax], 4
mov edx, dword [ecx]
mov eax, dword [esp + 0x70]
mov dword [eax + 0x24], edx
mov ecx, dword [esp + 0x70]
push ecx
mov ecx, dword [esp + 0x84]
lea edx, [esp + 0x5c]
push edx
call fcn.1011db90
mov ebx, dword [eax]
mov eax, dword [esi + 0x24]
add edi, 1
cmp edi, dword [eax + 0xdc]
jb 0x1014fe22
mov eax, dword [esi + 0x24]
xor edi, edi
cmp dword [eax + 0xdc], edi
jbe 0x101501cf
test bl, 1
je 0x1015005d
lea ecx, [esp + 0x70]
mov dword [esp + 0x70], 0
mov eax, dword [eax + 0xc]
push ecx
push eax
mov ecx, esi
call fcn.1011bdb0
push eax
push 0xa
call fcn.1017f130
mov edx, dword [esi]
add esp, 0x10
mov ecx, esi
mov ebx, eax
call dword [edx + 0x54]
test bl, 1
je 0x1015005d
mov ecx, dword [esi + 0x24]
xor eax, eax
cmp dword [ecx + 0xc], eax
jbe 0x1014fff7
mov ebp, dword [esp + 0x7c]
cmp ebp, 4
mov ebx, dword [esp + 0x74]
mov dword [esp + 0x78], 0
jae 0x1014ff8d
cmp edi, 2
jae 0x1014ff8d
cmp eax, 2
jae 0x1014ff8d
lea edx, [edi + ebp*2]
lea edx, [eax + edx*2 + 0x72]
mov edx, dword [ecx + edx*4]
mov dword [esp + 0x78], edx
xor edx, edx
cmp ebx, 2
jae 0x1014ffb4
cmp ebp, 4
jae 0x1014ffb4
cmp edi, 2
jae 0x1014ffb4
cmp eax, 2
jae 0x1014ffb4
lea edx, [ebp + ebx*4]
lea edx, [edi + edx*2]
lea edx, [eax + edx*2 + 0xd2]
mov edx, dword [ecx + edx*4]
mov ecx, dword [esp + 0x70]
mov ebp, dword [ecx + 0x50]
mov ebx, dword [ecx + 0x44]
mov ebx, dword [ebp + ebx*4 + 4]
mov ecx, dword [ecx + 0x34]
mov ebp, dword [esp + 0x78]
add ebx, eax
mov dword [ecx + ebx*4], ebp
mov ecx, dword [esp + 0x70]
mov ebx, dword [ecx + 0x44]
mov ebp, dword [ecx + 0x50]
mov ebx, dword [ebp + ebx*4 + 8]
mov ecx, dword [ecx + 0x34]
add ebx, eax
mov dword [ecx + ebx*4], edx
mov ecx, dword [esi + 0x24]
add eax, 1
cmp eax, dword [ecx + 0xc]
jb 0x1014ff60
mov ebp, dword [esp + 0x14]
mov eax, dword [esi + 0x24]
xor ecx, ecx
test edi, edi
jne 0x10150005
mov ecx, dword [eax + 0x1c]
jmp 0x10150011
cmp edi, 2
jae 0x10150011
mov ecx, dword [eax + edi*4 + 0xe0]
mov eax, dword [esp + 0x70]
mov edx, dword [eax + 0x44]
mov ebx, dword [eax + 0x50]
mov edx, dword [ebx + edx*4]
mov eax, dword [eax + 0x34]
mov dword [eax + edx*4], ecx
mov ecx, dword [esi + 0x24]
mov edx, dword [ecx + 0xc]
mov eax, dword [esp + 0x70]
imul edx, edi
mov ecx, dword [eax + 0x28]
add edx, ebp
mov dword [ecx], edx
mov edx, dword [esp + 0x6c]
mov eax, dword [edx]
mov ecx, dword [esp + 0x70]
mov dword [ecx + 0x24], eax
mov edx, dword [esp + 0x70]
mov ecx, dword [esp + 0x80]
push edx
lea eax, [esp + 0x60]
push eax
call fcn.1011db90
mov ebx, dword [eax]
mov eax, dword [esi + 0x24]
add edi, 1
cmp edi, dword [eax + 0xdc]
jb 0x1014ff14
mov eax, dword [esp + 0x68]
pop edi
pop esi
pop ebp
mov dword [eax], ebx
pop ebx
add esp, 0x54
ret 0x1c
mov eax, dword [esi + 0x24]
xor ebp, ebp
cmp dword [eax + 0xdc], ebp
mov dword [esp + 0x10], ebp
jbe 0x101501cf
jmp 0x101500a0
lea ecx, [esp + 0x14]
mov dword [esp + 0x14], 0
mov eax, dword [eax + 0xc]
push ecx
push eax
mov ecx, esi
call fcn.1011bdb0
push eax
push 0xf
call fcn.1017f130
mov ebx, eax
add esp, 0x10
test bl, 1
je 0x101501b9
mov ecx, dword [esi + 0x24]
xor eax, eax
cmp dword [ecx + 0xc], eax
jbe 0x10150194
lea esp, [esp]
mov edx, dword [esp + 0x70]
mov edi, dword [esp + 0x74]
mov edx, dword [edx + edi*4 + 4]
and edx, 0x7fff
xor ebx, ebx
cmp edx, dword [ecx + 0x10]
jae 0x10150125
cmp dword [esp + 0x7c], 4
jae 0x10150125
cmp ebp, 2
jae 0x10150125
mov edi, dword [ecx + 0xc]
cmp eax, edi
jae 0x10150125
mov ebx, dword [esp + 0x7c]
lea edx, [ebx + edx*4]
lea edx, [ebp + edx*2]
imul edx, edi
mov edi, dword [ecx + 0xc4]
add edx, eax
mov ebx, dword [edi + edx*4]
xor edx, edx
cmp dword [esp + 0x74], 2
jae 0x10150156
mov edi, dword [esp + 0x78]
cmp edi, 4
jae 0x10150156
cmp ebp, 2
jae 0x10150156
cmp eax, 2
jae 0x10150156
mov edx, dword [esp + 0x74]
lea edx, [edi + edx*4]
lea edx, [ebp + edx*2]
lea edx, [eax + edx*2 + 0xd2]
mov edx, dword [ecx + edx*4]
mov ecx, dword [esp + 0x14]
mov ebp, dword [ecx + 0x5c]
mov edi, dword [ecx + 0x4c]
mov edi, dword [ebp + edi*4]
mov ecx, dword [ecx + 0x68]
mov ebp, dword [esp + 0x10]
add edi, eax
mov dword [ecx + edi*4], ebx
mov ecx, dword [esp + 0x14]
mov edi, dword [ecx + 0x44]
mov ebx, dword [ecx + 0x50]
mov edi, dword [ebx + edi*4]
mov ecx, dword [ecx + 0x34]
add edi, eax
mov dword [ecx + edi*4], edx
mov ecx, dword [esi + 0x24]
add eax, 1
cmp eax, dword [ecx + 0xc]
jb 0x101500e0
mov edx, dword [esp + 0x6c]
mov eax, dword [edx]
mov ecx, dword [esp + 0x14]
mov dword [ecx + 0x24], eax
mov edx, dword [esp + 0x14]
mov ecx, dword [esp + 0x80]
push edx
lea eax, [esp + 0x64]
push eax
call fcn.1011db90
mov ebx, dword [eax]
mov eax, dword [esi + 0x24]
add ebp, 1
cmp ebp, dword [eax + 0xdc]
mov dword [esp + 0x10], ebp
jb 0x101500a0
mov eax, dword [esp + 0x68]
pop edi
pop esi
pop ebp
mov dword [eax], ebx
pop ebx
add esp, 0x54
ret 0x1c