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

Disassembly:
sub esp, 0xe0
mov eax, dword [0x1032e6c0]
xor eax, esp
mov dword [esp + 0xdc], eax
mov ecx, dword [esp + 0xec]
push ebx
mov ebx, dword [esp + 0xec]
push ebp
push esi
mov esi, dword [esp + 0xf0]
push edi
mov dword [esp + 0x18], ebx
mov dword [esp + 0x60], ecx
mov ebp, dword [esi]
mov eax, dword [esi + 0xc]
mov dword [esp + 0x5c], eax
mov dword [esp + 0x1c], ebp
movzx eax, word [ebp + 0x122]
mov byte [esp + 0x2b], 0
cmp ecx, eax
jbe 0x10166809
mov word [ebp + 0x122], cx
test byte [esi + 0x10], 1
mov dword [esi + 0x14], ebx
je 0x10166824
mov dword [esp + 0x2c], 0x10000
mov dword [esp + 0x3c], 0x10000
jmp 0x10166838
mov eax, dword [esi + 4]
mov ecx, dword [eax + 0x2c]
mov eax, dword [ecx + 4]
mov dword [esp + 0x2c], eax
mov eax, dword [ecx + 8]
mov dword [esp + 0x3c], eax
mov eax, dword [ebp + 0x80]
mov ecx, dword [eax + 0x34]
test ecx, ecx
je 0x101668b5
mov eax, dword [ecx]
lea edx, [esp + 0x7c]
push edx
push ebx
push dword [ecx + 4]
mov eax, dword [eax]
call eax
add esp, 0xc
mov dword [esp + 0x10], eax
test eax, eax
jne 0x101673fe
mov eax, dword [esp + 0x80]
xorps xmm0, xmm0
push eax
push dword [esp + 0x80]
mov dword [esi + 0x1c], eax
xor edi, edi
lea eax, [esp + 0x8c]
mov byte [esp + 0x33], 1
push eax
mov dword [esp + 0x20], edi
movups xmmword [esp + 0x90], xmm0
movups xmmword [esp + 0xa0], xmm0
movq qword [esp + 0xb0], xmm0
call fcn.1014e000
lea eax, [esp + 0x90]
mov dword [esi + 0x18], eax
jmp 0x101668ce
lea eax, [esp + 0x34]
push eax
push ebx
push ebp
call fcn.1015b7c0
mov ecx, dword [esp + 0x40]
mov edi, eax
mov dword [esp + 0x20], eax
mov dword [esi + 0x1c], ecx
mov edx, dword [esi + 0x1c]
add esp, 0xc
test edx, edx
je 0x1016693c
mov ecx, dword [ebp + 0x2dc]
test ecx, ecx
jne 0x101668fa
mov eax, dword [ebp + 0x80]
cmp dword [eax + 0x34], ecx
jne 0x101668fa
mov dword [esp + 0x10], 8
jmp 0x101673d8
push edx
lea eax, [ecx + edi]
push eax
mov eax, dword [ebp + 0x208]
push ebx
push esi
call eax
add esp, 0x10
mov dword [esp + 0x10], eax
test eax, eax
jne 0x101673d8
mov eax, dword [ebp + 0x210]
push esi
call eax
mov dword [esp + 0x14], eax
mov eax, dword [ebp + 0x20c]
push esi
call eax
add esp, 8
cmp dword [esp + 0x10], 0
jne 0x101673d8
cmp dword [esi + 0x1c], 0
je 0x10166949
cmp word [esi + 0x20], 0
jne 0x10166965
mov dword [esi + 0x24], 0
mov dword [esi + 0x2c], 0
mov dword [esi + 0x28], 0
mov dword [esi + 0x30], 0
mov ebx, dword [esi + 0x18]
mov eax, dword [esi]
push ebx
mov dword [esp + 0x34], eax
mov dword [esp + 0x48], 0
mov dword [esp + 0x44], 0
mov dword [esp + 0x3c], 0
mov dword [esp + 0x38], 0
call fcn.1005c450
lea edx, [esp + 0x3c]
mov edi, eax
mov eax, dword [esp + 0x34]
push edx
lea edx, [esp + 0x4c]
push edx
mov ecx, dword [eax + 0x21c]
push dword [esp + 0x24]
push 0
mov ecx, dword [ecx + 0xa0]
push eax
call ecx
lea eax, [esp + 0x4c]
push eax
lea eax, [esp + 0x5c]
push eax
push dword [esi + 0x30]
push dword [esp + 0x3c]
push dword [esp + 0x58]
call fcn.1015f910
push edi
push ebx
call fcn.1014e6c0
add esp, 0x34
test eax, eax
jne 0x10166a26
movsx eax, word [esp + 0x44]
movzx ecx, word [esp + 0x38]
mov dword [esi + 0x34], eax
movsx eax, word [esp + 0x40]
mov dword [esi + 0xac], eax
movzx eax, word [esp + 0x34]
mov dword [esi + 0xb0], eax
mov eax, dword [esp + 0x30]
mov dword [esi + 0x38], ecx
mov eax, dword [eax + 0x80]
cmp dword [eax + 0x34], 0
jne 0x10166a24
cmp byte [esi + 0x40], 0
jne 0x10166a24
mov byte [esi + 0x40], 1
mov dword [esi + 0x3c], ecx
xor eax, eax
mov dword [esp + 0x10], eax
test eax, eax
jne 0x101673d8
cmp byte [esp + 0x100], al
jne 0x101673d8
cmp dword [esi + 0x1c], eax
je 0x1016719b
cmp word [esi + 0x20], ax
je 0x1016719b
mov ebx, dword [esp + 0x18]
push ebx
push esi
call fcn.10168140
push esi
call fcn.101688a0
mov eax, dword [esi + 0x1c]
mov ecx, dword [esp + 0x20]
sub eax, 0xa
push eax
mov eax, dword [ebp + 0x2dc]
add ecx, 0xa
add eax, ecx
push eax
mov eax, dword [ebp + 0x208]
push ebx
push esi
call eax
add esp, 0x1c
mov dword [esp + 0x10], eax
test eax, eax
jne 0x101673d8
movzx eax, word [esi + 0x20]
test ax, ax
jle 0x10166ae3
mov eax, dword [ebp + 0x214]
push esi
call eax
add esp, 4
mov dword [esp + 0x10], eax
test eax, eax
jne 0x10166b4a
mov eax, dword [ebp + 0x20c]
push esi
call eax
push esi
call fcn.10161220
add esp, 8
mov dword [esp + 0x10], eax
test eax, eax
jne 0x101673d8
push dword [esp + 0x5c]
call fcn.1014a430
add esp, 4
jmp 0x101673d8
jns 0x10166b4a
mov eax, dword [ebp + 0x64]
lea edi, [esi + 0xcc]
mov dword [esp + 0x18], eax
or eax, 0xffffffff
mov word [esi + 0x20], ax
mov eax, dword [esp + 0x60]
test edi, edi
je 0x10166b13
mov edi, dword [edi]
test edi, edi
je 0x10166b13
test eax, eax
je 0x10166b15
mov edi, dword [edi + 4]
dec eax
test edi, edi
jne 0x10166b07
xor edi, edi
mov eax, edi
test edi, edi
je 0x10166b2e
nop dword [eax + eax]
mov dword [eax + 8], 0xffffffff
mov eax, dword [eax + 4]
test eax, eax
jne 0x10166b20
lea eax, [esi + 0xcc]
push ebx
push eax
call fcn.1014ab00
add esp, 8
test eax, eax
je 0x10166b5b
mov dword [esp + 0x10], 0x15
mov eax, dword [ebp + 0x20c]
push esi
call eax
add esp, 4
jmp 0x101673d8
test edi, edi
je 0x10166b64
mov dword [edi + 8], ebx
jmp 0x10166b91
lea eax, [esp + 0x10]
push eax
push 0xc
push dword [esp + 0x20]
call fcn.101500e0
add esp, 0xc
cmp dword [esp + 0x10], 0
jne 0x10166b4a
push eax
mov dword [eax + 8], ebx
lea eax, [esi + 0xcc]
push eax
call fcn.1014aa70
add esp, 8
mov ebx, dword [esp + 0x5c]
push esi
movsx eax, word [ebx + 0x16]
mov dword [esp + 0x48], eax
movsx eax, word [ebx + 0x14]
mov dword [esp + 0x28], eax
mov eax, dword [ebp + 0x218]
call eax
add esp, 4
mov dword [esp + 0x10], eax
test eax, eax
jne 0x10166b4a
mov eax, dword [esi + 0xa4]
mov dword [esp + 0x20], eax
mov eax, dword [ebp + 0x20c]
push esi
call eax
add esp, 4
test dword [ebp + 4], 0x7fff0000
jne 0x10166be5
test dword [ebp + 8], 0x8000
je 0x10166e29
movzx edi, word [ebx + 0x54]
lea ecx, [esp + 0x10]
xor eax, eax
mov dword [esp + 0x30], edi
push ecx
mov dword [esp + 0x4c], eax
mov dword [esp + 0x54], eax
mov dword [esp + 0x58], eax
mov dword [esp + 0x5c], eax
mov dword [esp + 0x3c], eax
movsx eax, di
push 0
mov dword [esp + 0x1c], eax
add eax, 4
push eax
push 0
push 8
push dword [esp + 0x2c]
mov dword [esp + 0x4c], eax
call fcn.10150130
add esp, 0x18
mov dword [esp + 0x4c], eax
cmp dword [esp + 0x10], 0
jne 0x10166dd7
lea eax, [esp + 0x10]
push eax
push 0
push dword [esp + 0x1c]
push 0
push 1
push dword [esp + 0x2c]
call fcn.10150130
add esp, 0x18
mov dword [esp + 0x50], eax
cmp dword [esp + 0x10], 0
jne 0x10166dd7
lea eax, [esp + 0x10]
push eax
push 0
push dword [esp + 0x1c]
push 0
push 2
push dword [esp + 0x2c]
call fcn.10150130
add esp, 0x18
mov dword [esp + 0x54], eax
cmp dword [esp + 0x10], 0
jne 0x10166dd7
lea eax, [esp + 0x10]
push eax
push 0
push dword [esp + 0x3c]
push 0
push 8
push dword [esp + 0x2c]
call fcn.10150130
add esp, 0x18
mov dword [esp + 0x38], eax
cmp dword [esp + 0x10], 0
jne 0x10166dd7
mov eax, dword [ebx + 0x58]
xor ecx, ecx
mov word [esp + 0x4a], di
mov word [esp + 0x48], di
xor edi, edi
mov dword [esp + 0x14], edi
cmp cx, word [esp + 0x30]
jge 0x10166d20
mov ebp, dword [esp + 0x30]
lea ebx, [eax + 0xc]
xor edx, edx
nop dword [eax + eax]
mov eax, dword [esp + 0x4c]
lea edx, [edx + 1]
mov ecx, dword [ebx - 4]
lea ebx, [ebx + 0x20]
mov dword [eax + edx*8 - 8], ecx
mov eax, dword [esp + 0x4c]
mov ecx, dword [ebx - 0x20]
mov dword [eax + edx*8 - 4], ecx
mov eax, dword [esp + 0x50]
mov byte [edx + eax - 1], 1
mov eax, dword [esp + 0x54]
mov word [eax + edx*2 - 2], di
inc edi
cmp di, bp
jl 0x10166ce0
mov ebp, dword [esp + 0x1c]
mov ebx, dword [esp + 0x5c]
mov dword [esp + 0x14], edi
mov eax, dword [esp + 0x4c]
mov ecx, dword [esi + 0x44]
mov edx, dword [esi + 0x48]
movsx edi, di
push dword [esp + 0x38]
mov dword [eax + edi*8], ecx
mov dword [eax + edi*8 + 4], edx
mov eax, dword [esp + 0x50]
mov ecx, dword [esi + 0x4c]
mov edx, dword [esi + 0x50]
mov dword [eax + edi*8 + 8], ecx
mov dword [eax + edi*8 + 0xc], edx
mov eax, dword [esp + 0x18]
mov ecx, dword [esi + 0xb4]
add eax, 2
mov edx, dword [esi + 0xb8]
movsx edi, ax
mov eax, dword [esp + 0x50]
mov dword [eax + edi*8], ecx
mov dword [eax + edi*8 + 4], edx
mov eax, dword [esp + 0x50]
mov ecx, dword [esi + 0xbc]
mov edx, dword [esi + 0xc0]
mov dword [eax + edi*8 + 8], ecx
mov dword [eax + edi*8 + 0xc], edx
lea eax, [esp + 0x4c]
push eax
push esi
call fcn.101643d0
add esp, 0xc
mov dword [esp + 0x10], eax
test eax, eax
jne 0x10166dd7
mov eax, dword [esp + 0x30]
xor edx, edx
mov ecx, dword [ebx + 0x58]
cmp dx, ax
jge 0x10166dd7
add ecx, 8
movzx edi, ax
nop dword [eax]
test byte [ecx - 4], 2
je 0x10166dcc
mov eax, dword [esp + 0x4c]
movsx eax, word [edx + eax]
mov dword [ecx], eax
mov eax, dword [esp + 0x4c]
movsx eax, word [edx + eax + 4]
mov dword [ecx + 4], eax
add edx, 8
add ecx, 0x20
sub edi, 1
jne 0x10166db0
push dword [esp + 0x4c]
mov edi, dword [esp + 0x1c]
push edi
call fcn.101500c0
push dword [esp + 0x58]
mov dword [esp + 0x58], 0
push edi
call fcn.101500c0
push dword [esp + 0x64]
mov dword [esp + 0x64], 0
push edi
call fcn.101500c0
push dword [esp + 0x50]
mov dword [esp + 0x70], 0
push edi
call fcn.101500c0
add esp, 0x20
cmp dword [esp + 0x10], 0
jne 0x101673d8
test byte [esi + 0x10], 1
jne 0x10166f83
mov eax, dword [esi + 0x44]
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x1c]
mov edx, dword [esp + 0x2c]
imul edx
mov ecx, edx
sar ecx, 0x1f
add ecx, 0x8000
add eax, ecx
adc edx, 0
shr eax, 0x10
shl edx, 0x10
add eax, edx
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x14]
mov dword [esi + 0x44], eax
mov eax, dword [esi + 0x4c]
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x1c]
mov edx, dword [esp + 0x2c]
imul edx
mov ecx, edx
sar ecx, 0x1f
add ecx, 0x8000
add eax, ecx
adc edx, 0
shr eax, 0x10
shl edx, 0x10
add eax, edx
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x14]
mov dword [esi + 0x4c], eax
mov eax, dword [esi + 0xb4]
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x1c]
mov edx, dword [esp + 0x2c]
imul edx
mov ecx, edx
sar ecx, 0x1f
add ecx, 0x8000
add eax, ecx
adc edx, 0
shr eax, 0x10
shl edx, 0x10
add eax, edx
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x14]
mov dword [esi + 0xb4], eax
mov eax, dword [esi + 0xb8]
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x1c]
mov edx, dword [esp + 0x3c]
imul edx
mov ecx, edx
sar ecx, 0x1f
add ecx, 0x8000
add eax, ecx
adc edx, 0
shr eax, 0x10
shl edx, 0x10
add eax, edx
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x14]
mov dword [esi + 0xb8], eax
mov eax, dword [esi + 0xbc]
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x1c]
mov edx, dword [esp + 0x2c]
imul edx
mov ecx, edx
sar ecx, 0x1f
add ecx, 0x8000
add eax, ecx
adc edx, 0
shr eax, 0x10
shl edx, 0x10
add eax, edx
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x14]
mov dword [esi + 0xbc], eax
mov eax, dword [esi + 0xc0]
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x1c]
mov edx, dword [esp + 0x3c]
imul edx
mov ecx, edx
sar ecx, 0x1f
add ecx, 0x8000
add eax, ecx
adc edx, 0
shr eax, 0x10
shl edx, 0x10
add eax, edx
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x14]
mov dword [esi + 0xc0], eax
test dword [esi + 0x10], 0x400
push ebx
je 0x10166fa4
call fcn.1014a430
mov eax, dword [esi + 8]
add esp, 4
mov dword [eax + 0x48], 0x636f6d70
jmp 0x101673d8
mov eax, dword [esp + 0x48]
xor edi, edi
mov dword [esp + 0x44], eax
mov eax, dword [ebx + 0x54]
mov dword [esp + 0x38], eax
mov eax, dword [ebx + 0x30]
mov dword [esp + 0x1c], eax
mov eax, dword [esi + 0x18]
mov dword [esp + 0x78], eax
mov eax, dword [esi + 0x1c]
mov dword [esp + 0x7c], eax
call fcn.1014a430
add esp, 4
mov dword [esp + 0x14], edi
cmp dword [esp + 0x34], edi
jbe 0x10167125
mov edx, dword [esp + 0x60]
mov ecx, dword [esp + 0x18]
inc edx
shl ecx, 5
mov dword [esp + 0x70], edx
mov dword [esp + 0x18], ecx
mov eax, dword [esi + 0x44]
mov dword [esp + 0x1c], eax
mov eax, dword [esi + 0x48]
mov dword [esp + 0x60], eax
mov eax, dword [esi + 0x4c]
mov dword [esp + 0x40], eax
mov eax, dword [esi + 0x50]
mov dword [esp + 0x38], eax
mov eax, dword [esi + 0xb4]
mov dword [esp + 0x5c], eax
mov eax, dword [esi + 0xb8]
mov dword [esp + 0x30], eax
mov eax, dword [esi + 0xbc]
mov dword [esp + 0x3c], eax
mov eax, dword [esi + 0xc0]
mov dword [esp + 0x2c], eax
mov eax, dword [esi + 0x3c]
mov dword [esp + 0x64], eax
mov eax, dword [esi + 0xb0]
mov dword [esp + 0x68], eax
movsx eax, word [ebx + 0x16]
mov dword [esp + 0x6c], eax
mov eax, dword [ebx + 0x34]
push 0
push edx
push dword [ecx + eax]
push esi
call fcn.101667b0
add esp, 0x10
mov dword [esp + 0x10], eax
test eax, eax
jne 0x101673d8
mov edi, dword [ebx + 0x34]
mov eax, 0x200
mov ecx, dword [esp + 0x18]
add edi, ecx
test word [edi + 4], ax
jne 0x101670d8
mov eax, dword [esp + 0x1c]
mov dword [esi + 0x44], eax
mov eax, dword [esp + 0x60]
mov dword [esi + 0x48], eax
mov eax, dword [esp + 0x40]
mov dword [esi + 0x4c], eax
mov eax, dword [esp + 0x38]
mov dword [esi + 0x50], eax
mov eax, dword [esp + 0x5c]
mov dword [esi + 0xb4], eax
mov eax, dword [esp + 0x30]
mov dword [esi + 0xb8], eax
mov eax, dword [esp + 0x3c]
mov dword [esi + 0xbc], eax
mov eax, dword [esp + 0x2c]
mov dword [esi + 0xc0], eax
mov eax, dword [esp + 0x64]
mov dword [esi + 0x3c], eax
mov eax, dword [esp + 0x68]
mov dword [esi + 0xb0], eax
movsx eax, word [ebx + 0x16]
mov edx, dword [esp + 0x6c]
mov dword [esp + 0x40], eax
cmp eax, edx
je 0x10167107
push edx
push dword [esp + 0x48]
push edi
push esi
call fcn.10160e20
add esp, 0x10
mov dword [esp + 0x10], eax
test eax, eax
jne 0x101673d8
mov ecx, dword [esp + 0x18]
mov eax, dword [esp + 0x14]
add ecx, 0x20
mov edx, dword [esp + 0x70]
inc eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], ecx
cmp eax, dword [esp + 0x34]
jb 0x10166ff4
test byte [esi + 0x10], 2
mov eax, dword [esp + 0x74]
mov dword [esi + 0x18], eax
mov eax, dword [esp + 0x78]
mov dword [esi + 0x1c], eax
mov eax, dword [esp + 0x20]
mov dword [esi + 0xa4], eax
jne 0x10167176
test edi, edi
je 0x10167176
mov eax, 0x100
test word [edi + 4], ax
je 0x10167176
mov eax, dword [esp + 0x44]
cmp dword [esp + 0x40], eax
jbe 0x10167176
push dword [esp + 0x24]
push eax
push esi
call fcn.10161050
add esp, 0xc
mov dword [esp + 0x10], eax
test eax, eax
jne 0x101673d8
cmp dword [ebx + 0x30], 0
je 0x101673d8
mov eax, dword [ebx + 0x34]
mov ecx, 0x400
test word [eax + 4], cx
je 0x101673d8
or dword [ebx + 0x24], 0x40
jmp 0x101673d8
push dword [esp + 0x18]
push esi
call fcn.10168140
push esi
call fcn.101688a0
add esp, 0xc
test dword [ebp + 4], 0x7fff0000
jne 0x101671c4
test dword [ebp + 8], 0x8000
je 0x10167276
mov eax, dword [esi + 0x44]
xorps xmm0, xmm0
mov ecx, dword [esi + 0x48]
mov dword [esp + 0xac], eax
mov eax, dword [esi + 0x4c]
mov dword [esp + 0xb4], eax
mov eax, dword [esi + 0xb4]
mov dword [esp + 0xbc], eax
mov eax, dword [esi + 0xbc]
mov dword [esp + 0xc4], eax
xor eax, eax
mov dword [esp + 0x48], eax
lea eax, [esp + 0xac]
mov dword [esp + 0x4c], eax
lea eax, [esp + 0xcc]
mov dword [esp + 0xb0], ecx
mov ecx, dword [esi + 0x50]
push eax
mov dword [esp + 0xbc], ecx
lea eax, [esp + 0x4c]
mov ecx, dword [esi + 0xb8]
push eax
mov dword [esp + 0xc8], ecx
mov ecx, dword [esi + 0xc0]
push esi
movups xmmword [esp + 0xd8], xmm0
mov dword [esp + 0xd4], ecx
movups xmmword [esp + 0xe8], xmm0
mov dword [esp + 0x5c], 0
mov dword [esp + 0x60], 0
call fcn.101643d0
add esp, 0xc
mov dword [esp + 0x10], eax
test eax, eax
jne 0x101673d8
test byte [esi + 0x10], 1
jne 0x101673d0
mov eax, dword [esi + 0x44]
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x24]
mov edx, dword [esp + 0x2c]
imul edx
mov ecx, edx
sar ecx, 0x1f
add ecx, 0x8000
add eax, ecx
adc edx, 0
shr eax, 0x10
shl edx, 0x10
add eax, edx
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x20]
mov dword [esi + 0x44], eax
mov eax, dword [esi + 0x4c]
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x24]
mov edx, dword [esp + 0x2c]
imul edx
mov ecx, edx
sar ecx, 0x1f
add ecx, 0x8000
add eax, ecx
adc edx, 0
shr eax, 0x10
shl edx, 0x10
add eax, edx
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x20]
mov dword [esi + 0x4c], eax
mov eax, dword [esi + 0xb4]
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x24]
mov edx, dword [esp + 0x2c]
imul edx
mov ecx, edx
sar ecx, 0x1f
add ecx, 0x8000
add eax, ecx
adc edx, 0
shr eax, 0x10
shl edx, 0x10
add eax, edx
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x20]
mov dword [esi + 0xb4], eax
mov eax, dword [esi + 0xb8]
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x24]
mov edx, dword [esp + 0x3c]
imul edx
mov ecx, edx
sar ecx, 0x1f
add ecx, 0x8000
add eax, ecx
adc edx, 0
shr eax, 0x10
shl edx, 0x10
add eax, edx
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x20]
mov dword [esi + 0xb8], eax
mov eax, dword [esi + 0xbc]
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x24]
mov edx, dword [esp + 0x2c]
imul edx
mov ecx, edx
sar ecx, 0x1f
add ecx, 0x8000
add eax, ecx
adc edx, 0
shr eax, 0x10
shl edx, 0x10
add eax, edx
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x20]
mov dword [esi + 0xbc], eax
mov eax, dword [esi + 0xc0]
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x24]
mov edx, dword [esp + 0x3c]
imul edx
mov ecx, edx
sar ecx, 0x1f
add ecx, 0x8000
add eax, ecx
adc edx, 0
shr eax, 0x10
shl edx, 0x10
add eax, edx
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x20]
mov dword [esi + 0xc0], eax
mov dword [esp + 0x10], 0
cmp byte [esp + 0x2b], 0
je 0x101673fa
mov eax, dword [ebp + 0x80]
lea edx, [esp + 0x7c]
push edx
mov eax, dword [eax + 0x34]
mov ecx, dword [eax]
push dword [eax + 4]
mov eax, dword [ecx + 4]
call eax
add esp, 8
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0xec]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.1026465b
add esp, 0xe0
ret