Function at 0x10023190
Capabilities:
Enumerate pe sections
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x194
mov eax, dword [0x1025ab04]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
mov dword [ebp - 0x140], esi
cmp dword [esi + 0x60], 0
jge 0x10023221
test byte [esi + 4], 2
lea eax, [ebp - 0x174]
mov dword [ebp - 0x16c], 0xffffffff
lea ecx, [esi + 0x48]
mov dword [ebp - 0x168], 0
mov dword [ebp - 0x164], 0
mov dword [ebp - 0x160], 0
mov dword [ebp - 0x15c], 0
mov dword [ebp - 0x174], 0x80000000
push eax
mov dword [ebp - 0x170], 0x1b00d9
je 0x10023215
mov dword [ebp - 0x170], 0x20002
call fcn.10026a70
mov eax, dword [esi + 0x48]
dec eax
mov dword [esi + 0x60], eax
mov eax, dword [esi + 0x1c]
mov dword [esi + 8], 0
mov dword [esi + 0x28], 0
mov dword [esi + 0x24], 0
mov dword [esi + 0x2c], 0
mov dword [esi + 0x30], 0
mov dword [esi + 0x34], 0
mov dword [esi + 0x38], 0
test eax, eax
je 0x10023262
push eax
call fcn.10015d80
add esp, 4
mov eax, dword [esi + 0x20]
test eax, eax
je 0x10023272
push eax
call fcn.10015d80
add esp, 4
mov ecx, dword [esi + 0x54]
xor edi, edi
mov dword [esi + 0x1c], 0
mov dword [esi + 0x20], 0
mov dword [ebp - 0x124], 0
mov dword [ebp - 0x134], edi
lea edx, [edi + 8]
mov dword [ebp - 0x130], ecx
test ecx, ecx
jle 0x100232c5
cmp ecx, edx
mov eax, ecx
cmovl eax, edx
test eax, eax
jle 0x100232c5
imul eax, eax, 0xc4
push eax
call fcn.10015d50
add esp, 4
mov dword [ebp - 0x124], eax
lea edx, [edi + 8]
mov ebx, dword [esi + 0x3c]
mov dword [ebp - 0x128], ebx
test ebx, ebx
jle 0x100232f5
cmp ebx, 8
mov ecx, ebx
cmovl ecx, edx
test ecx, ecx
jle 0x100232f5
lea eax, [ecx + ecx*2]
shl eax, 3
push eax
call fcn.10015d50
add esp, 4
mov dword [ebp - 0x134], eax
mov edi, eax
imul ecx, dword [ebp - 0x130], 0xc4
push ecx
push 0
push dword [ebp - 0x124]
call sub.VCRUNTIME140.dll_memset
lea eax, [ebx + ebx*2]
shl eax, 3
push eax
push 0
push edi
call sub.VCRUNTIME140.dll_memset
add esp, 0x18
mov dword [ebp - 0x118], 0
cmp dword [esi + 0x54], 0
jle 0x10023440
mov ebx, dword [ebp - 0x124]
xor eax, eax
mov dword [ebp - 0x114], eax
add ebx, 0xa4
mov ecx, dword [esi + 0x5c]
xor edx, edx
add ecx, eax
mov dword [ebx - 4], 0xffffffff
mov dword [ebp - 0x120], ecx
cmp dword [esi + 0x3c], edx
jle 0x100234a5
or eax, 0xffffffff
cmp eax, 0xffffffff
jne 0x10023396
mov eax, dword [ebp - 0x120]
mov ecx, dword [esi + 0x44]
mov eax, dword [eax + 0x74]
cmp eax, dword [ecx + edx*4]
jne 0x10023384
mov dword [ebx - 4], edx
mov eax, edx
jmp 0x10023387
mov eax, dword [ebx - 4]
inc edx
cmp edx, dword [esi + 0x3c]
jl 0x10023367
cmp eax, 0xffffffff
je 0x100234a5
mov eax, dword [ebp - 0x120]
push dword [eax + 0xc]
mov esi, dword [eax]
push esi
call fcn.1002cff0
push eax
lea ecx, [ebx - 0xa4]
push esi
push ecx
call fcn.100277e0
add esp, 0x14
test eax, eax
je 0x100234a5
mov eax, dword [ebx - 4]
mov edx, 0x1016c2a0
lea esi, [eax + eax*2]
mov eax, dword [ebp - 0x120]
mov eax, dword [eax + 0x30]
test eax, eax
cmovne edx, eax
mov dword [ebx - 8], edx
cmp word [edx], 0
je 0x100233fd
movzx eax, word [edx + 2]
test ax, ax
je 0x100233fd
mov ecx, eax
cmp dword [ebx], ecx
cmovge ecx, dword [ebx]
add edx, 4
mov dword [ebx], ecx
cmp word [edx], 0
jne 0x100233e2
inc dword [edi + esi*8]
mov ecx, dword [ebx]
cmp dword [edi + esi*8 + 4], ecx
mov eax, dword [ebp - 0x114]
cmovge ecx, dword [edi + esi*8 + 4]
add eax, 0x78
mov dword [edi + esi*8 + 4], ecx
add ebx, 0xc4
mov ecx, dword [ebp - 0x118]
mov esi, dword [ebp - 0x140]
inc ecx
mov dword [ebp - 0x118], ecx
mov dword [ebp - 0x114], eax
cmp ecx, dword [esi + 0x54]
jl 0x10023347
mov eax, dword [ebp - 0x130]
xor esi, esi
mov dword [ebp - 0x110], esi
test eax, eax
jle 0x10023886
mov edx, dword [ebp - 0x124]
add edx, 0xb4
mov dword [ebp - 0x114], eax
mov dword [ebp - 0x108], edx
nop
mov eax, dword [edx - 0x14]
mov esi, dword [edx - 0x10]
mov ecx, dword [edx - 4]
add esi, 0x20
sar esi, 5
lea ebx, [eax + eax*2]
mov dword [ebp - 0x118], ebx
cmp esi, ecx
jle 0x1002351a
test ecx, ecx
je 0x100234ac
mov eax, ecx
cdq
sub eax, edx
mov edx, dword [ebp - 0x108]
sar eax, 1
add eax, ecx
jmp 0x100234b1
xor bl, bl
jmp 0x100246b7
mov eax, 8
cmp eax, esi
mov ecx, esi
cmovg ecx, eax
mov dword [ebp - 0x11c], ecx
cmp ecx, dword [edx - 4]
jle 0x1002351a
lea eax, [ecx*4]
push eax
call fcn.10015d50
mov edx, dword [ebp - 0x108]
add esp, 4
mov dword [ebp - 0x10c], eax
cmp dword [edx], 0
je 0x1002350f
mov ecx, dword [edx - 8]
shl ecx, 2
push ecx
push dword [edx]
push eax
call sub.VCRUNTIME140.dll_memcpy
mov eax, dword [ebp - 0x108]
push dword [eax]
call fcn.10015d80
mov edx, dword [ebp - 0x108]
add esp, 0x10
mov eax, dword [ebp - 0x10c]
mov dword [edx], eax
mov eax, dword [ebp - 0x11c]
mov dword [edx - 4], eax
lea eax, [esi*4]
mov dword [edx - 8], esi
push eax
push 0
push dword [edx]
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
cmp dword [edi + ebx*8 + 0xc], 0
jne 0x100235da
mov esi, dword [edi + ebx*8 + 4]
mov ecx, dword [edi + ebx*8 + 0x10]
add esi, 0x20
sar esi, 5
cmp esi, ecx
jle 0x100235c0
test ecx, ecx
je 0x1002355d
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
jmp 0x10023562
mov eax, 8
cmp eax, esi
mov edx, esi
cmovg edx, eax
mov dword [ebp - 0x11c], edx
cmp edx, ecx
jle 0x100235c0
lea eax, [edx*4]
push eax
call fcn.10015d50
mov edx, dword [edi + ebx*8 + 0x14]
add esp, 4
mov dword [ebp - 0x10c], eax
test edx, edx
je 0x100235b2
mov ecx, dword [edi + ebx*8 + 0xc]
shl ecx, 2
push ecx
push edx
push eax
call sub.VCRUNTIME140.dll_memcpy
push dword [edi + ebx*8 + 0x14]
call fcn.10015d80
mov eax, dword [ebp - 0x10c]
add esp, 0x10
mov dword [edi + ebx*8 + 0x14], eax
mov eax, dword [ebp - 0x11c]
mov dword [edi + ebx*8 + 0x10], eax
lea eax, [esi*4]
mov dword [edi + ebx*8 + 0xc], esi
push eax
push 0
push dword [edi + ebx*8 + 0x14]
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov edx, dword [ebp - 0x108]
mov eax, dword [edx - 0x18]
mov dword [ebp - 0x120], eax
movzx ecx, word [eax]
test cx, cx
je 0x100236af
nop word [eax + eax]
movzx eax, word [eax + 2]
test ax, ax
je 0x100236a9
movzx edi, cx
cmp edi, eax
ja 0x1002368e
mov eax, dword [ebp - 0x118]
mov ecx, edi
and ecx, 0x1f
mov ebx, 1
shl ebx, cl
mov esi, edi
mov ecx, dword [ebp - 0x134]
sar esi, 5
mov eax, dword [ecx + eax*8 + 0x14]
test dword [eax + esi*4], ebx
jne 0x1002367f
lea eax, [edx - 0xb4]
push edi
push eax
call fcn.1002cce0
mov edx, dword [ebp - 0x108]
add esp, 8
test eax, eax
je 0x1002367f
inc dword [edx - 0xc]
mov ecx, dword [ebp - 0x118]
mov eax, dword [ebp - 0x134]
inc dword [eax + ecx*8 + 8]
mov eax, dword [edx]
or dword [eax + esi*4], ebx
mov eax, dword [ebp - 0x134]
mov eax, dword [eax + ecx*8 + 0x14]
or dword [eax + esi*4], ebx
inc dword [ebp - 0x110]
mov eax, dword [ebp - 0x120]
inc edi
movzx eax, word [eax + 2]
cmp edi, eax
jbe 0x10023614
mov eax, dword [ebp - 0x120]
add eax, 4
mov dword [ebp - 0x120], eax
movzx ecx, word [eax]
test cx, cx
jne 0x10023600
mov edi, dword [ebp - 0x134]
add edx, 0xc4
sub dword [ebp - 0x114], 1
mov dword [ebp - 0x108], edx
jne 0x10023470
mov esi, dword [ebp - 0x124]
mov eax, dword [ebp - 0x130]
add esi, 0xb8
mov dword [ebp - 0x138], eax
mov edi, dword [esi - 0x10]
cmp edi, dword [esi + 4]
jle 0x1002371f
lea eax, [edi*4]
push eax
call fcn.10015d50
mov ebx, eax
add esp, 4
mov eax, dword [esi + 8]
test eax, eax
je 0x10023719
mov ecx, dword [esi]
shl ecx, 2
push ecx
push eax
push ebx
call sub.VCRUNTIME140.dll_memcpy
push dword [esi + 8]
call fcn.10015d80
add esp, 0x10
mov dword [esi + 8], ebx
mov dword [esi + 4], edi
mov edx, dword [esi - 4]
mov eax, dword [esi - 0xc]
mov dword [ebp - 0x118], edx
lea eax, [edx + eax*4]
mov dword [ebp - 0x108], eax
cmp edx, eax
jae 0x10023842
xor ecx, ecx
mov dword [ebp - 0x114], ecx
mov eax, dword [edx]
mov dword [ebp - 0x12c], eax
test eax, eax
je 0x10023824
xor edi, edi
mov ebx, 1
mov dword [ebp - 0x120], edi
test ebx, eax
je 0x1002380c
mov edx, dword [esi]
and ecx, 0xffffffe0
add ecx, edi
mov dword [ebp - 0x10c], edx
mov dword [ebp - 0x11c], ecx
mov ecx, dword [esi + 4]
cmp edx, ecx
jne 0x100237f2
lea edi, [edx + 1]
test ecx, ecx
je 0x1002379b
mov eax, ecx
cdq
sub eax, edx
mov edx, dword [ebp - 0x10c]
sar eax, 1
add eax, ecx
jmp 0x100237a0
mov eax, 8
cmp eax, edi
cmovg edi, eax
cmp edi, ecx
jle 0x100237ec
lea eax, [edi*4]
push eax
call fcn.10015d50
mov edx, dword [esi + 8]
add esp, 4
mov dword [ebp - 0x10c], eax
test edx, edx
je 0x100237e4
mov ecx, dword [esi]
shl ecx, 2
push ecx
push edx
push eax
call sub.VCRUNTIME140.dll_memcpy
push dword [esi + 8]
call fcn.10015d80
mov eax, dword [ebp - 0x10c]
add esp, 0x10
mov edx, dword [esi]
mov dword [esi + 8], eax
mov dword [esi + 4], edi
mov edi, dword [ebp - 0x120]
mov eax, dword [esi + 8]
mov ecx, dword [ebp - 0x11c]
mov dword [eax + edx*4], ecx
inc dword [esi]
mov eax, dword [ebp - 0x12c]
mov ecx, dword [ebp - 0x114]
inc edi
rol ebx, 1
mov dword [ebp - 0x120], edi
cmp edi, 0x20
jl 0x10023761
mov edx, dword [ebp - 0x118]
add edx, 4
add ecx, 0x20
mov dword [ebp - 0x118], edx
mov dword [ebp - 0x114], ecx
cmp edx, dword [ebp - 0x108]
jb 0x10023744
mov eax, dword [esi - 4]
test eax, eax
je 0x10023867
push eax
mov dword [esi - 8], 0
mov dword [esi - 0xc], 0
call fcn.10015d80
add esp, 4
mov dword [esi - 4], 0
add esi, 0xc4
sub dword [ebp - 0x138], 1
jne 0x100236e0
mov edi, dword [ebp - 0x134]
mov esi, dword [ebp - 0x110]
cmp dword [ebp - 0x128], 0
jle 0x100238c9
mov esi, dword [ebp - 0x128]
lea ebx, [edi + 0x14]
mov eax, dword [ebx]
test eax, eax
je 0x100238bb
push eax
mov dword [ebx - 4], 0
mov dword [ebx - 8], 0
call fcn.10015d80
add esp, 4
mov dword [ebx], 0
add ebx, 0x18
sub esi, 1
jne 0x10023898
mov esi, dword [ebp - 0x110]
test edi, edi
je 0x100238e0
push edi
call fcn.10015d80
add esp, 4
mov dword [ebp - 0x134], 0
xor ebx, ebx
mov dword [ebp - 0x138], ebx
mov dword [ebp - 0x120], ebx
test esi, esi
jle 0x1002393b
cmp esi, 8
mov edi, esi
mov eax, 8
cmovl edi, eax
test edi, edi
jle 0x10023933
mov eax, edi
shl eax, 4
push eax
call fcn.10015d50
lea ecx, [edi*8]
mov ebx, eax
sub ecx, edi
mov dword [ebp - 0x138], ebx
shl ecx, 2
push ecx
call fcn.10015d50
add esp, 8
mov dword [ebp - 0x120], eax
jmp 0x1002393b
xor ebx, ebx
mov dword [ebp - 0x138], ebx
mov eax, esi
shl eax, 4
push eax
push 0
push ebx
call sub.VCRUNTIME140.dll_memset
lea eax, [esi*8]
sub eax, esi
shl eax, 2
push eax
push 0
push dword [ebp - 0x120]
call sub.VCRUNTIME140.dll_memset
mov edx, dword [ebp - 0x130]
xor eax, eax
xor ecx, ecx
mov dword [ebp - 0x108], eax
add esp, 0x18
mov dword [ebp - 0x110], ecx
xor ebx, ebx
test edx, edx
jle 0x10023c7a
mov edi, dword [ebp - 0x124]
xor esi, esi
add edi, 0x98
mov dword [ebp - 0x114], esi
mov dword [ebp - 0x128], edi
mov dword [ebp - 0x10c], edx
nop word [eax + eax]
mov edx, dword [edi + 0x10]
test edx, edx
je 0x10023c58
mov eax, ecx
add dword [ebp - 0x110], edx
mov ecx, dword [ebp - 0x120]
shl eax, 4
add eax, dword [ebp - 0x138]
mov dword [edi - 4], eax
lea eax, [ebx*8]
sub eax, ebx
add ebx, edx
mov dword [ebp - 0x11c], ebx
lea ecx, [ecx + eax*4]
mov eax, dword [ebp - 0x140]
mov dword [edi], ecx
mov ebx, dword [eax + 0x5c]
mov eax, dword [ebx + esi + 0x10]
add ebx, esi
mov dword [edi - 0x1c], eax
mov eax, dword [edi + 0x28]
mov dword [edi - 0x14], eax
mov eax, dword [edi + 0x20]
mov dword [edi - 0x18], 0
mov dword [edi - 0x10], eax
mov dword [edi - 0xc], ecx
mov al, byte [ebx + 0x14]
mov byte [edi - 8], al
mov al, byte [ebx + 0x18]
mov byte [edi - 7], al
movss xmm2, dword [ebx + 0x10]
comiss xmm2, dword [0x10168634]
mov dword [ebp - 0x118], ebx
jbe 0x10023a9d
mov ebx, dword [edi - 0x7c]
mov eax, 0x100
mov edi, dword [edi - 0x94]
cwde
movzx ecx, byte [ebx + edi + 4]
movzx edx, byte [ebx + edi + 5]
movsx ecx, cx
imul ecx, eax
mov eax, 0x100
cwde
add dx, cx
movzx ecx, byte [ebx + edi + 6]
movsx ecx, cx
imul ecx, eax
movsx esi, dx
movzx edx, byte [ebx + edi + 7]
mov edi, dword [ebp - 0x128]
mov ebx, dword [ebp - 0x118]
add dx, cx
movsx eax, dx
sub esi, eax
movd xmm0, esi
cvtdq2ps xmm0, xmm0
mov esi, dword [ebp - 0x114]
divss xmm2, xmm0
movss dword [ebp - 0x12c], xmm2
jmp 0x10023ada
mov edx, dword [edi - 0x84]
mov eax, dword [edi - 0x94]
movss xmm1, dword [0x1016870c]
movzx ecx, byte [edx + eax + 0x12]
movzx eax, byte [edx + eax + 0x13]
shl ecx, 8
add ecx, eax
movd xmm0, ecx
cvtdq2ps xmm0, xmm0
divss xmm1, xmm0
mulss xmm1, xmm2
movaps xmm2, xmm1
movss dword [ebp - 0x12c], xmm1
mov eax, dword [ebp - 0x140]
mov ecx, dword [eax + 0x10]
movss xmm0, dword [eax + 0x14]
mov dword [ebp - 0x150], ecx
xor ecx, ecx
movss dword [ebp - 0x154], xmm0
movss xmm0, dword [eax + 0x18]
movss dword [ebp - 0x13c], xmm0
mov dword [ebp - 0x128], ecx
cmp dword [edi + 0x20], ecx
jle 0x10023c46
mov dword [ebp - 0x118], ecx
nop word [eax + eax]
mov eax, dword [edi + 0x28]
lea esi, [edi - 0x98]
push dword [eax + ecx*4]
push esi
call fcn.1002cce0
movd xmm0, dword [ebx + 0x18]
lea ecx, [ebp - 0x144]
add esp, 8
cvtdq2ps xmm0, xmm0
push ecx
lea ecx, [ebp - 0x14c]
push ecx
lea ecx, [ebp - 0x158]
mulss xmm0, xmm2
push ecx
lea ecx, [ebp - 0x148]
push ecx
sub esp, 0x10
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
movss dword [esp + 4], xmm0
movd xmm0, dword [ebx + 0x14]
cvtdq2ps xmm0, xmm0
mulss xmm0, xmm2
movss dword [esp], xmm0
push eax
push esi
call fcn.1002d080
mov eax, dword [ebx + 0x14]
add esp, 0x28
sub eax, dword [ebp - 0x148]
dec eax
mov edx, dword [ebp - 0x118]
add eax, dword [ebp - 0x14c]
add eax, dword [ebp - 0x150]
movss xmm2, dword [ebp - 0x12c]
movd xmm0, eax
mov eax, dword [edi - 4]
cvtdq2ps xmm0, xmm0
addss xmm0, dword [ebp - 0x154]
cvttss2si ecx, xmm0
mov word [edx + eax + 4], cx
mov eax, dword [ebx + 0x18]
sub eax, dword [ebp - 0x158]
dec eax
add eax, dword [ebp - 0x144]
add eax, dword [ebp - 0x150]
movd xmm0, eax
mov eax, dword [edi - 4]
cvtdq2ps xmm0, xmm0
addss xmm0, dword [ebp - 0x13c]
cvttss2si ecx, xmm0
mov word [edx + eax + 6], cx
mov eax, dword [edi - 4]
movzx ecx, word [edx + eax + 6]
movzx eax, word [edx + eax + 4]
add edx, 0x10
imul ecx, eax
mov eax, dword [ebp - 0x108]
mov dword [ebp - 0x118], edx
add eax, ecx
mov ecx, dword [ebp - 0x128]
inc ecx
mov dword [ebp - 0x108], eax
mov dword [ebp - 0x128], ecx
cmp ecx, dword [edi + 0x20]
jl 0x10023b20
mov esi, dword [ebp - 0x114]
jmp 0x10023c4c
mov eax, dword [ebp - 0x108]
mov ecx, dword [ebp - 0x110]
mov ebx, dword [ebp - 0x11c]
add edi, 0xc4
add esi, 0x78
sub dword [ebp - 0x10c], 1
mov dword [ebp - 0x128], edi
mov dword [ebp - 0x114], esi
jne 0x100239b0
mov ebx, dword [ebp - 0x140]
mov ecx, dword [ebx + 0xc]
mov dword [ebx + 0x28], 0
test ecx, ecx
jg 0x10023cd9
movd xmm0, eax
cvtdq2ps xmm0, xmm0
sqrtss xmm0, xmm0
cvttss2si eax, xmm0
inc eax
movd xmm0, eax
cvtdq2ps xmm0, xmm0
comiss xmm0, dword [0x1016c2f0]
jb 0x10023cb5
mov ecx, 0x1000
jmp 0x10023cd9
comiss xmm0, dword [0x1016c2ec]
jb 0x10023cc5
mov ecx, 0x800
jmp 0x10023cd9
comiss xmm0, dword [0x1016c2e8]
mov ecx, 0x200
mov eax, 0x400
cmovae ecx, eax
push 0x2c
lea eax, [ebp - 0x184]
mov dword [ebx + 0x24], ecx
push 0
push eax
call sub.VCRUNTIME140.dll_memset
mov eax, dword [ebx + 0x10]
mov edi, dword [ebx + 0x24]
push 0x30
mov dword [ebp - 0x10c], eax
mov dword [ebp - 0x13c], edi
call fcn.10015d50
sub edi, dword [ebp - 0x10c]
mov esi, eax
mov dword [ebp - 0x108], esi
lea ecx, [edi*8]
push ecx
call fcn.10015d50
add esp, 0x14
test esi, esi
je 0x10023d8c
test eax, eax
je 0x10023d89
mov ecx, dword [ebp - 0x10c]
mov edx, dword [ebp - 0x13c]
push edi
push eax
mov dword [ebp - 0x15c], eax
mov eax, 0x8000
sub eax, ecx
mov dword [ebp - 0x17c], edx
push eax
push edi
push esi
mov dword [ebp - 0x180], esi
mov dword [ebp - 0x170], ecx
mov dword [ebp - 0x174], edx
mov dword [ebp - 0x168], 1
mov dword [ebp - 0x164], 1
mov dword [ebp - 0x16c], 0
call fcn.1002c990
add esp, 0x14
jmp 0x10023da5
push esi
jmp 0x10023d91
test eax, eax
je 0x10023d99
push eax
call fcn.10015d80
add esp, 4
mov eax, dword [ebp - 0x180]
mov dword [ebp - 0x108], eax
mov edi, dword [ebx + 0x48]
xor eax, eax
mov dword [ebp - 0x110], eax
test edi, edi
jle 0x10023dd7
cmp edi, 8
mov ecx, edi
mov edx, 8
cmovl ecx, edx
test ecx, ecx
jle 0x10023dd7
shl ecx, 4
push ecx
call fcn.10015d50
add esp, 4
mov dword [ebp - 0x110], eax
mov ecx, edi
shl ecx, 4
push ecx
push 0
push eax
call sub.VCRUNTIME140.dll_memset
xor esi, esi
add esp, 0xc
cmp dword [ebx + 0x48], esi
jle 0x10023e24
mov edx, dword [ebp - 0x110]
xor ecx, ecx
add edx, 6
nop word [eax + eax]
mov eax, dword [ebx + 0x50]
lea ecx, [ecx + 0x1c]
inc esi
lea edx, [edx + 0x10]
movzx eax, word [ecx + eax - 0x18]
mov word [edx - 0x12], ax
mov eax, dword [ebx + 0x50]
movzx eax, word [ecx + eax - 0x16]
mov word [edx - 0x10], ax
cmp esi, dword [ebx + 0x48]
jl 0x10023e00
push edi
push dword [ebp - 0x110]
push dword [ebp - 0x108]
call fcn.1002cb00
add esp, 0xc
test edi, edi
jle 0x10023e83
mov edx, dword [ebp - 0x110]
xor esi, esi
add edx, 0xa
cmp dword [edx + 2], 0
je 0x10023e78
mov ecx, dword [ebx + 0x50]
movzx eax, word [edx - 2]
mov word [esi + ecx + 8], ax
mov ecx, dword [ebx + 0x50]
movzx eax, word [edx]
mov word [esi + ecx + 0xa], ax
movzx ecx, word [edx - 4]
movzx eax, word [edx]
add ecx, eax
cmp dword [ebx + 0x28], ecx
cmovge ecx, dword [ebx + 0x28]
mov dword [ebx + 0x28], ecx
add esi, 0x1c
add edx, 0x10
sub edi, 1
jne 0x10023e48
mov eax, dword [ebp - 0x110]
test eax, eax
je 0x10023e96
push eax
call fcn.10015d80
add esp, 4
mov esi, dword [ebp - 0x130]
test esi, esi
jle 0x10023f1d
mov esi, dword [ebp - 0x124]
mov eax, dword [ebp - 0x130]
add esi, 0xa8
mov dword [ebp - 0x10c], eax
mov eax, dword [esi]
test eax, eax
je 0x10023f08
push eax
push dword [esi - 0x14]
push dword [ebp - 0x108]
call fcn.1002cb00
xor edi, edi
add esp, 0xc
cmp dword [esi], edi
jle 0x10023f08
xor edx, edx
nop dword [eax + eax]
mov eax, dword [esi - 0x14]
cmp dword [edx + eax + 0xc], 0
je 0x10023f00
movzx ecx, word [edx + eax + 0xa]
movzx eax, word [edx + eax + 6]
add ecx, eax
cmp dword [ebx + 0x28], ecx
cmovge ecx, dword [ebx + 0x28]
mov dword [ebx + 0x28], ecx
inc edi
add edx, 0x10
cmp edi, dword [esi]
jl 0x10023ee0
add esi, 0xc4
sub dword [ebp - 0x10c], 1
jne 0x10023eb8
mov esi, dword [ebp - 0x130]
test byte [ebx + 4], 1
mov eax, dword [ebx + 0x28]
jne 0x10023f4b
lea ecx, [eax - 1]
mov eax, ecx
sar eax, 1
or ecx, eax
mov eax, ecx
sar eax, 2
or ecx, eax
mov eax, ecx
sar eax, 4
or ecx, eax
mov eax, ecx
sar eax, 8
or ecx, eax
mov eax, ecx
sar eax, 0x10
or eax, ecx
movss xmm1, dword [0x1016869c]
lea ecx, [eax + 1]
mov eax, dword [ebx + 0x24]
movaps xmm2, xmm1
mov dword [ebx + 0x28], ecx
movd xmm0, eax
cvtdq2ps xmm0, xmm0
imul eax, ecx
divss xmm2, xmm0
push eax
movd xmm0, ecx
cvtdq2ps xmm0, xmm0
movss dword [ebx + 0x2c], xmm2
divss xmm1, xmm0
movss dword [ebx + 0x30], xmm1
call fcn.10015d50
mov ecx, dword [ebx + 0x28]
imul ecx, dword [ebx + 0x24]
mov dword [ebx + 0x1c], eax
push ecx
push 0
push eax
call sub.VCRUNTIME140.dll_memset
mov eax, dword [ebx + 0x1c]
add esp, 0x10
mov dword [ebp - 0x160], eax
mov eax, dword [ebx + 0x28]
mov dword [ebp - 0x178], eax
test esi, esi
jle 0x10024164
mov edi, dword [ebp - 0x124]
xor eax, eax
mov dword [ebp - 0x11c], eax
mov ecx, esi
mov dword [ebp - 0x110], edi
mov dword [ebp - 0x12c], esi
mov esi, dword [ebx + 0x5c]
add esi, eax
cmp dword [edi + 0xa8], 0
je 0x1002412e
push dword [edi + 0x94]
lea eax, [edi + 0x7c]
push 1
push eax
lea eax, [ebp - 0x184]
push edi
push eax
call fcn.1002d660
movss xmm1, dword [esi + 0x44]
add esp, 0x14
ucomiss xmm1, dword [0x1016869c]
movss dword [ebp - 0x13c], xmm1
lahf
test ah, 0x44
jnp 0x10024118
xor esi, esi
movd xmm0, esi
mov eax, esi
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x10168790]
cvtpd2ps xmm0, xmm0
mulss xmm0, xmm1
call fcn.101045b0
movss xmm1, dword [ebp - 0x13c]
mov edx, 0xff
cmp eax, edx
movzx ecx, al
cmovbe edx, ecx
mov byte [ebp + esi - 0x104], dl
inc esi
cmp esi, 0x100
jb 0x10024022
mov ecx, dword [edi + 0x94]
xor eax, eax
mov dword [ebp - 0x114], eax
cmp dword [edi + 0xa8], eax
jle 0x10024118
lea ebx, [ecx + 4]
cmp dword [ebx + 8], 0
je 0x100240fc
mov ecx, dword [ebp - 0x140]
movzx edx, word [ebx + 6]
movzx edi, word [ebx + 2]
movzx esi, word [ebx]
mov eax, dword [ecx + 0x24]
imul edx, eax
mov dword [ebp - 0x10c], eax
movzx eax, word [ebx + 4]
add edx, eax
add edx, dword [ecx + 0x1c]
test edi, edi
je 0x100240f0
mov eax, dword [ebp - 0x10c]
nop dword [eax]
xor ecx, ecx
test esi, esi
je 0x100240e9
nop word [eax + eax]
movzx eax, byte [ecx + edx]
mov al, byte [ebp + eax - 0x104]
mov byte [ecx + edx], al
inc ecx
cmp ecx, esi
jl 0x100240d0
mov eax, dword [ebp - 0x10c]
dec edi
add edx, eax
test edi, edi
jg 0x100240c0
mov edi, dword [ebp - 0x110]
mov eax, dword [ebp - 0x114]
inc eax
add ebx, 0x10
mov dword [ebp - 0x114], eax
cmp eax, dword [edi + 0xa8]
jl 0x10024087
mov ebx, dword [ebp - 0x140]
mov eax, dword [ebp - 0x11c]
mov ecx, dword [ebp - 0x12c]
mov dword [edi + 0x94], 0
add eax, 0x78
add edi, 0xc4
sub ecx, 1
mov dword [ebp - 0x11c], eax
mov dword [ebp - 0x110], edi
mov dword [ebp - 0x12c], ecx
jne 0x10023fd4
mov eax, dword [ebp - 0x180]
mov esi, dword [ebp - 0x130]
mov dword [ebp - 0x108], eax
push dword [ebp - 0x15c]
call fcn.10015d80
push dword [ebp - 0x108]
call fcn.10015d80
mov eax, dword [ebp - 0x138]
add esp, 8
test eax, eax
je 0x1002419a
push eax
call fcn.10015d80
add esp, 4
mov dword [ebp - 0x138], 0
test esi, esi
jle 0x10024680
mov ecx, dword [ebp - 0x124]
xor edx, edx
movss xmm3, dword [0x10168670]
add ecx, 4
mov eax, esi
mov dword [ebp - 0x108], edx
mov dword [ebp - 0x110], ecx
mov dword [ebp - 0x118], eax
nop dword [eax]
cmp dword [ecx + 0xa4], 0
je 0x10024616
mov edi, dword [ecx + 0x18]
mov esi, dword [ecx]
mov eax, dword [ebx + 0x5c]
add eax, edx
mov dword [ebp - 0x128], eax
movzx ecx, byte [edi + esi + 6]
movzx edx, byte [edi + esi + 7]
mov eax, dword [eax + 0x74]
mov dword [ebp - 0x11c], eax
mov eax, 0x100
cwde
movsx ecx, cx
imul ecx, eax
add dx, cx
movzx ecx, byte [edi + esi + 4]
movsx eax, dx
movzx edx, byte [edi + esi + 5]
mov edi, dword [ebp - 0x128]
mov dword [ebp - 0x10c], eax
mov eax, 0x100
cwde
movsx ecx, cx
movss xmm1, dword [edi + 0x10]
imul ecx, eax
mov esi, dword [ebp - 0x11c]
add dx, cx
movsx eax, dx
mov dword [ebp - 0x13c], eax
sub eax, dword [ebp - 0x10c]
cmp byte [edi + 0x3c], 0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
divss xmm1, xmm0
movss dword [ebp - 0x144], xmm1
jne 0x10024308
mov ecx, esi
call fcn.100229f0
movd xmm1, dword [ebp - 0x13c]
xorps xmm4, xmm4
mov eax, dword [edi + 0x10]
cvtdq2ps xmm1, xmm1
mov dword [esi + 0x10], eax
xor eax, eax
mov dword [esi + 0x3c], edi
mov dword [esi + 0x38], ebx
movss xmm3, dword [0x10168670]
comiss xmm1, xmm4
mulss xmm1, dword [ebp - 0x144]
seta al
lea eax, [eax*2 - 1]
movd xmm0, eax
cvtdq2ps xmm0, xmm0
addss xmm0, xmm1
movd xmm1, dword [ebp - 0x10c]
cvtdq2ps xmm1, xmm1
cvttss2si eax, xmm0
movd xmm2, eax
xor eax, eax
comiss xmm1, xmm4
mulss xmm1, dword [ebp - 0x144]
seta al
cvtdq2ps xmm2, xmm2
lea eax, [eax*2 - 1]
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [esi + 0x4c], xmm2
addss xmm0, xmm1
cvttss2si eax, xmm0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [esi + 0x50], xmm0
jmp 0x1002430d
movss xmm2, dword [esi + 0x4c]
inc word [esi + 0x40]
addss xmm2, xmm3
mov ecx, dword [ebp - 0x110]
xor edx, edx
movss xmm4, dword [edi + 0x28]
movss dword [ebp - 0x194], xmm4
mov dword [ebp - 0x12c], edx
cvttss2si eax, xmm2
movd xmm0, eax
cvtdq2ps xmm0, xmm0
addss xmm0, dword [edi + 0x2c]
movss dword [ebp - 0x154], xmm0
cmp dword [ecx + 0xa4], edx
jle 0x1002460a
xor eax, eax
mov dword [ebp - 0x114], eax
nop dword [eax]
mov eax, dword [ecx + 0xbc]
movss xmm0, dword [edi + 0x34]
movss dword [ebp - 0x11c], xmm0
mov eax, dword [eax + edx*4]
mov edx, dword [ecx + 0x94]
mov ecx, dword [ebp - 0x114]
mov dword [ebp - 0x13c], eax
movss xmm1, dword [edx + ecx + 0x10]
comiss xmm0, xmm1
ja 0x100243b5
movss xmm0, dword [edi + 0x38]
minss xmm0, xmm1
movss dword [ebp - 0x10c], xmm4
ucomiss xmm1, xmm0
movss dword [ebp - 0x11c], xmm0
lahf
test ah, 0x44
jnp 0x100243da
cmp byte [edi + 0x1c], 0
subss xmm0, xmm1
mulss xmm0, xmm3
je 0x100243ce
cvttss2si eax, xmm0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
addss xmm0, xmm4
movss dword [ebp - 0x10c], xmm0
movd xmm0, dword [ebx + 0x24]
movss xmm1, dword [0x1016869c]
cvtdq2ps xmm0, xmm0
movzx eax, word [edx + ecx]
movaps xmm2, xmm1
divss xmm2, xmm0
movd xmm0, dword [ebx + 0x28]
cvtdq2ps xmm0, xmm0
divss xmm1, xmm0
movss xmm0, dword [edx + ecx + 8]
movss dword [ebp - 0x144], xmm0
movss xmm0, dword [edx + ecx + 0xc]
movss dword [ebp - 0x158], xmm0
movss xmm0, dword [edx + ecx + 0x14]
movss dword [ebp - 0x150], xmm0
movss xmm0, dword [edx + ecx + 0x18]
movss dword [ebp - 0x14c], xmm0
movd xmm0, eax
movzx eax, word [edx + ecx + 2]
cvtdq2ps xmm0, xmm0
mulss xmm0, xmm2
movss dword [ebp - 0x148], xmm0
movd xmm0, eax
movzx eax, word [edx + ecx + 4]
cvtdq2ps xmm0, xmm0
mulss xmm0, xmm1
movss dword [ebp - 0x188], xmm0
movd xmm0, eax
movzx eax, word [edx + ecx + 6]
lea ecx, [esi + 0x20]
cvtdq2ps xmm0, xmm0
mulss xmm0, xmm2
movss dword [ebp - 0x18c], xmm0
movd xmm0, eax
mov eax, dword [esi + 0x20]
cvtdq2ps xmm0, xmm0
inc eax
push eax
mulss xmm0, xmm1
movss dword [ebp - 0x190], xmm0
call fcn.10026cf0
mov eax, dword [esi + 0x20]
mov edi, dword [esi + 0x28]
movss xmm0, dword [ebp - 0x144]
addss xmm0, dword [ebp - 0x10c]
lea edx, [eax + eax*4]
movss xmm3, dword [0x10168670]
mov eax, dword [ebp - 0x13c]
mov word [edi + edx*8 - 0x28], ax
movss dword [edi + edx*8 - 0x20], xmm0
movss xmm0, dword [ebp - 0x158]
addss xmm0, dword [ebp - 0x154]
movss dword [edi + edx*8 - 0x1c], xmm0
movss xmm0, dword [ebp - 0x150]
addss xmm0, dword [ebp - 0x10c]
movss dword [edi + edx*8 - 0x18], xmm0
movss xmm0, dword [ebp - 0x14c]
addss xmm0, dword [ebp - 0x154]
movss dword [edi + edx*8 - 0x14], xmm0
movss xmm0, dword [ebp - 0x148]
movss dword [edi + edx*8 - 0x10], xmm0
movss xmm0, dword [ebp - 0x188]
movss dword [edi + edx*8 - 0xc], xmm0
movss xmm0, dword [ebp - 0x18c]
movss dword [edi + edx*8 - 8], xmm0
movss xmm0, dword [ebp - 0x190]
movss dword [edi + edx*8 - 4], xmm0
mov eax, dword [esi + 0x3c]
movss xmm0, dword [ebp - 0x11c]
addss xmm0, dword [eax + 0x20]
movss dword [edi + edx*8 - 0x24], xmm0
mov eax, dword [esi + 0x3c]
cmp byte [eax + 0x1c], 0
je 0x10024581
addss xmm0, xmm3
cvttss2si eax, xmm0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [edi + edx*8 - 0x24], xmm0
mov eax, dword [esi + 0x38]
mov byte [esi + 0x58], 1
movss xmm0, dword [edi + edx*8 - 4]
subss xmm0, dword [edi + edx*8 - 0xc]
movd xmm1, dword [eax + 0x28]
cvtdq2ps xmm1, xmm1
add dword [ebp - 0x114], 0x1c
movss xmm4, dword [ebp - 0x194]
mulss xmm1, xmm0
movss xmm0, dword [edi + edx*8 - 8]
subss xmm0, dword [edi + edx*8 - 0x10]
addss xmm1, dword [0x1016c2d4]
mov edx, dword [ebp - 0x12c]
mov edi, dword [ebp - 0x128]
inc edx
mov dword [ebp - 0x12c], edx
cvttss2si ecx, xmm1
movd xmm1, dword [eax + 0x24]
cvtdq2ps xmm1, xmm1
mulss xmm1, xmm0
addss xmm1, dword [0x1016c2d4]
cvttss2si eax, xmm1
imul ecx, eax
add dword [esi + 0x54], ecx
mov ecx, dword [ebp - 0x110]
cmp edx, dword [ecx + 0xa4]
jl 0x10024360
mov eax, dword [ebp - 0x118]
mov edx, dword [ebp - 0x108]
add ecx, 0xc4
add edx, 0x78
sub eax, 1
mov dword [ebp - 0x110], ecx
mov dword [ebp - 0x108], edx
mov dword [ebp - 0x118], eax
jne 0x100241d0
mov esi, dword [ebp - 0x124]
mov ebx, dword [ebp - 0x130]
add esi, 0xb4
nop dword [eax]
mov eax, dword [esi + 0xc]
test eax, eax
je 0x10024660
push eax
call fcn.10015d80
add esp, 4
mov eax, dword [esi]
test eax, eax
je 0x1002466f
push eax
call fcn.10015d80
add esp, 4
add esi, 0xc4
sub ebx, 1
jne 0x10024650
mov ebx, dword [ebp - 0x140]
push ebx
call fcn.10022cc0
mov eax, dword [ebp - 0x120]
add esp, 4
mov bl, 1
test eax, eax
je 0x1002469e
push eax
call fcn.10015d80
add esp, 4
mov eax, dword [ebp - 0x138]
test eax, eax
je 0x100246b1
push eax
call fcn.10015d80
add esp, 4
mov edi, dword [ebp - 0x134]
test edi, edi
je 0x100246c4
push edi
call fcn.10015d80
add esp, 4
mov eax, dword [ebp - 0x124]
test eax, eax
je 0x100246d7
push eax
call fcn.10015d80
add esp, 4
mov ecx, dword [ebp - 4]
mov al, bl
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10104522
mov esp, ebp
pop ebp
ret