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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
mov edi, ecx
mov dword [ebp - 0x14], edx
mov edx, dword [0x100b99b8]
mov ebx, edx
mov dword [ebp - 4], edx
mov dword [ebp - 8], ebx
mov al, byte [edi + 0x36d]
and al, 0xf8
mov byte [edi + 0x36d], al
cmp byte [ebx + 0x5a], 0
jne 0x100285b6
cmp byte [edi + 0x28], 0
je 0x10028608
test dword [edi + 8], 0x1200001
jne 0x10028608
cmp byte [edi + 0xcb], 0
jne 0x10028608
cmp dword [edi + 0x390], 0
jne 0x1002863c
lea eax, [ebx + 0x5340]
mov esi, 1
push esi
mov ecx, eax
mov dword [ebp - 0x10], eax
call fcn.1000ba00
test eax, eax
je 0x10028600
mov ebx, dword [ebp - 0x10]
nop
inc esi
mov ecx, ebx
push esi
call fcn.1000ba00
test eax, eax
jne 0x100285f0
mov ebx, dword [ebp - 8]
mov dword [edi + 0x390], esi
jmp 0x1002863c
mov ecx, dword [edi + 8]
shr ecx, 0x15
and cl, 1
test byte [ebx + 0x3fec], 1
je 0x10028636
movsx eax, byte [edi + 0xe8]
test dword [ebx + 0x3ff0], eax
je 0x10028636
cmp byte [ebx + 0x4028], 0
je 0x10028636
mov al, 1
jmp 0x10028638
xor al, al
or al, cl
jne 0x10028670
mov eax, dword [edi + 0x390]
mov esi, dword [edi + 0x388]
test eax, eax
je 0x10028782
test esi, esi
jne 0x10028782
push eax
lea ecx, [ebx + 0x5340]
call fcn.1000ba00
mov esi, eax
test esi, esi
je 0x10028683
cmp dword [esi + 0x1c], 0
je 0x100286b4
push 1
mov edx, edi
call fcn.100227e0
add esp, 4
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov edx, dword [edi + 0x390]
mov ecx, ebx
call fcn.10021c70
mov esi, eax
mov eax, dword [esi + 0x9c]
and eax, 0xfffffe92
or eax, 0x92
mov dword [esi + 0x9c], eax
mov eax, dword [ebx + 0x3ea0]
mov dword [esi + 0x84], eax
test byte [esi + 0xa0], 1
jne 0x10028746
mov ebx, esi
mov eax, dword [ebx + 0x18]
test eax, eax
je 0x100286d5
mov ebx, eax
test byte [ebx + 0xa0], 1
je 0x100286c3
mov eax, dword [ebx + 0x18]
mov edx, ebx
test eax, eax
je 0x100286e9
nop
mov edx, eax
mov eax, dword [edx + 0x18]
test eax, eax
jne 0x100286e0
and byte [edx + 0xa0], 0xdf
mov ecx, dword [edx + 0x1c]
test ecx, ecx
je 0x100286fc
call fcn.100238e0
mov ecx, dword [edx + 0x20]
test ecx, ecx
je 0x10028708
call fcn.100238e0
cmp dword [edx + 0x18], 0
jne 0x1002872e
mov eax, dword [edx + 0x78]
test eax, eax
je 0x1002872e
nop word [eax + eax]
or byte [eax + 0xa0], 0x20
mov eax, dword [eax + 0x18]
test eax, eax
jne 0x10028720
push dword [ebx + 0x40]
mov edx, esi
mov ecx, ebx
push dword [ebx + 0x3c]
push dword [ebx + 0x38]
push dword [ebx + 0x34]
call fcn.100277d0
add esp, 0x10
mov bl, byte [esi + 0xa0]
mov edx, edi
push 1
mov ecx, esi
call fcn.10022e40
mov al, byte [esi + 0xa0]
add esp, 4
mov cl, al
xor cl, bl
and cl, 1
xor cl, al
mov byte [esi + 0xa0], cl
test esi, esi
je 0x10028aa6
mov eax, dword [0x100b99b8]
mov ebx, dword [ebp - 8]
mov dword [ebp - 4], eax
mov eax, dword [esi + 0x84]
cmp eax, dword [ebx + 0x3ea0]
jge 0x100287c0
mov eax, dword [esi + 0x18]
test eax, eax
je 0x100287a0
mov esi, eax
mov eax, dword [esi + 0x18]
test eax, eax
jne 0x10028797
mov eax, dword [esi + 0x84]
cmp eax, dword [ebx + 0x3ea0]
jl 0x10028670
or byte [edi + 0x36d], 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
movss xmm3, dword [0x100b42c8]
lea ecx, [edi + 0x370]
movss xmm4, dword [0x100b4358]
mov eax, 0x100af650
movss xmm5, dword [0x100b4284]
xorps xmm1, xmm1
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x10], ecx
nop dword [eax]
mov ecx, dword [eax]
add ecx, ecx
movss xmm2, dword [ebx + ecx*8 + 0x391c]
comiss xmm1, xmm2
jbe 0x10028807
movaps xmm0, xmm1
jmp 0x1002880e
movaps xmm0, xmm3
minss xmm0, xmm2
movss xmm2, dword [ebx + ecx*8 + 0x3920]
comiss xmm1, xmm2
mulss xmm0, xmm4
addss xmm0, xmm5
cvttss2si edx, xmm0
jbe 0x1002882d
movaps xmm0, xmm1
jmp 0x10028834
movaps xmm0, xmm3
minss xmm0, xmm2
movss xmm2, dword [ebx + ecx*8 + 0x3924]
mulss xmm0, xmm4
addss xmm0, xmm5
cvttss2si eax, xmm0
shl eax, 8
or edx, eax
comiss xmm1, xmm2
jbe 0x10028858
movaps xmm0, xmm1
jmp 0x1002885f
movaps xmm0, xmm3
minss xmm0, xmm2
movss xmm2, dword [ebx + ecx*8 + 0x3928]
mulss xmm0, xmm4
addss xmm0, xmm5
cvttss2si eax, xmm0
shl eax, 0x10
or edx, eax
comiss xmm1, xmm2
jbe 0x10028883
movaps xmm0, xmm1
jmp 0x1002888a
movaps xmm0, xmm3
minss xmm0, xmm2
mulss xmm0, xmm4
addss xmm0, xmm5
cvttss2si eax, xmm0
shl eax, 0x18
or eax, edx
mov edx, dword [ebp - 0x10]
mov dword [edx], eax
add edx, 4
mov eax, dword [ebp - 0xc]
add eax, 4
mov dword [ebp - 0x10], edx
mov dword [ebp - 0xc], eax
cmp eax, 0x100af668
jl 0x100287f0
mov ecx, dword [esi + 0x70]
test ecx, ecx
jne 0x100288f8
cmp dword [esi + 0x14], 2
jne 0x100288ce
or byte [edi + 0x36d], 1
cmp dword [esi + 0x24], 1
jle 0x10028aa6
cmp byte [edi + 0xc3], 0
mov byte [edi + 0xca], 1
sete al
inc al
mov byte [edi + 0xe4], al
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
test byte [esi + 0x10], 1
mov dword [esi + 0x14], 3
jne 0x10028919
mov ax, word [edi + 0xd4]
cmp ax, word [ecx + 0xd4]
jl 0x10028670
mov eax, dword [ebp - 4]
mov ebx, dword [ebp - 4]
mov edx, dword [eax + 0x3fec]
or edx, 1
mov dword [eax + 0x3fec], edx
or edx, 2
mov eax, dword [esi + 0x34]
mov ecx, dword [esi + 0x38]
mov dword [ebx + 0x4000], eax
mov eax, ebx
mov dword [eax + 0x3fec], edx
mov edx, ebx
mov ebx, dword [ebp - 8]
mov dword [eax + 0x4004], ecx
mov dword [eax + 0x4008], 0
mov dword [eax + 0x400c], 0
mov dword [eax + 0x3ff0], 1
mov byte [eax + 0x4028], 1
mov eax, dword [esi + 0x3c]
mov ecx, dword [esi + 0x40]
mov dword [edx + 0x4010], eax
mov dword [edx + 0x4014], ecx
mov dword [edx + 0x3ff4], 1
mov byte [ebx + 0x4028], 0
mov al, byte [edi + 0x36d]
or al, 3
and al, 0xfb
mov byte [edi + 0x36d], al
test byte [esi + 0x10], 1
jne 0x10028aa6
cmp dword [esi + 0x74], edi
jne 0x100289bf
or al, 4
mov byte [edi + 0x36d], al
mov ecx, dword [edi + 8]
or ecx, 0x1010002
mov dword [edi + 8], ecx
mov ebx, dword [esi + 0x10]
mov eax, ebx
shr eax, 0xd
test al, 1
jne 0x100289e4
shr ebx, 0xc
test bl, 1
jne 0x100289e4
and ecx, 0xfffffffe
jmp 0x100289e7
or ecx, 1
mov dword [edi + 8], ecx
cmp dword [esi + 0x30], 0
je 0x10028a3a
cmp byte [edi + 0xc4], 0
je 0x10028a3a
mov eax, dword [edi + 0x388]
mov ecx, dword [eax + 0x30]
mov dword [ebp - 0x10], ecx
test ecx, ecx
je 0x10028a30
mov ebx, dword [edi + 0x88]
test ebx, ebx
je 0x10028a30
mov edx, dword [ecx]
xor eax, eax
test edx, edx
jle 0x10028a30
mov ecx, dword [ecx + 8]
nop
cmp dword [ecx], ebx
je 0x10028aad
inc eax
add ecx, 0x2c
cmp eax, edx
jl 0x10028a20
or eax, 0xffffffff
mov word [edi + 0x36e], ax
test byte [esi + 0xa0], 0x40
jne 0x10028a51
mov eax, dword [esi + 0x98]
cmp eax, dword [edi + 0x88]
jne 0x10028a5b
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x10028a5b
mov byte [eax], 0
mov eax, dword [edi + 0x388]
xor edx, edx
mov ebx, dword [edi]
mov eax, dword [eax + 0x70]
mov ecx, dword [eax + 0xfc]
mov eax, dword [eax + 0x104]
push dword [eax + ecx*4 - 4]
mov ecx, ebx
call fcn.1000b590
mov esi, eax
add esp, 4
mov eax, dword [ebp - 4]
cmp dword [eax + 0x3f28], esi
jne 0x10028aa0
push ecx
push ebx
mov edx, 0xb
mov ecx, esi
call fcn.10029fd0
add esp, 8
mov dword [edi + 0x8c], esi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
test ecx, ecx
je 0x10028a30
mov eax, dword [ebp - 0x10]
sub ecx, dword [eax + 8]
mov eax, 0x2e8ba2e9
imul ecx
sar edx, 3
mov eax, edx
shr eax, 0x1f
add eax, edx
jmp 0x10028a33