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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x100
mov esi, esp
mov eax, dword [0x1026f864]
mov ebx, dword [ebp + 8]
xor eax, ebp
mov dword [esi + 0xf8], eax
xor eax, eax
mov ecx, dword [ebx + 0xc]
mov edi, dword [ebx + 8]
mov dword [esi + 0xac], eax
mov dword [esi + 0xa8], eax
mov dword [esi + 0x30], ecx
push ebx
call fcn.101cfeb0
add esp, 4
mov ecx, dword [ebx]
mov edx, dword [ecx + 0x24]
test edx, edx
js 0x101d03d8
mov ebx, dword [ecx + 4]
mov dword [esi + 0x24], edi
mov eax, ebx
lea eax, [ebx + 0x800]
mov dword [esi + 0x2c], ebx
mov ebx, dword [ebp + 8]
imul eax, edi
lea eax, [ebx + eax*4]
mov ebx, ecx
lea ecx, [edi + edi*2]
shl ecx, 5
mov dword [esi + 0x14], ebx
lea edi, [eax + ecx]
lea eax, [ecx + eax + 0x5c]
mov ecx, dword [ebp + 8]
mov dword [esi + 0x40], eax
mov eax, dword [ebp + 0x18]
imul eax, dword [ecx + 0x10]
mov ecx, dword [ebx + 8]
lea edi, [edi + ecx*8 + 0x5c]
mov dword [esi + 0x18], ecx
mov dword [esi + 0x5c], edi
mov edi, eax
mov eax, dword [ebp + 0x1c]
mov dword [esi + 4], eax
mov eax, dword [ebx + 0x20]
mov dword [esi + 0xa0], eax
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x14]
mov dword [esi + 0xc], eax
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x18]
mov dword [esi + 8], eax
lea eax, [ecx + ecx]
mov dword [esi + 0x78], eax
mov eax, dword [esi + 0x5c]
lea eax, [eax + ecx*8]
xor ecx, ecx
mov dword [esi + 0x74], eax
mov eax, dword [ebx + 0x2c]
mov ebx, 0xfffffff0
mov dword [esi + 0x10], ebx
mov ebx, eax
shl ebx, cl
cmp ebx, edi
je 0x101d03f2
mov ebx, dword [esi + 0x10]
add ebx, 0xfffffff8
cmp ecx, edx
lea ecx, [ecx + 1]
jl 0x101d03c0
xor ebx, ebx
dec ebx
mov ecx, dword [esi + 0xf8]
xor ecx, ebp
call fcn.101e05ab
mov eax, ebx
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
xor edx, edx
mov dword [esi + 0x1c], ecx
mov ebx, 0xffffffff
inc edx
mov eax, edx
shl eax, cl
cmp dword [ebp + 0x10], 0x4fb
ja 0x101d03db
cmp dword [ebp + 0x14], 0
je 0x101d03db
mov dword [esi + 0x70], eax
mov eax, dword [esi + 0x24]
mov ecx, edx
mov edx, 0x205c
mov dword [esi + 0x44], edi
lea ebx, [esi + 0xf0]
test eax, eax
cmovg ecx, eax
mov eax, dword [esi + 0x2c]
mov dword [esi + 0x84], ecx
lea eax, [eax*4 + 0x2000]
mov dword [esi], eax
lea eax, [edi*4]
lea edi, [esi + 0xe8]
sub edx, eax
mov eax, ecx
mov ecx, dword [ebp + 8]
mov dword [esi + 0x20], edx
lea edx, [ecx + 0x5c]
mov dword [ebx], edx
mov edx, dword [esi + 0x20]
add ebx, 4
add edx, ecx
add ecx, dword [esi]
mov dword [edi], edx
add edi, 4
dec eax
jne 0x101d0454
mov eax, dword [esi + 0x14]
mov edx, dword [ebp + 0xc]
mov ecx, dword [eax + 0xc]
mov eax, dword [esi + 8]
cmp eax, ecx
cmovle ecx, eax
mov eax, dword [ebp + 0x10]
test edx, edx
je 0x101d0624
cmp eax, 1
jle 0x101d0624
mov edi, dword [ebp + 8]
xor eax, eax
mov dword [esi + 0x94], ecx
cmp dword [edi + 0x34], 0
setne al
cmp dword [ebp + 0x1c], 0
mov dword [edi + 0x38], eax
jne 0x101d04c1
lea eax, [esi + 0xb0]
push dword [ebp + 0x10]
push edx
mov dword [esi + 4], eax
push eax
call fcn.101d2620
add esp, 0xc
cmp dword [esi + 0x30], 1
mov edx, dword [esi + 0x18]
mov ebx, 1
jne 0x101d04fa
test edx, edx
jle 0x101d04fa
mov eax, dword [esi + 0x2c]
mov ecx, edx
lea eax, [eax*4 + 0x2060]
imul eax, dword [esi + 0x24]
lea eax, [eax + edi + 0x5c]
movss xmm0, dword [eax]
maxss xmm0, dword [eax + edx*4]
movss dword [eax], xmm0
add eax, 4
dec ecx
jne 0x101d04e7
mov edx, dword [esi + 4]
mov eax, dword [ebp + 0x10]
bsr ecx, dword [edx + 0x1c]
lea edi, [eax*8]
mov eax, dword [edx + 0x14]
mov dword [esi + 0x3c], edi
not ecx
or ecx, 0xffffffe0
add eax, ecx
cmp eax, edi
jge 0x101d054d
xor ecx, ecx
cmp eax, 1
mov ebx, 0
jne 0x101d0558
push 0xf
push edx
mov edi, edx
call fcn.101d28a0
add esp, 8
test eax, eax
je 0x101d1199
bsr ecx, dword [edi + 0x1c]
mov edx, edi
mov edi, dword [esi + 0x3c]
mov ebx, eax
not ecx
or ecx, 0xffffffe0
mov eax, edi
sub eax, ecx
mov cl, 1
mov dword [edx + 0x14], eax
mov eax, edi
mov dword [esi + 0x98], ebx
xor ebx, ebx
cmp dword [esi + 0xc], 0
xorps xmm0, xmm0
mov dword [esi + 0x90], ecx
mov dword [esi + 4], edx
jne 0x101d066d
lea ecx, [eax + 0x10]
mov edx, 0
mov dword [esi + 0x54], 0
cmp ecx, edi
mov ecx, dword [esi + 0x14]
jg 0x101d0699
push 1
mov edi, dword [esi + 4]
push edi
call fcn.101d28a0
add esp, 8
test eax, eax
je 0x101d067b
push 6
push edi
call fcn.101d2ab0
add esp, 8
mov ecx, eax
mov ebx, 0x10
add eax, 4
shl ebx, cl
push eax
push edi
call fcn.101d2d60
add esp, 8
mov dword [esi], eax
push 3
push edi
call fcn.101d2d60
add esp, 8
mov ecx, edi
mov edi, eax
mov eax, dword [ecx + 0x14]
bsr ecx, dword [ecx + 0x1c]
not ecx
or ecx, 0xffffffe0
lea ecx, [eax + ecx + 2]
xor eax, eax
cmp ecx, dword [esi + 0x3c]
jg 0x101d0601
push 2
push 0x1024f8e2
push dword [esi + 4]
call fcn.101d2980
add esp, 0xc
inc edi
mov dword [esi + 0x54], eax
mov eax, dword [esi]
mov ecx, dword [esi + 0x14]
xorps xmm0, xmm0
cvtsi2ss xmm0, edi
mov edi, dword [esi + 4]
mulss xmm0, dword [0x1024f46c]
lea edx, [eax + ebx - 1]
xor ebx, ebx
jmp 0x101d068a
mov edi, dword [ebp + 8]
mov ebx, dword [esi + 0x44]
mov ecx, edi
mov edx, ebx
push dword [esi + 0x1c]
call fcn.101d11b0
add esp, 4
lea eax, [edi + 0x54]
mov edi, dword [esi + 0x14]
mov edx, dword [ebp + 0x14]
lea ecx, [esi + 0xe8]
add edi, 0x10
push dword [ebp + 0x20]
push eax
push edi
mov edi, dword [ebp + 8]
push dword [edi + 0x10]
push dword [esi + 0x24]
push ebx
call fcn.101d1dd0
add esp, 0x18
mov eax, ebx
cdq
idiv dword [edi + 0x10]
jmp 0x101d1192
mov ecx, dword [esi + 0x14]
xor edx, edx
mov dword [esi + 0x54], 0
jmp 0x101d0699
mov ecx, dword [esi + 0x14]
xorps xmm0, xmm0
xor edx, edx
mov dword [esi + 0x54], 0
bsr eax, dword [edi + 0x1c]
not eax
or eax, 0xffffffe0
add eax, dword [edi + 0x14]
mov edi, dword [esi + 0x3c]
add eax, 3
cmp dword [esi + 0x1c], 0
movss dword [esi + 0x80], xmm0
mov dword [esi + 0x7c], edx
je 0x101d06d7
cmp eax, edi
jg 0x101d06d7
push 3
mov edi, dword [esi + 4]
push edi
call fcn.101d28a0
add esp, 8
bsr ecx, dword [edi + 0x1c]
mov ebx, eax
mov eax, dword [edi + 0x14]
mov edi, dword [esi + 0x3c]
not ecx
or ecx, 0xffffffe0
lea eax, [ecx + eax + 3]
mov ecx, dword [esi + 0x14]
mov edx, dword [esi + 0x70]
test ebx, ebx
mov dword [esi + 0x28], 0
cmove edx, ebx
cmp eax, edi
mov eax, 0
mov edi, ebx
mov dword [esi + 0x8c], edx
jg 0x101d0707
push 3
push dword [esi + 4]
call fcn.101d28a0
mov ecx, dword [esi + 0x14]
add esp, 8
xor ebx, ebx
test edi, edi
mov dword [esi + 0x50], edi
sete bl
mov dword [esi], ebx
push dword [esi + 0x1c]
push dword [esi + 0x30]
mov edi, dword [esi + 4]
push edi
push eax
push dword [esi + 0x40]
push dword [esi + 8]
push dword [esi + 0xc]
push ecx
call fcn.101d4120
add esp, 0x20
mov eax, dword [esi + 0x18]
lea eax, [eax*4]
mov dword [esi + 0x64], eax
call fcn.101e0a30
mov eax, esp
and eax, 0xfffffff0
mov dword [esi + 0x58], eax
mov esp, eax
bsr ebx, dword [edi + 0x1c]
mov eax, dword [edi + 4]
mov edx, dword [esi]
not ebx
shl eax, 3
or ebx, 0xffffffe0
add ebx, dword [edi + 0x14]
cmp dword [esi + 0x1c], 0
mov edi, edx
lea edx, [ebx + edx*2 + 3]
setne cl
cmp edx, eax
setbe dl
and dl, cl
mov byte [esi + 0x48], dl
mov edx, dword [esi + 0xc]
cmp edx, dword [esi + 8]
jge 0x101d0827
movzx edx, byte [esi + 0x48]
lea ecx, [edi + edi + 2]
mov dword [esi], ebx
add ebx, ecx
sub eax, edx
cmp dword [esi + 0x50], 1
mov edx, 5
mov edi, eax
mov dword [esi + 0x34], edi
adc edx, 0xffffffff
xor eax, eax
cmp ebx, edi
mov dword [esi + 0x20], edx
ja 0x101d07c6
push ecx
mov edi, dword [esi + 4]
push edi
call fcn.101d28a0
add esp, 8
bsr ecx, dword [edi + 0x1c]
not ecx
or ecx, 0xffffffe0
add ecx, dword [edi + 0x14]
mov dword [esi], ecx
mov ebx, dword [esi + 0xc]
mov edx, dword [esi + 8]
mov edi, dword [esi + 0x58]
mov dword [esi + 0x28], eax
lea ecx, [ebx + 1]
mov dword [edi + ebx*4], eax
cmp ecx, edx
je 0x101d0827
lea edi, [edi + ebx*4 + 4]
not ebx
mov ecx, dword [esi + 0x20]
add ebx, edx
mov edx, dword [esi]
mov dword [esi], eax
mov eax, ecx
add ecx, edx
cmp ecx, dword [esi + 0x34]
jbe 0x101d07f8
mov eax, dword [esi]
jmp 0x101d081c
push eax
push dword [esi + 4]
call fcn.101d28a0
add esp, 8
mov ecx, dword [esi]
xor ecx, eax
mov eax, ecx
mov ecx, dword [esi + 4]
or dword [esi + 0x28], eax
bsr edx, dword [ecx + 0x1c]
not edx
or edx, 0xffffffe0
add edx, dword [ecx + 0x14]
mov ecx, dword [esi + 0x20]
mov dword [edi], eax
add edi, 4
dec ebx
jne 0x101d07e9
xor eax, eax
cmp byte [esi + 0x48], 0
je 0x101d0863
mov ecx, dword [esi + 0x50]
mov edx, dword [esi + 0x28]
mov edi, dword [esi + 0x1c]
lea ecx, [edx + ecx*4]
mov dl, byte [ecx + edi*8 + 0x1024d858]
cmp dl, byte [ecx + edi*8 + 0x1024d85a]
mov ecx, dword [esi + 8]
je 0x101d0866
push 1
push dword [esi + 4]
mov edi, ecx
call fcn.101d28a0
mov ecx, edi
add esp, 8
add eax, eax
jmp 0x101d0866
mov ecx, dword [esi + 8]
cmp dword [esi + 0xc], ecx
mov ebx, dword [esi + 0x1c]
jge 0x101d0896
mov edi, dword [esi + 0xc]
mov ecx, dword [esi + 0x58]
mov edx, dword [esi + 8]
lea ecx, [ecx + edi*4]
sub edx, edi
mov edi, dword [esi + 0x50]
lea eax, [eax + edi*4]
mov edi, dword [ecx]
add edi, eax
movsx edi, byte [edi + ebx*8 + 0x1024d858]
mov dword [ecx], edi
add ecx, 4
dec edx
jne 0x101d0882
mov edi, dword [esi + 4]
bsr ecx, dword [edi + 0x1c]
mov eax, dword [edi + 0x14]
not ecx
or ecx, 0xffffffe0
lea ecx, [eax + ecx + 4]
mov eax, 2
cmp ecx, dword [esi + 0x3c]
jg 0x101d08c3
push 5
push 0x1024f8e5
push edi
call fcn.101d2980
add esp, 0xc
mov dword [esi + 0x88], eax
mov eax, dword [esi + 0x64]
lea ebx, [eax + 3]
and ebx, 0xfffffffc
mov eax, ebx
call fcn.101e0a30
mov eax, esp
and eax, 0xfffffff0
mov esp, eax
push dword [esi + 0x30]
push dword [esi + 0x1c]
mov dword [esi + 0x28], eax
push eax
push dword [esi + 0x14]
call fcn.10193fe0
add esp, 0x10
mov eax, ebx
mov dword [esi + 0x68], ebx
call fcn.101e0a30
mov eax, esp
and eax, 0xfffffff0
mov dword [esi + 0x60], eax
mov esp, eax
mov ebx, dword [ebp + 0x10]
shl ebx, 6
push edi
call fcn.101d4650
add esp, 4
mov dword [esi + 0x38], eax
mov eax, dword [esi + 0xc]
mov ecx, dword [esi + 8]
mov dword [esi + 0x6c], ebx
cmp eax, ecx
jge 0x101d0a5c
mov edx, ebx
mov ebx, eax
mov dword [esi + 0x4c], 6
mov ecx, dword [esi + 0xa0]
mov edi, 0x30
movsx eax, word [ecx + ebx*2 + 2]
movsx ecx, word [ecx + ebx*2]
sub eax, ecx
mov ecx, dword [esi + 0x1c]
imul eax, dword [esi + 0x30]
shl eax, cl
mov ecx, dword [esi + 0x4c]
cmp eax, 0x2f
cmovg edi, eax
lea eax, [eax*8]
cmp eax, edi
cmovle edi, eax
mov eax, dword [esi + 0x38]
lea eax, [eax + ecx*8]
lea ecx, [ebx + 1]
cmp eax, edx
jge 0x101d0a05
mov eax, dword [esi + 0x28]
mov dword [esi + 0x34], edi
mov dword [esi + 0x9c], ecx
cmp dword [eax + ebx*4], 0
jle 0x101d0a16
mov eax, dword [esi + 0x34]
mov ecx, dword [esi + 0x4c]
mov dword [esi + 0x48], ebx
xor ebx, ebx
neg eax
mov dword [esi + 0x38], eax
mov edi, ebx
mov dword [esi], edx
push ecx
mov ebx, dword [esi + 4]
push ebx
call fcn.101d28a0
add esp, 8
mov dword [esi + 0x20], eax
push ebx
call fcn.101d4650
add esp, 4
cmp dword [esi + 0x20], 0
je 0x101d0a1d
mov ecx, dword [esi + 0x38]
mov edx, dword [esi]
mov ebx, eax
add ebx, 8
add edx, ecx
cmp ebx, edx
jge 0x101d09f7
mov ecx, dword [esi + 0x34]
mov dword [esi + 0x20], edi
mov edx, dword [esi + 0x48]
lea ebx, [edi + ecx]
mov edi, dword [esi]
sub edi, ecx
mov ecx, dword [esi + 0x28]
cmp ebx, dword [ecx + edx*4]
mov edx, edi
mov edi, dword [esi + 0x20]
mov ecx, 1
jl 0x101d09a2
mov dword [esi + 0x38], eax
mov eax, dword [esi + 0x34]
mov edx, dword [esi]
sub edx, eax
add edi, eax
jmp 0x101d0a22
mov eax, dword [esi + 0x60]
mov dword [eax + ebx*4], 0
mov ebx, ecx
mov ecx, dword [esi + 8]
jmp 0x101d0a52
mov ecx, dword [esi + 8]
xor edi, edi
jmp 0x101d0a28
mov edx, dword [esi]
mov dword [esi + 0x38], eax
mov ecx, dword [esi + 8]
mov ebx, dword [esi + 0x48]
mov eax, dword [esi + 0x60]
mov dword [esi + 0x20], edi
mov dword [eax + ebx*4], edi
mov edi, dword [esi + 0x4c]
mov ebx, 2
lea eax, [edi - 1]
cmp edi, 2
cmovle eax, ebx
cmp dword [esi + 0x20], 0
mov ebx, dword [esi + 0x9c]
cmovg edi, eax
mov dword [esi + 0x4c], edi
cmp ebx, ecx
jne 0x101d0937
jmp 0x101d0a5e
mov edx, ebx
mov eax, dword [esi + 0x68]
call fcn.101e0a30
mov eax, esp
and eax, 0xfffffff0
mov dword [esi], eax
mov esp, eax
mov eax, dword [esi + 0x38]
mov edi, dword [esi + 4]
mov ebx, 5
add eax, 0x30
cmp eax, edx
jg 0x101d0a93
push 7
push str.wmW_
push edi
call fcn.101d2980
add esp, 0xc
mov ebx, eax
push edi
call fcn.101d4650
add esp, 4
mov ecx, eax
mov dword [esi + 0x34], ebx
not ecx
add ecx, dword [esi + 0x6c]
cmp dword [esi + 0x1c], 2
jb 0x101d0acf
cmp dword [esi + 0x50], 0
mov edx, 0
mov eax, 0
je 0x101d0ad3
mov eax, dword [esi + 0x10]
xor edx, edx
neg eax
cmp ecx, eax
setge dl
mov eax, edx
shl eax, 3
jmp 0x101d0ad3
xor edx, edx
xor eax, eax
mov dword [esi + 0x48], edx
mov edx, dword [esi + 0x68]
mov dword [esi + 0x38], eax
sub ecx, eax
mov eax, edx
call fcn.101e0a30
mov ebx, esp
and ebx, 0xfffffff0
mov esp, ebx
mov eax, edx
call fcn.101e0a30
mov eax, esp
and eax, 0xfffffff0
mov esp, eax
lea edi, [esi + 0xa4]
xor edx, edx
push edx
push edx
push edx
push dword [esi + 4]
push dword [esi + 0x1c]
push dword [esi + 0x30]
mov dword [esi + 0x4c], eax
push eax
push dword [esi]
mov dword [esi + 0x20], ebx
push ebx
push edi
push ecx
lea eax, [esi + 0xa8]
push eax
lea eax, [esi + 0xac]
push eax
push dword [esi + 0x34]
push dword [esi + 0x28]
push dword [esi + 0x60]
mov ebx, dword [esi + 8]
push ebx
push dword [esi + 0xc]
mov edi, dword [esi + 0x14]
push edi
call fcn.101d4690
add esp, 0x4c
mov dword [esi + 0x28], eax
push dword [esi + 0x30]
push dword [esi + 4]
push dword [esi]
push dword [esi + 0x40]
push ebx
push dword [esi + 0xc]
push edi
call fcn.101d42d0
add esp, 0x1c
mov ecx, dword [esi + 0x2c]
mov edi, dword [esi + 0x84]
lea ebx, [esi + 0xf0]
mov eax, ecx
shr eax, 0x1f
add eax, ecx
shr eax, 1
sub eax, dword [esi + 0x44]
lea eax, [eax*4 + 0x2000]
mov dword [esi + 0x10], eax
mov eax, dword [ebx]
mov ecx, dword [esi + 0x44]
lea ecx, [eax + ecx*4]
push dword [esi + 0x10]
push ecx
push eax
call fcn.101e3b60
add esp, 0xc
add ebx, 4
dec edi
jne 0x101d0b84
mov edi, dword [esi + 0x18]
mov edx, dword [esi + 0x30]
imul edi, edx
lea eax, [edi + 3]
and eax, 0xfffffffc
call fcn.101e0a30
mov eax, esp
and eax, 0xfffffff0
mov dword [esi + 0x34], eax
mov esp, eax
mov eax, edx
imul eax, dword [esi + 0x44]
shl eax, 2
call fcn.101e0a30
mov ecx, esp
and ecx, 0xfffffff0
mov esp, ecx
mov eax, dword [ebp + 8]
mov ebx, 0
add eax, 0x28
mov dword [esi + 0x10], eax
mov eax, dword [esi + 0x6c]
sub eax, dword [esi + 0x38]
cmp edx, 2
mov edx, dword [esi + 0x44]
lea edx, [ecx + edx*4]
cmovne edx, ebx
xor ebx, ebx
mov dword [esi + 0x38], edx
mov edx, dword [ebp + 8]
push dword [edx + 0x20]
push dword [edx + 0x24]
push ebx
push dword [esi + 0x10]
push dword [esi + 0x28]
push dword [esi + 0x1c]
push dword [esi + 4]
push dword [esi + 0xa4]
push eax
push dword [esi + 0x58]
push dword [esi + 0xac]
push dword [esi + 0xa8]
push dword [esi + 0x88]
push dword [esi + 0x8c]
push dword [esi + 0x20]
mov eax, 0
push eax
push dword [esi + 0x34]
push dword [esi + 0x38]
mov dword [esi + 0x10], ecx
push ecx
push dword [esi + 8]
push dword [esi + 0xc]
mov ebx, dword [esi + 0x14]
push ebx
push eax
call fcn.101d5870
add esp, 0x5c
cmp byte [esi + 0x48], 0
je 0x101d0cd7
push 1
mov ebx, dword [esi + 4]
push ebx
call fcn.101d2d60
add esp, 8
mov ecx, dword [esi + 0x3c]
mov dword [esi + 0x28], eax
bsr eax, dword [ebx + 0x1c]
sub ecx, dword [ebx + 0x14]
not eax
or eax, 0xffffffe0
sub ecx, eax
push dword [esi + 0x30]
push ebx
push ecx
push dword [esi + 0x4c]
push dword [esi]
push dword [esi + 0x40]
mov ebx, dword [esi + 8]
push ebx
push dword [esi + 0xc]
push dword [esi + 0x14]
call fcn.101d4370
add esp, 0x24
cmp dword [esi + 0x28], 0
je 0x101d0d07
mov eax, dword [ebp + 8]
push dword [eax + 0x24]
push dword [eax + 0x28]
push dword [esi + 0x20]
push dword [esi + 0x74]
push dword [esi + 0x5c]
push dword [esi + 0x40]
push ebx
push dword [esi + 0xc]
push dword [esi + 0x44]
push dword [esi + 0x30]
push dword [esi + 0x1c]
push dword [esi + 0x34]
push dword [esi + 0x10]
push dword [esi + 0x14]
call fcn.101d54e0
add esp, 0x38
jmp 0x101d0d07
mov edx, dword [esi + 4]
mov ecx, dword [esi + 0x3c]
bsr eax, dword [edx + 0x1c]
sub ecx, dword [edx + 0x14]
not eax
or eax, 0xffffffe0
sub ecx, eax
push dword [esi + 0x30]
push edx
push ecx
push dword [esi + 0x4c]
push dword [esi]
push dword [esi + 0x40]
push dword [esi + 8]
push dword [esi + 0xc]
push ebx
call fcn.101d4370
add esp, 0x24
mov ecx, dword [esi + 0x90]
mov ebx, dword [ebp + 8]
test edi, edi
setle al
xor cl, 1
or cl, al
jne 0x101d0d3a
mov eax, dword [esi + 0x2c]
lea eax, [eax*4 + 0x2060]
imul eax, dword [esi + 0x24]
lea eax, [eax + ebx + 0x5c]
mov dword [eax], 0xc1e00000
add eax, 4
dec edi
jne 0x101d0d2e
mov ecx, dword [esi + 0x14]
mov edx, dword [esi + 0x10]
lea edi, [esi + 0xe8]
push dword [ebx + 0x24]
push dword [esi + 0x98]
push dword [ebx + 0x10]
push dword [esi + 0x1c]
push dword [esi + 0x50]
push dword [esi + 0x24]
push dword [esi + 0x30]
push dword [esi + 0x94]
push dword [esi + 0xc]
push dword [esi + 0x40]
push edi
call fcn.101d1fd0
add esp, 0x2c
mov eax, dword [ebx + 0x24]
mov ecx, dword [ebx + 0x3c]
mov dword [esi + 0x10], edi
mov dword [esi], eax
cmp ecx, 0xe
mov eax, 0xf
cmovle ecx, eax
mov dword [ebx + 0x3c], ecx
mov edx, dword [ebx + 0x40]
cmp edx, 0xe
cmovle edx, eax
mov eax, dword [esi + 0x14]
mov dword [ebx + 0x40], edx
movss xmm0, dword [ebx + 0x44]
movss xmm1, dword [ebx + 0x48]
mov edi, dword [eax + 0x2c]
mov eax, dword [eax + 0x3c]
mov dword [esi + 0x20], edi
mov edi, dword [ebx + 0x4c]
mov dword [esi + 0x28], edi
mov edi, dword [ebx + 0x50]
mov dword [esi + 0x34], edi
mov edi, dword [esi + 0x10]
mov edi, dword [edi]
sub esp, 0x30
mov ebx, dword [esi]
mov dword [esp + 0x24], eax
mov eax, dword [esi + 0x28]
mov dword [esp + 0xc], ecx
mov dword [esp + 8], edx
movss dword [esp + 0x18], xmm0
movss dword [esp + 0x14], xmm1
mov dword [esp + 4], edi
mov dword [esp], edi
mov dword [esp + 0x2c], ebx
mov ebx, dword [esi + 0x20]
mov dword [esp + 0x20], eax
mov eax, dword [esi + 0x34]
mov dword [esp + 0x10], ebx
mov ebx, dword [esi + 0x2c]
mov dword [esp + 0x1c], eax
mov dword [esp + 0x28], ebx
call fcn.10193d50
add esp, 0x30
cmp dword [esi + 0x1c], 0
je 0x101d0e86
mov ecx, dword [esi + 0x14]
mov edx, dword [esi + 0x44]
mov eax, dword [ecx + 0x2c]
mov ecx, dword [ecx + 0x3c]
mov dword [esi], ecx
mov ecx, dword [ebp + 8]
sub edx, eax
lea eax, [edi + eax*4]
mov edi, dword [ecx + 0x4c]
movss xmm0, dword [ecx + 0x44]
mov ebx, dword [ecx + 0x24]
mov ecx, dword [ecx + 0x3c]
sub esp, 0x30
mov dword [esp + 8], ecx
mov ecx, dword [esi + 0x2c]
mov dword [esp + 0x2c], ebx
mov ebx, dword [esi]
mov dword [esp + 0x10], edx
mov edx, dword [esi + 0x54]
movss xmm1, dword [esi + 0x80]
mov dword [esp + 0x1c], edi
mov dword [esp + 4], eax
mov dword [esp], eax
movss dword [esp + 0x14], xmm0
mov dword [esp + 0x28], ecx
mov ecx, dword [esi + 0x7c]
mov dword [esp + 0x24], ebx
mov dword [esp + 0x20], edx
movss dword [esp + 0x18], xmm1
mov dword [esp + 0xc], ecx
call fcn.10193d50
add esp, 0x30
mov edi, dword [esi + 0x10]
mov ebx, dword [ebp + 8]
add edi, 4
dec dword [esi + 0x84]
jne 0x101d0d73
mov eax, dword [ebx + 0x3c]
mov ecx, dword [ebx + 0x44]
cmp dword [esi + 0x1c], 0
movss xmm0, dword [esi + 0x80]
mov dword [ebx + 0x40], eax
mov dword [ebx + 0x48], ecx
mov ecx, dword [esi + 0x7c]
mov eax, dword [ebx + 0x4c]
mov dword [ebx + 0x50], eax
mov eax, dword [esi + 0x54]
mov dword [ebx + 0x3c], ecx
movss dword [ebx + 0x44], xmm0
mov dword [ebx + 0x4c], eax
je 0x101d0ed7
mov dword [ebx + 0x40], ecx
movss dword [ebx + 0x48], xmm0
mov dword [ebx + 0x50], eax
cmp dword [esi + 0x30], 1
mov ecx, dword [esi + 0x2c]
jne 0x101d0efa
mov edi, ecx
mov ecx, dword [esi + 0x40]
mov eax, dword [esi + 0x18]
lea eax, [ecx + eax*4]
push dword [esi + 0x64]
push ecx
push eax
call fcn.101e35e0
mov ecx, edi
add esp, 0xc
cmp dword [esi + 0x50], 0
mov eax, dword [esi + 0x24]
je 0x101d0f42
cmp dword [esi + 0x18], 0
mov edi, dword [esi + 0x78]
jle 0x101d0fd1
mov edx, dword [esi + 0x18]
lea ecx, [ecx*4 + 0x2060]
imul ecx, eax
lea eax, [ecx + ebx + 0x5c]
add ecx, ebx
lea ecx, [ecx + edx*8 + 0x5c]
xor edx, edx
movss xmm0, dword [ecx + edx*4]
minss xmm0, dword [eax + edx*4]
movss dword [ecx + edx*4], xmm0
inc edx
cmp edx, edi
jl 0x101d0f29
jmp 0x101d0fd1
mov eax, dword [esi + 0x18]
lea eax, [eax*8]
mov dword [esi + 0x10], eax
push eax
mov edi, dword [esi + 0x5c]
push edi
push dword [esi + 0x74]
call fcn.101e35e0
add esp, 0xc
push dword [esi + 0x10]
push dword [esi + 0x40]
push edi
call fcn.101e35e0
add esp, 0xc
cmp dword [ebx + 0x34], 0xa
jl 0x101d0f7e
movss xmm0, dword [0x10210930]
jmp 0x101d0f8e
xorps xmm0, xmm0
cvtsi2ss xmm0, dword [esi + 0x70]
mulss xmm0, dword [0x1024f470]
mov eax, dword [esi + 0x24]
mov ecx, dword [esi + 0x2c]
cmp dword [esi + 0x18], 0
mov edi, dword [esi + 0x78]
jle 0x101d0fd1
mov edx, dword [esi + 0x18]
lea ecx, [ecx*4 + 0x2060]
imul ecx, eax
lea eax, [ecx + ebx + 0x5c]
add ecx, ebx
lea edx, [edx + edx*2]
lea ecx, [ecx + edx*8 + 0x5c]
xor edx, edx
movss xmm1, dword [ecx + edx*4]
addss xmm1, xmm0
minss xmm1, dword [eax + edx*4]
movss dword [ecx + edx*4], xmm1
inc edx
cmp edx, edi
jl 0x101d0fb9
cmp dword [esi + 0xc], 0
jle 0x101d100c
mov eax, dword [esi + 0x2c]
mov ecx, dword [esi + 0x18]
mov edi, dword [esi + 0xc]
mov edx, 0xc1e00000
lea eax, [eax*4 + 0x2060]
shl ecx, 4
imul eax, dword [esi + 0x24]
lea eax, [eax + ebx + 0x5c]
mov ebx, dword [esi + 0x18]
mov dword [eax], 0
mov dword [eax + ecx], edx
mov dword [eax + ebx*8], edx
add eax, 4
dec edi
jne 0x101d0ffa
mov eax, dword [esi + 0x18]
cmp dword [esi + 8], eax
jge 0x101d106f
mov eax, dword [esi + 0x2c]
mov ebx, dword [esi + 8]
mov edx, dword [ebp + 8]
mov edi, dword [esi + 0x18]
lea eax, [eax*4 + 0x2060]
imul eax, dword [esi + 0x24]
lea ecx, [eax + ebx*4]
lea ecx, [edx + ecx + 0x5c]
mov dword [esi + 0x10], ecx
mov ecx, edi
shl ecx, 4
add ecx, eax
lea eax, [eax + edi*8]
sub edi, ebx
lea ecx, [ecx + ebx*4]
lea eax, [eax + ebx*4]
xor ebx, ebx
lea ecx, [edx + ecx + 0x5c]
lea edx, [edx + eax + 0x5c]
mov eax, 0xc1e00000
mov dword [esi], ecx
mov ecx, dword [esi + 0x10]
mov dword [ecx + ebx*4], 0
mov ecx, dword [esi]
mov dword [ecx + ebx*4], eax
mov dword [edx + ebx*4], eax
inc ebx
cmp edi, ebx
jne 0x101d1058
cmp dword [esi + 0xc], 0
jle 0x101d10be
mov eax, dword [esi + 0x2c]
mov ebx, dword [esi + 0x18]
mov edi, dword [ebp + 8]
lea edx, [eax*4 + 0x2060]
lea eax, [ebx + ebx*2]
lea ecx, [ebx + ebx*4]
imul edx, dword [esi + 0x24]
lea eax, [edx + eax*4]
lea ecx, [edx + ecx*4]
lea edx, [edx + ebx*4]
mov ebx, 0xc1e00000
lea eax, [edi + eax + 0x5c]
lea ecx, [edi + ecx + 0x5c]
lea edx, [edi + edx + 0x5c]
xor edi, edi
mov dword [edx + edi*4], 0
mov dword [ecx + edi*4], ebx
mov dword [eax + edi*4], ebx
inc edi
cmp dword [esi + 0xc], edi
jne 0x101d10ab
mov edi, dword [esi + 0x18]
mov ebx, dword [esi + 8]
cmp ebx, edi
jge 0x101d111d
mov eax, edi
lea ecx, [edi + edi*2]
lea edx, [edi + edi*4]
sub eax, ebx
mov dword [esi + 0x10], eax
mov eax, dword [esi + 0x2c]
lea eax, [eax*4 + 0x2060]
imul eax, dword [esi + 0x24]
lea ecx, [eax + ecx*4]
lea edx, [eax + edx*4]
lea ecx, [ecx + ebx*4]
lea edx, [edx + ebx*4]
add ebx, edi
mov edi, dword [ebp + 8]
lea eax, [eax + ebx*4]
xor ebx, ebx
lea ecx, [edi + ecx + 0x5c]
lea edx, [edi + edx + 0x5c]
lea edi, [edi + eax + 0x5c]
mov eax, 0xc1e00000
mov dword [edi + ebx*4], 0
mov dword [edx + ebx*4], eax
mov dword [ecx + ebx*4], eax
inc ebx
cmp dword [esi + 0x10], ebx
jne 0x101d110a
mov edi, dword [esi + 4]
mov ebx, dword [esi + 0x14]
mov ecx, dword [ebp + 8]
mov edx, dword [ebp + 0x14]
mov eax, dword [edi + 0x1c]
add ebx, 0x10
mov dword [ecx + 0x28], eax
lea eax, [ecx + 0x54]
lea ecx, [esi + 0xe8]
push dword [ebp + 0x20]
push eax
push ebx
mov eax, dword [ebp + 8]
push dword [eax + 0x10]
push dword [esi + 0x24]
mov ebx, dword [esi + 0x44]
push ebx
call fcn.101d1dd0
add esp, 0x18
mov eax, dword [ebp + 8]
mov dword [eax + 0x34], 0
mov eax, ebx
mov ebx, 0xfffffffd
bsr ecx, dword [edi + 0x1c]
not ecx
or ecx, 0xffffffe0
add ecx, dword [edi + 0x14]
cmp ecx, dword [esi + 0x3c]
jg 0x101d03db
mov ecx, dword [esi + 4]
cmp dword [ecx + 0x2c], 0
mov ecx, dword [ebp + 8]
je 0x101d118e
mov dword [ecx + 0x2c], 1
cdq
idiv dword [ecx + 0x10]
mov ebx, eax
jmp 0x101d03db
mov edx, edi
mov edi, dword [esi + 0x3c]
xor eax, eax
xor ecx, ecx
xor ebx, ebx
inc eax
jmp 0x101d0558