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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
push ebx
push esi
mov esi, dword [ebp + 0xc]
mov ebx, ecx
mov dword [ebp - 4], ebx
push edi
mov edi, dword [ebp + 8]
mov eax, dword [edi]
mov eax, dword [eax]
cmp esi, 0xf
jl 0x52d15d
mov dword [ebx], eax
add dword [edi], 4
mov ecx, dword [ebx]
cmp ecx, 6
sete al
mov byte [ebx + 0x9e], al
test ecx, ecx
je 0x52ce3d
cmp ecx, 7
jne 0x52ce68
cmp esi, 0x640
jl 0x52ce56
mov eax, dword [edi]
mov eax, dword [eax]
mov dword [ebx + 0x98], eax
add dword [edi], 4
mov ecx, dword [ebx]
jmp 0x52ce60
mov dword [ebx + 0x98], 0x3f800000
test ecx, ecx
je 0x52d0fe
cmp ecx, 6
je 0x52d0fe
cmp ecx, 7
je 0x52d0fe
mov eax, dword [edi]
lea ecx, [ebx + 0x24]
mov eax, dword [eax]
mov dword [ebx + 0x20], eax
mov eax, dword [edi]
add eax, 4
mov dword [edi], eax
mov edx, dword [eax]
add eax, 4
mov dword [edi], eax
mov eax, dword [ecx + 4]
sub eax, dword [ecx]
sar eax, 3
mov dword [ebp + 8], edx
mov dword [ebp - 0xc], eax
cmp edx, eax
jae 0x52ceab
mov eax, dword [ecx]
lea eax, [eax + edx*8]
jmp 0x52cee2
jbe 0x52cee5
mov eax, dword [ecx + 8]
sub eax, dword [ecx]
sar eax, 3
cmp edx, eax
jbe 0x52cecb
lea eax, [ebp - 0xc]
push eax
push edx
call fcn.00526fa0
mov edx, dword [ebp + 8]
lea ecx, [ebx + 0x24]
jmp 0x52cee5
push dword [ebp - 0xc]
mov eax, edx
sub eax, dword [ebp - 0xc]
push eax
push dword [ecx + 4]
call fcn.0052cba0
mov edx, dword [ebp + 8]
lea ecx, [ebx + 0x24]
mov dword [ecx + 4], eax
mov eax, dword [ecx + 4]
mov ecx, dword [ecx]
sub eax, ecx
sar eax, 3
test eax, eax
je 0x52cf06
lea eax, [edx*8]
push eax
push dword [edi]
push ecx
call fcn.005b46d0
add esp, 0xc
mov ecx, dword [ebp + 8]
mov eax, dword [edi]
lea eax, [eax + ecx*8]
mov dword [edi], eax
mov edx, dword [eax]
add eax, 4
mov dword [edi], eax
lea eax, [ebx + 0x30]
mov ecx, dword [eax + 4]
mov esi, dword [eax]
mov dword [ebp + 8], ecx
sub dword [ebp + 8], esi
sar dword [ebp + 8], 4
mov dword [ebp - 8], edx
cmp edx, dword [ebp + 8]
jae 0x52cf37
mov eax, edx
mov ecx, esi
jmp 0x52cf7c
jbe 0x52cf87
mov eax, dword [eax + 8]
sub eax, esi
sar eax, 4
cmp edx, eax
jbe 0x52cf5a
lea eax, [ebp + 0xb]
push eax
push edx
lea ecx, [ebx + 0x30]
call fcn.005270f0
mov ecx, dword [ebx + 0x34]
lea eax, [ebx + 0x30]
jmp 0x52cf87
mov eax, edx
mov dword [ebp - 0xc], ecx
sub eax, dword [ebp + 8]
mov dword [ebp + 8], eax
je 0x52cf81
shl eax, 4
push eax
push 0
push ecx
call fcn.005b4c50
mov eax, dword [ebp + 8]
add esp, 0xc
mov ecx, dword [ebp - 0xc]
shl eax, 4
add ecx, eax
lea eax, [ebx + 0x30]
mov dword [eax + 4], ecx
mov edx, dword [eax]
sub ecx, edx
mov esi, dword [ebp + 0xc]
sar ecx, 4
test ecx, ecx
je 0x52cfa7
mov eax, dword [ebp - 8]
shl eax, 4
push eax
push dword [edi]
push edx
call fcn.005b46d0
add esp, 0xc
mov eax, dword [ebp - 8]
shl eax, 4
add eax, dword [edi]
mov dword [edi], eax
cmp esi, 0x6a7
jl 0x52d158
mov ecx, dword [eax]
lea esi, [ebx + 0x3c]
add eax, 4
mov dword [ebp - 8], esi
mov dword [edi], eax
mov edx, dword [esi + 4]
mov eax, dword [esi]
sub edx, eax
sar edx, 3
cmp ecx, edx
jae 0x52cff4
lea esi, [eax + ecx*8]
mov eax, dword [ebx + 0x40]
lea ecx, [ebx + 0x3c]
push ecx
push eax
push esi
call fcn.00526f50
mov dword [ebx + 0x40], esi
add esp, 0xc
lea esi, [ebx + 0x3c]
jmp 0x52d024
jbe 0x52d024
mov eax, dword [esi + 8]
sub eax, dword [esi]
sar eax, 3
cmp ecx, eax
jbe 0x52d010
lea eax, [ebp + 8]
push eax
push ecx
mov ecx, esi
call fcn.00527230
jmp 0x52d024
push dword [ebp + 8]
mov eax, dword [esi + 4]
sub ecx, edx
push ecx
push eax
mov ecx, esi
call fcn.0052cbd0
mov dword [esi + 4], eax
mov eax, dword [esi + 4]
sub eax, dword [esi]
sar eax, 3
mov dword [ebp + 8], 0
test eax, eax
je 0x52d158
mov ebx, dword [ebp + 0xc]
nop
push 0xf4
call fcn.005b2e07
mov esi, eax
add esp, 4
mov dword [ebp - 0x10], esi
test esi, esi
je 0x52d082
xorps xmm0, xmm0
lea ecx, [esi + 0xc]
movq qword [esi], xmm0
mov dword [esi + 8], 0
mov dword [esi + 4], 1
mov dword [esi + 8], 1
mov dword [esi], vtable.std::_Ref_count_obj2_struct_Effekseer::Gradient_.0
call fcn.00527d70
jmp 0x52d084
xor esi, esi
mov ecx, dword [ebp + 8]
lea eax, [esi + 0xc]
shl ecx, 3
mov dword [ebp - 0xc], ecx
mov ecx, dword [ebp - 8]
mov ecx, dword [ecx]
add ecx, dword [ebp - 0xc]
mov dword [ecx], eax
mov eax, dword [ecx + 4]
mov dword [ecx + 4], esi
mov esi, eax
mov dword [ebp - 0x10], eax
test esi, esi
je 0x52d0ca
or eax, 0xffffffff
lock xadd dword [esi + 4], eax
jne 0x52d0ca
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
or eax, 0xffffffff
lock xadd dword [esi + 8], eax
jne 0x52d0ca
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
mov esi, dword [ebp - 8]
mov ecx, dword [ebp - 0xc]
push ebx
push edi
mov eax, dword [esi]
push dword [ecx + eax]
call fcn.00543cd0
mov eax, dword [esi + 4]
add esp, 0xc
mov ecx, dword [ebp + 8]
sub eax, dword [esi]
inc ecx
sar eax, 3
mov dword [ebp + 8], ecx
cmp ecx, eax
jb 0x52d040
mov ebx, dword [ebp - 4]
mov esi, dword [ebp + 0xc]
jmp 0x52d163
mov eax, dword [edi]
mov eax, dword [eax]
mov dword [ebx + 4], eax
mov eax, dword [edi]
add eax, 4
mov dword [edi], eax
mov eax, dword [eax]
mov dword [ebx + 8], eax
mov eax, dword [edi]
add eax, 4
mov dword [edi], eax
cmp esi, 0x640
jl 0x52d158
mov eax, dword [eax]
mov dword [ebx + 0xc], eax
mov eax, dword [edi]
add eax, 4
mov dword [edi], eax
mov eax, dword [eax]
mov dword [ebx + 0x10], eax
mov eax, dword [edi]
add eax, 4
mov dword [edi], eax
mov eax, dword [eax]
mov dword [ebx + 0x14], eax
mov eax, dword [edi]
add eax, 4
mov dword [edi], eax
mov eax, dword [eax]
mov dword [ebx + 0x18], eax
mov eax, dword [edi]
add eax, 4
mov dword [edi], eax
mov eax, dword [eax]
mov dword [ebx + 0x1c], eax
add dword [edi], 4
mov esi, dword [ebp + 0xc]
jmp 0x52d163
mov dword [ebx + 4], eax
add dword [edi], 4
mov eax, dword [edi]
mov eax, dword [eax]
mov dword [ebx + 0x48], eax
mov eax, dword [edi]
add eax, 4
mov dword [edi], eax
mov eax, dword [eax]
mov dword [ebx + 0x4c], eax
mov eax, dword [edi]
add eax, 4
mov dword [edi], eax
mov eax, dword [eax]
mov dword [ebx + 0x6c], eax
mov eax, dword [edi]
add eax, 4
mov dword [edi], eax
cmp esi, 0xf
jl 0x52d1a4
mov eax, dword [eax]
mov dword [ebx + 0x50], eax
mov eax, dword [edi]
add eax, 4
mov dword [edi], eax
mov eax, dword [eax]
mov dword [ebx + 0x70], eax
add dword [edi], 4
jmp 0x52d1b0
mov eax, dword [ebx + 0x4c]
mov dword [ebx + 0x50], eax
mov eax, dword [ebx + 0x6c]
mov dword [ebx + 0x70], eax
mov eax, dword [edi]
cmp esi, 0x640
jl 0x52d228
mov eax, dword [eax]
mov dword [ebx + 0x54], eax
add dword [edi], 4
mov eax, dword [edi]
mov eax, dword [eax]
mov dword [ebx + 0x74], eax
add dword [edi], 4
mov eax, dword [edi]
mov eax, dword [eax]
mov dword [ebx + 0x58], eax
add dword [edi], 4
mov eax, dword [edi]
mov eax, dword [eax]
mov dword [ebx + 0x78], eax
add dword [edi], 4
mov eax, dword [edi]
mov eax, dword [eax]
mov dword [ebx + 0x5c], eax
add dword [edi], 4
mov eax, dword [edi]
mov eax, dword [eax]
mov dword [ebx + 0x7c], eax
add dword [edi], 4
mov eax, dword [edi]
mov eax, dword [eax]
mov dword [ebx + 0x60], eax
add dword [edi], 4
mov eax, dword [edi]
mov eax, dword [eax]
mov dword [ebx + 0x80], eax
add dword [edi], 4
mov eax, dword [edi]
mov eax, dword [eax]
mov dword [ebx + 0x64], eax
add dword [edi], 4
mov eax, dword [edi]
mov eax, dword [eax]
mov dword [ebx + 0x84], eax
mov eax, dword [edi]
add eax, 4
mov dword [edi], eax
jmp 0x52d259
mov ecx, dword [ebx + 0x4c]
mov dword [ebx + 0x54], ecx
mov eax, dword [ebx + 0x6c]
mov dword [ebx + 0x74], eax
mov dword [ebx + 0x58], ecx
mov dword [ebx + 0x78], eax
mov dword [ebx + 0x5c], ecx
mov dword [ebx + 0x7c], eax
mov dword [ebx + 0x60], ecx
mov dword [ebx + 0x80], eax
mov dword [ebx + 0x64], ecx
mov dword [ebx + 0x84], eax
mov eax, dword [edi]
cmp esi, 5
jl 0x52d273
mov edx, dword [eax]
add eax, 4
mov dword [edi], eax
mov ecx, dword [eax]
add eax, 4
test edx, edx
mov dword [edi], eax
setne al
test ecx, ecx
setne cl
jmp 0x52d277
mov al, 1
xor cl, cl
mov byte [ebx + 0x9c], cl
mov byte [ebx + 0x9d], al
mov eax, dword [edi]
mov eax, dword [eax]
mov dword [ebx + 0x1c8], eax
mov eax, dword [edi]
add eax, 4
mov dword [edi], eax
cmp dword [ebx + 0x1c8], 0
je 0x52d2ac
movups xmm0, xmmword [eax]
movups xmmword [ebx + 0x1cc], xmm0
add dword [edi], 0x10
mov eax, dword [edi]
mov eax, dword [eax]
mov dword [ebx + 0x1dc], eax
mov eax, dword [edi]
add eax, 4
mov dword [edi], eax
cmp dword [ebx + 0x1dc], 0
je 0x52d2d1
movups xmm0, xmmword [eax]
movups xmmword [ebx + 0x1e0], xmm0
add dword [edi], 0x10
push 0
push esi
lea ecx, [ebx + 0x1f0]
push edi
call fcn.0052b170
cmp esi, 0x640
jl 0x52d38b
lea eax, [ebx + 0x224]
mov ebx, 1
mov dword [ebp + 0xc], eax
nop word [eax + eax]
push ebx
push esi
push edi
mov ecx, eax
call fcn.0052b170
mov eax, dword [ebp + 0xc]
inc ebx
add eax, 0x34
mov dword [ebp + 0xc], eax
cmp ebx, 3
jl 0x52d300
mov eax, dword [edi]
mov ebx, dword [ebp - 4]
push 3
push esi
mov eax, dword [eax]
mov dword [ebx + 0x8c], eax
lea ecx, [ebx + 0x28c]
add dword [edi], 4
push edi
call fcn.0052b170
mov eax, dword [edi]
mov eax, dword [eax]
mov dword [ebx + 0x90], eax
lea eax, [ebx + 0x2c0]
add dword [edi], 4
mov ebx, 4
mov dword [ebp + 0xc], eax
push ebx
push esi
push edi
mov ecx, eax
call fcn.0052b170
mov eax, dword [ebp + 0xc]
inc ebx
add eax, 0x34
mov dword [ebp + 0xc], eax
cmp ebx, 6
jl 0x52d353
mov eax, dword [edi]
mov ebx, dword [ebp - 4]
mov eax, dword [eax]
mov dword [ebx + 0x94], eax
add dword [edi], 4
mov eax, dword [edi]
mov eax, dword [eax]
mov dword [ebx + 0xa4], eax
add dword [edi], 4
jmp 0x52d3ae
cmp esi, 0xa
jl 0x52d39f
mov eax, dword [edi]
mov eax, dword [eax]
mov dword [ebx + 0xa4], eax
add dword [edi], 4
jmp 0x52d3ae
mov dword [ebx + 0xa4], 0
cmp esi, 9
jl 0x52d3fd
cmp esi, 0xf
jge 0x52d3d1
mov eax, dword [edi]
mov ecx, dword [eax]
add eax, 4
test ecx, ecx
mov dword [edi], eax
setg al
mov byte [ebx + 0x9e], al
test ecx, ecx
jle 0x52d3d1
mov dword [ebx], 6
mov eax, dword [edi]
mov eax, dword [eax]
mov dword [ebx + 0xa0], eax
add dword [edi], 4
cmp esi, 0xf
jl 0x52d3fd
push esi
push edi
lea ecx, [ebx + 0x168]
call fcn.0052cc10
push esi
push edi
lea ecx, [ebx + 0x198]
call fcn.0052cc10
movups xmm0, xmmword [ebx + 0x4c]
mov eax, dword [ebx + 0x48]
mov ecx, dword [ebx]
movups xmmword [ebx + 0xd8], xmm0
mov dword [ebx + 0xd4], eax
movups xmm0, xmmword [ebx + 0x5c]
mov eax, dword [ebx + 0xa0]
mov dword [ebx + 0xcc], eax
mov eax, dword [ebx + 4]
movups xmmword [ebx + 0xe8], xmm0
mov dword [ebx + 0xa8], ecx
movups xmm0, xmmword [ebx + 0x6c]
movups xmmword [ebx + 0xf8], xmm0
movups xmm0, xmmword [ebx + 0x7c]
movups xmmword [ebx + 0x108], xmm0
mov dword [ebx + 0xac], eax
mov eax, dword [ebx + 8]
mov dword [ebx + 0xb0], eax
mov eax, dword [ebx + 0xc]
mov dword [ebx + 0xb4], eax
mov eax, dword [ebx + 0x10]
mov dword [ebx + 0xb8], eax
mov eax, dword [ebx + 0x14]
mov dword [ebx + 0xbc], eax
mov eax, dword [ebx + 0x18]
mov dword [ebx + 0xc0], eax
mov eax, dword [ebx + 0x1c]
mov dword [ebx + 0xc4], eax
mov eax, dword [ebx + 0x8c]
mov dword [ebx + 0x13c], eax
mov eax, dword [ebx + 0x90]
mov dword [ebx + 0x140], eax
mov eax, dword [ebx + 0x94]
mov dword [ebx + 0x144], eax
lea eax, [ebx + 0x1f0]
cmp dword [eax], 2
jne 0x52d4e5
push eax
lea eax, [ebp - 0x34]
push eax
call fcn.0052cb10
mov ecx, dword [ebx + 0xa8]
add esp, 8
movups xmm0, xmmword [eax]
movups xmm1, xmmword [eax + 0x10]
mov eax, dword [eax + 0x20]
movups xmmword [ebx + 0x118], xmm0
movups xmmword [ebx + 0x128], xmm1
mov dword [ebx + 0x138], eax
mov eax, dword [ebx + 0x98]
xor edx, edx
mov dword [ebx + 0x148], eax
cmp ecx, 0x80
lea eax, [ebx + 0x20]
cmovne eax, edx
mov dword [ebx + 0xd0], eax
cmp ecx, 7
je 0x52d51a
mov dword [ebx + 0xdc], edx
mov dword [ebx + 0xfc], 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8