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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xf4c
mov eax, dword [0x10056240]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, ecx
xorps xmm0, xmm0
push esi
push edi
mov dword [ebp - 0xf48], ebx
comiss xmm0, dword [ebx + 0x24]
jae 0x1002da2f
comiss xmm0, dword [ebx + 0x28]
jae 0x1002da2f
mov esi, dword [0x10056a60]
test esi, esi
je 0x1002d1f4
mov esi, dword [esi + 0x78]
jmp 0x1002d1f6
xor esi, esi
mov ecx, dword [esi + 0xc]
lea eax, [esi + 0x38]
mov edi, dword [esi + 4]
mov dword [ebp - 0xf34], esi
mov dword [ebp - 0xf38], edi
mov dword [ebp - 0xf2c], eax
test ecx, ecx
je 0x1002d22d
mov eax, dword [eax]
cmp eax, dword [ebx + 0xc]
jge 0x1002d289
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
lea edx, [esi + 0xc]
mov dword [edx], 0
jmp 0x1002d236
mov dword [ebp - 0xf2c], eax
lea edx, [esi + 0xc]
mov eax, dword [ebx + 0xc]
mov ecx, dword [ebp - 0xf2c]
add eax, 0x1388
push edx
push 0
mov dword [ebp - 8], 0
lea edx, [ebp - 0x1c]
mov dword [ecx], eax
lea eax, [eax + eax*4]
mov ecx, dword [esi]
shl eax, 2
mov dword [ebp - 0x18], 2
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x14], 1
mov dword [ebp - 0x10], 0x10000
mov dword [ebp - 0xc], 0
mov eax, dword [ecx]
push edx
push ecx
call dword [eax + 0xc]
test eax, eax
js 0x1002da2f
mov ecx, dword [esi + 0x10]
test ecx, ecx
je 0x1002d2a5
mov eax, dword [esi + 0x3c]
cmp eax, dword [ebx + 8]
jge 0x1002d2ec
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov dword [esi + 0x10], 0
mov eax, dword [ebx + 8]
lea edx, [esi + 0x10]
mov ecx, dword [esi]
add eax, 0x2710
push edx
mov dword [esi + 0x3c], eax
lea edx, [ebp - 0x1c]
add eax, eax
mov dword [ebp - 0x18], 2
xorps xmm0, xmm0
mov dword [ebp - 0x1c], eax
push 0
movlpd qword [ebp - 0xc], xmm0
mov dword [ebp - 0x14], 2
mov dword [ebp - 0x10], 0x10000
mov eax, dword [ecx]
push edx
push ecx
call dword [eax + 0xc]
test eax, eax
js 0x1002da2f
mov eax, dword [edi]
lea ecx, [ebp - 0x2c]
push ecx
push 0
push 4
push 0
push dword [esi + 0xc]
push edi
call dword [eax + 0x38]
test eax, eax
jne 0x1002da2f
mov eax, dword [edi]
lea ecx, [ebp - 0x38]
push ecx
push 0
push 4
push 0
push dword [esi + 0x10]
push edi
call dword [eax + 0x38]
test eax, eax
jne 0x1002da2f
cmp dword [ebx + 4], 0
mov ecx, dword [ebp - 0x2c]
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0xf2c], ecx
mov dword [ebp - 0xf30], eax
jle 0x1002d3ac
xor edi, edi
nop dword [eax]
mov eax, dword [ebx + 0x18]
mov esi, dword [eax + edi*4]
mov eax, dword [esi + 0x18]
lea eax, [eax + eax*4]
shl eax, 2
push eax
push dword [esi + 0x20]
push ecx
call sub.VCRUNTIME140.dll_memcpy
mov eax, dword [esi + 0xc]
add esp, 0xc
add eax, eax
push eax
push dword [esi + 0x14]
push dword [ebp - 0xf30]
call sub.VCRUNTIME140.dll_memcpy
mov eax, dword [esi + 0x18]
inc edi
mov ecx, dword [ebp - 0xf2c]
add esp, 0xc
mov edx, dword [ebp - 0xf30]
lea eax, [eax + eax*4]
lea ecx, [ecx + eax*4]
mov eax, dword [esi + 0xc]
mov dword [ebp - 0xf2c], ecx
lea edx, [edx + eax*2]
mov dword [ebp - 0xf30], edx
cmp edi, dword [ebx + 4]
jl 0x1002d340
mov edi, dword [ebp - 0xf38]
mov esi, dword [ebp - 0xf34]
mov eax, dword [edi]
push 0
push dword [esi + 0xc]
push edi
call dword [eax + 0x3c]
mov eax, dword [edi]
push 0
push dword [esi + 0x10]
push edi
call dword [eax + 0x3c]
mov eax, dword [edi]
lea ecx, [ebp - 0x10]
push ecx
push 0
push 4
push 0
push dword [esi + 0x1c]
push edi
call dword [eax + 0x38]
test eax, eax
jne 0x1002da2f
movss xmm6, dword [ebx + 0x1c]
movss xmm2, dword [0x10052b60]
movaps xmm3, xmm6
addss xmm3, dword [ebx + 0x24]
movss xmm5, dword [ebx + 0x20]
movaps xmm0, xmm2
mov eax, dword [ebp - 0x10]
movaps xmm4, xmm5
addss xmm4, dword [ebx + 0x28]
push 0
movaps xmm1, xmm3
subss xmm1, xmm6
divss xmm0, xmm1
movss dword [eax], xmm0
movaps xmm0, xmm5
mov eax, dword [ebp - 0x10]
subss xmm0, xmm4
mov dword [eax + 4], 0
mov eax, dword [ebp - 0x10]
divss xmm2, xmm0
mov dword [eax + 8], 0
mov eax, dword [ebp - 0x10]
mov dword [eax + 0xc], 0
mov eax, dword [ebp - 0x10]
mov dword [eax + 0x10], 0
mov eax, dword [ebp - 0x10]
movaps xmm0, xmm3
movss dword [eax + 0x14], xmm2
addss xmm0, xmm6
mov eax, dword [ebp - 0x10]
subss xmm6, xmm3
mov dword [eax + 0x18], 0
mov eax, dword [ebp - 0x10]
divss xmm0, xmm6
mov dword [eax + 0x1c], 0
mov eax, dword [ebp - 0x10]
mov dword [eax + 0x20], 0
mov eax, dword [ebp - 0x10]
mov dword [eax + 0x24], 0
mov eax, dword [ebp - 0x10]
mov dword [eax + 0x28], 0x3f000000
mov eax, dword [ebp - 0x10]
mov dword [eax + 0x2c], 0
mov eax, dword [ebp - 0x10]
movss dword [eax + 0x30], xmm0
movaps xmm0, xmm4
addss xmm0, xmm5
mov eax, dword [ebp - 0x10]
subss xmm4, xmm5
divss xmm0, xmm4
movss dword [eax + 0x34], xmm0
mov eax, dword [ebp - 0x10]
mov dword [eax + 0x38], 0x3f000000
mov eax, dword [ebp - 0x10]
mov dword [eax + 0x3c], 0x3f800000
push dword [esi + 0x1c]
mov eax, dword [edi]
push edi
call dword [eax + 0x3c]
push 0xee8
lea eax, [ebp - 0xf20]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov dword [ebp - 0xf24], 0x10
lea ecx, [ebp - 0xf20]
mov dword [ebp - 0xf28], 0x10
mov eax, dword [edi]
push ecx
lea ecx, [ebp - 0xf28]
push ecx
push edi
call dword [eax + 0x180]
mov eax, dword [edi]
lea ecx, [ebp - 0xe20]
push ecx
lea ecx, [ebp - 0xf24]
push ecx
push edi
call dword [eax + 0x17c]
mov eax, dword [edi]
lea ecx, [ebp - 0xca0]
push ecx
push edi
call dword [eax + 0x178]
mov eax, dword [edi]
lea ecx, [ebp - 0xc88]
push ecx
lea ecx, [ebp - 0xc98]
push ecx
lea ecx, [ebp - 0xc9c]
push ecx
push edi
call dword [eax + 0x16c]
mov eax, dword [edi]
lea ecx, [ebp - 0xc84]
push ecx
lea ecx, [ebp - 0xc80]
push ecx
push edi
call dword [eax + 0x170]
mov eax, dword [edi]
lea ecx, [ebp - 0xc7c]
push ecx
push 1
push 0
push edi
call dword [eax + 0x124]
mov eax, dword [edi]
lea ecx, [ebp - 0xc78]
push ecx
push 1
push 0
push edi
call dword [eax + 0x12c]
lea ecx, [ebp - 0xc68]
mov dword [ebp - 0xc60], pe_nt_image_headers32
push ecx
lea ecx, [ebp - 0xc5c]
mov dword [ebp - 0xc64], pe_nt_image_headers32
push ecx
mov dword [ebp - 0xc68], pe_nt_image_headers32
lea ecx, [ebp - 0xc74]
mov eax, dword [edi]
push ecx
push edi
call dword [eax + 0x128]
mov eax, dword [edi]
lea ecx, [ebp - 0xc64]
push ecx
lea ecx, [ebp - 0x85c]
push ecx
lea ecx, [ebp - 0xc70]
push ecx
push edi
call dword [eax + 0x130]
mov eax, dword [edi]
lea ecx, [ebp - 0x50]
push ecx
push 1
push 0
push edi
call dword [eax + 0x120]
mov eax, dword [edi]
lea ecx, [ebp - 0xc60]
push ecx
lea ecx, [ebp - 0x45c]
push ecx
lea ecx, [ebp - 0xc6c]
push ecx
push edi
call dword [eax + 0x148]
mov eax, dword [edi]
lea ecx, [ebp - 0x5c]
push ecx
push edi
call dword [eax + 0x14c]
mov eax, dword [edi]
lea ecx, [ebp - 0x4c]
push ecx
lea ecx, [ebp - 0x40]
push ecx
lea ecx, [ebp - 0x58]
push ecx
push edi
call dword [eax + 0x140]
mov eax, dword [edi]
lea ecx, [ebp - 0x44]
push ecx
lea ecx, [ebp - 0x48]
push ecx
lea ecx, [ebp - 0x54]
push ecx
push 1
push 0
push edi
call dword [eax + 0x13c]
mov eax, dword [edi]
lea ecx, [ebp - 0x3c]
push ecx
push edi
call dword [eax + 0x138]
mov edx, edi
mov ecx, ebx
call fcn.1002d050
movss xmm0, dword [ebx + 0x1c]
xor ecx, ecx
movss xmm4, dword [ebx + 0x20]
xor edx, edx
xor esi, esi
mov dword [ebp - 0xf34], ecx
mov dword [ebp - 0xf2c], edx
movss dword [ebp - 0xf44], xmm0
movss dword [ebp - 0xf30], xmm4
mov dword [ebp - 0xf38], esi
cmp dword [ebx + 4], ecx
jle 0x1002d805
nop dword [eax]
nop word [eax + eax]
mov eax, dword [ebx + 0x18]
mov dword [ebp - 0xf40], 0
mov ebx, dword [eax + esi*4]
cmp dword [ebx], 0
jle 0x1002d7dd
xor eax, eax
mov dword [ebp - 0xf3c], eax
mov esi, dword [ebx + 8]
add esi, eax
mov eax, dword [esi + 0x20]
test eax, eax
je 0x1002d710
cmp eax, 0xfffffff8
jne 0x1002d704
mov ecx, dword [ebp - 0xf48]
mov edx, edi
call fcn.1002d050
jmp 0x1002d799
push esi
push ebx
call eax
add esp, 8
jmp 0x1002d799
movss xmm3, dword [esi]
movss xmm2, dword [esi + 8]
subss xmm3, xmm0
movss xmm1, dword [esi + 4]
subss xmm2, xmm0
movss xmm0, dword [esi + 0xc]
subss xmm1, xmm4
subss xmm0, xmm4
comiss xmm3, xmm2
jae 0x1002d7a1
comiss xmm1, xmm0
jae 0x1002d7a1
cvttss2si eax, xmm3
lea ecx, [ebp - 0x14]
push ecx
push 1
push edi
mov dword [ebp - 0x14], eax
cvttss2si eax, xmm1
mov dword [ebp - 0x10], eax
cvttss2si eax, xmm2
mov dword [ebp - 0xc], eax
cvttss2si eax, xmm0
mov dword [ebp - 8], eax
mov eax, dword [edi]
call dword [eax + 0xb4]
mov eax, dword [esi + 0x10]
lea ecx, [ebp - 0x20]
push ecx
push 1
mov dword [ebp - 0x20], eax
mov eax, dword [edi]
push 0
push edi
call dword [eax + 0x20]
mov eax, dword [esi + 0x14]
add eax, dword [ebp - 0xf2c]
mov ecx, dword [edi]
push eax
mov eax, dword [esi + 0x18]
add eax, dword [ebp - 0xf34]
push eax
push dword [esi + 0x1c]
push edi
call dword [ecx + 0x30]
movss xmm4, dword [ebp - 0xf30]
mov eax, dword [ebp - 0xf40]
add dword [ebp - 0xf3c], 0x28
inc eax
cmp eax, dword [ebx]
movss xmm0, dword [ebp - 0xf44]
mov dword [ebp - 0xf40], eax
mov eax, dword [ebp - 0xf3c]
jl 0x1002d6e1
mov ecx, dword [ebp - 0xf34]
mov edx, dword [ebp - 0xf2c]
mov esi, dword [ebp - 0xf38]
add ecx, dword [ebx + 0xc]
inc esi
add edx, dword [ebx + 0x18]
mov ebx, dword [ebp - 0xf48]
mov dword [ebp - 0xf34], ecx
mov dword [ebp - 0xf2c], edx
mov dword [ebp - 0xf38], esi
cmp esi, dword [ebx + 4]
jl 0x1002d6c0
mov eax, dword [edi]
lea ecx, [ebp - 0xf20]
push ecx
push dword [ebp - 0xf28]
push edi
call dword [eax + 0xb4]
mov eax, dword [edi]
lea ecx, [ebp - 0xe20]
push ecx
push dword [ebp - 0xf24]
push edi
call dword [eax + 0xb0]
push dword [ebp - 0xca0]
mov eax, dword [edi]
push edi
call dword [eax + 0xac]
mov ecx, dword [ebp - 0xca0]
test ecx, ecx
je 0x1002d850
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
push dword [ebp - 0xc88]
mov eax, dword [edi]
lea ecx, [ebp - 0xc98]
push ecx
push dword [ebp - 0xc9c]
push edi
call dword [eax + 0x8c]
mov ecx, dword [ebp - 0xc9c]
test ecx, ecx
je 0x1002d87c
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
push dword [ebp - 0xc84]
mov eax, dword [edi]
push dword [ebp - 0xc80]
push edi
call dword [eax + 0x90]
mov ecx, dword [ebp - 0xc80]
test ecx, ecx
je 0x1002d8a1
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov eax, dword [edi]
lea ecx, [ebp - 0xc7c]
push ecx
push 1
push 0
push edi
call dword [eax + 0x20]
mov ecx, dword [ebp - 0xc7c]
test ecx, ecx
je 0x1002d8c2
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov eax, dword [edi]
lea ecx, [ebp - 0xc78]
push ecx
push 1
push 0
push edi
call dword [eax + 0x28]
mov ecx, dword [ebp - 0xc78]
test ecx, ecx
je 0x1002d8e3
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
push dword [ebp - 0xc68]
mov eax, dword [edi]
lea ecx, [ebp - 0xc5c]
push ecx
push dword [ebp - 0xc74]
push edi
call dword [eax + 0x24]
mov ecx, dword [ebp - 0xc74]
test ecx, ecx
je 0x1002d90c
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov eax, dword [ebp - 0xc68]
xor esi, esi
test eax, eax
je 0x1002d93c
nop dword [eax + eax]
mov ecx, dword [ebp + esi*4 - 0xc5c]
test ecx, ecx
je 0x1002d937
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov eax, dword [ebp - 0xc68]
inc esi
cmp esi, eax
jb 0x1002d920
push dword [ebp - 0xc64]
mov eax, dword [edi]
lea ecx, [ebp - 0x85c]
push ecx
push dword [ebp - 0xc70]
push edi
call dword [eax + 0x2c]
mov ecx, dword [ebp - 0xc70]
test ecx, ecx
je 0x1002d965
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov eax, dword [edi]
lea ecx, [ebp - 0x50]
push ecx
push 1
push 0
push edi
call dword [eax + 0x1c]
mov ecx, dword [ebp - 0x50]
test ecx, ecx
je 0x1002d980
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
push dword [ebp - 0xc60]
mov eax, dword [edi]
lea ecx, [ebp - 0x45c]
push ecx
push dword [ebp - 0xc6c]
push edi
call dword [eax + 0x5c]
mov ecx, dword [ebp - 0xc6c]
test ecx, ecx
je 0x1002d9a9
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov eax, dword [ebp - 0xc64]
xor esi, esi
test eax, eax
je 0x1002d9d1
mov ecx, dword [ebp + esi*4 - 0x85c]
test ecx, ecx
je 0x1002d9cc
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov eax, dword [ebp - 0xc64]
inc esi
cmp esi, eax
jb 0x1002d9b5
push dword [ebp - 0x5c]
mov eax, dword [edi]
push edi
call dword [eax + 0x60]
push dword [ebp - 0x4c]
mov eax, dword [edi]
push dword [ebp - 0x40]
push dword [ebp - 0x58]
push edi
call dword [eax + 0x4c]
mov ecx, dword [ebp - 0x58]
test ecx, ecx
je 0x1002d9f6
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov eax, dword [edi]
lea ecx, [ebp - 0x44]
push ecx
lea ecx, [ebp - 0x48]
push ecx
lea ecx, [ebp - 0x54]
push ecx
push 1
push 0
push edi
call dword [eax + 0x48]
mov ecx, dword [ebp - 0x54]
test ecx, ecx
je 0x1002da19
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
push dword [ebp - 0x3c]
mov eax, dword [edi]
push edi
call dword [eax + 0x44]
mov ecx, dword [ebp - 0x3c]
test ecx, ecx
je 0x1002da2f
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10047b01
mov esp, ebp
pop ebp
ret