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

Disassembly:
push 0x24
mov eax, 0x66cbcb
call fcn.005f4fdc
mov esi, ecx
xor ebx, ebx
lea edi, [esi + 0x2874]
mov ecx, dword [edi]
call fcn.005e8d3b
test al, al
jne 0x5991b1
mov ecx, dword [edi]
cmp ebx, dword [ebp + 8]
jne 0x5991ac
call fcn.005e8ca3
jmp 0x5991b1
call fcn.005e8cb2
inc ebx
add edi, 4
cmp ebx, 0xa
jl 0x599193
mov eax, dword [ebp + 8]
and dword [ebp - 0x10], 0
mov dword [esi + 0x3c7c], eax
lea edi, [esi + 0x29b4]
mov ebx, 0xff
mov ecx, dword [edi]
test ecx, ecx
je 0x5991f6
mov eax, dword [esi + 0x3c78]
imul eax, eax, 0xa
add eax, dword [esi + 0x3c7c]
cmp dword [ebp - 0x10], eax
jne 0x5991ef
push ebx
jmp 0x5991f1
push 0
call fcn.005e961f
inc dword [ebp - 0x10]
add edi, 4
cmp dword [ebp - 0x10], 0x64
jb 0x5991d2
lea eax, [esi + 0xf8]
mov edi, 0x1f4
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x18], edi
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
call fcn.005e8c65
add dword [ebp - 0x14], 4
dec dword [ebp - 0x18]
jne 0x599213
lea eax, [esi + 0x8c8]
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x18], edi
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
call fcn.005e8c65
add dword [ebp - 0x14], 4
dec dword [ebp - 0x18]
jne 0x599232
lea eax, [esi + 0x1098]
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x18], edi
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
call fcn.005e95e4
add dword [ebp - 0x14], 4
dec dword [ebp - 0x18]
jne 0x599251
lea eax, [esi + 0x2038]
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], edi
mov ecx, dword [eax]
test ecx, ecx
je 0x59927d
mov eax, dword [ecx]
push 1
call dword [eax + 0x20]
mov eax, dword [ebp - 0x18]
and dword [eax], 0
add eax, 4
dec dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
jne 0x599270
lea eax, [esi + 0x1868]
mov dword [ebp - 0x18], eax
mov edx, dword [eax]
test edx, edx
je 0x5992b0
mov ecx, dword [esi + 8]
push edx
call fcn.004debdb
mov ecx, eax
call fcn.0045633d
mov eax, dword [ebp - 0x18]
and dword [eax], 0
add eax, 4
dec edi
mov dword [ebp - 0x18], eax
jne 0x599297
mov eax, dword [esi + 0x14]
imul eax, dword [esi + 0x18]
imul eax, dword [ebp + 8]
mov ecx, dword [esi + 8]
and dword [ebp - 0x10], edi
and dword [ebp - 0x18], edi
mov dword [ebp - 0x1c], eax
call fcn.004dec47
mov edi, 0x1f44c
add eax, edi
mov ecx, dword [eax + 0xc]
push eax
push ecx
lea ecx, [ebp - 0x28]
call fcn.005c0ea4
mov ecx, dword [esi + 8]
call fcn.004dec47
add eax, edi
mov ecx, dword [eax + 0x10]
push eax
push ecx
lea ecx, [ebp - 0x30]
call fcn.005c0ea4
lea eax, [ebp - 0x30]
push eax
lea ecx, [ebp - 0x28]
call fcn.0044622f
test al, al
jne 0x59973e
lea edi, [esi + 0x2038]
lea ecx, [ebp - 0x28]
call fcn.00444c44
mov eax, dword [eax]
cmp eax, dword [esi + 0x3c78]
jne 0x599709
mov eax, dword [ebp - 0x18]
cmp eax, dword [ebp - 0x1c]
jl 0x599706
push dword [esi + 0xb0]
mov ecx, dword [edi - 0x1f40]
push dword [esi + 0xac]
lea eax, [esi + 0x38]
push dword [esi + 0xa8]
push dword [esi + 0xa4]
push dword [esi + 0xa0]
push dword [esi + 0x9c]
push dword [esi + 0x98]
push dword [esi + 0x94]
push dword [esi + 0x90]
push dword [esi + 0x8c]
push dword [esi + 0x60]
push dword [esi + 0x5c]
push 1
push eax
push 0
call fcn.005e8f86
mov eax, dword [ebp - 0x10]
mov ecx, dword [esi + 0x14]
cdq
idiv ecx
mov ecx, dword [esi + 0xcc]
imul ecx, edx
mov edx, dword [esi + 0xd0]
add ecx, dword [esi + 0xc4]
imul edx, eax
add edx, dword [esi + 0xc8]
push edx
push ecx
mov ecx, dword [edi - 0x1f40]
call fcn.005e8d4b
mov ecx, dword [edi - 0x1f40]
push ebx
call fcn.005e8d62
push dword [esi + 0x88]
mov ecx, dword [edi - 0x1770]
push dword [esi + 0x84]
lea eax, [esi + 0x1c]
push dword [esi + 0x80]
push dword [esi + 0x7c]
push dword [esi + 0x78]
push dword [esi + 0x74]
push dword [esi + 0x70]
push dword [esi + 0x6c]
push dword [esi + 0x68]
push dword [esi + 0x64]
push dword [esi + 0x58]
push dword [esi + 0x54]
push 1
push eax
push 0
call fcn.005e8f86
mov eax, dword [ebp - 0x10]
mov ecx, dword [esi + 0x14]
cdq
idiv ecx
mov ecx, dword [esi + 0xbc]
imul ecx, edx
mov edx, dword [esi + 0xc0]
add ecx, dword [esi + 0xb4]
imul edx, eax
add edx, dword [esi + 0xb8]
push edx
push ecx
mov ecx, dword [edi - 0x1770]
call fcn.005e8d4b
mov ecx, dword [edi - 0x1770]
push ebx
call fcn.005e8d62
and dword [ebp - 0x14], 0
lea ecx, [ebp - 0x28]
mov byte [ebp + 0xb], 0
call fcn.00444c44
mov ecx, dword [eax + 0x68]
sub ecx, dword [eax + 0x64]
test ecx, 0xffffffc0
jle 0x5996de
lea ecx, [ebp - 0x28]
call fcn.00444c44
mov ecx, dword [esi + 8]
push dword [ebp - 0x14]
mov dword [ebp - 0x20], ecx
lea ecx, [eax + 0x58]
call fcn.00427842
push dword [eax + 4]
mov ecx, dword [ebp - 0x20]
call fcn.004dec47
mov ecx, eax
call fcn.0042795d
test al, al
je 0x5994a9
mov byte [ebp + 0xb], 1
inc dword [ebp - 0x14]
lea ecx, [ebp - 0x28]
call fcn.00444c44
mov ecx, dword [eax + 0x68]
sub ecx, dword [eax + 0x64]
sar ecx, 6
cmp dword [ebp - 0x14], ecx
jl 0x599476
cmp byte [ebp + 0xb], 0
je 0x5996de
lea ecx, [ebp - 0x28]
call fcn.00444c44
xor ecx, ecx
inc ecx
push ecx
push ecx
mov ecx, dword [edi - 0xfa0]
push 0
add eax, 4
push eax
call fcn.005e9783
xor ecx, ecx
push ecx
mov ecx, dword [edi - 0xfa0]
xor eax, eax
push eax
call fcn.005bb93f
mov eax, dword [ebp - 0x10]
mov ecx, dword [esi + 0x14]
cdq
idiv ecx
mov ecx, dword [esi + 0xdc]
imul ecx, edx
mov edx, dword [esi + 0xe0]
add ecx, dword [esi + 0xd4]
imul edx, eax
add edx, dword [esi + 0xd8]
push edx
push ecx
mov ecx, dword [edi - 0xfa0]
call fcn.005e960e
mov ecx, dword [edi - 0xfa0]
push ebx
call fcn.005e961f
lea ecx, [ebp - 0x28]
call fcn.00444c44
mov ecx, dword [esi + 8]
push 0xff00ff00
push 1
add eax, 0x3c
push eax
call fcn.004debdb
mov ecx, eax
call fcn.00456432
mov dword [edi - 0x7d0], eax
test eax, eax
je 0x5996f4
mov eax, dword [esi + 0xf4]
sub eax, 0
je 0x599650
dec eax
je 0x59962a
dec eax
je 0x599608
dec eax
je 0x5995e6
dec eax
je 0x5995c1
dec eax
jne 0x59967d
push 0x174
call fcn.00444afc
pop ecx
mov dword [ebp + 8], eax
mov dword [ebp - 4], 5
test eax, eax
je 0x5995ba
mov ecx, eax
call fcn.004b556a
jmp 0x599677
xor eax, eax
jmp 0x599677
push 0x174
call fcn.00444afc
pop ecx
mov dword [ebp + 8], eax
mov dword [ebp - 4], 4
test eax, eax
je 0x5995ba
mov ecx, eax
call fcn.004b5699
jmp 0x599677
push 0x174
call fcn.00444afc
pop ecx
mov dword [ebp + 8], eax
mov dword [ebp - 4], 3
test eax, eax
je 0x5995ba
mov ecx, eax
call fcn.004b530c
jmp 0x599677
push 0x174
call fcn.00444afc
pop ecx
mov dword [ebp + 8], eax
mov dword [ebp - 4], 2
test eax, eax
je 0x5995ba
mov ecx, eax
call fcn.004b543b
jmp 0x599677
push 0x15c
call fcn.00444afc
pop ecx
mov dword [ebp + 8], eax
mov dword [ebp - 4], 1
test eax, eax
je 0x5995ba
mov ecx, eax
call fcn.004b488e
jmp 0x599677
push 0x144
call fcn.00444afc
pop ecx
mov ecx, eax
mov dword [ebp + 8], ecx
xor eax, eax
mov dword [ebp - 4], eax
cmp ecx, eax
je 0x599677
call fcn.0058b967
mov eax, dword [ebp + 8]
mov dword [eax], vtable.NekoGameSDK4th::GameBase::CNullMotionTexture.0
or dword [ebp - 4], 0xffffffff
mov dword [edi], eax
mov ecx, dword [edi]
push dword [edi - 0x7d0]
mov eax, dword [ecx]
call dword [eax + 0x28]
mov eax, dword [ebp - 0x10]
mov ecx, dword [esi + 0x14]
cdq
idiv ecx
mov ecx, eax
mov eax, dword [esi + 0xec]
imul eax, edx
mov edx, dword [esi + 0xf0]
add eax, dword [esi + 0xe4]
imul edx, ecx
add edx, dword [esi + 0xe8]
mov ecx, dword [edi]
mov ecx, dword [ecx]
push edx
mov dword [ebp + 8], ecx
mov ecx, dword [edi]
push eax
mov eax, dword [ebp + 8]
call dword [eax + 0x44]
mov ecx, dword [edi]
mov eax, dword [ecx]
push ebx
call dword [eax + 0x48]
mov ecx, dword [edi]
mov eax, dword [ecx]
push 0x14
call dword [eax + 0x50]
mov ecx, dword [edi]
mov eax, dword [ecx]
call dword [eax + 0x40]
jmp 0x5996f4
mov ecx, dword [edi - 0x1f40]
call fcn.005e8cc1
mov ecx, dword [edi - 0x1770]
call fcn.005e8cc1
mov eax, dword [esi + 0x14]
imul eax, dword [esi + 0x18]
inc dword [ebp - 0x10]
add edi, 4
cmp dword [ebp - 0x10], eax
jge 0x59973e
inc dword [ebp - 0x18]
lea ecx, [ebp - 0x28]
call fcn.004500e5
mov ecx, dword [esi + 8]
call fcn.004dec47
add eax, 0x1f44c
push eax
push dword [eax + 0x10]
lea ecx, [ebp - 0x30]
call fcn.005c0ea4
lea eax, [ebp - 0x30]
push eax
lea ecx, [ebp - 0x28]
call fcn.0044622f
test al, al
je 0x59931d
call fcn.005f50b4
ret 4