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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
mov ebx, dword [0x10167324]
push esi
push edi
mov edi, ecx
mov dword [ebp - 0x10], edx
mov dword [ebp - 4], ebx
and byte [edi + 0x39d], 0xf8
cmp byte [ebx + 0x46], 0
jne 0x100282ba
cmp byte [edi + 0x2c], 0
je 0x1002830a
test dword [edi + 0xc], 0x1200001
jne 0x1002830a
cmp byte [edi + 0xe7], 0
jne 0x1002830a
cmp dword [edi + 0x3c0], 0
lea eax, [ebx + 0x5e68]
mov dword [ebp - 0xc], eax
jne 0x1002833e
mov esi, 1
mov ecx, eax
push esi
call fcn.10004850
test eax, eax
je 0x10028302
mov ebx, dword [ebp - 0xc]
inc esi
mov ecx, ebx
push esi
call fcn.10004850
test eax, eax
jne 0x100282f2
mov ebx, dword [ebp - 4]
mov dword [edi + 0x3c0], esi
jmp 0x10028338
mov ecx, dword [edi + 0xc]
shr ecx, 0x15
and cl, 1
test byte [ebx + 0x49e4], 1
je 0x10028334
movsx eax, byte [edi + 0x108]
test dword [ebx + 0x49e8], eax
je 0x10028334
cmp byte [ebx + 0x4a20], 0
jne 0x1002836e
test cl, cl
jne 0x1002836e
lea eax, [ebx + 0x5e68]
mov ecx, dword [edi + 0x3c0]
mov esi, dword [edi + 0x3b8]
test ecx, ecx
je 0x10028472
test esi, esi
jne 0x10028472
push ecx
mov ecx, eax
call fcn.10004850
mov esi, eax
test esi, esi
je 0x10028383
cmp dword [esi + 0x1c], 0
je 0x100283b4
push 1
mov edx, edi
mov ecx, ebx
call fcn.10021fb0
add esp, 4
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov edx, dword [edi + 0x3c0]
mov ecx, ebx
call fcn.100213d0
mov esi, eax
mov eax, dword [esi + 0xa0]
and eax, 0xfffffe92
or eax, 0x92
mov dword [esi + 0xa0], eax
mov eax, dword [ebx + 0x3fe0]
mov dword [esi + 0x84], eax
test byte [esi + 0xa4], 1
jne 0x10028446
mov ebx, esi
mov eax, dword [ebx + 0x18]
test eax, eax
je 0x100283d5
mov ebx, eax
test byte [ebx + 0xa4], 1
je 0x100283c3
mov eax, dword [ebx + 0x18]
mov edx, ebx
test eax, eax
je 0x100283e9
nop
mov edx, eax
mov eax, dword [edx + 0x18]
test eax, eax
jne 0x100283e0
and byte [edx + 0xa4], 0xdf
mov ecx, dword [edx + 0x1c]
test ecx, ecx
je 0x100283fc
call fcn.10022f10
mov ecx, dword [edx + 0x20]
test ecx, ecx
je 0x10028408
call fcn.10022f10
cmp dword [edx + 0x18], 0
jne 0x1002842e
mov eax, dword [edx + 0x78]
test eax, eax
je 0x1002842e
nop word [eax + eax]
or byte [eax + 0xa4], 0x20
mov eax, dword [eax + 0x18]
test eax, eax
jne 0x10028420
push dword [ebx + 0x40]
mov edx, esi
mov ecx, ebx
push dword [ebx + 0x3c]
push dword [ebx + 0x38]
push dword [ebx + 0x34]
call fcn.10026ec0
add esp, 0x10
mov bl, byte [esi + 0xa4]
mov edx, edi
push 1
mov ecx, esi
call fcn.10022660
mov al, byte [esi + 0xa4]
add esp, 4
mov cl, al
xor cl, bl
mov ebx, dword [ebp - 4]
and cl, 1
xor cl, al
mov byte [esi + 0xa4], cl
mov ecx, dword [ebx + 0x3fe0]
cmp dword [esi + 0x84], ecx
jge 0x100284aa
mov eax, dword [esi + 0x18]
test eax, eax
je 0x10028490
mov esi, eax
mov eax, dword [esi + 0x18]
test eax, eax
jne 0x10028487
cmp dword [esi + 0x84], ecx
jl 0x1002836e
or byte [edi + 0x39d], 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
movss xmm3, dword [0x1015ca30]
lea ecx, [edi + 0x3a0]
movss xmm4, dword [0x1015cbc8]
mov eax, 0x1012a208
movss xmm5, dword [0x1015c9e4]
xorps xmm1, xmm1
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], ecx
nop word [eax + eax]
mov ecx, dword [eax]
add ecx, ecx
movss xmm2, dword [ebx + ecx*8 + 0x3a3c]
comiss xmm1, xmm2
jbe 0x100284f7
movaps xmm0, xmm1
jmp 0x100284fe
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 0x1002851d
movaps xmm0, xmm1
jmp 0x10028524
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 0x10028548
movaps xmm0, xmm1
jmp 0x1002854f
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 0x10028573
movaps xmm0, xmm1
jmp 0x1002857a
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 - 0xc]
mov dword [edx], eax
add edx, 4
mov eax, dword [ebp - 8]
add eax, 4
mov dword [ebp - 0xc], edx
mov dword [ebp - 8], eax
cmp eax, 0x1012a220
jl 0x100284e0
mov ecx, dword [esi + 0x70]
test ecx, ecx
jne 0x100285f5
cmp dword [esi + 0x14], 2
jne 0x100285be
or byte [edi + 0x39d], 1
cmp dword [esi + 0x24], 1
jle 0x1002837c
cmp byte [edi + 0xe5], 0
je 0x1002837c
cmp byte [edi + 0xdf], 0
mov byte [edi + 0xe6], 1
sete al
inc al
mov byte [edi + 0x104], al
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
test byte [esi + 0x10], 1
mov dword [esi + 0x14], 3
jne 0x10028616
mov ax, word [edi + 0xf2]
cmp ax, word [ecx + 0xf2]
jl 0x1002836e
mov eax, dword [0x10167324]
mov ebx, dword [0x10167324]
mov edx, dword [eax + 0x49e4]
or edx, 1
mov dword [eax + 0x49e4], edx
or edx, 2
mov eax, dword [esi + 0x34]
mov ecx, dword [esi + 0x38]
mov dword [ebx + 0x49f8], eax
mov eax, ebx
mov dword [eax + 0x49e4], edx
mov edx, ebx
mov ebx, dword [ebp - 4]
mov dword [eax + 0x49fc], ecx
mov dword [eax + 0x4a00], 0
mov dword [eax + 0x4a04], 0
mov dword [eax + 0x49e8], 1
mov byte [eax + 0x4a20], 1
mov eax, dword [esi + 0x3c]
mov ecx, dword [esi + 0x40]
mov dword [edx + 0x4a08], eax
mov dword [edx + 0x4a0c], ecx
mov dword [edx + 0x49ec], 1
mov byte [ebx + 0x4a20], 0
mov al, byte [edi + 0x39d]
or al, 3
and al, 0xfb
mov byte [edi + 0x39d], al
test byte [esi + 0x10], 1
jne 0x1002837c
cmp dword [esi + 0x74], edi
jne 0x100286c1
or al, 4
mov byte [edi + 0x39d], al
mov edx, dword [edi + 0xc]
or edx, 0x1010002
mov dword [edi + 0xc], edx
mov eax, edx
or eax, 1
and edx, 0xfffffffe
test dword [esi + 0x10], 0x3000
cmovne edx, eax
mov dword [edi + 0xc], edx
cmp dword [esi + 0x30], 0
je 0x10028730
cmp byte [edi + 0xe0], 0
je 0x10028730
mov eax, dword [edi + 0x3b8]
mov ecx, dword [eax + 0x30]
test ecx, ecx
je 0x10028726
mov ebx, dword [edi + 0xa4]
test ebx, ebx
je 0x10028726
mov edx, dword [ecx]
xor eax, eax
test edx, edx
jle 0x10028726
mov ecx, dword [ecx + 8]
mov dword [ebp - 0xc], ecx
cmp dword [ecx], ebx
je 0x100287a3
inc eax
add ecx, 0x30
cmp eax, edx
jl 0x10028716
or eax, 0xffffffff
mov word [edi + 0x39e], ax
test byte [esi + 0xa4], 0x40
jne 0x10028747
mov eax, dword [esi + 0x98]
cmp eax, dword [edi + 0xa4]
jne 0x10028751
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x10028751
mov byte [eax], 0
mov eax, dword [edi + 0x3b8]
xor edx, edx
mov esi, dword [eax + 0x70]
mov ecx, dword [esi + 0x11c]
mov eax, dword [esi + 0x124]
push dword [eax + ecx*4 - 4]
mov ecx, dword [edi + 4]
call fcn.10003fd0
mov ecx, dword [esi]
mov ebx, eax
add esp, 4
cmp dword [ecx + 0x4098], ebx
jne 0x10028796
push ecx
push dword [edi + 4]
mov edx, 0xb
mov ecx, ebx
call fcn.10034370
add esp, 8
mov dword [edi + 0xa8], ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
test ecx, ecx
je 0x10028726
sub ecx, dword [ebp - 0xc]
mov eax, 0x2aaaaaab
imul ecx
sar edx, 3
mov eax, edx
shr eax, 0x1f
add eax, edx
jmp 0x10028729