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

Disassembly:
sub esp, 0x25c
push ebx
push ebp
mov ebp, ecx
push esi
push edi
lea ecx, [ebp + 0x34]
call fcn.00407df0
lea ecx, [ebp + 0x5c]
call fcn.00407df0
lea ecx, [ebp + 0x88]
call fcn.00407df0
lea ecx, [ebp + 0xb0]
call fcn.00407df0
lea ecx, [ebp + 0xd8]
call fcn.00407df0
lea ecx, [ebp + 0x100]
call fcn.00407df0
lea ecx, [ebp + 0x128]
call fcn.00407df0
lea esi, [ebp + 0x150]
mov edi, 0x10
mov ecx, esi
call fcn.00407df0
add esi, 0x28
dec edi
jne 0x4178ee
lea ecx, [ebp + 0x3ec]
call fcn.00433440
xor ebx, ebx
xor edx, edx
mov dword [ebp], ebx
mov al, byte [0x49d511]
mov byte [ebp + 4], al
push ebx
mov byte [0x4b62f9], 0xff
mov byte [0x4b6468], 1
mov byte [0x4b62f0], 1
push ebx
mov ecx, str.MoveBalls
mov dword [ebp + 0x84], ebx
call fcn.004077a0
test eax, eax
setne cl
mov byte [ebp + 0xc], cl
mov byte [ebp + 6], bl
mov word [ebp + 0xe], bx
mov word [0x4b62a8], bx
push 0xc
mov dword [ebp + 0x3d0], ebx
mov dword [ebp + 0x3d4], ebx
mov dword [ebp + 0x3e8], ebx
mov dword [ebp + 0x5c8], ebx
mov byte [ebp + 0x5cc], bl
mov byte [ebp + 0x5d4], bl
mov byte [ebp + 5], bl
mov dword [ebp + 0x5d8], ebx
mov dword [ebp + 0x5e0], ebx
mov dword [ebp + 0x5e4], ebx
mov dword [ebp + 0x5dc], ebx
call fcn.0047e2df
add esp, 4
mov dword [ebp + 0x3d8], eax
xor eax, eax
mov edx, dword [ebp + 0x3d8]
add eax, 4
cmp eax, 0xc
mov dword [edx + eax - 4], ebx
jne 0x4179a3
xor eax, eax
mov dword [ebp + 0x3dc], ebx
mov dword [0x4b64d0], eax
mov dword [0x4b64d4], eax
call fcn.004408d0
mov ecx, dword [0x5164b0]
mov eax, dword [ecx]
cmp eax, 8
je 0x4179f2
cmp eax, 0x10
je 0x4179f2
cmp eax, 5
je 0x4179f2
cmp eax, 0xd
je 0x4179f2
cmp eax, 0xc
je 0x4179f2
cmp eax, 0x14
jne 0x417a20
push 0x10
call fcn.0047e2df
add esp, 4
cmp eax, ebx
je 0x417a09
mov ecx, eax
call fcn.0042b0e0
jmp 0x417a0b
xor eax, eax
mov edx, dword [0x5164b0]
mov dword [0x4bf20c], eax
mov ecx, dword [edx]
push ecx
mov ecx, eax
call fcn.0042b1e0
push 0x7c
call fcn.0047e2df
add esp, 4
cmp eax, ebx
je 0x417a3c
push str.qball.cpa
mov ecx, eax
call fcn.004173a0
jmp 0x417a3e
xor eax, eax
mov esi, dword [sym.imp.USER32.dll_SetRect]
mov dword [ebp + 0x10], eax
mov dword [eax + 0x2c], 0x267
mov dword [eax + 0x30], ebx
mov edx, dword [ebp + 0x10]
push 0x41
push 0x320
push ebx
add edx, 0x44
push 0x2df
push edx
call esi
mov eax, dword [ebp + 0x10]
mov edi, 0xe4008000
push ebx
push str.ballcross.cpa
mov word [eax + 0x28], 0x14
mov ecx, dword [ebp + 0x10]
mov dword [ecx + 0x40], 0x3e99999a
mov edx, dword [ebp + 0x10]
mov dword [edx + 0x34], 8
mov eax, dword [ebp + 0x10]
mov dword [eax + 0x70], 0x419780
mov ecx, dword [ebp + 0x10]
mov dword [ecx + 0x74], 0x419f40
mov edx, dword [ebp + 0x10]
mov ecx, 0x4b62b0
mov dword [edx + 0x78], 0x41de20
mov eax, dword [ebp + 0x10]
mov dword [eax + 0x60], edi
call fcn.00408060
mov ecx, dword [0x5164b0]
mov dword [0x4b62d8], 0x443d8000
mov dword [0x4b62dc], 0x41c80000
mov dword [0x4b62e0], 0x44370000
mov dword [0x4b62e4], 0x42480000
mov edx, dword [ecx + 0x18]
push edx
lea eax, [esp + 0x16c]
push str.stick_d.cpa
push eax
call fcn.0047e3b7
push 0x7c
call fcn.0047e2df
add esp, 0x10
cmp eax, ebx
je 0x417b20
lea ecx, [esp + 0x168]
push ecx
mov ecx, eax
call fcn.004173a0
jmp 0x417b22
xor eax, eax
mov dword [ebp + 0x14], eax
mov dword [eax + 0x2c], 0xffffffff
mov dword [eax + 0x30], 0xffffffe7
mov edx, dword [ebp + 0x14]
push 0x186
push 0x320
push 0x91
add edx, 0x44
push 0x2f8
push edx
call esi
mov eax, dword [ebp + 0x14]
push ebx
push str.StickTick.cpa
mov word [eax + 0x28], 0xa
mov ecx, dword [ebp + 0x14]
mov dword [ecx + 0x40], 0x3f19999a
mov edx, dword [ebp + 0x14]
mov dword [edx + 0x34], 0x10
mov eax, dword [ebp + 0x14]
mov dword [eax + 0x70], 0x41a0f0
mov ecx, dword [ebp + 0x14]
mov dword [ecx + 0x74], 0x41a620
mov edx, dword [ebp + 0x14]
mov ecx, 0x4b6280
mov dword [edx + 0x60], edi
call fcn.00408060
push ebx
push str.StckBall.cpa
mov ecx, 0x4b6470
call fcn.00408060
push 0x7c
call fcn.0047e2df
add esp, 4
cmp eax, ebx
je 0x417bc3
push str.camera.cpa
mov ecx, eax
call fcn.004173a0
jmp 0x417bc5
xor eax, eax
mov dword [ebp + 0x18], eax
mov dword [eax + 0x2c], ebx
mov dword [eax + 0x30], ebx
mov eax, dword [ebp + 0x18]
push 0x258
push 0x320
push 0x1ef
add eax, 0x44
push 0x2e6
push eax
call esi
mov ecx, dword [ebp + 0x18]
push 0x30
mov word [ecx + 0x28], bx
mov edx, dword [ebp + 0x18]
mov dword [edx + 0x40], 0x3ee66666
mov eax, dword [ebp + 0x18]
mov dword [eax + 0x34], 0x20
mov ecx, dword [ebp + 0x18]
mov dword [ecx + 0x58], ebx
mov edx, dword [ebp + 0x18]
mov dword [edx + 0x54], ebx
mov eax, dword [ebp + 0x18]
mov dword [eax + 0x70], 0x41a6c0
mov ecx, dword [ebp + 0x18]
mov dword [ecx + 0x74], 0x41a9f0
mov edx, dword [ebp + 0x18]
mov dword [edx + 0x78], 0x41aa60
mov eax, dword [ebp + 0x18]
mov dword [eax + 0x60], edi
call fcn.0047e2df
add esp, 4
cmp eax, ebx
je 0x417c5c
push str.chatbutton.cpa
push 0x220
push 0x2a3
mov ecx, eax
call fcn.004388d0
jmp 0x417c5e
xor eax, eax
push 0x250
push 0x2dd
push 0x225
push 0x2b5
mov ecx, eax
mov dword [ebp + 0x1c], eax
call fcn.00438980
mov ecx, dword [ebp + 0x1c]
push 0x7c
mov byte [ecx + 0x20], bl
mov edx, dword [ebp + 0x1c]
mov al, byte [0x4b60f4]
mov byte [edx + 3], al
call fcn.0047e2df
add esp, 4
cmp eax, ebx
je 0x417ca9
push str.cues.cpa
mov ecx, eax
call fcn.004173a0
jmp 0x417cab
xor eax, eax
mov dword [ebp + 0x20], eax
mov dword [eax + 0x2c], ebx
mov dword [eax + 0x30], ebx
mov ecx, dword [ebp + 0x20]
push 0x258
push 0x5f
push 0x212
add ecx, 0x44
push ebx
push ecx
call esi
mov edx, dword [ebp + 0x20]
push 0x7c
mov word [edx + 0x28], 0x14
mov eax, dword [ebp + 0x20]
mov dword [eax + 0x40], 0x3f333333
mov ecx, dword [ebp + 0x20]
mov dword [ecx + 0x34], 0x400
mov edx, dword [ebp + 0x20]
mov dword [edx + 0x58], 4
mov eax, dword [ebp + 0x20]
mov dword [eax + 0x70], 0x41aa90
mov ecx, dword [ebp + 0x20]
mov dword [ecx + 0x74], 0x41aed0
mov edx, dword [ebp + 0x20]
mov dword [edx + 0x60], edi
call fcn.0047e2df
add esp, 4
cmp eax, ebx
je 0x417d27
push str.help.cpa
mov ecx, eax
call fcn.004173a0
jmp 0x417d29
xor eax, eax
mov dword [ebp + 0x24], eax
mov dword [eax + 0x2c], ebx
mov dword [eax + 0x30], ebx
mov eax, dword [ebp + 0x24]
push 0x1e8
push 0x36
push 0x1b3
add eax, 0x44
push ebx
push eax
call esi
mov ecx, dword [ebp + 0x24]
push 0x30
mov word [ecx + 0x28], 8
mov edx, dword [ebp + 0x24]
mov dword [edx + 0x40], 0x3f000000
mov eax, dword [ebp + 0x24]
mov dword [eax + 0x34], 0x8000
mov ecx, dword [ebp + 0x24]
mov dword [ecx + 0x58], 0x11
mov edx, dword [ebp + 0x24]
mov byte [edx + 0x3d], 1
mov eax, dword [ebp + 0x24]
mov dword [eax + 0x70], 0x41b4a0
mov ecx, dword [ebp + 0x24]
mov dword [ecx + 0x74], 0x41ba50
mov edx, dword [ebp + 0x24]
mov dword [edx + 0x60], edi
call fcn.0047e2df
add esp, 4
cmp eax, ebx
je 0x417db3
push str.mainbutton.cpa
push 0x16d
push 0xfffffffffffffff6
mov ecx, eax
call fcn.004388d0
jmp 0x417db5
xor eax, eax
push 0x1ac
push 0x37
push 0x177
push ebx
mov ecx, eax
mov dword [ebp + 0x28], eax
call fcn.00438980
mov eax, dword [ebp + 0x28]
mov byte [eax + 0x20], bl
mov ecx, dword [ebp + 0x28]
mov byte [ecx + 3], 1
mov dword [ebp + 0x2c], ebx
mov dword [ebp + 0x30], ebx
mov edx, dword [0x5164b0]
mov eax, dword [edx]
cmp eax, 0xf
je 0x417df5
cmp eax, 7
jne 0x417e9b
push 0x30
call fcn.0047e2df
add esp, 4
cmp eax, ebx
je 0x417e18
push str.rankings.cpa
push 0x13b
push 0xfffffffffffffff6
mov ecx, eax
call fcn.004388d0
jmp 0x417e1a
xor eax, eax
push 0x171
push 0x37
push 0x141
push ebx
mov ecx, eax
mov dword [ebp + 0x2c], eax
call fcn.00438980
mov eax, dword [ebp + 0x2c]
push 0x30
mov byte [eax + 0x20], bl
mov ecx, dword [ebp + 0x2c]
mov byte [ecx + 3], 1
call fcn.0047e2df
add esp, 4
cmp eax, ebx
je 0x417e61
push str.standpat.cpa
push 0xfa
push 0xfffffffffffffff6
mov ecx, eax
call fcn.004388d0
jmp 0x417e63
xor eax, eax
push 0x13e
push 0x34
push 0xff
push ebx
mov ecx, eax
mov dword [ebp + 0x30], eax
call fcn.00438980
mov edx, dword [ebp + 0x30]
mov byte [edx + 0x20], 1
mov eax, dword [ebp + 0x30]
mov byte [eax + 3], 1
mov eax, dword [ebp + 0x30]
cmp byte [eax + 6], bl
je 0x417e9b
mov byte [eax + 4], 1
mov byte [eax + 5], 1
mov byte [eax + 6], bl
mov cl, 0x7f
mov al, 0x1a
mov dl, 0x59
mov byte [esp + 0x17], cl
mov byte [esp + 0x1b], cl
mov byte [esp + 0x1d], cl
mov byte [esp + 0x21], cl
push 5
mov ecx, 0x4b0ce8
mov byte [esp + 0x14], bl
mov byte [esp + 0x15], al
mov byte [esp + 0x16], 0x40
mov byte [esp + 0x17], al
mov byte [esp + 0x18], bl
mov byte [esp + 0x19], al
mov byte [esp + 0x1a], dl
mov byte [esp + 0x1c], dl
mov byte [esp + 0x1d], al
mov byte [esp + 0x1e], 0x40
mov byte [esp + 0x20], 0xff
mov byte [esp + 0x22], 0x40
mov byte [esp + 0x23], al
mov byte [esp + 0x24], dl
mov byte [esp + 0x26], dl
mov byte [esp + 0x27], al
mov byte [esp + 0x28], bl
mov byte [esp + 0x29], al
mov byte [esp + 0x2a], 0x40
mov byte [esp + 0x2b], al
mov byte [esp + 0x2c], bl
call fcn.0040bd90
lea ecx, [esp + 0x10]
xor edi, edi
mov dword [esp + 0x38], ecx
xor esi, esi
mov edx, dword [esp + 0x38]
mov al, byte [edx + esi]
cmp al, bl
je 0x417f3b
push ebx
push eax
push edi
push esi
mov ecx, 0x4b0ce8
call fcn.0040bd20
inc esi
cmp esi, 5
jne 0x417f22
mov ecx, dword [esp + 0x38]
inc edi
add ecx, esi
cmp edi, esi
mov dword [esp + 0x38], ecx
jne 0x417f20
push esi
push esi
push ebx
push ebx
mov ecx, 0x4b0ce8
call fcn.0040bec0
push 0x4b0ce8
lea ecx, [ebp + 0x5c]
call fcn.00407f20
push 2
mov ecx, 0x4b0ce8
call fcn.0040bd90
xor edi, edi
xor esi, esi
push ebx
push 0xff
push edi
push esi
mov ecx, 0x4b0ce8
call fcn.0040bd20
inc esi
cmp esi, 0x14
jne 0x417f7b
inc edi
cmp edi, 2
jne 0x417f79
push edi
push 0xa
push ebx
push ebx
mov ecx, 0x4b0ce8
call fcn.0040bec0
push 0x4b0ce8
lea ecx, [ebp + 0xb0]
call fcn.00407f20
push ebx
push str.score.cpa
lea ecx, [ebp + 0x88]
call fcn.00408060
mov edx, dword [0x4b6088]
mov eax, dword [0x4b6080]
mov ecx, 0x48
mov esi, 0x49f7e8
lea edi, [esp + 0x48]
mov dword [esp + 0x3c], eax
rep movsd dword es:[edi], dword [esi]
fld dword [esp + 0x3c]
mov ecx, dword [0x4b6084]
mov dword [esp + 0x58], edx
mov edx, dword [0x4fdf68]
mov dword [esp + 0x68], 0x43a00000
mov esi, edx
mov dword [esp + 0x6c], 0x43c80000
mov dword [esp + 0xd0], 0x41900000
mov dword [esp + 0xd4], 0x43a20000
mov dword [esp + 0x50], eax
mov eax, dword [0x4b6088]
mov dword [esp + 0x54], ecx
mov dword [esp + 0x58], 0x3f800000
mov edi, dword [esi]
mov dword [esp + 0x40], ecx
mov dword [esp + 0x2c], edi
mov dword [esp + 0x44], eax
fsub dword [esp + 0x2c]
mov edi, dword [esi + 4]
fld dword [esp + 0x40]
mov esi, dword [esi + 8]
mov dword [esp + 0x30], edi
fsub dword [esp + 0x30]
fld dword [esp + 0x44]
mov dword [esp + 0x34], esi
fsub dword [esp + 0x34]
fld st(0)
fmul dword [edx + 0x2c]
fld st(2)
fmul dword [edx + 0x28]
faddp st(1)
fld st(3)
fmul dword [edx + 0x24]
faddp st(1)
fstp dword [esp + 0x2c]
mov ecx, dword [esp + 0x2c]
fld st(0)
fmul dword [edx + 0x14]
fld st(2)
fmul dword [edx + 0x10]
faddp st(1)
fld st(3)
fmul dword [edx + 0xc]
faddp st(1)
fstp dword [esp + 0x30]
mov eax, dword [esp + 0x30]
fmul dword [edx + 0x20]
fxch st(1)
fmul dword [edx + 0x1c]
faddp st(1)
fxch st(1)
fmul dword [edx + 0x18]
mov dword [esp + 0x5c], ecx
mov dword [esp + 0x60], eax
faddp st(1)
fstp dword [esp + 0x34]
mov ecx, dword [esp + 0x34]
mov dword [esp + 0x64], ecx
lea esi, [ebp + 0x100]
lea ecx, [esp + 0x48]
push esi
push ebx
push 0x4958a0
call fcn.004554e0
mov byte [ebp + 0x114], 1
push ebx
mov edx, str.common.tbt
mov ecx, 0x3e8
mov dword [esi + 8], 8
mov dword [esi + 0xc], 0x20
call fcn.0046ba60
push ebx
mov edx, str.tooltip.tbt
mov ecx, 0x1388
call fcn.0046ba60
mov ecx, dword [0x4bf20c]
xor edx, edx
xor eax, eax
mov dword [0x4b632c], edx
mov dword [0x4b62fc], eax
mov dword [0x4b6330], edx
mov dword [0x4b6300], eax
mov dword [0x4b6334], edx
mov dword [0x4b6304], eax
cmp ecx, ebx
mov dword [0x4b6338], edx
mov dword [0x4b6250], ebx
mov dword [0x4b6248], 0xffffffff
mov dword [0x4b6308], eax
je 0x418167
mov edx, dword [0x5164b0]
mov eax, dword [edx]
push eax
call fcn.0042b1e0
mov ecx, dword [0x5164b0]
mov eax, dword [ecx]
add eax, 0xfffffffc
cmp eax, 0xb
ja case.0x41817f.7
xor edx, edx
mov dl, byte [eax + 0x418214]
jmp dword [edx*4 + 0x418204]
mov ecx, ebp
call fcn.0041f0b0
jmp case.0x41817f.7
mov ecx, ebp
call fcn.0041fa50
jmp case.0x41817f.7
mov ecx, ebp
call fcn.0041fee0
mov esi, dword [0x4fdf68]
lea eax, [ebp + 0x3ec]
mov ecx, 0x77
mov edi, eax
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [0x4fdf68]
mov edx, eax
add ecx, 0x60
sub esp, 0xc
mov esi, dword [ecx]
mov dword [edx], esi
mov esi, dword [ecx + 4]
mov dword [edx + 4], esi
mov ecx, dword [ecx + 8]
mov dword [edx + 8], ecx
mov edx, dword [0x4fdf68]
add edx, 0x120
mov ecx, esp
mov esi, dword [edx]
mov dword [ecx], esi
mov esi, dword [edx + 4]
mov dword [ecx + 4], esi
mov edx, dword [edx + 8]
mov dword [ecx + 8], edx
mov ecx, eax
call fcn.004337f0
pop edi
mov eax, ebp
pop esi
pop ebp
pop ebx
add esp, 0x25c
ret