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

Disassembly:
push 0x24
mov eax, 0x67023c
call fcn.0062f29c
mov ebx, dword [ebp + 8]
xor edi, edi
lea esi, [ebx + 0x2874]
mov eax, dword [esi]
call fcn.005cc966
test al, al
jne 0x507b70
mov eax, dword [esi]
cmp edi, dword [ebp + 0xc]
jne 0x507b6b
call fcn.005cc8f5
jmp 0x507b70
call fcn.005cc904
inc edi
add esi, 4
cmp edi, 0xa
jl 0x507b52
mov eax, dword [ebp + 0xc]
mov dword [ebx + 0x3c7c], eax
xor edx, edx
lea ecx, [ebx + 0x29b4]
mov eax, dword [ecx]
test eax, eax
je 0x507bb0
mov esi, dword [ebx + 0x3c78]
imul esi, esi, 0xa
add esi, dword [ebx + 0x3c7c]
cmp edx, esi
jne 0x507bac
mov dword [eax + 0x2c], 0xff
jmp 0x507bb0
and dword [eax + 0x2c], 0
inc edx
add ecx, 4
cmp edx, 0x64
jb 0x507b8a
lea eax, [ebx + 0xf8]
mov edi, 0x1f4
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x1c], edi
mov eax, dword [ebp - 0x18]
mov esi, dword [eax]
call fcn.005cc87b
add dword [ebp - 0x18], 4
dec dword [ebp - 0x1c]
jne 0x507bca
lea eax, [ebx + 0x8c8]
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x1c], edi
mov eax, dword [ebp - 0x18]
mov esi, dword [eax]
call fcn.005cc87b
add dword [ebp - 0x18], 4
dec dword [ebp - 0x1c]
jne 0x507be9
lea eax, [ebx + 0x1098]
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x1c], edi
mov eax, dword [ebp - 0x18]
mov esi, dword [eax]
call fcn.005ccf0d
add dword [ebp - 0x18], 4
dec dword [ebp - 0x1c]
jne 0x507c08
lea esi, [ebx + 0x2038]
mov dword [ebp - 0x14], esi
mov dword [ebp - 0x1c], edi
mov ecx, dword [esi]
test ecx, ecx
je 0x507c34
mov eax, dword [ecx]
push 1
call dword [eax + 0x20]
and dword [esi], 0
add esi, 4
dec dword [ebp - 0x1c]
jne 0x507c27
lea esi, [ebx + 0x1868]
mov dword [ebp - 0x1c], edi
mov ecx, dword [esi]
test ecx, ecx
je 0x507c5d
mov eax, dword [ebx + 8]
push ecx
lea edi, [eax + 0x7f820]
call fcn.004ce9f4
xor ecx, ecx
mov dword [esi], ecx
add esi, 4
dec dword [ebp - 0x1c]
jne 0x507c48
mov eax, dword [ebx + 0x18]
imul eax, dword [ebp + 0xc]
imul eax, dword [ebx + 0x14]
mov ebx, dword [ebx + 8]
lea edi, [ebx + 0x20b34]
mov ebx, dword [edi + 0xc]
lea esi, [ebp - 0x28]
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x1c], ecx
call fcn.004ff37d
mov eax, dword [ebp + 8]
mov eax, dword [eax + 8]
lea edi, [eax + 0x20b34]
mov ebx, dword [edi + 0x10]
lea esi, [ebp - 0x30]
call fcn.004ff37d
mov edi, esi
lea esi, [ebp - 0x28]
call fcn.0053fe17
test al, al
je 0x5080da
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x14], eax
lea esi, [ebp - 0x28]
call fcn.00479f00
mov eax, dword [eax]
mov edi, dword [ebp + 8]
cmp eax, dword [edi + 0x3c78]
jne 0x5080a9
mov eax, dword [ebp - 0x1c]
cmp eax, dword [ebp - 0x20]
jl 0x5080a6
push dword [edi + 0xb0]
lea eax, [edi + 0x38]
push dword [edi + 0xac]
push dword [edi + 0xa8]
push dword [edi + 0xa4]
push dword [edi + 0xa0]
push dword [edi + 0x9c]
push dword [edi + 0x98]
push dword [edi + 0x94]
push dword [edi + 0x90]
push dword [edi + 0x8c]
push dword [edi + 0x60]
push dword [edi + 0x5c]
push 1
push eax
mov eax, dword [ebp - 0x14]
mov ebx, dword [eax - 0x1f40]
push 0
call fcn.005cc613
mov eax, dword [ebp - 0x18]
mov ecx, dword [edi + 0x14]
cdq
idiv ecx
mov ecx, dword [edi + 0xcc]
mov esi, dword [ebp - 0x14]
imul ecx, edx
mov edx, dword [edi + 0xd0]
add ecx, dword [edi + 0xc4]
imul edx, eax
add edx, dword [edi + 0xc8]
mov eax, dword [esi - 0x1f40]
push edx
push ecx
call fcn.005cc977
mov eax, dword [esi - 0x1f40]
mov dword [eax + 0x20], 0xff
push dword [edi + 0x88]
mov ebx, dword [esi - 0x1770]
push dword [edi + 0x84]
lea eax, [edi + 0x1c]
push dword [edi + 0x80]
push dword [edi + 0x7c]
push dword [edi + 0x78]
push dword [edi + 0x74]
push dword [edi + 0x70]
push dword [edi + 0x6c]
push dword [edi + 0x68]
push dword [edi + 0x64]
push dword [edi + 0x58]
push dword [edi + 0x54]
push 1
push eax
push 0
call fcn.005cc613
mov eax, dword [ebp - 0x18]
mov ecx, dword [edi + 0x14]
cdq
idiv ecx
mov ecx, dword [edi + 0xbc]
imul ecx, edx
mov edx, dword [edi + 0xc0]
add ecx, dword [edi + 0xb4]
imul edx, eax
add edx, dword [edi + 0xb8]
mov eax, dword [esi - 0x1770]
push edx
push ecx
call fcn.005cc977
mov esi, dword [esi - 0x1770]
mov dword [esi + 0x20], 0xff
xor ebx, ebx
lea esi, [ebp - 0x28]
mov byte [ebp + 0xf], bl
call fcn.00479f00
mov ecx, dword [eax + 0x4c]
sub ecx, dword [eax + 0x48]
test ecx, 0xffffffc0
jle 0x50807a
jmp 0x507e26
mov edi, dword [ebp + 8]
lea esi, [ebp - 0x28]
call fcn.00479f00
mov esi, dword [edi + 8]
lea edi, [eax + 0x3c]
call fcn.0040aa40
mov eax, dword [eax + 4]
cmp dword [esi + eax*4 + 0x13038], 0
je 0x507e4a
mov byte [ebp + 0xf], 1
lea esi, [ebp - 0x28]
inc ebx
call fcn.00479f00
mov ecx, dword [eax + 0x4c]
sub ecx, dword [eax + 0x48]
sar ecx, 6
cmp ebx, ecx
jl 0x507e23
cmp byte [ebp + 0xf], 0
je 0x508077
xor ebx, ebx
inc ebx
mov edi, ebx
call fcn.00479f00
push ebx
mov ebx, dword [ebp - 0x14]
push edi
add eax, 4
push 0
push eax
mov eax, dword [ebx - 0xfa0]
call fcn.005cce69
mov eax, dword [ebx - 0xfa0]
mov edi, dword [ebp + 8]
xor edx, edx
mov dword [eax + 0x58], edx
xor ecx, ecx
mov dword [eax + 0x54], ecx
mov ecx, dword [edi + 0x14]
mov eax, dword [ebp - 0x18]
cdq
idiv ecx
mov ecx, dword [edi + 0xdc]
imul ecx, edx
mov edx, dword [edi + 0xe0]
add ecx, dword [edi + 0xd4]
imul edx, eax
add edx, dword [edi + 0xd8]
mov eax, dword [ebx - 0xfa0]
mov dword [eax + 0x24], ecx
mov dword [eax + 0x28], edx
mov eax, dword [ebx - 0xfa0]
mov dword [eax + 0x2c], 0xff
call fcn.00479f00
mov edi, dword [edi + 8]
xor esi, esi
inc esi
push esi
add eax, 0x20
push eax
add edi, 0x7f820
call fcn.004ce7c9
mov edi, dword [ebp + 8]
mov dword [ebx - 0x7d0], eax
test eax, eax
je 0x508093
mov eax, dword [edi + 0xf4]
sub eax, 0
je 0x507fe5
dec eax
je 0x507fba
dec eax
je 0x507f99
dec eax
je 0x507f78
dec eax
je 0x507f57
dec eax
jne 0x508016
push 0x16c
call fcn.0046ef9c
pop ecx
mov dword [ebp + 0xc], eax
mov dword [ebp - 4], 5
test eax, eax
je 0x507fd8
push eax
call fcn.004a02ec
jmp 0x507fda
push 0x16c
call fcn.0046ef9c
pop ecx
mov dword [ebp + 0xc], eax
mov dword [ebp - 4], 4
test eax, eax
je 0x507fd8
push eax
call fcn.004a09c9
jmp 0x507fda
push 0x16c
call fcn.0046ef9c
pop ecx
mov dword [ebp + 0xc], eax
mov dword [ebp - 4], 3
test eax, eax
je 0x507fd8
push eax
call fcn.0049f53b
jmp 0x507fda
push 0x16c
call fcn.0046ef9c
pop ecx
mov dword [ebp + 0xc], eax
mov dword [ebp - 4], 2
test eax, eax
je 0x507fd8
push eax
call fcn.0049fbbb
jmp 0x507fda
push 0x154
call fcn.0046ef9c
pop ecx
mov dword [ebp + 0xc], eax
mov dword [ebp - 4], esi
test eax, eax
je 0x507fd8
mov ecx, eax
call fcn.0049b6be
jmp 0x507fda
xor eax, eax
mov ecx, dword [ebp - 0x14]
or dword [ebp - 4], 0xffffffff
mov dword [ecx], eax
jmp 0x508016
push 0x13c
call fcn.0046ef9c
mov esi, eax
pop ecx
mov dword [ebp + 0xc], esi
and dword [ebp - 4], 0
test esi, esi
je 0x50800b
push esi
call fcn.0051e420
mov dword [esi], vtable.NekoGameSDK4th::GameBase::CNullMotionTexture.0
jmp 0x50800d
xor esi, esi
mov eax, dword [ebp - 0x14]
or dword [ebp - 4], 0xffffffff
mov dword [eax], esi
mov ebx, dword [ebp - 0x14]
mov ecx, dword [ebx]
push dword [ebx - 0x7d0]
mov eax, dword [ecx]
call dword [eax + 0x28]
mov eax, dword [ebp - 0x18]
mov ecx, dword [edi + 0x14]
cdq
idiv ecx
mov esi, dword [edi + 0xec]
mov ecx, dword [ebx]
imul esi, edx
mov edx, dword [edi + 0xf0]
add esi, dword [edi + 0xe4]
imul edx, eax
add edx, dword [edi + 0xe8]
mov eax, dword [ecx]
push edx
push esi
call dword [eax + 0x44]
mov ecx, dword [ebx]
mov eax, dword [ecx]
push 0xff
call dword [eax + 0x48]
mov ecx, dword [ebx]
mov eax, dword [ecx]
push 0x14
call dword [eax + 0x50]
mov ecx, dword [ebx]
mov eax, dword [ecx]
call dword [eax + 0x40]
mov edi, dword [ebp + 8]
jmp 0x508093
mov edi, dword [ebp + 8]
mov esi, dword [ebp - 0x14]
mov eax, dword [esi - 0x1f40]
call fcn.005cc913
mov eax, dword [esi - 0x1770]
call fcn.005cc913
mov eax, dword [edi + 0x18]
imul eax, dword [edi + 0x14]
inc dword [ebp - 0x18]
add dword [ebp - 0x14], 4
cmp dword [ebp - 0x18], eax
jge 0x5080da
inc dword [ebp - 0x1c]
lea esi, [ebp - 0x28]
call fcn.00479f28
mov edi, dword [edi + 8]
mov ebx, dword [edi + 0x20b44]
add edi, 0x20b34
lea esi, [ebp - 0x30]
call fcn.004ff37d
mov edi, esi
lea esi, [ebp - 0x28]
call fcn.0053fe17
test al, al
jne 0x507cc0
call fcn.0062f374
ret 8