Function at 0x450030
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4d069f
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov eax, dword [esp + 0x14]
push ebx
push ebp
push esi
push edi
mov esi, ecx
push eax
mov dword [esp + 0x14], esi
call fcn.0044d3a0
xor ebp, ebp
mov dword [esi], 0x4da608
mov ebx, 0x3f800000
mov dword [esp + 0x1c], ebp
mov dword [esi + 0xcf8], 0x4d3588
mov dword [esi + 0xd08], ebp
mov dword [esi + 0xd04], ebp
mov dword [esi + 0xd00], ebp
mov dword [esi + 0xcfc], ebp
mov dword [esi + 0xd0c], ebx
push fcn.0043da80
push 0x43da60
push 4
lea eax, [esi + 0xd10]
push 0x18
push eax
mov byte [esp + 0x30], 1
call fcn.004be699
lea edi, [esi + 0xd70]
mov dword [edi], 0x4d3588
mov dword [edi + 0x10], ebp
mov dword [edi + 0xc], ebp
mov dword [edi + 8], ebp
mov dword [edi + 4], ebp
mov dword [edi + 0x14], ebx
lea ebx, [esi + 0xd88]
mov dword [ebx], 0x4d3588
mov dword [ebx + 0x10], ebp
mov dword [ebx + 0xc], ebp
mov dword [ebx + 8], ebp
mov dword [ebx + 4], ebp
mov dword [ebx + 0x14], 0x3f800000
push 0xd4
mov byte [esp + 0x20], 4
call fcn.004bdcbb
add esp, 4
mov dword [esp + 0x24], eax
cmp eax, ebp
mov byte [esp + 0x1c], 5
je 0x450126
mov ecx, dword [esi + 0x878]
mov edx, dword [ecx + 0x174]
push str.texturesparty_bkg.png
push edx
mov ecx, eax
call fcn.004607e0
jmp 0x450128
xor eax, eax
push 0xd4
mov byte [esp + 0x20], 4
mov dword [esi + 0xca4], eax
call fcn.004bdcbb
add esp, 4
mov dword [esp + 0x24], eax
cmp eax, ebp
mov byte [esp + 0x1c], 6
je 0x450168
mov ecx, dword [esi + 0x878]
mov edx, dword [ecx + 0x174]
push str.textures_timetrials_caret.png
push edx
mov ecx, eax
call fcn.004607e0
jmp 0x45016a
xor eax, eax
push 0xd4
mov byte [esp + 0x20], 4
mov dword [esi + 0xcac], eax
call fcn.004bdcbb
add esp, 4
mov dword [esp + 0x24], eax
cmp eax, ebp
mov byte [esp + 0x1c], 7
je 0x4501aa
mov ecx, dword [esi + 0x878]
mov edx, dword [ecx + 0x174]
push str.texturesparty_quit.png
push edx
mov ecx, eax
call fcn.004607e0
jmp 0x4501ac
xor eax, eax
push 0xd4
mov byte [esp + 0x20], 4
mov dword [esi + 0xcb0], eax
call fcn.004bdcbb
add esp, 4
mov dword [esp + 0x24], eax
cmp eax, ebp
mov byte [esp + 0x1c], 8
je 0x4501ec
mov ecx, dword [esi + 0x878]
mov edx, dword [ecx + 0x174]
push str.texturesparty_letsplay.png
push edx
mov ecx, eax
call fcn.004607e0
jmp 0x4501ee
xor eax, eax
push 0xd4
mov byte [esp + 0x20], 4
mov dword [esi + 0xcc4], eax
call fcn.004bdcbb
add esp, 4
mov dword [esp + 0x24], eax
cmp eax, ebp
mov byte [esp + 0x1c], 9
je 0x45022e
mov ecx, dword [esi + 0x878]
mov edx, dword [ecx + 0x174]
push str.texturesparty_editcontrols.png
push edx
mov ecx, eax
call fcn.004607e0
jmp 0x450230
xor eax, eax
mov dword [esi + 0xcc8], eax
lea ebp, [esi + 0x87c]
push edi
mov ecx, ebp
mov byte [esp + 0x20], 4
mov dword [edi + 4], 0x4402c000
mov dword [edi + 8], 0x43a48000
mov dword [edi + 0xc], 0x43828000
mov dword [edi + 0x10], 0x43850000
call fcn.00456f30
mov ecx, ebp
call fcn.00456dc0
cmp eax, 1
jne 0x45027d
mov dword [esi + 0xc98], edi
mov dword [esi + 0xc94], edi
push ebx
mov ecx, ebp
mov dword [ebx + 4], 0x41700000
mov dword [ebx + 8], 0x43a48000
mov dword [ebx + 0xc], 0x43828000
mov dword [ebx + 0x10], 0x43850000
call fcn.00456f30
mov ecx, ebp
call fcn.00456dc0
cmp eax, 1
jne 0x4502b9
mov dword [esi + 0xc98], ebx
mov dword [esi + 0xc94], ebx
mov eax, dword [esi + 0x878]
mov byte [esi + 0xca1], 1
mov cl, byte [eax + 0x237]
test cl, cl
push 0xd4
jne 0x4503c2
call fcn.004bdcbb
add esp, 4
mov dword [esp + 0x24], eax
xor edi, edi
cmp eax, edi
mov byte [esp + 0x1c], 0xa
je 0x45030b
mov ecx, dword [esi + 0x878]
mov edx, dword [ecx + 0x174]
push str.texturesparty_player1.png
push edx
mov ecx, eax
call fcn.004607e0
jmp 0x45030d
xor eax, eax
push 0xd4
mov byte [esp + 0x20], 4
mov dword [esi + 0xcb4], eax
call fcn.004bdcbb
add esp, 4
mov dword [esp + 0x24], eax
cmp eax, edi
mov byte [esp + 0x1c], 0xb
je 0x45034d
mov ecx, dword [esi + 0x878]
mov edx, dword [ecx + 0x174]
push str.texturesparty_player2.png
push edx
mov ecx, eax
call fcn.004607e0
jmp 0x45034f
xor eax, eax
mov dword [esi + 0xcbc], edi
mov dword [esi + 0xcc0], edi
lea edi, [esi + 0xd10]
mov dword [esi + 0xcb8], eax
mov ebx, 0x43420000
push edi
mov ecx, ebp
mov byte [esp + 0x20], 4
mov dword [edi + 4], 0x434e0000
mov dword [edi + 8], 0x42b80000
mov dword [edi + 0xc], 0x43350000
mov dword [edi + 0x10], ebx
call fcn.00456f30
mov ecx, ebp
call fcn.00456dc0
cmp eax, 1
jne 0x4503a9
mov dword [esi + 0xc98], edi
mov dword [esi + 0xc94], edi
lea edi, [esi + 0xd28]
mov dword [edi + 4], 0x43ce8000
mov dword [edi + 8], 0x42b80000
jmp 0x450598
call fcn.004bdcbb
add esp, 4
mov dword [esp + 0x24], eax
test eax, eax
mov byte [esp + 0x1c], 0xc
je 0x4503f2
mov ecx, dword [esi + 0x878]
mov edx, dword [ecx + 0x174]
push str.texturesparty_player1.png
push edx
mov ecx, eax
call fcn.004607e0
jmp 0x4503f4
xor eax, eax
push 0xd4
mov byte [esp + 0x20], 4
mov dword [esi + 0xcb4], eax
call fcn.004bdcbb
add esp, 4
mov dword [esp + 0x24], eax
test eax, eax
mov byte [esp + 0x1c], 0xd
je 0x450434
mov ecx, dword [esi + 0x878]
mov edx, dword [ecx + 0x174]
push str.texturesparty_player2.png
push edx
mov ecx, eax
call fcn.004607e0
jmp 0x450436
xor eax, eax
push 0xd4
mov byte [esp + 0x20], 4
mov dword [esi + 0xcb8], eax
call fcn.004bdcbb
add esp, 4
mov dword [esp + 0x24], eax
test eax, eax
mov byte [esp + 0x1c], 0xe
je 0x450476
mov ecx, dword [esi + 0x878]
mov edx, dword [ecx + 0x174]
push str.texturesparty_player3.png
push edx
mov ecx, eax
call fcn.004607e0
jmp 0x450478
xor eax, eax
push 0xd4
mov byte [esp + 0x20], 4
mov dword [esi + 0xcbc], eax
call fcn.004bdcbb
add esp, 4
mov dword [esp + 0x24], eax
test eax, eax
mov byte [esp + 0x1c], 0xf
je 0x4504b8
mov ecx, dword [esi + 0x878]
mov edx, dword [ecx + 0x174]
push str.texturesparty_player4.png
push edx
mov ecx, eax
call fcn.004607e0
jmp 0x4504ba
xor eax, eax
lea edi, [esi + 0xd10]
mov dword [esi + 0xcc0], eax
mov ebx, 0x43420000
push edi
mov ecx, ebp
mov byte [esp + 0x20], 4
mov dword [edi + 4], 0x42ce0000
mov dword [edi + 8], 0x42b80000
mov dword [edi + 0xc], 0x43350000
mov dword [edi + 0x10], ebx
call fcn.00456f30
mov ecx, ebp
call fcn.00456dc0
cmp eax, 1
jne 0x450508
mov dword [esi + 0xc98], edi
mov dword [esi + 0xc94], edi
lea edi, [esi + 0xd28]
push edi
mov ecx, ebp
mov dword [edi + 4], 0x439b0000
mov dword [edi + 8], 0x42b80000
mov dword [edi + 0xc], 0x43350000
mov dword [edi + 0x10], ebx
call fcn.00456f30
mov ecx, ebp
call fcn.00456dc0
cmp eax, 1
jne 0x450546
mov dword [esi + 0xc98], edi
mov dword [esi + 0xc94], edi
lea edi, [esi + 0xd40]
push edi
mov ecx, ebp
mov dword [edi + 4], 0x44014000
mov dword [edi + 8], 0x42b60000
mov dword [edi + 0xc], 0x43350000
mov dword [edi + 0x10], ebx
call fcn.00456f30
mov ecx, ebp
call fcn.00456dc0
cmp eax, 1
jne 0x450584
mov dword [esi + 0xc98], edi
mov dword [esi + 0xc94], edi
lea edi, [esi + 0xd58]
mov dword [edi + 4], 0x439b0000
mov dword [edi + 8], 0x43958000
mov dword [edi + 0x10], ebx
mov ecx, ebp
push edi
mov dword [edi + 0xc], 0x43350000
call fcn.00456f30
mov ecx, ebp
call fcn.00456dc0
cmp eax, 1
jne 0x4505c2
mov dword [esi + 0xc98], edi
mov dword [esi + 0xc94], edi
lea edi, [esi + 0xcf8]
push edi
mov ecx, ebp
mov dword [edi + 4], 0x43a68000
mov dword [edi + 8], 0x44004000
mov dword [edi + 0xc], 0x43060000
mov dword [edi + 0x10], 0x42a60000
call fcn.00456f30
mov ecx, ebp
call fcn.00456dc0
cmp eax, 1
jne 0x450604
mov dword [esi + 0xc98], edi
mov dword [esi + 0xc94], edi
mov eax, dword [esi + 0x878]
mov edx, dword [eax + 0xd28]
or ecx, 0xffffffff
cmp edx, ecx
jne 0x450621
mov dword [eax + 0xd28], 0
mov eax, dword [esi + 0x878]
cmp dword [eax + 0xd2c], ecx
mov edi, 3
jne 0x45063a
mov dword [eax + 0xd2c], edi
mov eax, dword [esi + 0x878]
mov dl, byte [eax + 0x237]
test dl, dl
mov edx, 9
jne 0x45065d
cmp dword [eax + 0xd2c], edx
jne 0x45065d
mov dword [eax + 0xd2c], edi
mov eax, dword [esi + 0x878]
cmp dword [eax + 0xd30], ecx
jne 0x450675
mov dword [eax + 0xd30], 5
mov eax, dword [esi + 0x878]
cmp dword [eax + 0xd34], ecx
jne 0x45068d
mov dword [eax + 0xd34], 7
mov eax, dword [esi + 0x878]
cmp dword [eax + 0xd08], edi
jle 0x4506a9
cmp dword [eax + 0xd2c], edx
jge 0x4506a9
mov dword [eax + 0xd2c], edx
mov eax, dword [esi + 0x878]
cmp dword [eax + 0xd0c], edi
jle 0x4506c5
cmp dword [eax + 0xd30], edx
jge 0x4506c5
mov dword [eax + 0xd30], edx
mov eax, dword [esi + 0x878]
cmp dword [eax + 0xd10], edi
jle 0x4506e1
cmp dword [eax + 0xd34], edx
jge 0x4506e1
mov dword [eax + 0xd34], edx
xor edi, edi
lea ebx, [esi + 0xccc]
lea esp, [esp]
push 0xd4
call fcn.004bdcbb
mov ebp, eax
add esp, 4
mov dword [esp + 0x24], ebp
test ebp, ebp
mov byte [esp + 0x1c], 0x10
je 0x450739
lea eax, [edi + 1]
push eax
push str.texturesparty_ham_d.png
push 0x4fa560
call fcn.0046a3b0
mov ecx, dword [esi + 0x878]
mov edx, dword [ecx + 0x174]
add esp, 0xc
push eax
push edx
mov ecx, ebp
call fcn.004607e0
jmp 0x45073b
xor eax, eax
mov dword [ebx], eax
inc edi
add ebx, 4
cmp edi, 0xa
mov byte [esp + 0x1c], 4
jl 0x4506f0
push 0xd4
call fcn.004bdcbb
add esp, 4
mov dword [esp + 0x24], eax
test eax, eax
mov byte [esp + 0x1c], 0x11
je 0x450780
mov ecx, dword [esi + 0x878]
mov edx, dword [ecx + 0x174]
push str.texturesparty_off.png
push edx
mov ecx, eax
call fcn.004607e0
jmp 0x450782
xor eax, eax
mov dword [esi + 0xcf4], eax
mov eax, dword [esi + 0x878]
mov cl, byte [eax + 0x237]
test cl, cl
mov byte [esp + 0x1c], 4
push 0xd4
je 0x4507d2
call fcn.004bdcbb
add esp, 4
mov dword [esp + 0x24], eax
test eax, eax
mov byte [esp + 0x1c], 0x12
je 0x450802
mov ecx, dword [esi + 0x878]
mov edx, dword [ecx + 0x174]
push str.texturesparty_header_rumble.png
push edx
mov ecx, eax
call fcn.004607e0
jmp 0x450804
call fcn.004bdcbb
add esp, 4
mov dword [esp + 0x24], eax
test eax, eax
mov byte [esp + 0x1c], 0x13
je 0x450802
mov ecx, dword [esi + 0x878]
mov edx, dword [ecx + 0x174]
push str.texturesparty_header_race.png
push edx
mov ecx, eax
call fcn.004607e0
jmp 0x450804
xor eax, eax
mov ecx, dword [esp + 0x14]
mov dword [esi + 0xca8], eax
pop edi
mov eax, esi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret 4