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

Disassembly:
push 0x24
mov eax, 0x66a24f
call fcn.006315b1
mov esi, ecx
xor ebx, ebx
lea edi, [esi + 0x2874]
mov ecx, dword [edi]
call fcn.005e6147
test al, al
jne 0x595f52
mov ecx, dword [edi]
cmp ebx, dword [ebp + 8]
jne 0x595f4d
call fcn.005e60af
jmp 0x595f52
call fcn.005e60be
inc ebx
add edi, 4
cmp ebx, 0xa
jl 0x595f34
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 0x595f97
mov eax, dword [esi + 0x3c78]
imul eax, eax, 0xa
add eax, dword [esi + 0x3c7c]
cmp dword [ebp - 0x10], eax
jne 0x595f90
push ebx
jmp 0x595f92
push 0
call fcn.005e6a21
inc dword [ebp - 0x10]
add edi, 4
cmp dword [ebp - 0x10], 0x64
jb 0x595f73
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.005e607b
add dword [ebp - 0x14], 4
dec dword [ebp - 0x18]
jne 0x595fb4
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.005e607b
add dword [ebp - 0x14], 4
dec dword [ebp - 0x18]
jne 0x595fd3
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.005e69f0
add dword [ebp - 0x14], 4
dec dword [ebp - 0x18]
jne 0x595ff2
lea eax, [esi + 0x2038]
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], edi
mov ecx, dword [eax]
test ecx, ecx
je 0x59601e
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 0x596011
lea eax, [esi + 0x1868]
mov dword [ebp - 0x18], eax
mov edx, dword [eax]
test edx, edx
je 0x596051
mov ecx, dword [esi + 8]
push edx
call fcn.004db7f0
mov ecx, eax
call fcn.004536f4
mov eax, dword [ebp - 0x18]
and dword [eax], 0
add eax, 4
dec edi
mov dword [ebp - 0x18], eax
jne 0x596038
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.004db85c
mov edi, 0x1f44c
add eax, edi
mov ecx, dword [eax + 0xc]
push eax
push ecx
lea ecx, [ebp - 0x28]
call fcn.0044d726
mov ecx, dword [esi + 8]
call fcn.004db85c
add eax, edi
mov ecx, dword [eax + 0x10]
push eax
push ecx
lea ecx, [ebp - 0x30]
call fcn.0044d726
lea eax, [ebp - 0x30]
push eax
lea ecx, [ebp - 0x28]
call fcn.00476443
test al, al
jne 0x5964df
lea edi, [esi + 0x2038]
lea ecx, [ebp - 0x28]
call fcn.00509e8f
mov eax, dword [eax]
cmp eax, dword [esi + 0x3c78]
jne 0x5964aa
mov eax, dword [ebp - 0x18]
cmp eax, dword [ebp - 0x1c]
jl 0x5964a7
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.005e6392
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.005e6157
mov ecx, dword [edi - 0x1f40]
push ebx
call fcn.005e616e
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.005e6392
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.005e6157
mov ecx, dword [edi - 0x1770]
push ebx
call fcn.005e616e
and dword [ebp - 0x14], 0
lea ecx, [ebp - 0x28]
mov byte [ebp + 0xb], 0
call fcn.00509e8f
mov ecx, dword [eax + 0x68]
sub ecx, dword [eax + 0x64]
test ecx, 0xffffffc0
jle 0x59647f
lea ecx, [ebp - 0x28]
call fcn.00509e8f
mov ecx, dword [esi + 8]
push dword [ebp - 0x14]
mov dword [ebp - 0x20], ecx
lea ecx, [eax + 0x58]
call fcn.004261a6
push dword [eax + 4]
mov ecx, dword [ebp - 0x20]
call fcn.004db85c
mov ecx, eax
call fcn.004262ed
test al, al
je 0x59624a
mov byte [ebp + 0xb], 1
inc dword [ebp - 0x14]
lea ecx, [ebp - 0x28]
call fcn.00509e8f
mov ecx, dword [eax + 0x68]
sub ecx, dword [eax + 0x64]
sar ecx, 6
cmp dword [ebp - 0x14], ecx
jl 0x596217
cmp byte [ebp + 0xb], 0
je 0x59647f
lea ecx, [ebp - 0x28]
call fcn.00509e8f
xor ecx, ecx
inc ecx
push ecx
push ecx
mov ecx, dword [edi - 0xfa0]
push 0
add eax, 4
push eax
call fcn.005e6b6f
xor ecx, ecx
push ecx
mov ecx, dword [edi - 0xfa0]
xor eax, eax
push eax
call fcn.005b87d8
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.005e6a10
mov ecx, dword [edi - 0xfa0]
push ebx
call fcn.005e6a21
lea ecx, [ebp - 0x28]
call fcn.00509e8f
mov ecx, dword [esi + 8]
push 0xff00ff00
push 1
add eax, 0x3c
push eax
call fcn.004db7f0
mov ecx, eax
call fcn.004537e9
mov dword [edi - 0x7d0], eax
test eax, eax
je 0x596495
mov eax, dword [esi + 0xf4]
sub eax, 0
je 0x5963f1
dec eax
je 0x5963cb
dec eax
je 0x5963a9
dec eax
je 0x596387
dec eax
je 0x596362
dec eax
jne 0x59641e
push 0x174
call fcn.004406f1
pop ecx
mov dword [ebp + 8], eax
mov dword [ebp - 4], 5
test eax, eax
je 0x59635b
mov ecx, eax
call fcn.004b195f
jmp 0x596418
xor eax, eax
jmp 0x596418
push 0x174
call fcn.004406f1
pop ecx
mov dword [ebp + 8], eax
mov dword [ebp - 4], 4
test eax, eax
je 0x59635b
mov ecx, eax
call fcn.004b1a8e
jmp 0x596418
push 0x174
call fcn.004406f1
pop ecx
mov dword [ebp + 8], eax
mov dword [ebp - 4], 3
test eax, eax
je 0x59635b
mov ecx, eax
call fcn.004b1701
jmp 0x596418
push 0x174
call fcn.004406f1
pop ecx
mov dword [ebp + 8], eax
mov dword [ebp - 4], 2
test eax, eax
je 0x59635b
mov ecx, eax
call fcn.004b1830
jmp 0x596418
push 0x15c
call fcn.004406f1
pop ecx
mov dword [ebp + 8], eax
mov dword [ebp - 4], 1
test eax, eax
je 0x59635b
mov ecx, eax
call fcn.004b0c83
jmp 0x596418
push 0x144
call fcn.004406f1
pop ecx
mov ecx, eax
mov dword [ebp + 8], ecx
xor eax, eax
mov dword [ebp - 4], eax
cmp ecx, eax
je 0x596418
call fcn.0058958f
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 0x596495
mov ecx, dword [edi - 0x1f40]
call fcn.005e60cd
mov ecx, dword [edi - 0x1770]
call fcn.005e60cd
mov eax, dword [esi + 0x14]
imul eax, dword [esi + 0x18]
inc dword [ebp - 0x10]
add edi, 4
cmp dword [ebp - 0x10], eax
jge 0x5964df
inc dword [ebp - 0x18]
lea ecx, [ebp - 0x28]
call fcn.0044cf33
mov ecx, dword [esi + 8]
call fcn.004db85c
add eax, 0x1f44c
push eax
push dword [eax + 0x10]
lea ecx, [ebp - 0x30]
call fcn.0044d726
lea eax, [ebp - 0x30]
push eax
lea ecx, [ebp - 0x28]
call fcn.00476443
test al, al
je 0x5960be
call fcn.00631689
ret 4