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

Disassembly:
mov eax, 0x133c
call fcn.00493120
push ebx
push ebp
or ecx, 0xffffffff
push esi
push edi
mov dword [esp + 0x50], ecx
mov dword [esp + 0x40], ecx
mov ecx, 0xc
mov esi, str._big__col240_240_80_M.U.G.E.N_Private_beta_test
lea edi, [esp + 0xec]
rep movsd dword es:[edi], dword [esi]
mov eax, dword [0x4b5b4c]
mov ecx, 0x1c
movsw word es:[edi], word [esi]
mov ebx, dword [eax + 0x26c0]
mov esi, str._n_small__col255_255_255__nM.U.G.E.N_Private_beta_test_2002.04.14_n_col192_192_192_._Distribution_is_prohibited._n
lea edi, [esp + 0x120]
xor edx, edx
rep movsd dword es:[edi], dword [esi]
lea ecx, [eax + 0xb4d8]
mov dword [esp + 0x48], edx
mov dword [esp + 0xb8], ecx
lea ecx, [eax + 0xb50c]
mov dword [esp + 0xa4], edx
mov dword [esp + 0x34], edx
mov dword [esp + 0xa0], edx
mov dword [esp + 0x30], edx
mov dword [esp + 0x2c], edx
mov dword [esp + 0x60], edx
mov dword [esp + 0xbc], ecx
push edx
mov edx, dword [eax + 0x5cc4]
lea ebp, [eax + 0x814]
push edx
mov dword [esp + 0xb0], ebp
mov dword [esp + 0x28], ebx
mov dword [esp + 0x60], 1
movsb byte es:[edi], byte [esi]
call fcn.00486bb0
push 0
call fcn.00487680
push 0x3c
call fcn.00482b00
add esp, 0x10
call fcn.0042b350
call fcn.00447e60
call fcn.00448140
call fcn.0042a170
call fcn.0042a4f0
mov eax, dword [0x4a73a4]
mov edi, 1
cmp eax, 0xffffffff
mov eax, dword [0x4b5b4c]
jne 0x42f1c5
mov ecx, dword [eax + 0xbb84]
mov dword [0x4a73a4], ecx
test ecx, ecx
je 0x42f1c5
mov dword [0x4a73a4], edi
mov ecx, dword [eax + 0xbb8c]
xor esi, esi
cmp ecx, esi
je 0x42f1d7
xor ebx, ebx
mov dword [esp + 0x20], ebx
mov dword [eax + 0xbb8c], esi
call fcn.00410d30
call fcn.00410e10
mov eax, dword [0x4b5b4c]
mov ecx, dword [eax + 0xb1c8]
mov edx, dword [eax + 0xb1c0]
push ecx
push edx
call fcn.0044e570
add esp, 8
lea ecx, [esp + 0xc0]
lea eax, [ebp + 0x48]
mov edx, 0xb
cmp byte [eax], 0
mov dword [ecx], eax
je 0x42f21b
inc esi
jmp 0x42f221
mov dword [ecx], 0
add eax, 0x20
add ecx, 4
dec edx
jne 0x42f211
test esi, esi
jne 0x42f272
mov eax, dword [0x4b5b4c]
mov ecx, dword [eax + 0xcd4]
test ecx, ecx
jle 0x42f265
mov cl, byte [0x4b6981]
test cl, cl
jne 0x42f265
mov dword [eax + 0xbb8c], edi
mov eax, dword [0x4b5b4c]
mov dword [esp + 0x20], edi
mov dword [esp + 0x58], edi
mov dword [eax + 0xbbb0], esi
jmp 0x430421
mov dword [esp + 0x20], 0xa
jmp 0x430421
mov eax, dword [esp + ebx*4 + 0xc0]
test eax, eax
jne 0x42f294
inc ebx
cmp ebx, 0xb
jl 0x42f285
xor ebx, ebx
mov eax, dword [esp + ebx*4 + 0xc0]
test eax, eax
je 0x42f27d
mov dword [esp + 0x20], ebx
mov ecx, dword [0x4b5b4c]
mov edx, dword [ecx + 0xab24]
push edx
call fcn.0040b060
lea eax, [esp + 0x6c]
push 0x38
push eax
call fcn.00418f20
lea edi, [esp + 0xf8]
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x358]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
mov edx, dword [0x4a6a44]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
mov eax, dword [0x4a6a40]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [0x4a6a48]
lea edi, [esp + 0x358]
push ecx
push edx
push eax
or ecx, 0xffffffff
xor eax, eax
push str.2006.08.31e_D4
repne scasb al, byte es:[edi]
not ecx
dec ecx
lea ecx, [esp + ecx + 0x368]
push ecx
call fcn.00492257
lea edi, [esp + 0x140]
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x36c]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov dword [esp + 0x88], 0x118
mov esi, edi
mov ebx, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
lea eax, [esp + 0x36c]
and ecx, 3
mov dword [esp + 0x90], eax
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [0x4b6c4c]
mov dword [esp + 0x8c], 0xc8
push 0
lea eax, [ecx - 0x118]
cdq
sub eax, edx
mov edx, dword [0x4b6c58]
sar eax, 1
mov dword [esp + 0x98], eax
mov dword [esp + 0xa0], eax
mov dword [esp + 0xa8], eax
mov eax, 0xffffff33
mov dword [esp + 0x9c], eax
mov dword [esp + 0xc0], eax
mov dword [esp + 0xa4], eax
lea eax, [edx - 0xc8]
cdq
sub eax, edx
sar eax, 1
mov dword [esp + 0xac], eax
mov eax, dword [0x4b5b4c]
mov ecx, dword [eax + 0xad30]
lea edx, [eax + 0xab30]
push ecx
add eax, 0xb1d4
push edx
push eax
call fcn.0040ca10
add esp, 0x30
test eax, eax
jne 0x42f3ef
call fcn.00415860
call fcn.00417400
mov dword [esp + 0x38], 0
mov eax, dword [0x4b5b4c]
xor esi, esi
add eax, 0xb1d4
push eax
call fcn.0040c520
add esp, 4
mov dword [esp + 0x38], esi
mov dword [esp + 0x54], esi
call fcn.00447e60
call fcn.0042aed0
call fcn.0042b460
test eax, eax
je 0x42f435
call fcn.0042b3f0
mov dword [esp + 0x38], eax
call fcn.00448120
test eax, eax
je 0x42f447
call fcn.004480d0
mov dword [esp + 0x54], eax
lea ecx, [esp + 0x54]
lea edx, [esp + 0x38]
push ecx
push edx
call fcn.00415550
add esp, 8
call fcn.0042a480
test eax, eax
je 0x42f469
call fcn.0042a370
mov esi, eax
lea eax, [esp + 0xb8]
push 2
push eax
push esi
call fcn.00429a20
mov ecx, dword [0x4b5b4c]
mov edi, edx
mov ebx, eax
mov edx, dword [ecx + 0x5ce0]
push edx
call fcn.004048a0
mov edx, dword [0x4b5b4c]
mov eax, 0x16
add esp, 0x10
cmp dword [edx + 0xb620], eax
je 0x42f4ad
cmp dword [edx + 0xb624], eax
jne 0x42f4c4
cmp dword [esp + 0x54], 0xb
jne 0x42f4c4
mov dword [esp + 0x38], 1
mov dword [esp + 0x54], 0
mov eax, dword [esp + 0x98]
test eax, eax
jne 0x42f579
cmp dword [esp + 0x2c], 1
jne 0x42f579
mov esi, dword [esp + 0x20]
test bl, 1
je 0x42f51d
dec esi
jns 0x42f4ef
mov esi, 0xa
mov eax, dword [esp + esi*4 + 0xc0]
test eax, eax
je 0x42f4e7
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
mov edx, dword [edx + 0xa8f0]
push 0
push eax
push ecx
push edx
mov dword [esp + 0x30], esi
call fcn.0044e2d0
mov edx, dword [0x4b5b4c]
add esp, 0x10
test bl, 4
je 0x42f558
inc esi
cmp esi, 0xb
jl 0x42f52a
xor esi, esi
mov eax, dword [esp + esi*4 + 0xc0]
test eax, eax
je 0x42f522
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
mov edx, dword [edx + 0xa8f0]
push 0
push eax
push ecx
push edx
mov dword [esp + 0x30], esi
call fcn.0044e2d0
mov edx, dword [0x4b5b4c]
add esp, 0x10
test ebx, 0xff0
je 0x42f57d
cmp esi, 2
jmp 0x42f56a
inc edi
mov dword [esp + 0x34], 1
mov dword [esp + 0x58], edi
jmp 0x42f57d
mov esi, dword [esp + 0x20]
test ebx, ebx
jne 0x42f58c
mov eax, dword [esp + 0x8c]
test eax, eax
je 0x42f590
xor ecx, ecx
jmp 0x42f597
mov ecx, dword [esp + 0xa0]
mov eax, dword [edx + 0xbb94]
inc ecx
cmp ecx, eax
mov dword [esp + 0xa0], ecx
jle 0x42f5e6
or ebx, 0xffffffff
cmp eax, ebx
je 0x42f5e9
mov eax, dword [edx + 0xcd4]
xor edi, edi
cmp eax, edi
jle 0x42f5eb
mov esi, 1
mov dword [edx + 0xbb8c], esi
mov eax, dword [0x4b5b4c]
mov dword [esp + 0x20], esi
mov dword [esp + 0x34], esi
mov dword [eax + 0xbbb0], edi
mov edx, dword [0x4b5b4c]
mov dword [esp + 0x58], esi
jmp 0x42f5eb
or ebx, 0xffffffff
xor edi, edi
cmp dword [esp + 0x38], 0x3b
je 0x42f5fa
cmp dword [0x4a73a4], edi
je 0x42f647
mov ecx, dword [esp + 0x98]
xor eax, eax
cmp ecx, edi
mov dword [esp + 0x8c], 1
sete al
cmp eax, 1
mov dword [esp + 0x98], eax
jne 0x42f62f
mov ecx, dword [esp + 0x88]
mov dword [esp + 0x9c], ecx
jmp 0x42f641
cmp eax, edi
jne 0x42f641
mov eax, dword [esp + 0x80]
mov dword [esp + 0x9c], eax
mov dword [0x4a73a4], edi
cmp dword [esp + 0x34], edi
je 0x42f6c4
cmp dword [esp + 0x40], ebx
jne 0x42f6c4
cmp dword [edx + 0xbb8c], edi
jne 0x42f673
mov ecx, dword [ebp + 0x14]
mov eax, dword [ebp + 0x10]
push edi
push ecx
mov ecx, dword [edx + 0xa8f0]
push eax
push ecx
call fcn.0044e2d0
add esp, 0x10
cmp esi, 9
jne 0x42f6c4
push str.Options_Screen_n
call fcn.00415ef0
call fcn.00430460
push str.Return_from_Options_Screen_n
call fcn.00415ef0
push edi
call fcn.00487680
mov edx, dword [0x4b5b4c]
mov eax, dword [edx + 0xab24]
push eax
call fcn.0040b060
add esp, 0x10
mov dword [esp + 0x2c], edi
mov dword [esp + 0x40], ebx
mov dword [esp + 0x50], ebx
mov dword [esp + 0x30], edi
mov dword [esp + 0x34], edi
mov dword [esp + 0x60], edi
mov eax, dword [esp + 0x38]
cmp eax, 1
jne 0x42f6db
mov dword [esp + 0x20], 0xa
mov dword [esp + 0x34], eax
jmp 0x42f6e5
cmp eax, 0x58
jne 0x42f6e5
call fcn.00417700
mov ecx, dword [esp + 0x20]
xor edi, edi
test ecx, ecx
jl 0x42f703
lea eax, [esp + 0xc0]
inc ecx
cmp dword [eax], 0
je 0x42f6fd
inc edi
add eax, 4
dec ecx
jne 0x42f6f7
mov al, byte [0x4b6990]
test al, al
jmp 0x42f71a
mov ecx, dword [ebp + 0x44]
mov edx, dword [ebp + 0x1b0]
lea eax, [edi - 1]
mov ebx, dword [esp + 0xa4]
imul eax, ecx
dec edx
mov esi, ecx
imul edx, ecx
neg esi
sub eax, ebx
mov dword [esp + 0x18], 2
cmp eax, edx
mov edi, eax
jle 0x42f74c
add ebx, ecx
add eax, esi
test edi, edi
jge 0x42f754
sub ebx, ecx
sub eax, esi
mov edi, dword [esp + 0x18]
dec edi
mov dword [esp + 0x18], edi
jne 0x42f742
mov esi, dword [esp + 0x48]
mov dword [esp + 0xa4], ebx
cmp esi, ebx
jge 0x42f788
mov ecx, ebx
mov eax, 0x66666667
sub ecx, esi
imul ecx
sar edx, 1
mov ecx, edx
shr ecx, 0x1f
add edx, ecx
lea esi, [esi + edx + 1]
jmp 0x42f7a2
jle 0x42f7a6
mov ecx, ebx
mov eax, 0x66666667
sub ecx, esi
imul ecx
sar edx, 1
mov eax, edx
shr eax, 0x1f
add edx, eax
lea esi, [esi + edx - 1]
mov dword [esp + 0x48], esi
mov ecx, ebx
mov edi, dword [esp + 0x30]
sub ecx, esi
mov dword [esp + 0x10], ecx
fild dword [esp + 0x10]
fabs
fcomp qword [0x49f450]
fnstsw ax
test ah, 0x41
jne 0x42f7c9
test edi, edi
jne 0x42f7cd
mov dword [esp + 0x48], ebx
mov eax, dword [esp + 0x8c]
test eax, eax
je 0x42f872
mov ecx, dword [esp + 0x78]
mov ebx, dword [esp + 0x9c]
cmp ecx, ebx
je 0x42f849
xor edx, edx
cmp ebx, ecx
setle dl
dec edx
mov eax, 0x2aaaaaab
and edx, 2
dec edx
mov esi, edx
mov edx, ebx
sub edx, ecx
mov dword [esp + 0x90], esi
imul edx
sar edx, 1
mov eax, edx
lea ecx, [ecx + esi*4]
shr eax, 0x1f
add edx, eax
mov eax, esi
add eax, ecx
lea ecx, [eax + edx]
mov edx, ebx
sub edx, ecx
mov dword [esp + 0x78], ecx
imul edx, esi
test edx, edx
jg 0x42f849
mov eax, dword [esp + 0x98]
mov ecx, ebx
test eax, eax
mov dword [esp + 0x78], ecx
jne 0x42f849
mov dword [esp + 0x8c], 0
mov edx, dword [esp + 0x80]
mov eax, dword [esp + 0x88]
sub ecx, edx
sub eax, edx
mov dword [esp + 0x10], ecx
fild dword [esp + 0x10]
mov dword [esp + 0x10], eax
fidiv dword [esp + 0x10]
fstp dword [esp + 0x94]
mov eax, dword [0x4b5b4c]
push 0
push 0
mov ecx, dword [eax + 0xab24]
push ecx
call fcn.0040aa70
mov edx, dword [0x4b5b4c]
mov eax, dword [edx + 0xab24]
push eax
call fcn.0040ad10
mov ecx, dword [ebp]
add esp, 0x10
test ecx, ecx
jle 0x42f8be
mov eax, dword [esp + 0x2c]
test eax, eax
jne 0x42f8be
mov eax, edi
shl eax, 8
cdq
idiv ecx
push eax
push eax
push eax
call fcn.004488f0
add esp, 0xc
cmp edi, dword [ebp]
jne 0x42f8cb
mov dword [esp + 0x2c], 1
mov ecx, dword [ebp + 4]
test ecx, ecx
jle 0x42f8f9
cmp dword [esp + 0x2c], 2
jne 0x42f8f9
mov eax, dword [esp + 0x50]
sub eax, edi
shl eax, 8
cdq
idiv ecx
add eax, 0x100
jns 0x42f8ee
xor eax, eax
push eax
push eax
push eax
call fcn.004488f0
add esp, 0xc
mov eax, dword [0x4b5b4c]
mov ecx, dword [eax + 0xb408]
test ecx, ecx
jne 0x43037b
call fcn.00448800
mov ecx, dword [0x4b5b4c]
push 0
mov edx, dword [ecx + 0xab24]
push edx
call fcn.0040aca0
mov ecx, dword [ebp + 0x1b0]
mov ebx, dword [ebp + 0x1ac]
dec ecx
mov eax, dword [ebp + 0x24]
imul ecx, dword [ebp + 0x44]
mov edx, dword [0x4b6c4c]
mov esi, dword [ebp + 0x1a8]
add ecx, ebx
add ecx, eax
dec edx
push ecx
sub eax, esi
push edx
push eax
push 0
call fcn.00487530
add esp, 0x18
xor eax, eax
lea ecx, [esp + 0xc0]
mov dword [esp + 0x14], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x1c], ecx
mov edx, dword [esp + 0x1c]
cmp dword [edx], 0
je 0x42fb62
test al, 1
mov eax, dword [ebp + 0x20]
mov dword [esp + 0x44], eax
je 0x42f993
mov ecx, 0x199
sub ecx, eax
mov dword [esp + 0x18], ecx
jmp 0x42f99e
mov edx, 0xffffffa5
sub edx, eax
mov dword [esp + 0x18], edx
fild dword [esp + 0x18]
fmul dword [esp + 0x94]
fiadd dword [esp + 0x44]
call fcn.004922ac
mov esi, dword [esp + 0x24]
mov edi, dword [esp + 0x48]
imul esi, dword [ebp + 0x44]
mov edx, dword [ebp + 0x24]
mov ecx, dword [esp + 0x14]
mov ebx, eax
mov eax, dword [esp + 0x20]
sub esi, edi
add esi, edx
cmp ecx, eax
mov eax, dword [0x4b5b4c]
jne 0x42fb01
mov ecx, dword [eax + 0xbb8c]
test ecx, ecx
jne 0x42fb01
mov ecx, dword [esp + 0x30]
lea edi, [ecx + ecx]
mov edx, edi
and edx, 0x8000003f
jns 0x42fa00
dec edx
or edx, 0xffffffc0
inc edx
cmp edx, 0x20
jge 0x42fa17
and edi, 0x8000001f
jns 0x42fa12
dec edi
or edi, 0xffffffe0
inc edi
add edi, 0x10
jmp 0x42fa2d
mov ecx, edi
and ecx, 0x8000001f
jns 0x42fa26
dec ecx
or ecx, 0xffffffe0
inc ecx
mov edi, 0x2f
sub edi, ecx
mov ecx, dword [ebp + 0x1b4]
test ecx, ecx
je 0x42faa4
cmp dword [esp + 0x2c], 1
jne 0x42faa4
mov eax, edi
cdq
sub eax, edx
mov edx, dword [sym.imp.alleg40.dll_Ordinal_44]
sar eax, 1
mov ecx, dword [edx]
mov edx, edi
sar eax, 3
shl eax, cl
mov ecx, dword [sym.imp.alleg40.dll_Ordinal_40]
sar edx, 2
mov ecx, dword [ecx]
shl edx, cl
sar edi, 3
or eax, edx
mov edx, dword [sym.imp.alleg40.dll_Ordinal_36]
mov ecx, dword [edx]
mov edx, dword [ebp + 0x1bc]
shl edi, cl
mov ecx, dword [ebp + 0x1c0]
add edx, esi
add ecx, ebx
or eax, edi
push eax
mov eax, dword [ebp + 0x1c4]
add eax, esi
push eax
mov eax, dword [ebp + 0x1b8]
push ecx
add eax, ebx
push edx
push eax
call fcn.00489680
mov eax, dword [0x4b5b4c]
add esp, 0x14
mov ecx, dword [ebp + 0x34]
cmp ecx, 0xffffffff
jne 0x42faf8
mov ecx, dword [sym.imp.alleg40.dll_Ordinal_40]
mov edx, 0x3f
mov edi, 0x1f
mov ecx, dword [ecx]
shl edx, cl
mov ecx, dword [sym.imp.alleg40.dll_Ordinal_44]
mov ecx, dword [ecx]
shl edi, cl
or edx, edi
mov edi, 0x1f
mov ecx, dword [sym.imp.alleg40.dll_Ordinal_36]
mov ecx, dword [ecx]
shl edi, cl
or edx, edi
push edx
mov edx, dword [eax + 0x5cd8]
mov eax, dword [esp + 0x20]
push esi
push ebx
push edx
mov eax, dword [eax]
push eax
call fcn.0041b080
add esp, 0x14
jmp 0x42fb51
mov edx, dword [ebp + 0x3c]
push edx
mov edx, dword [ebp + 0x38]
jmp 0x42fb37
mov ecx, dword [ebp + 0x28]
cmp ecx, 0xffffffff
jne 0x42fb30
mov ecx, dword [sym.imp.alleg40.dll_Ordinal_40]
mov edx, 0x20
mov edi, 0x10
mov ecx, dword [ecx]
shl edx, cl
mov ecx, dword [sym.imp.alleg40.dll_Ordinal_44]
mov ecx, dword [ecx]
shl edi, cl
or edx, edi
mov edi, 0x10
jmp 0x42fad1
mov edx, dword [ebp + 0x30]
push edx
mov edx, dword [ebp + 0x2c]
mov eax, dword [eax + ecx*4 + 0xaaf8]
mov ecx, dword [esp + 0x20]
push edx
push esi
push ebx
push eax
mov eax, dword [ecx]
push eax
call fcn.0041b8d0
add esp, 0x18
mov eax, dword [esp + 0x24]
mov edi, dword [esp + 0x30]
inc eax
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0x1c]
inc eax
add edx, 4
cmp eax, 0xb
mov dword [esp + 0x14], eax
mov dword [esp + 0x1c], edx
jl 0x42f96e
mov edx, dword [0x4b6c58]
mov eax, dword [0x4b6c4c]
dec edx
dec eax
push edx
push eax
push 0
push 0
call fcn.00487530
mov eax, dword [esp + 0x9c]
add esp, 0x10
test eax, eax
je 0x430040
mov eax, dword [esp + 0x74]
mov ecx, dword [esp + 0x68]
mov ebx, dword [esp + 0x78]
mov edx, dword [esp + 0x6c]
lea ebp, [eax + ecx - 1]
mov ecx, dword [sym.imp.alleg40.dll_Ordinal_40]
mov dword [esp + 0x1c], ebx
lea ebx, [ebx + edx - 1]
mov edx, dword [ecx]
mov ecx, dword [sym.imp.alleg40.dll_Ordinal_44]
mov edi, 0x15
mov esi, 0x1d
mov ecx, dword [ecx]
push ebx
mov dword [esp + 0x1c], ecx
mov ecx, dword [sym.imp.alleg40.dll_Ordinal_36]
push ebp
mov dword [esp + 0x1c], eax
mov ecx, dword [ecx]
mov dword [esp + 0x30], ebp
mov dword [esp + 0x18], ecx
mov dword [esp + 0x44], ebx
shl edi, cl
mov ecx, edx
shl esi, cl
mov ecx, dword [esp + 0x20]
or edi, esi
mov esi, 0xa
shl esi, cl
mov ecx, dword [esp + 0x18]
or edi, esi
mov esi, 0x12
shl esi, cl
mov ecx, 0x18
mov dword [esp + 0x18], ecx
mov ecx, edx
mov edx, dword [esp + 0x18]
shl edx, cl
mov ecx, dword [esp + 0x20]
or esi, edx
mov edx, 8
shl edx, cl
mov ecx, dword [esp + 0x80]
push ecx
push eax
or esi, edx
call fcn.00487530
mov eax, dword [sym.imp.alleg40.dll_Ordinal_40]
xor edx, edx
mov ecx, dword [eax]
xor eax, eax
shl edx, cl
mov ecx, dword [sym.imp.alleg40.dll_Ordinal_44]
mov ecx, dword [ecx]
shl eax, cl
mov ecx, dword [sym.imp.alleg40.dll_Ordinal_36]
mov ecx, dword [ecx]
or edx, eax
mov eax, 8
shl eax, cl
or edx, eax
lea eax, [ebx - 2]
push edx
mov edx, dword [esp + 0x30]
push eax
lea eax, [ebp - 2]
push eax
lea eax, [edx + 2]
push eax
mov eax, dword [esp + 0x34]
add eax, 2
push eax
call fcn.00489860
mov edx, dword [esp + 0x40]
lea eax, [ebx - 1]
inc edx
lea ecx, [ebp - 1]
mov dword [esp + 0x48], edx
mov edx, dword [esp + 0x38]
mov dword [esp + 0x68], eax
mov dword [esp + 0x3c], ecx
push edi
push eax
mov eax, dword [esp + 0x50]
inc edx
push ecx
push eax
push edx
mov dword [esp + 0x9c], edx
call fcn.004892b0
mov ecx, dword [esp + 0x54]
mov edx, dword [esp + 0x4c]
lea eax, [ebx - 2]
push esi
push eax
lea eax, [ebp - 2]
push eax
lea eax, [ecx + 2]
push eax
lea eax, [edx + 2]
push eax
call fcn.004892b0
fild dword [esp + 0x68]
add esp, 0x4c
fstp dword [esp + 0x5c]
fild dword [esp + 0x18]
mov eax, dword [esp + 0x5c]
push esi
push eax
fstp dword [esp + 0x54]
fild dword [esp + 0x6c]
mov ecx, dword [esp + 0x54]
push ecx
push eax
fstp dword [esp + 0x20]
mov edx, dword [esp + 0x20]
push edx
call fcn.00487a70
fild dword [esp + 0x50]
mov ecx, dword [esp + 0x60]
mov edx, dword [esp + 0x24]
push esi
fstp dword [esp + 0x54]
mov eax, dword [esp + 0x54]
push eax
push ecx
push eax
push edx
call fcn.00487a70
fild dword [esp + 0x6c]
push esi
fstp dword [esp + 0x3c]
fild dword [esp + 0x40]
mov eax, dword [esp + 0x3c]
push eax
fstp dword [esp + 0x6c]
fild dword [esp + 0x54]
mov eax, dword [esp + 0x6c]
push eax
fstp dword [esp + 0x80]
mov ecx, dword [esp + 0x80]
push ecx
push eax
call fcn.00487a70
fild dword [esp + 0x64]
mov edx, dword [esp + 0x4c]
mov ecx, dword [esp + 0x88]
push esi
push edx
fstp dword [esp + 0x6c]
mov eax, dword [esp + 0x6c]
push eax
push ecx
push eax
call fcn.00487a70
mov edx, dword [esp + 0x74]
mov eax, dword [esp + 0xb4]
add esp, 0x50
push esi
push edx
push eax
call fcn.00487780
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x24]
push esi
push ecx
push edx
call fcn.00487780
mov eax, dword [esp + 0x5c]
mov ecx, dword [esp + 0x7c]
push esi
push eax
push ecx
call fcn.00487780
mov edx, dword [esp + 0x68]
mov eax, dword [esp + 0x3c]
push esi
push edx
push eax
call fcn.00487780
mov ecx, dword [esp + 0x4c]
mov edx, dword [esp + 0x44]
push edi
lea eax, [ecx + 2]
push eax
lea eax, [edx + 2]
push eax
call fcn.00487780
mov eax, dword [esp + 0x58]
push edi
add eax, 2
push eax
lea eax, [ebp - 2]
push eax
call fcn.00487780
mov ecx, dword [esp + 0x5c]
add esp, 0x48
lea eax, [ebx - 2]
push edi
push eax
lea eax, [ecx + 2]
push eax
call fcn.00487780
lea eax, [ebx - 2]
push edi
push eax
lea eax, [ebp - 2]
push eax
call fcn.00487780
mov edx, dword [esp + 0x34]
mov eax, dword [esp + 0x2c]
add eax, 3
push esi
lea edi, [edx + 3]
mov dword [esp + 0x44], eax
push edi
push eax
call fcn.00487780
add ebp, 0xfffffffd
push esi
push edi
push ebp
call fcn.00487780
mov ecx, dword [esp + 0x58]
add ebx, 0xfffffffd
push esi
push ebx
push ecx
call fcn.00487780
push esi
push ebx
push ebp
call fcn.00487780
mov edx, dword [esp + 0xc0]
mov eax, dword [esp + 0xbc]
mov edi, dword [esp + 0xb8]
add esp, 0x48
add edx, 8
add eax, 0xa
mov dword [esp + 0x5c], eax
mov eax, dword [0x4b5b4c]
mov dword [esp + 0x14], edx
mov ebp, dword [eax + 0x5cd8]
mov ecx, dword [eax + 0x5cd4]
push 0xff
push 0xff
push 0xff
mov dword [esp + 0x30], ebp
mov dword [esp + 0x34], ecx
call dword [sym.imp.alleg40.dll_Ordinal_412]
mov dword [esp + 0x1c], eax
mov al, byte [edi]
add esp, 0xc
xor esi, esi
test al, al
je 0x430019
mov al, byte [esi + edi]
xor ecx, ecx
cmp al, 0x5b
mov dword [esp + 0x3c], ecx
jne 0x42ff96
inc esi
push 4
push str.big_
lea ebx, [esi + edi]
push ebx
call fcn.00418520
add esp, 0xc
test eax, eax
je 0x42feeb
mov dword [esp + 0x24], ebp
add esi, 4
jmp 0x42ff88
push 6
push str.small_
push ebx
call fcn.00418520
add esp, 0xc
test eax, eax
je 0x42ff0c
mov edx, dword [esp + 0x28]
add esi, 6
mov dword [esp + 0x24], edx
jmp 0x42ff88
push 3
push str.col
push ebx
call fcn.00418520
add esp, 0xc
test eax, eax
je 0x42ff88
lea eax, [esp + 0xb0]
add esi, 4
lea ecx, [esp + 0xac]
push eax
lea edx, [esp + 0xb8]
push ecx
lea ebx, [esi + edi]
push edx
push 0x4a7d1c
push ebx
call fcn.00493a9e
mov eax, dword [esp + 0xc4]
mov ecx, dword [esp + 0xc0]
mov edx, dword [esp + 0xc8]
push eax
push ecx
push edx
call dword [sym.imp.alleg40.dll_Ordinal_412]
mov dword [esp + 0x30], eax
mov al, byte [ebx]
add esp, 0x20
test al, al
je 0x42ff81
cmp al, 0x5d
je 0x42ff81
mov al, byte [esi + edi + 1]
inc esi
test al, al
jne 0x42ff74
cmp byte [esi + edi], 0
je 0x42ff88
inc esi
cmp byte [esi + edi], 0x5b
je 0x42fec7
mov ecx, dword [esp + 0x3c]
mov al, byte [esi + edi]
test al, al
je 0x42ffba
cmp al, 0xa
je 0x42ffba
cmp ecx, 0x1fe
jge 0x42ffba
mov byte [esp + ecx + 0x14c], al
mov al, byte [esi + edi + 1]
inc ecx
inc esi
test al, al
jne 0x42ff9d
mov al, byte [esi + edi]
mov byte [esp + ecx + 0x14c], 0
cmp al, 0xa
jne 0x42ffda
mov eax, dword [esp + 0x24]
mov ecx, dword [eax + 0xc]
mov eax, dword [esp + 0x14]
add eax, ecx
mov dword [esp + 0x14], eax
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x5c]
push edx
mov edx, dword [esp + 0x28]
push eax
push ecx
lea eax, [esp + 0x158]
push edx
push eax
call fcn.0041b020
mov al, byte [esi + edi]
add esp, 0x14
cmp al, 0xa
jne 0x43000f
mov ecx, dword [esp + 0x14]
inc ecx
inc esi
mov dword [esp + 0x14], ecx
cmp byte [esi + edi], 0
jne 0x42feb6
mov ecx, dword [0x4b6c58]
mov edx, dword [0x4b6c4c]
dec ecx
dec edx
push ecx
push edx
push 0
push 0
call fcn.00487530
mov ebp, dword [esp + 0xb8]
mov edi, dword [esp + 0x40]
add esp, 0x10
mov eax, dword [0x4b6c58]
lea esi, [eax - 2]
mov eax, dword [esp + 0x2c]
test eax, eax
mov dword [esp + 0x18], esi
jne 0x430066
mov ecx, dword [ebp]
test ecx, ecx
jle 0x43008b
mov eax, ecx
sub eax, edi
lea eax, [eax + eax*4]
shl eax, 1
jmp 0x430082
cmp eax, 2
jne 0x43008b
mov ecx, dword [esp + 0x40]
mov edx, dword [esp + 0x50]
cmp ecx, edx
jle 0x43008b
mov eax, edi
sub eax, edx
lea eax, [eax + eax*4]
shl eax, 1
sub ecx, edx
cdq
idiv ecx
add esi, eax
mov dword [esp + 0x18], esi
mov eax, dword [sym.imp.alleg40.dll_Ordinal_40]
xor edx, edx
mov ecx, dword [eax]
xor eax, eax
shl edx, cl
mov ecx, dword [sym.imp.alleg40.dll_Ordinal_44]
mov ecx, dword [ecx]
shl eax, cl
mov ecx, dword [sym.imp.alleg40.dll_Ordinal_36]
mov ecx, dword [ecx]
or edx, eax
mov eax, 8
shl eax, cl
lea ecx, [esi - 5]
or edx, eax
mov eax, dword [0x4b6c4c]
push edx
lea edx, [esi + 1]
dec eax
push edx
push eax
push ecx
push 0
call fcn.00489860
mov eax, dword [esp + 0x48]
add esp, 0x14
test eax, eax
mov eax, dword [0x4b5b4c]
je 0x430139
mov ecx, dword [eax + 0xbb8c]
test ecx, ecx
je 0x430139
mov ecx, dword [sym.imp.alleg40.dll_Ordinal_40]
mov edx, 0x30
mov ebx, 0x18
mov eax, dword [eax + 0x5cd4]
mov ecx, dword [ecx]
shl edx, cl
mov ecx, dword [sym.imp.alleg40.dll_Ordinal_44]
mov ecx, dword [ecx]
shl ebx, cl
mov ecx, dword [sym.imp.alleg40.dll_Ordinal_36]
mov ecx, dword [ecx]
or edx, ebx
mov ebx, 0x18
shl ebx, cl
or edx, ebx
push edx
mov edx, dword [0x4b6c4c]
add edx, 0xfffffffc
push esi
push edx
push eax
push str.Loading_demo
call fcn.0041b050
jmp 0x4302c9
mov ecx, dword [0x4a6a48]
mov edx, dword [0x4a6a44]
push ecx
mov ecx, dword [0x4a6a40]
push edx
push ecx
mov ecx, dword [sym.imp.alleg40.dll_Ordinal_40]
mov edx, 0x30
mov ebx, 0x18
push str.Beta__i._02i._02i
mov ecx, dword [ecx]
shl edx, cl
mov ecx, dword [sym.imp.alleg40.dll_Ordinal_44]
mov ecx, dword [ecx]
shl ebx, cl
mov ecx, dword [sym.imp.alleg40.dll_Ordinal_36]
mov ecx, dword [ecx]
or edx, ebx
mov ebx, 0x18
shl ebx, cl
or edx, ebx
push edx
mov edx, dword [eax + 0x5cd4]
push esi
push 2
push edx
call fcn.0041b140
mov ecx, dword [sym.imp.alleg40.dll_Ordinal_40]
mov eax, 0x30
mov edx, 0x18
mov ecx, dword [ecx]
shl eax, cl
mov ecx, dword [sym.imp.alleg40.dll_Ordinal_44]
mov ecx, dword [ecx]
shl edx, cl
mov ecx, dword [sym.imp.alleg40.dll_Ordinal_36]
mov ecx, dword [ecx]
or eax, edx
mov edx, 0x18
shl edx, cl
or eax, edx
mov edx, dword [0x4b6c4c]
push eax
mov eax, dword [0x4b5b4c]
add edx, 0xfffffffd
push esi
mov ecx, dword [eax + 0x5cd4]
push edx
push ecx
push str._c__Elecbyte_2002
call fcn.0041b050
mov eax, dword [sym.imp.alleg40.dll_Ordinal_40]
mov edx, 0x30
fld dword [esp + 0xc8]
mov ecx, dword [eax]
mov eax, 0x18
shl edx, cl
mov ecx, dword [sym.imp.alleg40.dll_Ordinal_44]
fmul dword [0x49f44c]
mov ecx, dword [ecx]
shl eax, cl
mov ecx, dword [sym.imp.alleg40.dll_Ordinal_36]
fiadd dword [esp + 0x4c]
mov ecx, dword [ecx]
or edx, eax
mov eax, 0x18
shl eax, cl
or edx, eax
push edx
call fcn.004922ac
push eax
mov eax, dword [0x4b6c4c]
cdq
sub eax, edx
mov edx, dword [0x4b5b4c]
sar eax, 1
dec eax
push eax
mov eax, dword [edx + 0x5cd4]
push eax
push str.Press_F1_for_info
call fcn.0041b080
mov eax, dword [sym.imp.alleg40.dll_Ordinal_40]
mov edx, 0x30
add esi, 0x12
add esp, 0x48
mov ecx, dword [eax]
mov eax, 0x18
shl edx, cl
mov ecx, dword [sym.imp.alleg40.dll_Ordinal_44]
mov dword [esp + 0x28], esi
fild dword [esp + 0x28]
mov ecx, dword [ecx]
fld dword [esp + 0x94]
shl eax, cl
mov ecx, dword [sym.imp.alleg40.dll_Ordinal_36]
fmul dword [0x49f44c]
mov ecx, dword [ecx]
or edx, eax
mov eax, 0x18
shl eax, cl
fsubp st(1)
or edx, eax
push edx
call fcn.004922ac
push eax
mov eax, dword [0x4b6c4c]
cdq
sub eax, edx
mov edx, dword [0x4b5b4c]
sar eax, 1
dec eax
push eax
mov eax, dword [edx + 0x5cd4]
push eax
push str.Press_F1_to_continue
call fcn.0041b080
mov eax, dword [0x4b5b4c]
add esp, 0x14
jmp 0x43037b
mov ecx, dword [eax + 0xc934]
test ecx, ecx
jne 0x43038f
call fcn.00482b50
mov eax, dword [0x4b5b4c]
mov ecx, dword [eax + 0xb408]
test ecx, ecx
jne 0x4303a8
mov ecx, dword [eax + 0x5cf8]
test ecx, ecx
je 0x4303a8
call sub.alleg40.dll_Ordinal_745
call fcn.004174e0
mov ecx, dword [0x4b5b4c]
mov eax, dword [ecx + 0xb408]
test eax, eax
jne 0x4303c2
call fcn.00448830
call fcn.00417420
mov eax, dword [esp + 0x34]
test eax, eax
je 0x4303f2
cmp dword [esp + 0x40], 0xffffffff
jne 0x4303f2
cmp dword [esp + 0x2c], 1
jne 0x4303f2
mov eax, dword [ebp + 4]
mov dword [esp + 0x2c], 2
add eax, edi
mov dword [esp + 0x50], edi
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x60]
inc edi
test eax, eax
mov dword [esp + 0x30], edi
jne 0x430421
mov eax, dword [esp + 0x40]
cmp eax, 0xffffffff
je 0x430416
mov ecx, edi
cmp ecx, eax
jle 0x430416
mov dword [esp + 0x60], 1
cmp dword [esp + 0x38], 1
jne 0x42f3fc
call fcn.00417400
call fcn.00449d10
mov edx, dword [0x4b5b4c]
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x58]
pop edi
mov dword [edx + 0x26c0], eax
mov edx, dword [0x4b5b4c]
dec ecx
pop esi
pop ebp
mov dword [edx + 0x26c4], ecx
pop ebx
add esp, 0x133c
ret