Function at 0x47e020
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x58a107
push eax
mov dword fs:[0], esp
push ebx
push esi
push edi
mov esi, ecx
call fcn.004dcbd0
mov ecx, dword [0x6684cc]
xor edi, edi
test eax, ecx
je 0x47e064
mov ecx, dword [0x67b5f0]
call fcn.004dc4c0
test eax, eax
je 0x47e064
mov eax, 1
jmp 0x47e066
xor eax, eax
cmp ax, di
je 0x47e072
call fcn.004e0ad0
jmp 0x47e077
call fcn.004e0a50
mov eax, dword [ebp + 8]
or ebx, 0xffffffff
mov dword [esi + 0xa8], eax
mov dword [esi + 4], 0x3f666666
mov dword [esi], 0x3f000000
mov word [esi + 0x62], bx
mov dword [esi + 0x98], edi
mov dword [esi + 0x9c], edi
mov dword [esi + 0xa0], edi
mov dword [esi + 0xa4], edi
mov word [esi + 0x60], di
mov word [esi + 0x64], di
mov dword [esi + 0x70], edi
mov dword [esi + 0x74], edi
mov dword [esi + 0x80], edi
mov dword [esi + 0x78], edi
mov dword [esi + 0x7c], edi
mov word [esi + 0x6a], di
mov word [esi + 0x6c], di
mov eax, dword [0x6683f4]
cmp eax, 2
jne 0x47e1dd
push 0xb4
call fcn.0050f560
add esp, 4
mov dword [ebp + 8], eax
cmp eax, edi
mov dword [ebp - 4], edi
je 0x47e106
push ebx
push 6
call fcn.004e0a50
mov ecx, dword [ebp + 8]
push eax
call fcn.004df220
jmp 0x47e108
xor eax, eax
push edi
push 0x5abce4
mov ecx, eax
mov dword [ebp - 4], ebx
mov dword [esi + 0x70], eax
call fcn.004df890
mov ecx, dword [esi + 0x70]
push 1
push 0x5abcf4
call fcn.004df890
mov ecx, dword [esi + 0x70]
push 2
push 0x5abd00
call fcn.004df890
mov ecx, dword [esi + 0x70]
push 3
push 0x5abd10
call fcn.004df890
mov ecx, dword [esi + 0x70]
push 4
push 0x5abd18
call fcn.004df890
mov ecx, dword [esi + 0x70]
push 5
push 0x5abd24
call fcn.004df890
mov eax, dword [esi + 0x70]
push 0xb4
mov dword [eax + 0x44], 3
call fcn.0050f560
mov ebx, eax
add esp, 4
mov dword [ebp + 8], ebx
cmp ebx, edi
mov dword [ebp - 4], 1
je 0x47e1a0
push 0xffffffffffffffff
push 2
call fcn.004e0a50
push eax
mov ecx, ebx
call fcn.004df220
jmp 0x47e1a2
xor eax, eax
push edi
push str.Wetskid
mov ecx, eax
mov dword [ebp - 4], 0xffffffff
mov dword [esi + 0x74], eax
call fcn.004df890
mov ecx, dword [esi + 0x74]
push 1
push str.Wetskid2
call fcn.004df890
mov eax, dword [esi + 0x74]
mov dword [eax + 0x44], edi
mov word [esi + 0x66], di
mov word [esi + 0x68], 4
jmp 0x47e351
cmp eax, 3
push 0xb4
jne 0x47e247
call fcn.0050f560
add esp, 4
mov dword [ebp + 8], eax
cmp eax, edi
mov dword [ebp - 4], 2
je 0x47e210
push ebx
push 2
call fcn.004e0a50
mov ecx, dword [ebp + 8]
push eax
call fcn.004df220
jmp 0x47e212
xor eax, eax
push edi
push str.Snowskid
mov ecx, eax
mov dword [ebp - 4], ebx
mov dword [esi + 0x70], eax
call fcn.004df890
mov ecx, dword [esi + 0x70]
push 1
push 0x5abd50
call fcn.004df890
mov eax, dword [esi + 0x70]
mov dword [eax + 0x44], edi
mov word [esi + 0x66], bx
mov word [esi + 0x68], bx
jmp 0x47e351
call fcn.0050f560
add esp, 4
mov dword [ebp + 8], eax
cmp eax, edi
mov dword [ebp - 4], 3
je 0x47e270
push ebx
push 6
call fcn.004e0a50
mov ecx, dword [ebp + 8]
push eax
call fcn.004df220
jmp 0x47e272
xor eax, eax
push edi
push str.Surfacegrassskid
mov ecx, eax
mov dword [ebp - 4], ebx
mov dword [esi + 0x70], eax
call fcn.004df890
mov ecx, dword [esi + 0x70]
push 1
push str.Skidcobble
call fcn.004df890
mov ecx, dword [esi + 0x70]
push 2
push str.Skidflagstone1
call fcn.004df890
mov ecx, dword [esi + 0x70]
push 3
push 0x5abd8c
call fcn.004df890
mov ecx, dword [esi + 0x70]
push 4
push 0x5abd98
call fcn.004df890
mov ecx, dword [esi + 0x70]
push 5
push 0x5abda4
call fcn.004df890
mov eax, dword [esi + 0x70]
push 0xb4
mov dword [eax + 0x44], 3
call fcn.0050f560
mov ebx, eax
add esp, 4
mov dword [ebp + 8], ebx
cmp ebx, edi
mov dword [ebp - 4], 4
je 0x47e30a
push 0xffffffffffffffff
push 3
call fcn.004e0a50
push eax
mov ecx, ebx
call fcn.004df220
jmp 0x47e30c
xor eax, eax
push edi
push str.Tireskid1
mov ecx, eax
mov dword [ebp - 4], 0xffffffff
mov dword [esi + 0x74], eax
call fcn.004df890
mov ecx, dword [esi + 0x74]
push 1
push str.Tireskid2
call fcn.004df890
mov ecx, dword [esi + 0x74]
push 2
push str.Tireskid3
call fcn.004df890
mov eax, dword [esi + 0x74]
mov dword [eax + 0x44], edi
mov word [esi + 0x66], di
mov word [esi + 0x68], 5
mov ecx, dword [esi + 0x70]
push 0x11
call fcn.004df630
mov ecx, dword [esi + 0x74]
cmp ecx, edi
je 0x47e369
push 0x11
call fcn.004df630
fld dword [0x591a6c]
mov eax, 0x3f800000
mov dword [esi + 0x84], edi
mov dword [esi + 0x8c], edi
mov dword [esi + 0x90], edi
mov dword [esi + 0x18], eax
mov dword [esi + 0x14], 0x3ee66666
fdiv dword [0x591a60]
mov ecx, 0x40400000
mov dword [esi + 0x1c], 0x3e800000
mov dword [esi + 0x20], ecx
mov edx, dword [ebp + 0xc]
fstp dword [esi + 0x28]
fld dword [0x591a70]
fdiv dword [0x591a60]
mov dword [esi + 0x94], edx
mov edx, 0x3f400000
mov dword [esi + 0x88], edi
mov dword [esi + 0x58], 0x40000000
mov dword [esi + 0x5c], ecx
mov dword [esi + 8], eax
mov dword [esi + 0xc], edx
mov dword [esi + 0x10], 0x3eaaaaab
fstp dword [esi + 0x24]
mov ecx, dword [0x591a68]
mov dword [esi + 0x38], eax
mov dword [esi + 0x30], ecx
mov ecx, 0x3f733333
mov eax, 0x3d81b4e8
mov dword [esi + 0x34], ecx
mov dword [esi + 0x3c], eax
mov dword [esi + 0x44], ecx
mov ecx, dword [ebp - 0xc]
mov dword [esi + 0x48], eax
mov dword [esi + 0x50], edi
mov dword [esi + 0x40], edx
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 8