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

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff0
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
sub esp, 0x58
push esi
mov esi, dword [0x100cbe88]
push edi
mov dword [ebp - 8], esi
mov edx, dword [esi + 0x40cc]
sub edx, 1
js 0x1000ce39
mov eax, dword [esi + 0x40d4]
lea ecx, [edx + edx*8]
lea eax, [eax + ecx*4]
add eax, 4
nop
mov edi, dword [eax]
test edi, edi
je 0x1000ce31
test dword [edi + 8], 0x8000000
je 0x1000ce31
cmp byte [edi + 0xc3], 0
je 0x1000ce31
cmp byte [edi + 0xca], 0
je 0x1000ce3b
sub eax, 0x24
sub edx, 1
jns 0x1000ce10
xor edi, edi
movss xmm1, dword [esi + 0x4298]
xorps xmm0, xmm0
comiss xmm0, xmm1
jb 0x1000ce58
comiss xmm0, dword [esi + 0x4290]
jae 0x1000d349
mov eax, dword [esi + 0x4284]
test eax, eax
je 0x1000ce6f
cmp byte [eax + 0xc3], 0
je 0x1000ce6f
mov al, 1
jmp 0x1000ce71
xor al, al
test edi, edi
jne 0x1000ce7d
test al, al
je 0x1000d349
xor ecx, ecx
mov dword [ebp - 4], ecx
mov dword [ebp - 0x18], ecx
test edi, edi
je 0x1000cf61
mov edx, dword [0x100cbe88]
mov dword [ebp - 4], edi
mov ecx, dword [edx + 0x3ed4]
mov eax, dword [edx + 0x3ecc]
lea eax, [ecx + eax*4]
cmp ecx, eax
jae 0x1000cebb
nop dword [eax]
cmp dword [ecx], edi
je 0x1000cebb
add ecx, 4
cmp ecx, eax
jb 0x1000ceb0
sub ecx, dword [edx + 0x3ed4]
sar ecx, 2
test ecx, ecx
js 0x1000cf42
mov eax, dword [edx + 0x3ed4]
lea edx, [eax + ecx*4]
mov dword [ebp - 0x14], edx
mov edx, dword [edx]
mov dword [ebp - 0x2c], edx
mov esi, dword [edx + 8]
test esi, 0x1000000
jne 0x1000cf31
mov eax, edx
cmp dword [edx + 0x324], edi
je 0x1000cf00
nop
cmp eax, edi
je 0x1000cf00
mov eax, dword [eax + 0x320]
test eax, eax
jne 0x1000cef0
jmp 0x1000cf3f
cmp byte [edx + 0xc3], 0
je 0x1000cf31
cmp byte [edx + 0xca], 0
jne 0x1000cf31
mov eax, dword [edi + 8]
and esi, 0x2000000
mov edx, dword [ebp - 4]
and eax, 0x2000000
cmp esi, eax
mov dword [ebp - 4], edx
mov eax, edx
cmovbe eax, dword [ebp - 0x2c]
mov dword [ebp - 4], eax
mov edx, dword [ebp - 0x14]
sub edx, 4
sub ecx, 1
mov dword [ebp - 0x14], edx
jns 0x1000ced4
mov esi, dword [ebp - 8]
mov ecx, 0x37
call fcn.10006fa0
mov ecx, dword [ebp - 4]
mov edx, eax
call fcn.1000ca00
mov ecx, dword [edi + 0x2c]
mov dword [ebp - 4], ecx
jmp 0x1000d240
test al, al
je 0x1000d240
mov ecx, 0x36
call fcn.10006fa0
mov ecx, dword [esi + 0x4284]
mov edx, eax
call fcn.1000ca00
mov eax, dword [esi + 0x4288]
mov ecx, eax
test eax, eax
je 0x1000cfc3
mov edx, dword [eax + 0x2c]
test edx, edx
je 0x1000cfc3
mov eax, dword [esi + 0x4284]
cmp edx, dword [eax + 0x2c]
je 0x1000cfc3
movss xmm1, dword [esi + 0x4298]
mov ecx, 0x36
call fcn.10006fa0
mov ecx, dword [esi + 0x4288]
mov edx, eax
call fcn.1000ca00
mov ecx, dword [esi + 0x4288]
mov eax, dword [esi + 0x4284]
mov dword [ebp - 0xc], eax
mov edx, dword [eax + 0x2c]
mov dword [ebp - 4], edx
test ecx, ecx
je 0x1000cfde
mov edx, dword [ecx + 0x2c]
mov dword [ebp - 0x18], edx
jmp 0x1000cfe5
mov dword [ebp - 0x18], 0
movss xmm2, dword [eax + 0x40]
movss xmm3, dword [esi + 0x3ca8]
movaps xmm5, xmm2
addss xmm2, dword [eax + 0x48]
movss xmm1, dword [eax + 0x44]
subss xmm5, xmm3
mov ecx, dword [ebp - 4]
movaps xmm4, xmm1
addss xmm1, dword [eax + 0x4c]
subss xmm4, xmm3
addss xmm2, xmm3
movss dword [ebp - 0x24], xmm5
addss xmm1, xmm3
movss dword [ebp - 0x2c], xmm4
movaps xmm0, xmm2
movss dword [ebp - 0x10], xmm2
subss xmm0, xmm5
movss dword [ebp - 0x14], xmm1
comiss xmm0, dword [ecx + 0x10]
jb 0x1000d07b
movaps xmm0, xmm1
subss xmm0, xmm4
comiss xmm0, dword [ecx + 0x14]
jb 0x1000d07b
xorps xmm3, xmmword [0x1004ffb0]
subss xmm3, dword [0x1004fb00]
subss xmm5, xmm3
subss xmm4, xmm3
addss xmm2, xmm3
addss xmm1, xmm3
movss dword [ebp - 0x24], xmm5
movss dword [ebp - 0x2c], xmm4
movss dword [ebp - 0x10], xmm2
movss dword [ebp - 0x14], xmm1
mov edx, dword [eax + 0x288]
mov dword [ebp - 0x1c], edx
cmp dword [edx], 0
jne 0x1000d09f
mov ecx, edx
call fcn.1002e810
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 4]
mov edx, dword [eax + 0x288]
mov dword [ebp - 0x1c], edx
movss xmm2, dword [ecx + 8]
movss xmm1, dword [ecx + 0xc]
movaps xmm0, xmm2
addss xmm0, dword [ecx + 0x10]
movaps xmm3, xmm1
movss dword [ebp - 0x50], xmm2
addss xmm3, dword [ecx + 0x14]
movss dword [ebp - 0x4c], xmm1
comiss xmm2, xmm0
movss dword [ebp - 0x48], xmm0
movss dword [ebp - 0x44], xmm3
jb 0x1000d0d7
movss dword [ebp - 0x48], xmm2
comiss xmm1, xmm3
jb 0x1000d0e1
movss dword [ebp - 0x44], xmm1
mov eax, dword [edx + 0x3c]
lea ecx, [edx + 0x3c]
cmp eax, dword [ecx + 4]
jne 0x1000d11f
lea edx, [eax + 1]
mov eax, dword [ecx + 4]
mov dword [ebp - 0x34], edx
test eax, eax
je 0x1000d106
cdq
sub eax, edx
mov edx, dword [ebp - 0x34]
sar eax, 1
add eax, dword [ecx + 4]
jmp 0x1000d10b
mov eax, 8
cmp eax, edx
cmovg edx, eax
push edx
call fcn.10035ee0
mov edx, dword [ebp - 0x1c]
mov eax, dword [edx + 0x3c]
lea ecx, [edx + 0x3c]
movaps xmm0, xmmword [ebp - 0x50]
shl eax, 4
add eax, dword [ecx + 8]
movups xmmword [eax], xmm0
inc dword [ecx]
mov ecx, edx
movups xmmword [edx + 0x60], xmm0
call fcn.1002e8a0
mov eax, dword [ebp - 0xc]
mov ecx, 0x35
movss xmm1, dword [esi + 0x4290]
mov edx, dword [eax + 0x288]
mov dword [ebp - 0x1c], edx
call fcn.10006fa0
mov ecx, eax
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x34], ecx
movss xmm3, dword [eax + 0x78]
test ecx, 0xff000000
je 0x1000d211
test byte [edx + 0x24], 1
lea eax, [ebp - 0x30]
movss xmm0, dword [0x1004fabc]
mov ecx, edx
movss xmm4, dword [ebp - 0x24]
movss xmm2, dword [ebp - 0x2c]
addss xmm4, xmm0
movss xmm1, dword [ebp - 0x10]
addss xmm2, xmm0
push 0
push eax
lea eax, [ebp - 0x28]
movss dword [ebp - 0x28], xmm4
movss dword [ebp - 0x24], xmm2
push eax
je 0x1000d1bf
subss xmm1, xmm0
movss dword [ebp - 0x30], xmm1
movss xmm1, dword [ebp - 0x14]
subss xmm1, xmm0
jmp 0x1000d1d9
subss xmm1, dword [0x1004fab8]
movss dword [ebp - 0x30], xmm1
movss xmm1, dword [ebp - 0x14]
subss xmm1, dword [0x1004fab8]
movss dword [ebp - 0x2c], xmm1
call fcn.100306c0
push ecx
mov ecx, dword [ebp - 0x1c]
mov dword [esp], 0x40400000
push 1
push dword [ebp - 0x34]
push dword [ecx + 0x54]
push dword [ecx + 0x5c]
call fcn.1002ed90
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0xc]
mov dword [edx + 0x54], 0
mov edx, dword [eax + 0x288]
mov ecx, dword [edx + 0x3c]
sub ecx, 1
mov dword [edx + 0x3c], ecx
jne 0x1000d224
mov eax, dword [edx + 0x2c]
add eax, 0x18
jmp 0x1000d22f
mov eax, dword [edx + 0x44]
shl ecx, 4
add eax, 0xfffffff0
add eax, ecx
movups xmm0, xmmword [eax]
mov ecx, edx
movups xmmword [edx + 0x60], xmm0
call fcn.1002e8a0
mov ecx, dword [ebp - 4]
xor edx, edx
mov dword [ebp - 0x24], edx
cmp dword [esi + 0x40e8], edx
jle 0x1000d349
mov eax, dword [esi + 0x40f0]
mov edx, dword [eax + edx*4]
mov dword [ebp - 0x2c], edx
cmp edx, ecx
je 0x1000d336
cmp edx, dword [ebp - 0x18]
je 0x1000d336
test edi, edi
je 0x1000d2c5
mov esi, dword [edx + 0x6c]
test esi, esi
je 0x1000d2c5
mov ecx, dword [esi + 8]
mov eax, dword [edi + 8]
mov edx, dword [0x100cbe88]
shr ecx, 0x19
shr eax, 0x19
and ecx, 1
and eax, 1
sub ecx, eax
je 0x1000d29f
test ecx, ecx
jg 0x1000d330
jmp 0x1000d2c5
mov ecx, dword [edx + 0x3ecc]
sub ecx, 1
js 0x1000d2c5
mov eax, dword [edx + 0x3ed4]
lea eax, [eax + ecx*4]
mov edx, dword [eax]
cmp edx, esi
je 0x1000d330
cmp edx, edi
je 0x1000d2c5
sub eax, 4
sub ecx, 1
jns 0x1000d2b3
mov ecx, dword [ebp - 0x2c]
mov edx, 1
push str.Foreground
call fcn.10009410
mov esi, eax
add esp, 4
mov eax, dword [ebp - 0x2c]
lea edx, [eax + 8]
push 0
movss xmm0, dword [eax + 0x10]
addss xmm0, dword [edx]
push ecx
xor ecx, ecx
mov dword [esp], 0
test edi, edi
movss dword [ebp - 0x20], xmm0
setne cl
movss xmm0, dword [eax + 0x14]
add ecx, 0x36
addss xmm0, dword [edx + 4]
mov eax, dword [ebp - 8]
movss xmm1, dword [eax + 0x4298]
movss dword [ebp - 0x1c], xmm0
call fcn.10006fa0
push eax
lea eax, [ebp - 0x20]
mov ecx, esi
push eax
push edx
call fcn.10030cb0
mov esi, dword [ebp - 8]
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 0x24]
inc edx
mov dword [ebp - 0x24], edx
cmp edx, dword [esi + 0x40e8]
jl 0x1000d251
pop edi
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret