Function at 0x10025530
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 ecx, dword [0x100aff30]
mov ebx, ecx
mov dword [ebp - 8], ebx
and byte [edi + 0x3a9], 0xf8
cmp byte [ecx + 0x46], 0
jne 0x1002555c
cmp byte [edi + 0x34], 0
je 0x100255ac
test dword [edi + 0xc], 0x1080001
jne 0x100255ac
cmp byte [edi + 0xef], 0
jne 0x100255ac
cmp dword [edi + 0x3cc], 0
jne 0x100255da
lea eax, [ebx + 0x5f00]
mov esi, 1
push esi
mov ecx, eax
mov dword [ebp - 0x10], eax
call fcn.10004960
test eax, eax
je 0x100255a4
mov ebx, dword [ebp - 0x10]
inc esi
mov ecx, ebx
push esi
call fcn.10004960
test eax, eax
jne 0x10025594
mov ebx, dword [ebp - 8]
mov dword [edi + 0x3cc], esi
jmp 0x100255da
mov ecx, dword [edi + 0xc]
shr ecx, 0x13
and cl, 1
test byte [ebx + 0x4a34], 1
je 0x100255d6
movsx eax, byte [edi + 0x110]
test dword [ebx + 0x4a38], eax
je 0x100255d6
cmp byte [ebx + 0x4a74], 0
jne 0x1002560e
test cl, cl
jne 0x1002560e
mov eax, dword [edi + 0x3cc]
mov esi, dword [edi + 0x3c4]
test eax, eax
je 0x10025711
test esi, esi
jne 0x10025711
push eax
lea ecx, [ebx + 0x5f00]
call fcn.10004960
mov esi, eax
test esi, esi
je 0x10025623
cmp dword [esi + 0x1c], 0
je 0x10025654
push 1
mov edx, edi
mov ecx, ebx
call fcn.1001f740
add esp, 4
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov edx, dword [edi + 0x3cc]
mov ecx, ebx
call fcn.1001e940
mov esi, eax
mov eax, dword [esi + 0xa4]
and eax, 0xfffffe92
or eax, 0x92
mov dword [esi + 0xa4], eax
mov eax, dword [ebx + 0x3fe0]
mov dword [esi + 0x88], eax
mov al, byte [esi + 0xa8]
mov byte [ebp - 1], al
test al, 1
jne 0x100256f2
mov ebx, esi
mov eax, dword [ebx + 0x18]
test eax, eax
je 0x10025679
mov ebx, eax
test byte [ebx + 0xa8], 1
je 0x10025667
mov eax, dword [ebx + 0x18]
mov edx, ebx
test eax, eax
je 0x1002568b
mov edx, eax
mov eax, dword [edx + 0x18]
test eax, eax
jne 0x10025682
and byte [edx + 0xa8], 0xdf
mov ecx, dword [edx + 0x1c]
test ecx, ecx
je 0x1002569e
call fcn.10020800
mov ecx, dword [edx + 0x20]
test ecx, ecx
je 0x100256aa
call fcn.10020800
cmp dword [edx + 0x18], 0
jne 0x100256ce
mov eax, dword [edx + 0x7c]
test eax, eax
je 0x100256ce
nop word [eax + eax]
or byte [eax + 0xa8], 0x20
mov eax, dword [eax + 0x18]
test eax, eax
jne 0x100256c0
push dword [ebx + 0x40]
mov edx, esi
mov ecx, ebx
push dword [ebx + 0x3c]
push dword [ebx + 0x38]
push dword [ebx + 0x34]
call fcn.10024710
mov al, byte [esi + 0xa8]
add esp, 0x10
mov ebx, dword [ebp - 8]
mov byte [ebp - 1], al
push 1
mov edx, edi
mov ecx, esi
call fcn.1001fdf0
mov al, byte [esi + 0xa8]
add esp, 4
xor al, byte [ebp - 1]
and al, 1
xor byte [esi + 0xa8], al
mov ecx, dword [ebx + 0x3fe0]
cmp dword [esi + 0x88], ecx
jge 0x10025749
mov eax, dword [esi + 0x18]
test eax, eax
je 0x1002572f
mov esi, eax
mov eax, dword [esi + 0x18]
test eax, eax
jne 0x10025726
cmp dword [esi + 0x88], ecx
jl 0x1002560e
or byte [edi + 0x3a9], 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
movss xmm3, dword [0x100aa18c]
lea ecx, [edi + 0x3ac]
movss xmm4, dword [0x100aa268]
mov eax, 0x10074670
movss xmm5, dword [0x100aa144]
xorps xmm1, xmm1
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x10], ecx
nop word [eax + eax]
mov ecx, dword [eax]
add ecx, ecx
movss xmm2, dword [ebx + ecx*8 + 0x3a3c]
comiss xmm1, xmm2
jbe 0x10025797
movaps xmm0, xmm1
jmp 0x1002579e
movaps xmm0, xmm3
minss xmm0, xmm2
movss xmm2, dword [ebx + ecx*8 + 0x3a40]
comiss xmm1, xmm2
mulss xmm0, xmm4
addss xmm0, xmm5
cvttss2si edx, xmm0
jbe 0x100257bd
movaps xmm0, xmm1
jmp 0x100257c4
movaps xmm0, xmm3
minss xmm0, xmm2
movss xmm2, dword [ebx + ecx*8 + 0x3a44]
mulss xmm0, xmm4
addss xmm0, xmm5
cvttss2si eax, xmm0
shl eax, 8
or edx, eax
comiss xmm1, xmm2
jbe 0x100257e8
movaps xmm0, xmm1
jmp 0x100257ef
movaps xmm0, xmm3
minss xmm0, xmm2
movss xmm2, dword [ebx + ecx*8 + 0x3a48]
mulss xmm0, xmm4
addss xmm0, xmm5
cvttss2si eax, xmm0
shl eax, 0x10
or edx, eax
comiss xmm1, xmm2
jbe 0x10025813
movaps xmm0, xmm1
jmp 0x1002581a
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, 0x10074688
jl 0x10025780
mov ecx, dword [esi + 0x74]
test ecx, ecx
jne 0x10025895
cmp dword [esi + 0x14], 2
jne 0x1002585e
or byte [edi + 0x3a9], 1
cmp dword [esi + 0x24], 1
jle 0x1002561c
cmp byte [edi + 0xed], 0
je 0x1002561c
cmp byte [edi + 0xe7], 0
mov byte [edi + 0xee], 1
sete al
inc al
mov byte [edi + 0x10c], al
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
test byte [esi + 0x10], 1
mov dword [esi + 0x14], 3
jne 0x100258b6
mov ax, word [edi + 0xfa]
cmp ax, word [ecx + 0xfa]
jl 0x1002560e
mov eax, dword [0x100aff30]
mov ebx, dword [0x100aff30]
or dword [eax + 0x4a34], 1
mov ecx, dword [esi + 0x38]
mov edx, dword [eax + 0x4a34]
mov eax, dword [esi + 0x34]
or edx, 2
mov dword [ebx + 0x4a48], eax
mov eax, ebx
mov dword [eax + 0x4a34], edx
mov edx, ebx
mov ebx, dword [ebp - 8]
mov dword [eax + 0x4a4c], ecx
mov dword [eax + 0x4a50], 0
mov dword [eax + 0x4a54], 0
mov dword [eax + 0x4a38], 1
mov byte [eax + 0x4a74], 1
mov eax, dword [esi + 0x3c]
mov ecx, dword [esi + 0x40]
mov dword [edx + 0x4a58], eax
mov dword [edx + 0x4a5c], ecx
mov dword [edx + 0x4a3c], 1
mov byte [ebx + 0x4a74], 0
mov al, byte [edi + 0x3a9]
or al, 3
and al, 0xfb
mov byte [edi + 0x3a9], al
test byte [esi + 0x10], 1
jne 0x1002561c
cmp dword [esi + 0x78], edi
jne 0x1002595f
or al, 4
mov byte [edi + 0x3a9], al
mov edx, dword [edi + 0xc]
or dword [edi + 0x14], 2
or edx, 0x1000002
mov dword [edi + 0xc], edx
mov eax, edx
mov ecx, dword [esi + 0x10]
or eax, 1
and edx, 0xfffffffe
and ecx, 0x3000
cmovne edx, eax
mov dword [edi + 0xc], edx
cmp dword [esi + 0x30], 0
je 0x100259da
cmp byte [edi + 0xe8], 0
je 0x100259da
mov eax, dword [edi + 0x3c4]
mov ecx, dword [eax + 0x30]
test ecx, ecx
je 0x100259d0
mov edx, dword [edi + 0xac]
test edx, edx
je 0x100259d0
mov ebx, dword [ecx]
xor eax, eax
test ebx, ebx
jle 0x100259d0
mov ecx, dword [ecx + 8]
mov dword [ebp - 0x10], ecx
nop word [eax + eax]
cmp dword [ecx], edx
je 0x10025a4d
inc eax
add ecx, 0x30
cmp eax, ebx
jl 0x100259c0
or eax, 0xffffffff
mov word [edi + 0x3aa], ax
test byte [esi + 0xa8], 0x40
jne 0x100259f1
mov eax, dword [esi + 0x9c]
cmp eax, dword [edi + 0xac]
jne 0x100259fb
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x100259fb
mov byte [eax], 0
mov eax, dword [edi + 0x3c4]
xor edx, edx
mov esi, dword [eax + 0x74]
mov ecx, dword [esi + 0x124]
mov eax, dword [esi + 0x12c]
push dword [eax + ecx*4 - 4]
mov ecx, dword [edi + 4]
call fcn.100041f0
mov ecx, dword [esi]
mov ebx, eax
add esp, 4
cmp dword [ecx + 0x40a0], ebx
jne 0x10025a40
push ecx
push dword [edi + 4]
mov edx, 0xb
mov ecx, ebx
call fcn.10027530
add esp, 8
mov dword [edi + 0xb0], ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
sub ecx, dword [ebp - 0x10]
mov eax, 0x2aaaaaab
imul ecx
sar edx, 3
mov eax, edx
shr eax, 0x1f
add eax, edx
jmp 0x100259d3