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

Disassembly:
push 0xffffffffffffffff
push 0x593b13
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1a0
fld dword [0x5997ac]
mov eax, dword [esp + 0x1b0]
fdiv dword [0x5e18c4]
push ebp
push esi
push edi
push eax
mov esi, ecx
fstp dword [esp + 0x5c]
call fcn.004d2f40
mov edi, eax
xor ebp, ebp
add esp, 4
cmp edi, ebp
je 0x511e63
mov ecx, edi
call fcn.004d05d0
test al, al
je 0x511e6a
xor al, al
jmp 0x512882
push ebx
mov ecx, edi
call fcn.004d0500
lea ecx, [esi + 0x14]
test ecx, ecx
je 0x511e7e
lea ebx, [esi + 0x18]
jmp 0x511e80
xor ebx, ebx
push 0xe
push str.motionfilename
lea ecx, [esp + 0x44]
mov dword [esp + 0x5c], 0xf
mov dword [esp + 0x58], ebp
mov byte [esp + 0x48], 0
call fcn.00404250
push ebx
lea edx, [esp + 0x40]
push edx
mov ecx, edi
mov dword [esp + 0x1c0], ebp
call fcn.004d1aa0
mov ebx, eax
mov eax, dword [esp + 0x54]
neg ebx
sbb bl, bl
inc bl
cmp eax, 0x10
mov dword [esp + 0x1b8], 0xffffffff
jb 0x511ede
mov eax, dword [esp + 0x40]
push eax
call fcn.004796fd
add esp, 4
test bl, bl
jne 0x511fac
push str.motionduration
lea ecx, [esp + 0x40]
call fcn.004050a0
lea ecx, [esi + 0x54]
push ecx
lea edx, [esp + 0x40]
push edx
mov ecx, edi
mov dword [esp + 0x1c0], 1
call fcn.004d1650
mov ebx, eax
mov eax, dword [esp + 0x54]
neg ebx
sbb bl, bl
inc bl
cmp eax, 0x10
mov dword [esp + 0x1b8], 0xffffffff
jb 0x511f38
mov eax, dword [esp + 0x40]
push eax
call fcn.004796fd
add esp, 4
test bl, bl
jne 0x511fac
push str.accumulation
lea ecx, [esp + 0x40]
call fcn.004050a0
lea ecx, [esp + 0x1c]
push ecx
lea edx, [esp + 0x40]
push edx
mov ecx, edi
mov dword [esp + 0x1c0], 2
call fcn.004d0a40
lea ecx, [esp + 0x3c]
mov ebx, eax
mov dword [esp + 0x1b8], 0xffffffff
call fcn.004e5320
cmp ebx, ebp
je 0x512058
mov ebx, dword [esp + 0x1c]
add ebx, 4
mov ecx, ebx
call fcn.004e8700
cmp eax, 3
mov ecx, ebx
je 0x511fb3
call fcn.004e8700
push eax
push str.CRaceMotioNData::LoadMotionData_:_syntax_error_on_accumulation__vector_size__d
call fcn.004b01a0
add esp, 8
xor al, al
jmp 0x512881
push 2
call fcn.00447d60
mov ecx, dword [eax + 0x18]
mov ebx, 0x10
cmp ecx, ebx
jb 0x511fcb
mov eax, dword [eax + 4]
jmp 0x511fce
add eax, 4
mov ecx, dword [esp + 0x1c]
push 1
add ecx, 4
mov dword [esp + 0x14], eax
call fcn.00447d60
cmp dword [eax + 0x18], ebx
jb 0x511fea
mov ebp, dword [eax + 4]
jmp 0x511fed
lea ebp, [eax + 4]
mov ecx, dword [esp + 0x1c]
push 0
add ecx, 4
call fcn.00447d60
cmp dword [eax + 0x18], 0x10
jb 0x512006
mov ebx, dword [eax + 4]
jmp 0x512009
lea ebx, [eax + 4]
mov ecx, dword [esp + 0x10]
push ecx
call fcn.0047a5b3
fstp dword [esp + 0x14]
push ebp
call fcn.0047a5b3
fstp dword [esp + 0x20]
push ebx
call fcn.0047a5b3
fstp dword [esp + 0x8c]
mov edx, dword [esp + 0x24]
mov eax, dword [esp + 0x1c]
add esp, 0xc
lea ecx, [esp + 0x80]
push ecx
mov ecx, esi
mov dword [esp + 0x88], edx
mov dword [esp + 0x8c], eax
call fcn.0050fff0
xor ebp, ebp
mov dword [esp + 0x38], 0xf
mov dword [esp + 0x34], ebp
mov byte [esp + 0x24], 0
mov ecx, edi
mov dword [esp + 0x1b8], 3
mov dword [esp + 0x10], ebp
call fcn.004d05e0
test eax, eax
jbe 0x51271c
mov dword [esp + 0xac], edi
mov edi, edi
mov edx, dword [esp + 0x10]
push edx
mov ecx, edi
call fcn.004d08b0
lea eax, [esp + 0x20]
push eax
mov ecx, edi
mov byte [esp + 0x1bc], 4
call fcn.004d0ad0
mov ecx, dword [esp + 0x34]
push 0xe
push str.comboinputdata
push ecx
push ebp
lea ecx, [esp + 0x30]
call fcn.004089f0
test eax, eax
jne 0x5121ed
push str.preinputtime
lea ecx, [esp + 0x40]
mov dword [esi + 0x68], 1
call fcn.004050a0
lea edx, [esi + 0x6c]
push edx
lea eax, [esp + 0x40]
push eax
mov ecx, edi
mov byte [esp + 0x1c0], 5
call fcn.004d1650
mov ebx, eax
mov eax, dword [esp + 0x54]
neg ebx
sbb bl, bl
inc bl
cmp eax, 0x10
mov byte [esp + 0x1b8], 4
jb 0x512121
mov ecx, dword [esp + 0x40]
push ecx
call fcn.004796fd
add esp, 4
test bl, bl
mov dword [esp + 0x54], 0xf
mov dword [esp + 0x50], ebp
mov byte [esp + 0x40], 0
jne case.0x5124e0.3
push str.directinputtime
lea ecx, [esp + 0x198]
call fcn.004050a0
lea edx, [esi + 0x70]
push edx
lea eax, [esp + 0x198]
push eax
mov ecx, edi
mov byte [esp + 0x1c0], 6
call fcn.004d1650
mov ebx, eax
neg ebx
sbb bl, bl
lea ecx, [esp + 0x194]
inc bl
mov byte [esp + 0x1b8], 4
call fcn.004e5320
test bl, bl
jne case.0x5124e0.3
push str.inputlimittime
lea ecx, [esp + 0x160]
call fcn.004050a0
lea ecx, [esi + 0x74]
push ecx
lea edx, [esp + 0x160]
push edx
mov ecx, edi
mov byte [esp + 0x1c0], 7
call fcn.004d1650
mov ebx, eax
neg ebx
sbb bl, bl
lea ecx, [esp + 0x15c]
inc bl
call fcn.004e5320
test bl, bl
je 0x5126f5
mov ecx, edi
mov byte [esp + 0x1b8], 3
call fcn.004d0510
lea ecx, [esp + 0x20]
call fcn.004e5320
xor al, al
jmp 0x512881
mov eax, dword [esp + 0x34]
push 0xd
push str.attackingdata
push eax
push ebp
lea ecx, [esp + 0x30]
call fcn.004089f0
test eax, eax
jne 0x51222a
lea ecx, [esi + 0x88]
push ecx
push edi
mov dword [esi + 0x84], 1
call fcn.00517290
add esp, 8
test eax, eax
je case.0x5124e0.3
jmp 0x5126f5
push str.loopdata
lea ecx, [esp + 0x24]
call fcn.00408c00
test eax, eax
jne 0x512392
push str.motionloopcount
lea ecx, [esp + 0xb8]
mov dword [esi + 0x78], 1
call fcn.004050a0
lea ebp, [esi + 0x10]
push ebp
lea edx, [esp + 0xb8]
push edx
mov ecx, edi
mov byte [esp + 0x1c0], 8
call fcn.004d15a0
mov ebx, eax
neg ebx
sbb bl, bl
lea ecx, [esp + 0xb4]
inc bl
mov byte [esp + 0x1b8], 4
call fcn.004e5320
test bl, bl
je 0x51229a
mov dword [ebp], 0xffffffff
push str.loopcancelenable
lea ecx, [esp + 0x144]
call fcn.004050a0
lea ebp, [esi + 0xb4]
push ebp
lea eax, [esp + 0x144]
push eax
mov ecx, edi
mov byte [esp + 0x1c0], 9
call fcn.004d15a0
mov ebx, eax
neg ebx
sbb bl, bl
lea ecx, [esp + 0x140]
inc bl
mov byte [esp + 0x1b8], 4
call fcn.004e5320
test bl, bl
je 0x5122f0
mov dword [ebp], 0
push str.loopstarttime
lea ecx, [esp + 0x10c]
call fcn.004050a0
lea ecx, [esi + 0x7c]
push ecx
lea edx, [esp + 0x10c]
push edx
mov ecx, edi
mov byte [esp + 0x1c0], 0xa
call fcn.004d1650
mov ebx, eax
neg ebx
sbb bl, bl
lea ecx, [esp + 0x108]
inc bl
mov byte [esp + 0x1b8], 4
call fcn.004e5320
test bl, bl
jne case.0x5124e0.3
push str.loopendtime
lea ecx, [esp + 0x17c]
call fcn.004050a0
lea eax, [esi + 0x80]
push eax
lea ecx, [esp + 0x17c]
push ecx
mov ecx, edi
mov byte [esp + 0x1c0], 0xb
call fcn.004d1650
mov ebx, eax
neg ebx
sbb bl, bl
lea ecx, [esp + 0x178]
inc bl
call fcn.004e5320
test bl, bl
jne case.0x5124e0.3
xor ebp, ebp
jmp 0x5126f5
push str.motioneventdata
lea ecx, [esp + 0x24]
call fcn.00408c00
test eax, eax
jne 0x5126f5
push str.motioneventdatacount
lea ecx, [esp + 0xd4]
call fcn.004050a0
lea edx, [esp + 0x58]
push edx
lea eax, [esp + 0xd4]
push eax
mov ecx, edi
mov byte [esp + 0x1c0], 0xc
call fcn.004d1640
mov ebx, eax
neg ebx
sbb bl, bl
lea ecx, [esp + 0xd0]
inc bl
mov byte [esp + 0x1b8], 4
call fcn.004e5320
test bl, bl
jne 0x5126f5
lea ebx, [esi + 0xb8]
push ebx
call fcn.00510840
mov ecx, dword [esp + 0x5c]
add esp, 4
push ebp
push ecx
mov ecx, ebx
call fcn.00511850
mov ecx, ebx
mov dword [esp + 0x14], ebp
call fcn.00510020
test eax, eax
jbe 0x5126f5
jmp 0x512430
push str.event
lea ecx, [esp + 0xf0]
call fcn.004050a0
mov edx, dword [esp + 0x14]
push edx
lea eax, [esp + 0xf0]
push eax
mov ecx, edi
mov byte [esp + 0x1c0], 0xd
call fcn.004d0860
mov ebx, eax
neg ebx
sbb bl, bl
lea ecx, [esp + 0xec]
inc bl
mov byte [esp + 0x1b8], 4
call fcn.004e5320
test bl, bl
jne case.0x5124e0.3
push str.motioneventtype
lea ecx, [esp + 0x128]
call fcn.004050a0
lea ecx, [esp + 0x18]
push ecx
lea edx, [esp + 0x128]
push edx
mov ecx, edi
mov byte [esp + 0x1c0], 0xe
call fcn.004d15a0
mov ebx, eax
neg ebx
sbb bl, bl
lea ecx, [esp + 0x124]
inc bl
mov byte [esp + 0x1b8], 4
call fcn.004e5320
test bl, bl
jne case.0x5124e0.3
mov eax, dword [esp + 0x18]
dec eax
cmp eax, 9
ja case.0x5124e0.3
jmp dword [eax*4 + 0x51289c]
push 0x60
call fcn.00479702
add esp, 4
cmp eax, ebp
je 0x512628
mov ecx, eax
call fcn.00510550
jmp 0x51262a
push 0x68
call fcn.00479702
add esp, 4
cmp eax, ebp
je 0x512628
mov ecx, eax
call fcn.005102c0
jmp 0x51262a
push 0x1c
call fcn.00479702
add esp, 4
cmp eax, ebp
je 0x512628
mov dword [eax + 8], ebp
mov dword [eax + 0xc], ebp
mov dword [eax + 0x10], ebp
mov dword [eax], 0x5ae9d8
jmp 0x51262a
push 0x48
call fcn.00479702
add esp, 4
mov dword [esp + 0xb0], eax
cmp eax, ebp
mov byte [esp + 0x1b8], 0xf
je 0x512584
mov ecx, eax
call fcn.00511930
mov byte [esp + 0x1b8], 4
mov dword [esi + 0xd8], 1
jmp 0x51262a
xor eax, eax
mov byte [esp + 0x1b8], 4
mov dword [esi + 0xd8], 1
jmp 0x51262a
push 0x30
call fcn.00479702
add esp, 4
cmp eax, ebp
je 0x512628
mov ecx, eax
call fcn.005106a0
jmp 0x51262a
push 0x14
call fcn.00479702
add esp, 4
cmp eax, ebp
je 0x512628
mov dword [eax + 8], ebp
mov dword [eax + 0xc], ebp
mov dword [eax + 0x10], ebp
mov dword [eax], 0x5aea38
jmp 0x51262a
push 0x14
call fcn.00479702
add esp, 4
cmp eax, ebp
je 0x512628
mov dword [eax + 8], ebp
mov dword [eax + 0xc], ebp
mov dword [eax + 0x10], ebp
mov dword [eax], 0x5aea44
jmp 0x51262a
push 0x14
call fcn.00479702
add esp, 4
cmp eax, ebp
je 0x512628
mov dword [eax + 8], ebp
mov dword [eax + 0xc], ebp
mov dword [eax + 0x10], ebp
mov dword [eax], 0x5aea50
jmp 0x51262a
push 0x48
call fcn.00479702
add esp, 4
cmp eax, ebp
je 0x512628
mov ecx, eax
call fcn.00510430
jmp 0x51262a
xor eax, eax
mov ecx, dword [esi + 0xbc]
mov ebx, dword [esp + 0x14]
mov dword [ecx + ebx*4], eax
mov eax, dword [esi + 0xbc]
mov ecx, dword [eax + ebx*4]
mov eax, dword [ecx]
push edi
call dword [eax + 8]
mov eax, dword [esi + 0xbc]
mov ecx, dword [eax + ebx*4]
mov edx, dword [esp + 0x18]
mov dword [ecx + 4], edx
push str.startingtime
lea ecx, [esp + 0x90]
call fcn.004050a0
mov eax, dword [esi + 0xbc]
mov eax, dword [eax + ebx*4]
add eax, 0xc
push eax
lea ecx, [esp + 0x90]
push ecx
mov ecx, edi
mov byte [esp + 0x1c0], 0x10
call fcn.004d1650
mov ebx, eax
neg ebx
sbb bl, bl
lea ecx, [esp + 0x8c]
inc bl
mov byte [esp + 0x1b8], 4
call fcn.004e5320
test bl, bl
jne case.0x5124e0.3
mov edx, dword [esp + 0x14]
mov ebx, dword [esi + 0xbc]
mov eax, dword [ebx + edx*4]
fld dword [eax + 0xc]
fdiv dword [esp + 0x5c]
call fcn.00479bdc
mov ecx, dword [esp + 0x14]
mov edx, dword [ebx + ecx*4]
mov ecx, edi
mov dword [edx + 8], eax
call fcn.004d0510
mov ebx, dword [esp + 0x14]
inc ebx
lea ecx, [esi + 0xb8]
mov dword [esp + 0x14], ebx
call fcn.00510020
cmp ebx, eax
jb 0x512430
mov ecx, edi
mov byte [esp + 0x1b8], 3
call fcn.004d0510
mov ebx, dword [esp + 0x10]
inc ebx
mov ecx, edi
mov dword [esp + 0x10], ebx
call fcn.004d05e0
cmp ebx, eax
jb 0x512090
mov eax, dword [esp + 0x1c0]
push eax
lea ecx, [esp + 0x64]
call fcn.0040f5f0
lea ecx, [esp + 0x8c]
push ecx
lea ecx, [esp + 0x64]
mov byte [esp + 0x1bc], 0x11
call fcn.0049dce0
cmp eax, ebp
mov byte [esp + 0x1b8], 0x12
je 0x512757
add eax, 4
jmp 0x512759
xor eax, eax
push 0xffffffffffffffff
push 0
push eax
lea ecx, [esp + 0x70]
call fcn.00403f50
mov eax, dword [esp + 0xa8]
mov edi, 0x10
cmp eax, edi
mov ebp, 0x599e5c
mov byte [esp + 0x1b8], 0x11
mov dword [esp + 0x8c], ebp
jb 0x51279b
mov edx, dword [esp + 0x94]
push edx
call fcn.004796fd
add esp, 4
push 4
push str..mss
lea ecx, [esp + 0x6c]
call fcn.00404050
cmp dword [esp + 0x78], 0xd
jbe 0x512840
cmp dword [esp + 0x7c], edi
mov eax, dword [esp + 0x68]
jae 0x5127c4
lea eax, [esp + 0x68]
push str.sound_
lea ecx, [esp + 0x90]
lea ebx, [eax + 0xd]
call fcn.0040f5f0
lea eax, [esp + 0x8c]
push eax
lea ecx, [esi + 0x34]
mov byte [esp + 0x1bc], 0x13
call fcn.0040f5b0
lea ecx, [esp + 0x8c]
mov byte [esp + 0x1b8], 0x11
call fcn.0040f550
mov eax, ebx
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x512810
sub eax, edx
push eax
lea edi, [esi + 0x38]
push ebx
mov ecx, edi
call fcn.00404050
cmp dword [edi + 0x18], 0x10
jb 0x512830
mov edi, dword [edi + 4]
jmp 0x512833
add edi, 4
push edi
mov ecx, esi
call fcn.00511bf0
mov edi, 0x10
cmp dword [esp + 0x7c], edi
mov dword [esp + 0x60], ebp
jb 0x512857
mov ecx, dword [esp + 0x68]
push ecx
call fcn.004796fd
add esp, 4
cmp dword [esp + 0x38], edi
mov dword [esp + 0x7c], 0xf
mov dword [esp + 0x78], 0
mov byte [esp + 0x68], 0
jb 0x51287f
mov edx, dword [esp + 0x24]
push edx
call fcn.004796fd
add esp, 4
mov al, 1
pop ebx
mov ecx, dword [esp + 0x1ac]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x1ac
ret 4