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

Disassembly:
sub esp, 0xc4
mov eax, dword [0x10411968]
xor eax, esp
mov dword [esp + 0xc0], eax
mov ecx, dword [esp + 0xd0]
push ebx
push ebp
mov ebp, dword [esp + 0xd4]
push esi
mov esi, dword [esp + 0xd4]
mov dword [esp + 0xc], 0
push edi
mov dword [esp + 0x18], esi
mov ebx, dword [esi]
mov edi, dword [esi + 0xc]
mov dword [esp + 0x48], ebp
mov dword [esp + 0x4c], ecx
movzx eax, word [ebx + 0x122]
mov dword [esp + 0x14], ebx
mov dword [esp + 0x40], edi
mov byte [esp + 0x22], 0
mov byte [esp + 0x23], 0
cmp ecx, eax
jbe 0x102f5a8a
mov word [ebx + 0x122], cx
test byte [esi + 0x10], 1
mov dword [esi + 0x14], ebp
jne 0x102f5aa9
mov eax, dword [esi + 4]
mov ecx, dword [eax + 0x2c]
mov eax, dword [ecx + 4]
mov dword [esp + 0x24], eax
mov eax, dword [ecx + 8]
mov dword [esp + 0x3c], eax
jmp 0x102f5ab9
mov dword [esp + 0x24], 0x10000
mov dword [esp + 0x3c], 0x10000
mov eax, dword [ebx + 0x80]
mov ecx, dword [eax + 0x34]
test ecx, ecx
je 0x102f5b2e
mov eax, dword [ecx]
lea edx, [esp + 0x78]
push edx
push ebp
push dword [ecx + 4]
mov eax, dword [eax]
call eax
add esp, 0xc
mov dword [esp + 0x10], eax
test eax, eax
jne 0x102f66e0
mov dword [esp + 0x44], eax
xorps xmm0, xmm0
mov eax, dword [esp + 0x7c]
push eax
push dword [esp + 0x7c]
mov dword [esi + 0x1c], eax
lea eax, [esp + 0x88]
push eax
mov byte [esp + 0x2f], 1
movups xmmword [esp + 0x8c], xmm0
movups xmmword [esp + 0x9c], xmm0
movq qword [esp + 0xac], xmm0
call fcn.102df100
lea eax, [esp + 0x8c]
mov dword [esi + 0x18], eax
jmp 0x102f5b3d
lea eax, [esi + 0x1c]
push eax
push ebp
push ebx
call fcn.102ebbd0
mov dword [esp + 0x50], eax
mov edx, dword [esi + 0x1c]
add esp, 0xc
test edx, edx
jle 0x102f5bcf
mov ecx, dword [ebx + 0x2b4]
test ecx, ecx
jne 0x102f5b6e
mov eax, dword [ebx + 0x80]
cmp dword [eax + 0x34], ecx
jne 0x102f5b6e
mov eax, 8
mov dword [esp + 0x10], eax
jmp 0x102f66ba
mov eax, dword [esp + 0x44]
push edx
add eax, ecx
push eax
mov eax, dword [ebx + 0x208]
push ebp
push esi
call eax
add esp, 0x10
mov dword [esp + 0x10], eax
test eax, eax
jne 0x102f66ba
mov eax, dword [ebx + 0x210]
push esi
mov byte [esp + 0x26], 1
call eax
add esp, 4
mov dword [esp + 0x10], eax
test eax, eax
jne 0x102f66aa
push ebp
push esi
call fcn.102f73e0
add esp, 8
mov dword [esp + 0x10], eax
test eax, eax
jne 0x102f66aa
cmp byte [esp + 0xe4], al
jne 0x102f66aa
cmp dword [esi + 0x1c], 0
je 0x102f637b
cmp word [esi + 0x20], 0
je 0x102f637b
push esi
call fcn.102f7c40
push ebp
push esi
call fcn.102f74a0
movzx eax, word [esi + 0x20]
add esp, 0xc
test ax, ax
jle 0x102f5c3e
mov eax, dword [ebx + 0x214]
push esi
call eax
add esp, 4
mov dword [esp + 0x10], eax
test eax, eax
jne 0x102f66a3
mov eax, dword [ebx + 0x20c]
push esi
call eax
push esi
call fcn.102f0690
add esp, 8
mov dword [esp + 0x10], eax
test eax, eax
jne 0x102f66ba
push edi
call fcn.102dbb90
jmp 0x102f66b3
jns 0x102f6372
mov eax, dword [ebx + 0x64]
lea ecx, [esi + 0xcc]
mov dword [esp + 0x28], eax
or eax, 0xffffffff
mov word [esi + 0x20], ax
mov eax, dword [esp + 0x4c]
test ecx, ecx
jne 0x102f5c64
xor edi, edi
jmp 0x102f5c92
mov edi, dword [ecx]
test edi, edi
je 0x102f5c7c
nop word [eax + eax]
test eax, eax
je 0x102f5c7e
mov edi, dword [edi + 4]
dec eax
test edi, edi
jne 0x102f5c70
xor edi, edi
mov eax, edi
test edi, edi
je 0x102f5c92
mov dword [eax + 8], 0xffffffff
mov eax, dword [eax + 4]
test eax, eax
jne 0x102f5c84
push ebp
push ecx
call fcn.102dc1f0
add esp, 8
test eax, eax
je 0x102f5caa
mov eax, 0x15
jmp 0x102f669f
test edi, edi
je 0x102f5cb3
mov dword [edi + 8], ebp
jmp 0x102f5ce7
lea eax, [esp + 0x10]
push eax
push 0xc
push dword [esp + 0x30]
call fcn.102e0e60
mov ecx, eax
add esp, 0xc
mov eax, dword [esp + 0x10]
test eax, eax
jne 0x102f66a3
push ecx
lea eax, [esi + 0xcc]
mov dword [ecx + 8], ebp
push eax
call fcn.102dc160
add esp, 8
mov edi, dword [esp + 0x40]
push esi
movsx eax, word [edi + 0x16]
mov dword [esp + 0x48], eax
movsx eax, word [edi + 0x14]
mov dword [esp + 0xcc], eax
mov eax, dword [ebx + 0x218]
call eax
add esp, 4
mov dword [esp + 0x10], eax
test eax, eax
jne 0x102f66a3
mov eax, dword [esi + 0xa4]
mov dword [esp + 0x1c], eax
mov eax, dword [ebx + 0x20c]
push esi
call eax
add esp, 4
test dword [ebx + 4], 0x7fff0000
jne 0x102f5d42
test dword [ebx + 8], 0x8000
je 0x102f600d
movzx eax, word [edi + 0x54]
mov ecx, eax
mov dword [esp + 0x54], 0
mov dword [esp + 0x34], ecx
add eax, 4
lea ecx, [esp + 0x10]
mov word [esp + 0x52], ax
push ecx
push 0
mov word [esp + 0x58], ax
cwde
push eax
push 0
push 8
push dword [esp + 0x3c]
mov dword [esp + 0x70], 0
mov dword [esp + 0x74], 0
call fcn.102e1020
add esp, 0x18
mov dword [esp + 0x30], eax
cmp dword [esp + 0x10], 0
jne 0x102f5fcc
movsx ecx, word [esp + 0x52]
lea eax, [esp + 0x10]
push eax
push 0
push ecx
push 0
push 1
push dword [esp + 0x3c]
call fcn.102e1020
add esp, 0x18
mov dword [esp + 0x38], eax
cmp dword [esp + 0x10], 0
jne 0x102f5fcc
movsx ecx, word [esp + 0x52]
lea eax, [esp + 0x10]
push eax
push 0
push ecx
push 0
push 2
push dword [esp + 0x3c]
call fcn.102e1020
add esp, 0x18
mov dword [esp + 0x2c], eax
cmp dword [esp + 0x10], 0
jne 0x102f5fcc
mov ecx, dword [edi + 0x58]
xor ebp, ebp
xor edx, edx
cmp bp, word [esp + 0x34]
mov ebp, dword [esp + 0x48]
jge 0x102f5e45
mov ebp, dword [esp + 0x38]
add ecx, 0xc
mov edi, dword [esp + 0x30]
mov ebx, eax
mov esi, dword [esp + 0x34]
mov eax, dword [ecx - 4]
lea edi, [edi + 8]
mov dword [edi - 8], eax
lea ebp, [ebp + 1]
mov eax, dword [ecx]
lea ebx, [ebx + 2]
mov dword [edi - 4], eax
lea ecx, [ecx + 0x20]
mov byte [ebp - 1], 1
mov word [ebx - 2], dx
inc edx
cmp dx, si
jl 0x102f5e14
mov esi, dword [esp + 0x18]
mov ebx, dword [esp + 0x14]
mov ebp, dword [esp + 0x48]
mov eax, dword [esi + 0x44]
mov edi, dword [esp + 0x30]
movsx ecx, dx
mov dword [edi + ecx*8], eax
mov eax, dword [esi + 0x48]
mov dword [edi + ecx*8 + 4], eax
mov eax, dword [esp + 0x38]
mov byte [ecx + eax], 1
mov eax, dword [esp + 0x2c]
mov word [eax + ecx*2], dx
inc edx
mov eax, dword [esi + 0x4c]
mov dword [edi + ecx*8 + 8], eax
mov eax, dword [esi + 0x50]
mov dword [edi + ecx*8 + 0xc], eax
mov eax, dword [esp + 0x38]
mov byte [ecx + eax + 1], 1
mov eax, dword [esp + 0x2c]
mov word [eax + ecx*2 + 2], dx
inc edx
mov eax, dword [esi + 0xb4]
mov dword [edi + ecx*8 + 0x10], eax
mov eax, dword [esi + 0xb8]
mov dword [edi + ecx*8 + 0x14], eax
mov eax, dword [esp + 0x38]
mov byte [ecx + eax + 2], 1
mov eax, dword [esp + 0x2c]
mov word [eax + ecx*2 + 4], dx
mov eax, dword [esi + 0xbc]
mov dword [edi + ecx*8 + 0x18], eax
mov eax, dword [esi + 0xc0]
mov dword [edi + ecx*8 + 0x1c], eax
lea eax, [edx + 1]
mov edi, dword [esp + 0x38]
mov edx, dword [esp + 0x2c]
mov byte [edi + ecx + 3], 1
mov word [edx + ecx*2 + 6], ax
mov eax, dword [esp + 0x30]
mov dword [esp + 0x54], eax
movsx eax, word [esp + 0x52]
push eax
lea eax, [esp + 0x54]
mov dword [esp + 0x5c], edi
push eax
push ebp
push ebx
mov dword [esp + 0x6c], edx
call fcn.102f3230
mov edi, dword [esp + 0x50]
add esp, 0x10
mov dword [esp + 0x10], eax
test eax, eax
jne 0x102f5fcc
mov eax, dword [esp + 0x34]
xor ebp, ebp
mov ecx, dword [edi + 0x58]
xor edx, edx
cmp bp, ax
jge 0x102f5f51
mov edx, dword [esp + 0x30]
add ecx, 8
movzx ebp, ax
mov eax, ebp
mov dword [esp + 0x14], eax
nop
test byte [ecx - 4], 2
je 0x102f5f42
movsx eax, word [edx]
mov dword [ecx], eax
movsx eax, word [edx + 4]
mov dword [ecx + 4], eax
add edx, 8
add ecx, 0x20
sub ebp, 1
jne 0x102f5f30
mov edx, dword [esp + 0x14]
movsx ecx, dx
mov edx, dword [esp + 0x30]
mov eax, dword [edx + ecx*8]
mov dword [esi + 0x44], eax
mov dword [esp + 0x14], eax
mov eax, dword [edx + ecx*8 + 4]
mov dword [esi + 0x48], eax
mov ebp, dword [edx + ecx*8 + 8]
mov dword [esi + 0x4c], ebp
mov eax, dword [edx + ecx*8 + 0xc]
mov dword [esi + 0x50], eax
mov eax, dword [edx + ecx*8 + 0x10]
mov dword [esi + 0xb4], eax
mov dword [esp + 0x18], eax
mov eax, dword [edx + ecx*8 + 0x14]
mov dword [esi + 0xb8], eax
mov eax, dword [esp + 0x30]
mov edx, dword [edx + ecx*8 + 0x18]
mov dword [esi + 0xbc], edx
mov eax, dword [eax + ecx*8 + 0x1c]
mov dword [esi + 0xc0], eax
mov eax, dword [ebx + 0x2c0]
test al, 2
jne 0x102f5fbe
sub ebp, dword [esp + 0x14]
mov dword [esi + 0x3c], ebp
mov eax, dword [ebx + 0x2c0]
test al, 0x10
jne 0x102f5fcc
sub edx, dword [esp + 0x18]
mov dword [esi + 0xb0], edx
push dword [esp + 0x54]
mov ebp, dword [esp + 0x2c]
push ebp
call fcn.102e0ec0
push dword [esp + 0x60]
mov dword [esp + 0x60], 0
push ebp
call fcn.102e0ec0
push dword [esp + 0x6c]
mov dword [esp + 0x6c], 0
push ebp
call fcn.102e0ec0
mov eax, dword [esp + 0x28]
add esp, 0x18
test eax, eax
jne 0x102f66ba
mov eax, dword [esi + 0x10]
test al, 1
jne 0x102f616b
mov eax, dword [esi + 0x44]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0x24]
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 + 0x18], eax
mov eax, dword [esp + 0x18]
mov dword [esi + 0x44], eax
mov eax, dword [esi + 0x4c]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0x24]
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 + 0x18], eax
mov eax, dword [esp + 0x18]
mov dword [esi + 0x4c], eax
mov eax, dword [esi + 0xb4]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0x24]
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 + 0x18], eax
mov eax, dword [esp + 0x18]
mov dword [esi + 0xb4], eax
mov eax, dword [esi + 0xb8]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x14]
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 + 0x18], eax
mov eax, dword [esp + 0x18]
mov dword [esi + 0xb8], eax
mov eax, dword [esi + 0xbc]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0x24]
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 + 0x18], eax
mov eax, dword [esp + 0x18]
mov dword [esi + 0xbc], eax
mov eax, dword [esi + 0xc0]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x14]
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 + 0x18], eax
mov eax, dword [esp + 0x18]
mov dword [esi + 0xc0], eax
mov eax, dword [esi + 0x10]
test eax, 0x400
je 0x102f6187
push edi
call fcn.102dbb90
mov eax, dword [esi + 8]
mov dword [eax + 0x48], 0x636f6d70
jmp 0x102f66b3
mov ebp, dword [esp + 0x40]
xor edi, edi
mov eax, dword [esp + 0x44]
mov dword [esp + 0x34], eax
push ebp
mov eax, dword [ebp + 0x54]
mov dword [esp + 0x44], eax
mov eax, dword [ebp + 0x30]
mov dword [esp + 0x2c], eax
mov eax, dword [esi + 0x18]
mov dword [esp + 0x74], eax
mov eax, dword [esi + 0x1c]
mov dword [esp + 0x78], eax
call fcn.102dbb90
add esp, 4
mov dword [esp + 0x48], edi
cmp dword [esp + 0x40], edi
jbe 0x102f6315
mov edx, dword [esp + 0x4c]
mov ecx, dword [esp + 0x28]
inc edx
shl ecx, 5
mov dword [esp + 0x6c], edx
mov dword [esp + 0x28], ecx
nop dword [eax]
mov eax, dword [ebp + 0x34]
add eax, ecx
mov ecx, dword [esi + 0x44]
mov dword [esp + 0x14], ecx
mov ecx, dword [esi + 0x48]
mov dword [esp + 0x18], ecx
mov ecx, dword [esi + 0x4c]
mov dword [esp + 0x34], ecx
mov ecx, dword [esi + 0x50]
mov dword [esp + 0x2c], ecx
mov ecx, dword [esi + 0xb4]
mov dword [esp + 0x3c], ecx
mov ecx, dword [esi + 0xb8]
mov dword [esp + 0x38], ecx
mov ecx, dword [esi + 0xbc]
mov dword [esp + 0x30], ecx
mov ecx, dword [esi + 0xc0]
mov dword [esp + 0x24], ecx
mov ecx, dword [esi + 0x3c]
push 0
push edx
push dword [eax]
mov dword [esp + 0x70], ecx
mov ecx, dword [esi + 0xb0]
mov dword [esp + 0x74], ecx
movsx ecx, word [ebp + 0x16]
push esi
mov dword [esp + 0x5c], ecx
call fcn.102f5a20
add esp, 0x10
mov dword [esp + 0x10], eax
test eax, eax
jne 0x102f66ba
mov edi, dword [ebp + 0x34]
mov edx, 0x200
mov ecx, dword [esp + 0x28]
add edi, ecx
test word [edi + 4], dx
jne 0x102f62c5
mov edx, dword [esp + 0x14]
mov dword [esi + 0x44], edx
mov edx, dword [esp + 0x18]
mov dword [esi + 0x48], edx
mov edx, dword [esp + 0x34]
mov dword [esi + 0x4c], edx
mov edx, dword [esp + 0x2c]
mov dword [esi + 0x50], edx
mov edx, dword [esp + 0x3c]
mov dword [esi + 0xb4], edx
mov edx, dword [esp + 0x38]
mov dword [esi + 0xb8], edx
mov edx, dword [esp + 0x30]
mov dword [esi + 0xbc], edx
mov edx, dword [esp + 0x24]
mov dword [esi + 0xc0], edx
mov edx, dword [esp + 0x64]
mov dword [esi + 0x3c], edx
mov edx, dword [esp + 0x68]
mov dword [esi + 0xb0], edx
movsx edx, word [ebp + 0x16]
mov dword [esp + 0x34], edx
cmp edx, dword [esp + 0x4c]
je 0x102f62f5
push dword [esp + 0x4c]
push dword [esp + 0x48]
push edi
push esi
call fcn.102f0280
add esp, 0x10
mov dword [esp + 0x10], eax
test eax, eax
jne 0x102f66ba
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x48]
add ecx, 0x20
inc edx
mov dword [esp + 0x28], ecx
cmp edx, dword [esp + 0x40]
mov dword [esp + 0x48], edx
mov edx, dword [esp + 0x6c]
jb 0x102f61e0
jmp 0x102f6319
mov eax, dword [esp + 0x10]
test byte [esi + 0x10], 2
mov ecx, dword [esp + 0x70]
mov dword [esi + 0x18], ecx
mov ecx, dword [esp + 0x74]
mov dword [esi + 0x1c], ecx
mov ecx, dword [esp + 0x1c]
mov dword [esi + 0xa4], ecx
jne 0x102f66ba
mov ecx, 0x100
test word [edi + 4], cx
je 0x102f66ba
mov ecx, dword [esp + 0x44]
cmp dword [esp + 0x34], ecx
jbe 0x102f66ba
push dword [esp + 0xc8]
push ecx
push esi
call fcn.102f0470
add esp, 0xc
mov dword [esp + 0x10], eax
jmp 0x102f66ba
mov eax, dword [esp + 0x10]
jmp 0x102f66a3
push ebp
push esi
mov dword [esi + 0x24], 0
mov dword [esi + 0x2c], 0
mov dword [esi + 0x28], 0
mov dword [esi + 0x30], 0
call fcn.102f73e0
add esp, 8
mov dword [esp + 0x10], eax
test eax, eax
jne 0x102f66a3
cmp byte [esp + 0xe4], al
jne 0x102f66a3
push esi
call fcn.102f7c40
push ebp
push esi
call fcn.102f74a0
add esp, 0xc
test dword [ebx + 4], 0x7fff0000
jne 0x102f63e0
test dword [ebx + 8], 0x8000
je 0x102f651f
mov eax, dword [esi + 0x44]
mov dword [esp + 0xa8], eax
mov eax, dword [esi + 0x48]
mov dword [esp + 0xac], eax
mov eax, dword [esi + 0x4c]
mov dword [esp + 0xb0], eax
mov eax, dword [esi + 0x50]
mov dword [esp + 0xb4], eax
mov eax, dword [esi + 0xb4]
mov dword [esp + 0xb8], eax
mov eax, dword [esi + 0xb8]
mov dword [esp + 0xbc], eax
mov eax, dword [esi + 0xbc]
mov dword [esp + 0xc0], eax
mov eax, dword [esi + 0xc0]
mov dword [esp + 0xc4], eax
lea eax, [esp + 0xa8]
mov dword [esp + 0x54], eax
lea eax, [esp + 0x2c]
mov dword [esp + 0x58], eax
lea eax, [esp + 0xc8]
mov dword [esp + 0x5c], eax
lea eax, [esp + 0x50]
push 4
push eax
push ebp
push dword [esi]
mov dword [esp + 0x3c], 0x1010101
mov dword [esp + 0xd8], 0x10000
mov dword [esp + 0xdc], 0x30002
mov dword [esp + 0x60], 0x40004
call fcn.102f3230
add esp, 0x10
mov dword [esp + 0x10], eax
test eax, eax
jne 0x102f66a3
mov eax, dword [esp + 0xac]
mov ebp, dword [esp + 0xa8]
mov edx, dword [esp + 0xb0]
mov edi, dword [esp + 0xb8]
mov ecx, dword [esp + 0xc0]
mov dword [esi + 0x48], eax
mov eax, dword [esp + 0xb4]
mov dword [esi + 0x50], eax
mov eax, dword [esp + 0xbc]
mov dword [esi + 0xb8], eax
mov eax, dword [esp + 0xc4]
mov dword [esi + 0xc0], eax
mov eax, dword [esi]
mov dword [esi + 0x44], ebp
mov dword [esi + 0x4c], edx
mov dword [esi + 0xb4], edi
mov dword [esi + 0xbc], ecx
mov eax, dword [eax + 0x2c0]
test al, 2
jne 0x102f6513
mov eax, dword [esi]
sub edx, ebp
mov dword [esi + 0x3c], edx
mov eax, dword [eax + 0x2c0]
test al, 0x10
jne 0x102f651f
sub ecx, edi
mov dword [esi + 0xb0], ecx
test byte [esi + 0x10], 1
jne 0x102f669d
mov eax, dword [esi + 0x44]
mov dword [esp + 0xc8], eax
mov eax, dword [esp + 0xc8]
mov edx, dword [esp + 0x24]
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 + 0x1c], eax
mov eax, dword [esp + 0x1c]
mov dword [esi + 0x44], eax
mov eax, dword [esi + 0x4c]
mov dword [esp + 0xc8], eax
mov eax, dword [esp + 0xc8]
mov edx, dword [esp + 0x24]
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 + 0x1c], eax
mov eax, dword [esp + 0x1c]
mov dword [esi + 0x4c], eax
mov eax, dword [esi + 0xb4]
mov dword [esp + 0xc8], eax
mov eax, dword [esp + 0xc8]
mov edx, dword [esp + 0x24]
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 + 0x1c], eax
mov eax, dword [esp + 0x1c]
mov dword [esi + 0xb4], eax
mov eax, dword [esi + 0xb8]
mov dword [esp + 0xc8], eax
mov eax, dword [esp + 0xc8]
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 + 0x1c], eax
mov eax, dword [esp + 0x1c]
mov dword [esi + 0xb8], eax
mov eax, dword [esi + 0xbc]
mov dword [esp + 0xc8], eax
mov eax, dword [esp + 0xc8]
mov edx, dword [esp + 0x24]
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 + 0x1c], eax
mov eax, dword [esp + 0x1c]
mov dword [esi + 0xbc], eax
mov eax, dword [esi + 0xc0]
mov dword [esp + 0xc8], eax
mov eax, dword [esp + 0xc8]
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 + 0x1c], eax
mov eax, dword [esp + 0x1c]
mov dword [esi + 0xc0], eax
xor eax, eax
mov dword [esp + 0x10], eax
cmp byte [esp + 0x22], 0
je 0x102f66ba
mov eax, dword [ebx + 0x20c]
push esi
call eax
mov eax, dword [esp + 0x14]
add esp, 4
cmp byte [esp + 0x23], 0
je 0x102f66e0
mov eax, dword [ebx + 0x80]
lea edx, [esp + 0x78]
push edx
mov eax, dword [eax + 0x34]
mov ecx, dword [eax]
push dword [eax + 4]
mov eax, dword [ecx + 4]
call eax
mov eax, dword [esp + 0x18]
add esp, 8
mov ecx, dword [esp + 0xd0]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.102d9498
add esp, 0xc4
ret