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

Disassembly:
push 0xffffffffffffffff
push 0x61005c
mov eax, dword fs:[0]
push eax
sub esp, 0x28c
mov eax, dword [0x6ac9e8]
xor eax, esp
mov dword [esp + 0x288], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x6ac9e8]
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.005148a0
mov edi, dword [esi + 0x18]
mov esi, dword [esi]
mov ebp, dword [esp + 0x24]
xor ebx, ebx
cmp esi, ebx
je 0x4dd589
cmp esi, ebp
je 0x4dd58e
call fcn.005c5aaf
mov esi, dword [esp + 0x28]
cmp edi, esi
je 0x4dd8f6
cmp ebp, ebx
jne 0x4dd5ce
call fcn.005c5aaf
xor eax, eax
cmp esi, dword [eax + 0x18]
jne 0x4dd5af
call fcn.005c5aaf
add esi, 0x10
mov dword [esp + 0x1c], esi
cmp dword [esi + 0x14], ebx
je 0x4dd8f6
mov edx, dword [esi + 0x18]
lea eax, [esi + 4]
cmp edx, 0x10
jb 0x4dd5d3
mov ecx, dword [eax]
jmp 0x4dd5d5
mov eax, dword [ebp]
jmp 0x4dd5a5
mov ecx, eax
cmp byte [ecx], 0x23
jne 0x4dd67f
cmp edx, 0x10
jb 0x4dd5e5
mov eax, dword [eax]
lea edi, [eax + 1]
push edi
push str._sshape.msm
lea edx, [esp + 0xa4]
push 0x100
push edx
call fcn.005c67e2
push edi
push str._smotlist.txt
lea eax, [esp + 0x1b4]
push 0x100
push eax
call fcn.005c67e2
add esp, 0x20
call fcn.004e2fd0
mov ebx, dword [esp + 0x2b0]
mov esi, eax
push ebx
mov ecx, esi
call fcn.005145e0
lea ecx, [esp + 0x9c]
push ecx
mov ecx, esi
call fcn.004e3090
test eax, eax
jne 0x4dd665
lea edx, [esp + 0x9c]
push edx
push ebx
push str.CRaceManager::RegisterRacePath_race_u_.LoadRaceData__s_
call fcn.0053cd50
push esi
call fcn.004e2440
add esp, 0x10
jmp 0x4dd8f6
mov ecx, dword [esp + 0x20]
lea eax, [esp + 0x19c]
push eax
push edi
push esi
call fcn.004db680
mov eax, esi
jmp 0x4dd8f8
lea ecx, [esp + 0x30]
call fcn.004b6ad0
mov edi, dword [esp + 0x2b0]
lea ecx, [esp + 0x30]
push ecx
push edi
mov dword [esp + 0x2b0], ebx
call fcn.004dad00
add esp, 8
call fcn.004e2fd0
mov ebp, eax
push edi
mov ecx, ebp
mov dword [esp + 0x30], ebp
call fcn.005145e0
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 0x4dd8d9
mov edi, dword [esp + 0x20]
add edi, 0x24
mov dword [esp + 0x18], ebx
jmp 0x4dd6f4
mov esi, dword [esp + 0x1c]
cmp dword [esp + 0x14], eax
jb 0x4dd6ff
call fcn.005c5aaf
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.00416950
push esi
lea ecx, [esp + 0x28]
push ecx
mov ecx, edi
mov byte [esp + 0x2b0], 1
call fcn.0048c6b0
mov eax, dword [edi]
mov esi, dword [edi + 0x18]
cmp eax, ebx
je 0x4dd750
cmp eax, dword [esp + 0x24]
je 0x4dd755
call fcn.005c5aaf
mov ebp, dword [esp + 0x28]
cmp esi, ebp
jne 0x4dd767
mov edx, dword [esp + 0x1c]
push 0xffffffffffffffff
push ebx
push edx
jmp 0x4dd78b
mov eax, dword [esp + 0x24]
cmp eax, ebx
jne 0x4dd922
call fcn.005c5aaf
xor eax, eax
cmp ebp, dword [eax + 0x18]
jne 0x4dd784
call fcn.005c5aaf
push 0xffffffffffffffff
lea eax, [ebp + 0x28]
push ebx
push eax
lea ecx, [esp + 0x70]
call fcn.004160e0
push 1
push 0x65b548
lea ecx, [esp + 0x6c]
call fcn.004161e0
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.00416950
mov ecx, dword [esp + 0x1c]
push 0xffffffffffffffff
push ebx
push ecx
lea ecx, [esp + 0x54]
mov byte [esp + 0x2b4], 2
call fcn.004160e0
push 4
push str..msm
lea ecx, [esp + 0x50]
call fcn.004161e0
cmp dword [esp + 0x60], 0x10
mov eax, dword [esp + 0x4c]
jae 0x4dd7fe
lea eax, [esp + 0x4c]
mov ebp, dword [esp + 0x2c]
push eax
mov ecx, ebp
call fcn.004e3090
test eax, eax
jne 0x4dd99c
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 0x4dd929
mov ebp, 0x10
cmp dword [esp + 0x60], ebp
jae 0x4dd84e
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.0053cd50
add esp, 0xc
cmp dword [esp + 0x60], ebp
jb 0x4dd877
mov eax, dword [esp + 0x4c]
push eax
call fcn.005c5896
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 0x4dd8a1
mov ecx, dword [esp + 0x68]
push ecx
call fcn.005c5896
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 0x4dd6f0
mov edi, dword [esp + 0x2b0]
mov ebp, dword [esp + 0x2c]
push edi
push str.CRaceManager::RegisterRacePath_:_RACE__u__HAVE_NO_PATH_ERROR
call fcn.0053cd50
push ebp
call fcn.004e2440
add esp, 0xc
lea ecx, [esp + 0x30]
call fcn.0044b280
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.005c5ea5
add esp, 0x298
ret 4
mov eax, dword [eax]
jmp 0x4dd77a
mov esi, 0x10
cmp dword [esp + 0x60], esi
jae 0x4dd938
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.0053cd50
push ebp
call fcn.004e2440
add esp, 0x10
cmp dword [esp + 0x60], esi
jb 0x4dd967
mov eax, dword [esp + 0x4c]
push eax
call fcn.005c5896
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 0x4dd98b
mov ecx, dword [esp + 0x68]
push ecx
call fcn.005c5896
add esp, 4
mov dword [esp + 0x7c], edi
mov dword [esp + 0x78], ebx
mov byte [esp + 0x68], bl
jmp 0x4dd8ed
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.00416950
mov ecx, ebp
mov byte [esp + 0x2a8], 3
call fcn.004de080
mov esi, eax
mov ecx, esi
lea edx, [ecx + 1]
jmp 0x4dd9e0
mov al, byte [ecx]
inc ecx
cmp al, bl
jne 0x4dd9e0
sub ecx, edx
push ecx
push esi
lea ecx, [esp + 0x88]
call fcn.004161e0
mov ecx, dword [esp + 0x84]
mov esi, 0x10
cmp dword [esp + 0x98], esi
jae 0x4dda13
lea ecx, [esp + 0x84]
mov eax, dword [esp + 0x68]
cmp dword [esp + 0x7c], esi
jae 0x4dda21
lea eax, [esp + 0x68]
push ecx
mov ecx, dword [esp + 0x24]
push eax
push ebp
call fcn.004db680
cmp dword [esp + 0x98], esi
jb 0x4dda46
mov eax, dword [esp + 0x84]
push eax
call fcn.005c5896
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 0x4dda73
mov ecx, dword [esp + 0x4c]
push ecx
call fcn.005c5896
add esp, 4
mov dword [esp + 0x60], edi
mov dword [esp + 0x5c], ebx
mov byte [esp + 0x4c], bl
cmp dword [esp + 0x7c], esi
jb 0x4dda92
mov edx, dword [esp + 0x68]
push edx
call fcn.005c5896
add esp, 4
lea ecx, [esp + 0x30]
mov dword [esp + 0x7c], edi
mov dword [esp + 0x78], ebx
mov byte [esp + 0x68], bl
call fcn.0044b280
mov eax, ebp
jmp 0x4dd8f8