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

Disassembly:
push 0xffffffffffffffff
push 0x5ef515
mov eax, dword fs:[0]
push eax
sub esp, 0xa4
mov eax, dword [0x676890]
xor eax, esp
mov dword [esp + 0xa0], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x676890]
xor eax, esp
push eax
lea eax, [esp + 0xb8]
mov dword fs:[0], eax
fld dword [0x6592c4]
mov edi, dword [esp + 0xc8]
fld1
mov ebx, ecx
fdivrp st(1)
push edi
mov dword [esp + 0x44], ebx
mov dword [esp + 0x48], edi
fstp dword [esp + 0x5c]
call fcn.004fc100
mov ebp, eax
xor esi, esi
add esp, 4
cmp ebp, esi
je 0x4c37dc
mov ecx, ebp
call fcn.004fa2b0
test al, al
jne 0x4c37dc
mov ecx, ebp
call fcn.004fa280
push 0xe
push str.motionfilename
lea ecx, [esp + 0x20]
mov dword [esp + 0x38], 0xf
mov dword [esp + 0x34], esi
mov byte [esp + 0x24], 0
call fcn.00403f00
lea eax, [ebx + 0x14]
push eax
lea ecx, [esp + 0x1c]
push ecx
mov ecx, ebp
mov dword [esp + 0xc8], esi
call fcn.004faae0
test eax, eax
sete byte [esp + 0x14]
or esi, 0xffffffff
cmp dword [esp + 0x30], 0x10
mov dword [esp + 0xc0], esi
jb 0x4c3712
mov edx, dword [esp + 0x1c]
push edx
call fcn.0059fc2a
add esp, 4
cmp byte [esp + 0x14], 0
jne 0x4c37dc
push str.motionduration
lea ecx, [esp + 0x1c]
call fcn.00404010
lea eax, [ebx + 0x4c]
push eax
lea ecx, [esp + 0x1c]
push ecx
mov ecx, ebp
mov dword [esp + 0xc8], 1
call fcn.004fa820
test eax, eax
sete byte [esp + 0x14]
cmp dword [esp + 0x30], 0x10
mov dword [esp + 0xc0], esi
jb 0x4c3768
mov edx, dword [esp + 0x1c]
push edx
call fcn.0059fc2a
add esp, 4
cmp byte [esp + 0x14], 0
jne 0x4c37dc
push str.accumulation
lea ecx, [esp + 0x1c]
call fcn.00404010
lea eax, [esp + 0x3c]
push eax
lea ecx, [esp + 0x1c]
push ecx
mov ecx, ebp
mov dword [esp + 0xc8], 2
call fcn.004fa600
lea ecx, [esp + 0x18]
mov esi, eax
mov dword [esp + 0xc0], 0xffffffff
call fcn.0045c050
test esi, esi
je 0x4c3873
mov esi, dword [esp + 0x3c]
mov ecx, esi
call fcn.004181a0
mov ecx, esi
cmp eax, 3
je 0x4c37e3
call fcn.004181a0
push eax
push str.CRaceMotioNData::LoadMotionData_:_syntax_error_on_accumulation__vector_size__d
call fcn.00519180
add esp, 8
xor al, al
jmp 0x4c4042
push 2
call fcn.0044a160
cmp dword [eax + 0x18], 0x10
jb 0x4c37f5
mov edi, dword [eax + 4]
jmp 0x4c37f8
lea edi, [eax + 4]
mov ecx, dword [esp + 0x3c]
push 1
call fcn.0044a160
cmp dword [eax + 0x18], 0x10
jb 0x4c380e
mov esi, dword [eax + 4]
jmp 0x4c3811
lea esi, [eax + 4]
mov ecx, dword [esp + 0x3c]
push 0
call fcn.0044a160
cmp dword [eax + 0x18], 0x10
jb 0x4c3827
mov eax, dword [eax + 4]
jmp 0x4c382a
add eax, 4
push eax
call fcn.005a1646
fstp dword [esp + 0x3c]
push esi
call fcn.005a1646
fstp dword [esp + 0x3c]
push edi
call fcn.005a1646
fstp dword [esp + 0x20]
fld dword [esp + 0x44]
add esp, 0xc
fstp dword [esp + 0x48]
lea edx, [esp + 0x48]
fld dword [esp + 0x34]
push edx
fstp dword [esp + 0x50]
mov ecx, ebx
fld dword [esp + 0x18]
fstp dword [esp + 0x54]
call fcn.004c1a20
mov edi, dword [esp + 0x44]
xor esi, esi
mov dword [esp + 0x94], 0xf
mov dword [esp + 0x90], esi
mov byte [esp + 0x80], 0
mov ecx, ebp
mov dword [esp + 0xc0], 3
mov dword [esp + 0x38], esi
call fcn.004fa2c0
test eax, eax
jbe 0x4c3edd
mov dword [esp + 0x5c], ebp
lea edi, [esi + 1]
push esi
mov ecx, ebp
call fcn.004fa390
lea eax, [esp + 0x7c]
push eax
mov ecx, ebp
mov byte [esp + 0xc4], 4
call fcn.004fa690
mov ecx, dword [esp + 0x90]
push 0xe
push str.comboinputdata
push ecx
push 0
lea ecx, [esp + 0x8c]
call fcn.00406860
test eax, eax
jne 0x4c39b5
push str.preinputtime
lea ecx, [esp + 0x1c]
mov dword [ebx + 0x60], edi
call fcn.00404010
lea edx, [ebx + 0x64]
push edx
lea eax, [esp + 0x1c]
push eax
mov ecx, ebp
mov byte [esp + 0xc8], 5
call fcn.004fa820
test eax, eax
sete byte [esp + 0x14]
cmp dword [esp + 0x30], 0x10
mov byte [esp + 0xc0], 4
jb 0x4c3941
mov ecx, dword [esp + 0x1c]
push ecx
call fcn.0059fc2a
add esp, 4
cmp byte [esp + 0x14], 0
jne case.0x4c3c7b.3
push str.directinputtime
lea ecx, [esp + 0x1c]
call fcn.00404010
lea edx, [ebx + 0x68]
push edx
lea eax, [esp + 0x1c]
push eax
mov ecx, ebp
mov byte [esp + 0xc8], 6
call fcn.004fa820
test eax, eax
lea ecx, [esp + 0x18]
sete byte [esp + 0x14]
mov byte [esp + 0xc0], 4
call fcn.0045c050
cmp byte [esp + 0x14], 0
jne case.0x4c3c7b.3
push str.inputlimittime
lea ecx, [esp + 0x1c]
call fcn.00404010
lea ecx, [ebx + 0x6c]
push ecx
lea edx, [esp + 0x1c]
mov byte [esp + 0xc4], 7
push edx
jmp 0x4c3b2d
mov eax, dword [esp + 0x90]
push 0xd
push str.attackingdata
push eax
push 0
lea ecx, [esp + 0x8c]
call fcn.00406860
test eax, eax
jne 0x4c3a10
lea ecx, [ebx + 0x80]
push ecx
push ebp
mov dword [ebx + 0x7c], edi
call fcn.004c94b0
add esp, 8
test eax, eax
jne 0x4c3eac
mov ecx, ebp
mov byte [esp + 0xc0], 3
call fcn.004fa290
lea ecx, [esp + 0x7c]
call fcn.0045c050
xor al, al
jmp 0x4c4042
push str.loopdata
lea ecx, [esp + 0x80]
call fcn.00421cd0
test eax, eax
jne 0x4c3b54
push str.motionloopcount
lea ecx, [esp + 0x1c]
mov dword [ebx + 0x70], edi
call fcn.00404010
lea esi, [ebx + 0x10]
push esi
lea edx, [esp + 0x1c]
push edx
mov ecx, ebp
mov byte [esp + 0xc8], 8
call fcn.004fa6c0
test eax, eax
lea ecx, [esp + 0x18]
sete byte [esp + 0x14]
mov byte [esp + 0xc0], 4
call fcn.0045c050
cmp byte [esp + 0x14], 0
je 0x4c3a77
mov dword [esi], 0xffffffff
push str.loopcancelenable
lea ecx, [esp + 0x1c]
call fcn.00404010
lea esi, [ebx + 0xb4]
push esi
lea eax, [esp + 0x1c]
push eax
mov ecx, ebp
mov byte [esp + 0xc8], 9
call fcn.004fa6c0
test eax, eax
lea ecx, [esp + 0x18]
sete byte [esp + 0x14]
mov byte [esp + 0xc0], 4
call fcn.0045c050
cmp byte [esp + 0x14], 0
je 0x4c3ac5
mov dword [esi], 0
push str.loopstarttime
lea ecx, [esp + 0x1c]
call fcn.00404010
lea ecx, [ebx + 0x74]
push ecx
lea edx, [esp + 0x1c]
push edx
mov ecx, ebp
mov byte [esp + 0xc8], 0xa
call fcn.004fa820
test eax, eax
lea ecx, [esp + 0x18]
sete byte [esp + 0x14]
mov byte [esp + 0xc0], 4
call fcn.0045c050
cmp byte [esp + 0x14], 0
jne case.0x4c3c7b.3
push str.loopendtime
lea ecx, [esp + 0x1c]
call fcn.00404010
lea eax, [ebx + 0x78]
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0xc4], 0xb
push ecx
mov ecx, ebp
call fcn.004fa820
test eax, eax
lea ecx, [esp + 0x18]
sete byte [esp + 0x14]
call fcn.0045c050
cmp byte [esp + 0x14], 0
jne case.0x4c3c7b.3
jmp 0x4c3eac
push str.motioneventdata
lea ecx, [esp + 0x80]
call fcn.00421cd0
test eax, eax
jne 0x4c3eac
push str.motioneventdatacount
lea ecx, [esp + 0x1c]
call fcn.00404010
lea edx, [esp + 0x54]
push edx
lea eax, [esp + 0x1c]
push eax
mov ecx, ebp
mov byte [esp + 0xc8], 0xc
call fcn.004fa810
test eax, eax
lea ecx, [esp + 0x18]
sete byte [esp + 0x14]
mov byte [esp + 0xc0], 4
call fcn.0045c050
cmp byte [esp + 0x14], 0
jne 0x4c3eac
lea edi, [ebx + 0xb8]
push edi
call fcn.004c2220
mov ecx, dword [esp + 0x58]
add esp, 4
push 0
push ecx
mov ecx, edi
call fcn.004bb0d0
mov edx, dword [edi + 0x10]
sub edx, dword [edi + 0xc]
xor esi, esi
sar edx, 2
test edx, edx
jbe 0x4c3eac
push str.event
lea ecx, [esp + 0x1c]
call fcn.00404010
push esi
lea eax, [esp + 0x1c]
push eax
mov ecx, ebp
mov byte [esp + 0xc8], 0xd
call fcn.004fa400
test eax, eax
lea ecx, [esp + 0x18]
sete bl
mov byte [esp + 0xc0], 4
call fcn.0045c050
test bl, bl
jne case.0x4c3c7b.3
push str.motioneventtype
lea ecx, [esp + 0x1c]
call fcn.00404010
lea ecx, [esp + 0x34]
push ecx
lea edx, [esp + 0x1c]
push edx
mov ecx, ebp
mov byte [esp + 0xc8], 0xe
call fcn.004fa6c0
test eax, eax
lea ecx, [esp + 0x18]
sete bl
mov byte [esp + 0xc0], 4
call fcn.0045c050
test bl, bl
jne case.0x4c3c7b.3
mov eax, dword [esp + 0x34]
dec eax
cmp eax, 9
ja case.0x4c3c7b.3
jmp dword [eax*4 + 0x4c406c]
push 0x60
call fcn.005a01ed
add esp, 4
test eax, eax
je 0x4c3dd0
mov ecx, eax
call fcn.004c1f90
jmp 0x4c3dd2
push 0x68
call fcn.005a01ed
add esp, 4
test eax, eax
je 0x4c3dd0
mov ecx, eax
call fcn.004c1d10
jmp 0x4c3dd2
push 0x1c
call fcn.005a01ed
add esp, 4
test eax, eax
je 0x4c3dd0
fldz
mov dword [eax + 8], 0
fst dword [eax + 0xc]
mov dword [eax], vtable.NMotionEvent::SMotionEventDataScreenWaving.0
fstp dword [eax + 0x10]
jmp 0x4c3dd2
push 0x50
call fcn.005a01ed
add esp, 4
mov dword [esp + 0x48], eax
mov byte [esp + 0xc0], 0xf
test eax, eax
je 0x4c3d0d
mov ecx, eax
call fcn.004c3100
jmp 0x4c3d0f
xor eax, eax
mov ebx, eax
mov eax, dword [esp + 0x40]
mov byte [esp + 0xc0], 4
mov dword [eax + 0xe8], 1
jmp 0x4c3dd4
push 0x30
call fcn.005a01ed
add esp, 4
test eax, eax
je 0x4c3dd0
mov ecx, eax
call fcn.004c20e0
jmp 0x4c3dd2
push 0x14
call fcn.005a01ed
add esp, 4
test eax, eax
je 0x4c3dd0
fldz
mov dword [eax + 8], 0
fst dword [eax + 0xc]
mov dword [eax], vtable.NMotionEvent::SMotionEventDataCharacterShow.0
fstp dword [eax + 0x10]
jmp 0x4c3dd2
push 0x14
call fcn.005a01ed
add esp, 4
test eax, eax
je 0x4c3dd0
fldz
mov dword [eax + 8], 0
fst dword [eax + 0xc]
mov dword [eax], vtable.NMotionEvent::SMotionEventDataCharacterHide.0
fstp dword [eax + 0x10]
jmp 0x4c3dd2
push 0x14
call fcn.005a01ed
add esp, 4
test eax, eax
je 0x4c3dd0
fldz
mov dword [eax + 8], 0
fst dword [eax + 0xc]
mov dword [eax], vtable.NMotionEvent::SMotionEventDataWarp.0
fstp dword [eax + 0x10]
jmp 0x4c3dd2
push 0x48
call fcn.005a01ed
add esp, 4
test eax, eax
je 0x4c3dd0
mov ecx, eax
call fcn.004c1e80
jmp 0x4c3dd2
xor eax, eax
mov ebx, eax
push esi
mov ecx, edi
call fcn.0049dde0
push esi
mov ecx, edi
mov dword [eax], ebx
call fcn.0049dde0
mov ecx, dword [eax]
mov edx, dword [ecx]
mov eax, dword [edx + 8]
push ebp
call eax
push esi
mov ecx, edi
call fcn.0049dde0
mov ecx, dword [eax]
mov edx, dword [esp + 0x34]
mov dword [ecx + 4], edx
push str.startingtime
lea ecx, [esp + 0x1c]
call fcn.00404010
push esi
mov ecx, edi
mov byte [esp + 0xc4], 0x10
call fcn.0049dde0
mov eax, dword [eax]
add eax, 0xc
push eax
lea ecx, [esp + 0x1c]
push ecx
mov ecx, ebp
call fcn.004fa820
test eax, eax
lea ecx, [esp + 0x18]
sete bl
mov byte [esp + 0xc0], 4
call fcn.0045c050
test bl, bl
jne case.0x4c3c7b.3
push esi
mov ecx, edi
call fcn.0049dde0
fnstcw word [esp + 0x14]
mov edx, dword [eax]
fld dword [edx + 0xc]
fdiv dword [esp + 0x58]
movzx eax, word [esp + 0x14]
or eax, 0xc00
mov dword [esp + 0x48], eax
push esi
mov ecx, edi
fldcw word [esp + 0x4c]
fistp qword [esp + 0x4c]
mov ebx, dword [esp + 0x4c]
fldcw word [esp + 0x18]
call fcn.0049dde0
mov eax, dword [eax]
mov ecx, ebp
mov dword [eax + 8], ebx
call fcn.004fa290
mov ecx, dword [edi + 0x10]
sub ecx, dword [edi + 0xc]
inc esi
sar ecx, 2
cmp esi, ecx
jb 0x4c3be7
mov ebx, dword [esp + 0x40]
mov ecx, ebp
mov byte [esp + 0xc0], 3
call fcn.004fa290
mov esi, dword [esp + 0x38]
mov edi, 1
add esi, edi
mov ecx, ebp
mov dword [esp + 0x38], esi
call fcn.004fa2c0
cmp esi, eax
jb 0x4c38b4
mov edi, dword [esp + 0x44]
mov eax, edi
mov esi, 0x10
mov dword [esp + 0xb0], 0xf
mov dword [esp + 0xac], 0
mov byte [esp + 0x9c], 0
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4c3f05
sub eax, edx
push eax
push edi
lea ecx, [esp + 0xa0]
call fcn.00403f00
lea edx, [esp + 0x98]
push edx
lea eax, [esp + 0x64]
push eax
mov byte [esp + 0xc8], 0x11
call fcn.0049d690
add esp, 8
push 0xffffffffffffffff
push 0
push eax
lea ecx, [esp + 0xa4]
mov byte [esp + 0xcc], 0x12
call fcn.004046b0
mov byte [esp + 0xc0], 0x11
cmp dword [esp + 0x78], esi
jb 0x4c3f6d
mov ecx, dword [esp + 0x64]
push ecx
call fcn.0059fc2a
add esp, 4
push 4
push str..mss
lea ecx, [esp + 0xa0]
call fcn.00404150
mov eax, dword [esp + 0xac]
cmp eax, 0xd
jbe 0x4c3ff0
jae 0x4c3f93
call fcn.005a01dd
mov eax, dword [esp + 0x9c]
cmp dword [esp + 0xb0], esi
jae 0x4c3faa
lea eax, [esp + 0x9c]
push 6
lea esi, [ebx + 0x30]
push str.sound_
mov ecx, esi
lea ebp, [eax + 0xd]
call fcn.00403f00
mov eax, ebp
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4c3fc3
sub eax, edx
push eax
push ebp
mov ecx, esi
call fcn.00404150
cmp dword [esi + 0x18], 0x10
jb 0x4c3fe0
mov esi, dword [esi + 4]
jmp 0x4c3fe3
add esi, 4
push esi
mov ecx, ebx
call fcn.004c3480
mov esi, 0x10
cmp dword [esp + 0xb0], esi
jb 0x4c4009
mov edx, dword [esp + 0x9c]
push edx
call fcn.0059fc2a
add esp, 4
mov dword [esp + 0xb0], 0xf
mov dword [esp + 0xac], 0
mov byte [esp + 0x9c], 0
cmp dword [esp + 0x94], esi
jb 0x4c4040
mov eax, dword [esp + 0x80]
push eax
call fcn.0059fc2a
add esp, 4
mov al, 1
mov ecx, dword [esp + 0xb8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0xa0]
xor ecx, esp
call fcn.005a09eb
add esp, 0xb0
ret 4