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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x184
mov ecx, dword [0x10069b20]
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
push ecx
push edi
mov dword [esp + 0x44], 0
mov esi, dword [edi + 0x44]
mov ebx, dword [edi + 0x4c]
mov eax, dword [edi + 0x68]
mov dword [esp + 0x58], esi
mov dword [esp + 0x50], ebx
mov dword [esp + 0x4c], eax
call fcn.1001e470
add esp, 8
cmp eax, 0xffffffff
jne 0x1001fded
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov edx, 1
cmp esi, edx
jne 0x1001fe02
xor esi, esi
mov dword [esp + 0x34], edx
mov dword [esp + 0x48], esi
jmp 0x1001fe10
xor eax, eax
test ebx, ebx
setl al
inc eax
xor esi, esi
mov dword [esp + 0x34], eax
cmp dword [edi + 0x74], edx
jne 0x1001fe29
mov eax, dword [edi + 0x78]
mov ecx, eax
and ecx, 2
and eax, edx
mov dword [esp + 0x38], ecx
mov dword [esp + 0x40], eax
jmp 0x1001fe31
mov dword [esp + 0x40], esi
mov dword [esp + 0x38], esi
mov eax, dword [edi + 0x50]
mov dword [esp + 0x30], esi
neg eax
sbb eax, eax
add eax, 2
cmp eax, esi
mov dword [esp + 0x54], eax
jle 0x10020bcf
jmp 0x1001fe51
mov esi, dword [esp + 0x30]
lea ecx, [esi + esi*2]
lea eax, [esi + ecx*4]
mov ecx, dword [ebp + 8]
shl eax, 3
mov edx, dword [ecx + 0x50]
mov dword [esp + 0x10], eax
test edx, edx
lea eax, [eax + 0x10069b28]
je 0x1001fe81
push 0
lea edx, [esp + 0x5c]
push eax
push edx
push ecx
call fcn.10020e30
add esp, 0x10
jmp 0x1001fe90
push eax
lea eax, [esp + 0x5c]
push eax
push ecx
call fcn.10020be0
add esp, 0xc
mov ecx, dword [0x1003f3b8]
test ecx, ecx
je 0x1001fed0
mov dword [ecx + esi*8 + 0x29a58], eax
lea ecx, [esi + esi*4]
shl ecx, 3
sub ecx, esi
lea edx, [esp + 0x58]
shl ecx, 4
add ecx, 0x284f8
mov edi, 0x27
fild dword [edx]
mov ebx, dword [0x1003f3b8]
add ecx, 8
add edx, 4
dec edi
fstp qword [ecx + ebx - 8]
jne 0x1001febb
mov edx, dword [esp + 0x10]
mov ecx, dword [esp + 0x44]
push eax
push ecx
mov ecx, dword [ebp + 8]
lea eax, [edx + 0x10069b28]
push eax
lea eax, [esp + 0x64]
push eax
push 0x10043f8c
push ecx
call fcn.10020f50
add esp, 0x18
test eax, eax
jne 0x10020bcf
cmp dword [esp + 0x50], 2
jne 0x100203f6
mov edi, dword [ebp + 8]
mov edx, dword [esp + 0x10]
mov ecx, dword [edi + 0x50]
lea eax, [edx + 0x10069bf8]
test ecx, ecx
je 0x1001ff37
mov ecx, dword [esp + 0x40]
lea edx, [esp + 0xf4]
push ecx
push eax
push edx
push edi
call fcn.10020e30
add esp, 0x10
jmp 0x1001ff49
push eax
lea eax, [esp + 0xf8]
push eax
push edi
call fcn.10020be0
add esp, 0xc
mov ecx, dword [0x1003f3b8]
test ecx, ecx
je 0x1001ff8c
mov dword [ecx + esi*8 + 0x29a5c], eax
lea ecx, [esi + esi*4]
shl ecx, 3
sub ecx, esi
lea edx, [esp + 0xf4]
shl ecx, 4
add ecx, 0x28630
mov esi, 0x27
fild dword [edx]
mov ebx, dword [0x1003f3b8]
add ecx, 8
add edx, 4
dec esi
fstp qword [ecx + ebx - 8]
jne 0x1001ff77
mov edx, dword [esp + 0x10]
mov ecx, dword [esp + 0x44]
push eax
push ecx
lea eax, [edx + 0x10069bf8]
push eax
lea eax, [esp + 0x100]
push eax
push 0x1004488c
push edi
call fcn.10020f50
add esp, 0x18
test eax, eax
jne 0x10020bcf
mov eax, dword [esp + 0x38]
test eax, eax
je 0x1001ffeb
mov eax, 0x10043f8c
fld dword [eax]
fld dword [eax + 0x900]
fld st(1)
fsub st(1)
add eax, 4
cmp eax, 0x1004488c
fstp dword [eax + 0x8fc]
fadd st(1)
fstp dword [eax - 4]
fstp st(0)
jl 0x1001ffc8
mov eax, dword [esp + 0x40]
test eax, eax
je 0x10020353
mov ebx, dword [esp + 0x44]
mov ecx, dword [ebp + 8]
xor edi, edi
mov eax, dword [ecx + 0x50]
lea ebx, [ebx + ebx*8]
shl ebx, 4
add ebx, 0x10034a70
cmp eax, edi
mov dword [esp + 0x20], ebx
je 0x10020064
mov edx, dword [esp + 0x10]
mov ecx, dword [esp + 0x38]
lea eax, [edx + 0x10069bf8]
mov eax, dword [edx + 0x10069c04]
and eax, 1
cmp ecx, edi
je 0x1002004b
shl eax, 6
lea ecx, [eax + 0x10045d78]
lea edx, [eax + 0x10045e78]
mov dword [esp + 0x18], ecx
mov dword [esp + 0x1c], edx
jmp 0x1002008c
shl eax, 6
lea ecx, [eax + 0x10045df8]
lea edx, [eax + 0x10045ef8]
mov dword [esp + 0x18], ecx
mov dword [esp + 0x1c], edx
jmp 0x1002008c
cmp dword [esp + 0x38], edi
je 0x1002007c
mov dword [esp + 0x18], 0x10045cb8
mov dword [esp + 0x1c], 0x10045d38
jmp 0x1002008c
mov dword [esp + 0x18], 0x10045c78
mov dword [esp + 0x1c], 0x10045cf8
mov eax, dword [esp + 0x10]
mov ecx, dword [eax + 0x10069c08]
lea eax, [eax + 0x10069bf8]
cmp ecx, 2
jne 0x10020280
mov ecx, dword [eax + 0x14]
mov dword [esp + 0x28], edi
cmp ecx, edi
je 0x100200b8
mov dword [esp + 0x28], 1
add eax, 0x30
mov dword [esp + 0x14], eax
mov ecx, dword [esp + 0x14]
mov eax, dword [ecx]
cmp eax, 3
jle 0x100200d2
mov dword [esp + 0x28], 0
cmp eax, 0xc
jge 0x10020162
lea ecx, [eax + eax*2]
lea esi, [ebx + eax*2 + 0x5a]
mov dword [esp + 0xc], ecx
mov edx, dword [esp + 0x10]
lea eax, [edx + 0x10069bf8]
mov edx, dword [edx + 0x10069c0c]
sub ecx, edx
add ecx, edi
mov ecx, dword [esp + ecx*4 + 0xf4]
cmp ecx, 7
je 0x1002014f
mov ebx, dword [esp + 0x18]
movsx eax, word [esi]
fld dword [ebx + ecx*4]
mov ebx, dword [esp + 0x1c]
add eax, edi
movsx edx, word [esi + 0x1c]
fstp dword [esp + 0x2c]
fld dword [ebx + ecx*4]
test edx, edx
fstp dword [esp + 0x24]
jle 0x1002014b
lea eax, [eax*4 + 0x10043f8c]
fld dword [eax]
fld st(0)
fmul dword [esp + 0x2c]
add eax, 0xc
dec edx
fstp dword [eax - 0xc]
fmul dword [esp + 0x24]
fstp dword [eax + 0x8f4]
jne 0x10020130
mov ebx, dword [esp + 0x20]
mov ecx, dword [esp + 0xc]
add esi, 2
add ecx, 3
cmp ecx, 0x24
mov dword [esp + 0xc], ecx
jl 0x100200e6
mov edx, dword [esp + 0x10]
mov ecx, edi
lea eax, [edx + 0x10069bf8]
mov edx, dword [edx + 0x10069c0c]
sub ecx, edx
movsx edx, word [ebx + 0x8e]
mov eax, dword [esp + ecx*4 + 0x178]
movsx ecx, word [ebx + 0x72]
add ecx, edi
cmp eax, 7
je 0x100201cb
mov esi, dword [esp + 0x18]
test edx, edx
fld dword [esi + eax*4]
mov esi, dword [esp + 0x1c]
fstp dword [esp + 0x24]
fld dword [esi + eax*4]
fstp dword [esp + 0xc]
jle 0x100201cb
lea eax, [ecx*4 + 0x10043f8c]
fld dword [eax]
fld st(0)
fmul dword [esp + 0x24]
add eax, 0xc
dec edx
fstp dword [eax - 0xc]
fmul dword [esp + 0xc]
fstp dword [eax + 0x8f4]
jne 0x100201b0
mov ecx, dword [esp + 0x14]
inc edi
add ecx, 4
cmp edi, 3
mov dword [esp + 0x14], ecx
jl 0x100200bf
mov eax, dword [esp + 0x28]
test eax, eax
je 0x10020353
mov eax, dword [esp + 0x10]
lea eax, [eax + 0x10069bf8]
mov eax, dword [eax + 0x3c]
cmp eax, 8
movsx ecx, word [ebx + eax*2]
mov dword [esp + 0x14], ecx
jge 0x10020353
lea edx, [ebx + eax*2 + 0x2e]
mov ebx, 8
lea esi, [esp + eax*4 + 0xf4]
sub ebx, eax
mov eax, dword [esi]
movsx ecx, word [edx]
cmp eax, 7
je 0x1002026e
mov edi, dword [esp + 0x18]
test ecx, ecx
fld dword [edi + eax*4]
mov edi, dword [esp + 0x1c]
fstp dword [esp + 0x24]
fld dword [edi + eax*4]
fstp dword [esp + 0xc]
jle 0x10020272
mov edi, dword [esp + 0x14]
lea eax, [edi*4 + 0x10043f8c]
add edi, ecx
mov dword [esp + 0x14], edi
fld dword [eax]
fld st(0)
fmul dword [esp + 0x24]
add eax, 4
dec ecx
fstp dword [eax - 4]
fmul dword [esp + 0xc]
fstp dword [eax + 0x8fc]
jne 0x10020251
jmp 0x10020272
add dword [esp + 0x14], ecx
add edx, 2
add esi, 4
dec ebx
jne 0x1002021c
jmp 0x10020353
mov eax, dword [eax + 0x3c]
cmp eax, 0x15
movsx edx, word [ebx + eax*2]
mov dword [esp + 0x14], edx
jge 0x10020303
mov edi, 0x15
lea esi, [esp + eax*4 + 0xf4]
lea edx, [ebx + eax*2 + 0x2e]
sub edi, eax
mov eax, dword [esi]
movsx ecx, word [edx]
cmp eax, 7
je 0x10020386
mov ebx, dword [esp + 0x18]
test ecx, ecx
fld dword [ebx + eax*4]
mov ebx, dword [esp + 0x1c]
fstp dword [esp + 0x24]
fld dword [ebx + eax*4]
fstp dword [esp + 0xc]
jle 0x100202f6
mov ebx, dword [esp + 0x14]
lea eax, [ebx*4 + 0x10043f8c]
add ebx, ecx
mov dword [esp + 0x14], ebx
fld dword [eax]
fld st(0)
fmul dword [esp + 0x24]
add eax, 4
dec ecx
fstp dword [eax - 4]
fmul dword [esp + 0xc]
fstp dword [eax + 0x8fc]
jne 0x100202db
mov ebx, dword [esp + 0x20]
add edx, 2
add esi, 4
dec edi
jne 0x100202a2
mov eax, dword [esp + 0x144]
cmp eax, 7
je 0x10020353
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
fld dword [ecx + eax*4]
movsx ecx, word [ebx + 0x58]
fstp dword [esp + 0x24]
fld dword [edx + eax*4]
test ecx, ecx
fstp dword [esp + 0xc]
jle 0x10020353
mov eax, dword [esp + 0x14]
lea eax, [eax*4 + 0x10043f8c]
fld dword [eax]
fld st(0)
fmul dword [esp + 0x24]
add eax, 4
dec ecx
fstp dword [eax - 4]
fmul dword [esp + 0xc]
fstp dword [eax + 0x8fc]
jne 0x10020338
mov eax, dword [esp + 0x38]
test eax, eax
jne 0x1002036a
mov eax, dword [esp + 0x40]
test eax, eax
jne 0x1002036a
cmp dword [esp + 0x48], 3
jne 0x10020397
mov edx, dword [esp + 0x10]
mov eax, dword [edx + 0x10069c38]
mov ecx, dword [edx + 0x10069b68]
cmp eax, ecx
jbe 0x1002038f
mov dword [edx + 0x10069b68], eax
jmp 0x1002039b
add dword [esp + 0x14], ecx
jmp 0x100202fa
mov dword [edx + 0x10069c38], ecx
jmp 0x1002039b
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x48]
dec eax
je 0x100203d1
sub eax, 2
jne 0x100203f6
lea ecx, [edx + 0x10069bf8]
mov eax, 0x10043f8c
mov ecx, dword [ecx + 0x40]
lea ecx, [ecx + ecx*8]
shl ecx, 1
test ecx, ecx
jle 0x100203f6
fld dword [eax + 0x900]
fadd dword [eax]
add eax, 4
dec ecx
fstp dword [eax - 4]
jne 0x100203be
jmp 0x100203f6
lea eax, [edx + 0x10069bf8]
mov ecx, 0x10043f8c
mov eax, dword [eax + 0x40]
lea eax, [eax + eax*8]
shl eax, 1
test eax, eax
jle 0x100203f6
mov edx, dword [ecx + 0x900]
mov dword [ecx], edx
add ecx, 4
dec eax
jne 0x100203e8
mov ecx, dword [0x1003f3b8]
test ecx, ecx
je 0x100207d0
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x50]
mov ebx, dword [edx + 0x5c]
mov esi, dword [edx + 0x64]
lea eax, [eax + eax*2]
add eax, ebx
shl eax, 4
add eax, esi
mov eax, dword [eax*4 + 0x10031f3c]
mov dword [ecx + 0x29aa0], eax
mov ecx, dword [esp + 0x44]
mov eax, dword [ecx*4 + 0x100320fc]
mov ecx, dword [0x1003f3b8]
mov dword [ecx + 0x29aa4], eax
mov ecx, dword [0x1003f3b8]
mov eax, dword [edx + 0x84]
mov dword [ecx + 0x29a9c], eax
mov ecx, dword [0x1003f3b8]
mov eax, dword [edx + 0x60]
mov dword [ecx + 0x29aac], eax
mov ecx, dword [0x1003f3b8]
mov eax, dword [edx + 0x6c]
mov dword [ecx + 0x29ab0], eax
mov ecx, dword [0x1003f3b8]
mov eax, dword [edx + 0x44]
mov dword [ecx + 0x29a8c], eax
mov ecx, dword [edx + 0x74]
xor eax, eax
cmp ecx, 1
mov ecx, dword [0x1003f3b8]
sete al
mov dword [ecx + 0x29a90], eax
mov edx, dword [0x1003f3b8]
mov eax, dword [esp + 0x38]
mov dword [edx + 0x29a94], eax
mov ecx, dword [0x1003f3b8]
mov edx, dword [esp + 0x40]
mov dword [ecx + 0x29a98], edx
mov ecx, dword [0x1003f3b8]
mov eax, dword [0x10069b20]
mov dword [ecx + 0x29aa8], eax
mov eax, dword [esp + 0x34]
test eax, eax
jle 0x10020561
mov eax, dword [esp + 0x30]
mov esi, dword [esp + 0x34]
mov edx, 0x29ab4
lea ecx, [eax*8 + 0x29a08]
mov eax, dword [esp + 0x10]
lea eax, [eax + 0x10069b78]
mov ebx, dword [0x1003f3b8]
mov edi, dword [eax - 0x48]
mov dword [ecx + ebx - 0x870], edi
mov ebx, dword [0x1003f3b8]
mov edi, dword [eax]
mov dword [ecx + ebx], edi
mov ebx, dword [0x1003f3b8]
mov edi, dword [eax - 0x3c]
mov dword [ecx + ebx + 0x30], edi
mov ebx, dword [0x1003f3b8]
mov edi, dword [eax - 0x40]
mov dword [ecx + ebx + 0x20], edi
mov ebx, dword [0x1003f3b8]
mov edi, dword [eax - 0x4c]
mov dword [ecx + ebx + 0x40], edi
mov ebx, dword [0x1003f3b8]
mov edi, dword [eax - 4]
mov dword [ecx + ebx + 0x10], edi
mov edi, dword [esp + 0x30]
cmp edi, 1
jne 0x10020553
mov ebx, dword [0x1003f3b8]
mov edi, dword [eax - 0x50]
mov dword [edx + ebx], edi
add ecx, 4
add edx, 4
add eax, 0xd0
dec esi
jne 0x100204ef
mov eax, dword [esp + 0x34]
xor edx, edx
test eax, eax
mov dword [esp + 0x1c], edx
jle 0x1002077b
mov ecx, dword [esp + 0x30]
lea eax, [ecx*8 + 0x29a08]
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x28], eax
lea ebx, [ecx + 0x10069b3c]
mov dword [esp + 0xc], ebx
mov ecx, dword [0x1003f3b8]
mov eax, dword [esp + 0x28]
cmp dword [eax + ecx], 0
jne 0x100205a8
fld qword [0x1002e1c0]
jmp 0x100205ae
fld qword [0x1002e0f0]
cmp dword [ebx - 4], 2
jne 0x100206a3
mov eax, dword [esp + 0x30]
xor esi, esi
mov dword [esp + 0x20], esi
mov dword [esp + 0x2c], 0xc
lea eax, [edx + eax*2]
mov dword [esp + 0x18], eax
lea edi, [eax + eax*4]
shl edi, 3
sub edi, eax
mov eax, dword [esp + 0x30]
fchs
lea edx, [edx + eax*2 + 0x36ce]
lea eax, [edi*8 + 0x284f8]
mov dword [esp + 0xc], edi
mov dword [esp + 0x14], eax
lea edx, [edx + edx*2]
shl edx, 2
jmp 0x10020615
mov ecx, dword [0x1003f3b8]
mov edi, dword [esp + 0xc]
mov dword [esp + 0x2c], 0xc
jmp 0x10020615
mov edi, dword [esp + 0xc]
sub edi, dword [ebx]
add eax, 0x18
fld st(0)
add edi, esi
add esi, 3
fmul qword [ecx + edi*8 + 0x284f8]
fstp qword [eax + ecx - 0x18]
mov ecx, dword [0x1003f3b8]
mov edi, dword [edx + ecx]
shl edi, 1
mov dword [esp + 0x24], edi
fild dword [esp + 0x24]
fsubr qword [eax + ecx - 0x18]
fstp qword [eax + ecx - 0x18]
mov ecx, dword [esp + 0x2c]
dec ecx
mov dword [esp + 0x2c], ecx
mov ecx, dword [0x1003f3b8]
jne 0x10020611
mov eax, dword [edx + ecx]
mov esi, dword [esp + 0x20]
neg eax
shl eax, 1
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x18]
fild dword [esp + 0x24]
lea edi, [eax + eax*4]
add edx, 4
shl edi, 3
sub edi, eax
mov eax, dword [esp + 0x14]
add edi, esi
inc esi
add eax, 8
cmp esi, 3
fstp qword [ecx + edi*8 + 0x28618]
mov dword [esp + 0x20], esi
mov dword [esp + 0x14], eax
jl 0x100205fd
fstp st(0)
jmp 0x10020751
mov eax, dword [esp + 0x30]
mov esi, 0x10034fe8
fchs
lea edx, [edx + eax*2]
lea eax, [edx + edx*4]
lea edi, [edx + edx*4]
shl edi, 3
lea eax, [edx + eax*2]
shl eax, 4
mov dword [esp + 0x24], eax
add eax, 0x28238
sub edi, edx
lea edx, [edi*8 + 0x284f8]
jmp 0x100206da
mov ecx, dword [0x1003f3b8]
lea edi, [edx + ecx]
mov ebx, dword [edx + ecx]
mov dword [eax + ecx], ebx
mov ebx, dword [esp + 0xc]
mov ecx, dword [edi + 4]
mov edi, dword [0x1003f3b8]
mov dword [eax + edi + 4], ecx
mov ecx, dword [ebx + 0x38]
test ecx, ecx
je 0x10020709
fild dword [esi]
mov ecx, dword [0x1003f3b8]
fadd qword [eax + ecx]
fstp qword [eax + ecx]
mov ecx, dword [0x1003f3b8]
add esi, 4
fld st(0)
fmul qword [eax + ecx]
add edx, 8
add eax, 8
cmp esi, 0x1003503c
fstp qword [eax + ecx - 8]
jl 0x100206d4
mov edx, dword [0x1003f3b8]
mov eax, dword [esp + 0x24]
fstp st(0)
mov dword [eax + edx + 0x282e0], 0
mov ecx, dword [0x1003f3b8]
mov dword [eax + ecx + 0x282e4], 0
mov edx, dword [esp + 0x1c]
mov esi, dword [esp + 0x28]
mov eax, dword [esp + 0x34]
inc edx
add esi, 4
add ebx, 0xd0
cmp edx, eax
mov dword [esp + 0x1c], edx
mov dword [esp + 0x28], esi
mov dword [esp + 0xc], ebx
jl 0x10020590
mov ecx, dword [esp + 0x34]
test ecx, ecx
jle 0x100207d0
mov esi, dword [esp + 0x30]
mov eax, 0x10043f8c
mov dword [esp + 0xc], ecx
lea esi, [esi + esi*8]
shl esi, 0xa
add esi, 0x11b18
mov edi, 0x20
mov ecx, esi
mov edx, 0x12
add esi, 0x90
fld dword [eax]
mov ebx, dword [0x1003f3b8]
add eax, 4
fstp qword [ecx + ebx]
add ecx, 8
dec edx
jne 0x100207ae
dec edi
jne 0x100207a1
mov ecx, dword [esp + 0xc]
dec ecx
mov dword [esp + 0xc], ecx
jne 0x1002079c
mov eax, dword [esp + 0x34]
mov dword [esp + 0x1c], 0
test eax, eax
jle 0x10020b4d
mov edx, dword [esp + 0x10]
mov dword [esp + 0x18], 0
lea eax, [edx + 0x10069b3c]
mov dword [esp + 0x14], eax
jmp 0x10020800
mov eax, dword [esp + 0x14]
cmp dword [eax - 4], 2
jne 0x10020812
cmp dword [eax], 0
je 0x1002086d
mov eax, 1
jmp 0x10020816
mov eax, dword [eax + 0x2c]
dec eax
mov ecx, dword [esp + 0x18]
test eax, eax
lea ecx, [ecx + 0x10043fd4]
je 0x1002086d
mov edi, eax
mov edx, ecx
xor eax, eax
mov esi, 8
fld dword [edx - 4]
fld dword [ecx]
sub edx, 4
add ecx, 4
fld st(1)
fmul dword [eax + 0x100459ac]
fld st(1)
fmul dword [eax + 0x1004598c]
add eax, 4
dec esi
fsubp st(1)
fstp dword [edx]
fmul dword [eax + 0x100459a8]
fxch st(1)
fmul dword [eax + 0x10045988]
faddp st(1)
fstp dword [ecx - 4]
jne 0x1002082f
add ecx, 0x28
dec edi
jne 0x10020826
mov edx, dword [esp + 0x18]
mov esi, dword [esp + 0x1c]
xor ebx, ebx
lea eax, [edx + 0x100520ec]
mov edx, dword [ebp + 8]
mov dword [esp + 0x10], eax
mov eax, 1
mov edi, dword [edx + esi*4 + 0x3f1c]
lea ecx, [edx + 0x1b1c]
sub eax, edi
lea esi, [esi + edi*2]
mov edi, dword [esp + 0x1c]
lea edi, [edi + eax*2]
lea esi, [esi + esi*8]
shl esi, 8
lea edi, [edi + edi*8]
add esi, ecx
shl edi, 8
add edi, ecx
mov ecx, dword [esp + 0x1c]
mov dword [edx + ecx*4 + 0x3f1c], eax
mov edx, dword [esp + 0x14]
cmp dword [edx], 0
je 0x10020928
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x18]
push eax
push 0x10045a38
push edi
lea edx, [ecx + 0x10043f8c]
push esi
push edx
mov ebx, 2
call fcn.10021d00
mov eax, dword [esp + 0x2c]
lea edx, [edi + 0x48]
lea ecx, [eax + 0x100520f0]
push ecx
push 0x100532ec
push edx
lea ecx, [esi + 0x48]
lea edx, [eax + 0x10043fd4]
push ecx
push edx
call fcn.10021d00
mov eax, dword [esp + 0x40]
add esp, 0x28
add esi, 0x90
add edi, 0x90
lea ecx, [eax + 0x100520f4]
mov dword [esp + 0x10], ecx
mov ecx, dword [esp + 0x14]
mov eax, dword [ecx - 4]
cmp eax, 2
jne 0x100209fd
cmp ebx, dword [ecx + 0x2c]
jge 0x10020ad7
mov ecx, dword [esp + 0x10]
lea edx, [esi + 0x48]
lea eax, [edi + 0x48]
mov dword [esp + 0x2c], edx
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x18]
add ecx, 4
lea edx, [ebx + ebx*8]
mov dword [esp + 0x28], ecx
lea ecx, [eax + edx*8 + 0x10043f8c]
mov dword [esp + 0x20], ecx
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x20]
push edx
push 0x10045b58
push edi
push esi
push eax
call fcn.100222e0
mov ecx, dword [esp + 0x3c]
mov edx, dword [esp + 0x20]
mov eax, dword [esp + 0x40]
push ecx
mov ecx, dword [esp + 0x38]
push 0x1005340c
push edx
add ecx, 0x48
push eax
push ecx
call fcn.100222e0
mov ecx, dword [esp + 0x48]
mov edx, dword [esp + 0x38]
mov eax, 0x90
add ebx, 2
add ecx, eax
add esi, eax
mov dword [esp + 0x48], ecx
mov ecx, 8
add edx, ecx
add edi, eax
mov dword [esp + 0x38], edx
mov edx, dword [esp + 0x50]
add edx, ecx
mov ecx, dword [esp + 0x54]
add ecx, eax
mov dword [esp + 0x50], edx
mov edx, dword [esp + 0x3c]
mov dword [esp + 0x54], ecx
mov ecx, dword [esp + 0x34]
add esp, 0x28
add ecx, eax
mov eax, dword [edx + 0x2c]
cmp ebx, eax
mov dword [esp + 0xc], ecx
jl 0x1002096c
jmp 0x10020ad7
cmp ebx, dword [ecx + 0x2c]
jge 0x10020ad7
lea eax, [eax + eax*8]
shl eax, 4
lea ecx, [eax + 0x10045a38]
lea edx, [eax + 0x100532ec]
mov dword [esp + 0x24], ecx
mov dword [esp + 0x4c], edx
mov edx, dword [esp + 0x10]
lea eax, [esi + 0x48]
lea ecx, [edi + 0x48]
mov dword [esp + 0x2c], eax
mov dword [esp + 0x28], ecx
mov ecx, dword [esp + 0x18]
add edx, 4
lea eax, [ebx + ebx*8]
mov dword [esp + 0xc], edx
lea edx, [ecx + eax*8 + 0x10043f8c]
mov dword [esp + 0x20], edx
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x20]
push eax
push ecx
push edi
push esi
push edx
call fcn.10021d00
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x60]
mov edx, dword [esp + 0x3c]
push eax
mov eax, dword [esp + 0x44]
push ecx
mov ecx, dword [esp + 0x3c]
push edx
add ecx, 0x48
push eax
push ecx
call fcn.10021d00
mov ecx, dword [esp + 0x48]
mov edx, dword [esp + 0x38]
mov eax, 0x90
add ebx, 2
add ecx, eax
add esi, eax
mov dword [esp + 0x48], ecx
mov ecx, 8
add edx, ecx
add edi, eax
mov dword [esp + 0x38], edx
mov edx, dword [esp + 0x34]
add edx, ecx
mov ecx, dword [esp + 0x54]
add ecx, eax
mov dword [esp + 0x34], edx
mov edx, dword [esp + 0x3c]
mov dword [esp + 0x54], ecx
mov ecx, dword [esp + 0x50]
add esp, 0x28
add ecx, eax
mov eax, dword [edx + 0x2c]
cmp ebx, eax
mov dword [esp + 0x28], ecx
jl 0x10020a4b
cmp ebx, 0x20
jge 0x10020b1c
mov eax, 0x20
sub eax, ebx
mov ebx, dword [esp + 0x10]
mov dword [esp + 0xc], eax
mov eax, ebx
mov ecx, 0x12
mov edx, dword [esi]
add esi, 4
mov dword [eax], edx
mov dword [edi], 0
add edi, 4
add eax, 0x80
dec ecx
jne 0x10020af2
mov eax, dword [esp + 0xc]
add ebx, 4
dec eax
mov dword [esp + 0xc], eax
jne 0x10020aeb
mov dword [esp + 0x10], ebx
mov eax, dword [esp + 0x1c]
mov esi, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov ecx, dword [esp + 0x34]
inc eax
add esi, 0xd0
add edx, 0x900
cmp eax, ecx
mov dword [esp + 0x1c], eax
mov dword [esp + 0x14], esi
mov dword [esp + 0x18], edx
jl 0x100207fc
mov edi, dword [esp + 0x3c]
mov ebx, dword [ebp + 0x10]
mov esi, 0x100520ec
mov eax, dword [esp + 0x48]
test eax, eax
jl 0x10020b73
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
push ebx
push eax
push esi
push ecx
call dword [ebp + 0x14]
add esp, 0x10
jmp 0x10020ba6
mov edx, dword [ebx]
mov ecx, dword [ebp + 0xc]
lea eax, [esp + 0x4c]
mov dword [esp + 0x4c], edx
mov edx, dword [ebp + 8]
push eax
push ecx
push 0
push esi
push edx
call dword [ebp + 0x18]
mov edx, dword [ebp + 8]
add edi, eax
mov eax, dword [ebp + 0xc]
push ebx
push eax
lea ecx, [esi + 0x900]
push 1
push ecx
push edx
call dword [ebp + 0x18]
add esp, 0x28
add esi, 0x80
add edi, eax
cmp esi, 0x100529ec
jl 0x10020b59
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x54]
inc eax
mov dword [esp + 0x3c], edi
cmp eax, ecx
mov dword [esp + 0x30], eax
jl 0x1001fe4d
mov eax, dword [esp + 0x3c]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret