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

Disassembly:
push 0xffffffffffffffff
push 0x663e8c
mov eax, dword fs:[0]
push eax
sub esp, 0x28c
mov eax, dword [0x70903c]
xor eax, esp
mov dword [esp + 0x288], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x70903c]
xor eax, esp
push eax
lea eax, [esp + 0x2a0]
mov dword fs:[0], eax
mov dword [esp + 0x20], ecx
lea esi, [ecx + 0x44]
lea eax, [esp + 0x2b0]
push eax
lea ecx, [esp + 0x28]
push ecx
mov ecx, esi
call fcn.004df1c0
mov edi, dword [esi + 0x18]
mov esi, dword [esi]
mov ebp, dword [esp + 0x24]
xor ebx, ebx
cmp esi, ebx
je 0x524449
cmp esi, ebp
je 0x52444e
call fcn.00615e0c
mov esi, dword [esp + 0x28]
cmp edi, esi
je 0x5247b6
cmp ebp, ebx
jne 0x52448e
call fcn.00615e0c
xor eax, eax
cmp esi, dword [eax + 0x18]
jne 0x52446f
call fcn.00615e0c
add esi, 0x10
mov dword [esp + 0x1c], esi
cmp dword [esi + 0x14], ebx
je 0x5247b6
mov edx, dword [esi + 0x18]
lea eax, [esi + 4]
cmp edx, 0x10
jb 0x524493
mov ecx, dword [eax]
jmp 0x524495
mov eax, dword [ebp]
jmp 0x524465
mov ecx, eax
cmp byte [ecx], 0x23
jne 0x52453f
cmp edx, 0x10
jb 0x5244a5
mov eax, dword [eax]
lea edi, [eax + 1]
push edi
push str._sshape.msm
lea edx, [esp + 0xa4]
push 0x100
push edx
call fcn.00616b2e
push edi
push str._smotlist.txt
lea eax, [esp + 0x1b4]
push 0x100
push eax
call fcn.00616b2e
add esp, 0x20
call fcn.00529dc0
mov ebx, dword [esp + 0x2b0]
mov esi, eax
push ebx
mov ecx, esi
call fcn.005cee80
lea ecx, [esp + 0x9c]
push ecx
mov ecx, esi
call fcn.00529e80
test eax, eax
jne 0x524525
lea edx, [esp + 0x9c]
push edx
push ebx
push str.CRaceManager::RegisterRacePath_race_u_.LoadRaceData__s_
call fcn.00587390
push esi
call fcn.00529930
add esp, 0x10
jmp 0x5247b6
mov ecx, dword [esp + 0x20]
lea eax, [esp + 0x19c]
push eax
push edi
push esi
call fcn.00522560
mov eax, esi
jmp 0x5247b8
lea ecx, [esp + 0x30]
call fcn.0044fb40
mov edi, dword [esp + 0x2b0]
lea ecx, [esp + 0x30]
push ecx
push edi
mov dword [esp + 0x2b0], ebx
call fcn.00521be0
add esp, 8
call fcn.00529dc0
mov ebp, eax
push edi
mov ecx, ebp
mov dword [esp + 0x30], ebp
call fcn.005cee80
mov ecx, dword [esp + 0x40]
sub ecx, dword [esp + 0x3c]
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
mov dword [esp + 0x14], ebx
je 0x524799
mov edi, dword [esp + 0x20]
add edi, 0x24
mov dword [esp + 0x18], ebx
jmp 0x5245b4
mov esi, dword [esp + 0x1c]
cmp dword [esp + 0x14], eax
jb 0x5245bf
call fcn.00615e0c
mov edx, dword [esp + 0x3c]
mov eax, dword [esp + 0x18]
push 0xffffffffffffffff
add eax, edx
push ebx
push eax
lea ecx, [esp + 0x70]
mov dword [esp + 0x88], 0xf
mov dword [esp + 0x84], ebx
mov byte [esp + 0x74], bl
call fcn.00417560
push esi
lea ecx, [esp + 0x28]
push ecx
mov ecx, edi
mov byte [esp + 0x2b0], 1
call fcn.00495ae0
mov eax, dword [edi]
mov esi, dword [edi + 0x18]
cmp eax, ebx
je 0x524610
cmp eax, dword [esp + 0x24]
je 0x524615
call fcn.00615e0c
mov ebp, dword [esp + 0x28]
cmp esi, ebp
jne 0x524627
mov edx, dword [esp + 0x1c]
push 0xffffffffffffffff
push ebx
push edx
jmp 0x52464b
mov eax, dword [esp + 0x24]
cmp eax, ebx
jne 0x5247e2
call fcn.00615e0c
xor eax, eax
cmp ebp, dword [eax + 0x18]
jne 0x524644
call fcn.00615e0c
push 0xffffffffffffffff
lea eax, [ebp + 0x28]
push ebx
push eax
lea ecx, [esp + 0x70]
call fcn.00416cc0
push 1
push 0x6b4be0
lea ecx, [esp + 0x6c]
call fcn.00416dc0
push 0xffffffffffffffff
push ebx
lea eax, [esp + 0x6c]
mov esi, 0xf
push eax
lea ecx, [esp + 0x54]
mov dword [esp + 0x6c], esi
mov dword [esp + 0x68], ebx
mov byte [esp + 0x58], bl
call fcn.00417560
mov ecx, dword [esp + 0x1c]
push 0xffffffffffffffff
push ebx
push ecx
lea ecx, [esp + 0x54]
mov byte [esp + 0x2b4], 2
call fcn.00416cc0
push 4
push str..msm
lea ecx, [esp + 0x50]
call fcn.00416dc0
cmp dword [esp + 0x60], 0x10
mov eax, dword [esp + 0x4c]
jae 0x5246be
lea eax, [esp + 0x4c]
mov ebp, dword [esp + 0x2c]
push eax
mov ecx, ebp
call fcn.00529e80
test eax, eax
jne 0x52485c
mov ecx, dword [esp + 0x40]
sub ecx, dword [esp + 0x3c]
mov esi, dword [esp + 0x14]
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
lea ecx, [edx + eax - 1]
mov eax, dword [esp + 0x4c]
cmp esi, ecx
je 0x5247e9
mov ebp, 0x10
cmp dword [esp + 0x60], ebp
jae 0x52470e
lea eax, [esp + 0x4c]
mov edx, dword [esp + 0x2b0]
push eax
push edx
push str.CRaceManager::RegisterRacePath_:_RACE__u__LOAD_MSMFILE__s__ERROR._Will_Find_Another_Path.
call fcn.00587390
add esp, 0xc
cmp dword [esp + 0x60], ebp
jb 0x524737
mov eax, dword [esp + 0x4c]
push eax
call fcn.00613a18
add esp, 4
mov dword [esp + 0x60], 0xf
mov dword [esp + 0x5c], ebx
mov byte [esp + 0x4c], bl
mov byte [esp + 0x2a8], bl
cmp dword [esp + 0x7c], ebp
jb 0x524761
mov ecx, dword [esp + 0x68]
push ecx
call fcn.00613a18
add esp, 4
mov ecx, dword [esp + 0x40]
sub ecx, dword [esp + 0x3c]
add dword [esp + 0x18], 0x1c
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
inc esi
add eax, edx
mov dword [esp + 0x14], esi
cmp esi, eax
jb 0x5245b0
mov edi, dword [esp + 0x2b0]
mov ebp, dword [esp + 0x2c]
push edi
push str.CRaceManager::RegisterRacePath_:_RACE__u__HAVE_NO_PATH_ERROR
call fcn.00587390
push ebp
call fcn.00529930
add esp, 0xc
lea ecx, [esp + 0x30]
call fcn.0044fcb0
xor eax, eax
mov ecx, dword [esp + 0x2a0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x288]
xor ecx, esp
call fcn.00613e6e
add esp, 0x298
ret 4
mov eax, dword [eax]
jmp 0x52463a
mov esi, 0x10
cmp dword [esp + 0x60], esi
jae 0x5247f8
lea eax, [esp + 0x4c]
mov edx, dword [esp + 0x2b0]
push eax
push edx
push str.CRaceManager::RegisterRacePath_:_RACE__u__LOAD_MSMFILE__s__ERROR
call fcn.00587390
push ebp
call fcn.00529930
add esp, 0x10
cmp dword [esp + 0x60], esi
jb 0x524827
mov eax, dword [esp + 0x4c]
push eax
call fcn.00613a18
add esp, 4
mov edi, 0xf
mov dword [esp + 0x60], edi
mov dword [esp + 0x5c], ebx
mov byte [esp + 0x4c], bl
cmp dword [esp + 0x7c], esi
jb 0x52484b
mov ecx, dword [esp + 0x68]
push ecx
call fcn.00613a18
add esp, 4
mov dword [esp + 0x7c], edi
mov dword [esp + 0x78], ebx
mov byte [esp + 0x68], bl
jmp 0x5247ad
push 0xffffffffffffffff
push ebx
lea edx, [esp + 0x6c]
push edx
lea ecx, [esp + 0x8c]
mov dword [esp + 0xa4], esi
mov dword [esp + 0xa0], ebx
mov byte [esp + 0x90], bl
call fcn.00417560
mov ecx, ebp
mov byte [esp + 0x2a8], 3
call fcn.00524f40
mov esi, eax
mov ecx, esi
lea edx, [ecx + 1]
jmp 0x5248a0
mov al, byte [ecx]
inc ecx
cmp al, bl
jne 0x5248a0
sub ecx, edx
push ecx
push esi
lea ecx, [esp + 0x88]
call fcn.00416dc0
mov ecx, dword [esp + 0x84]
mov esi, 0x10
cmp dword [esp + 0x98], esi
jae 0x5248d3
lea ecx, [esp + 0x84]
mov eax, dword [esp + 0x68]
cmp dword [esp + 0x7c], esi
jae 0x5248e1
lea eax, [esp + 0x68]
push ecx
mov ecx, dword [esp + 0x24]
push eax
push ebp
call fcn.00522560
cmp dword [esp + 0x98], esi
jb 0x524906
mov eax, dword [esp + 0x84]
push eax
call fcn.00613a18
add esp, 4
mov edi, 0xf
mov dword [esp + 0x98], edi
mov dword [esp + 0x94], ebx
mov byte [esp + 0x84], bl
cmp dword [esp + 0x60], esi
jb 0x524933
mov ecx, dword [esp + 0x4c]
push ecx
call fcn.00613a18
add esp, 4
mov dword [esp + 0x60], edi
mov dword [esp + 0x5c], ebx
mov byte [esp + 0x4c], bl
cmp dword [esp + 0x7c], esi
jb 0x524952
mov edx, dword [esp + 0x68]
push edx
call fcn.00613a18
add esp, 4
lea ecx, [esp + 0x30]
mov dword [esp + 0x7c], edi
mov dword [esp + 0x78], ebx
mov byte [esp + 0x68], bl
call fcn.0044fcb0
mov eax, ebp
jmp 0x5247b8