Function at 0x41d150
Capabilities:
Check http status code

Disassembly:
sub esp, 0x5dc
mov eax, dword [0x4b5b4c]
mov ecx, dword [esp + 0x5e0]
push ebx
push ebp
mov dword [eax + 0x26c8], ecx
mov edx, dword [0x4b5b4c]
push esi
xor esi, esi
mov dword [edx + 0x5cc0], esi
mov ecx, dword [sym.imp.alleg40.dll_Ordinal_36]
mov eax, 0x1f
mov edx, 0x3f
mov ecx, dword [ecx]
push edi
shl eax, cl
mov ecx, dword [sym.imp.alleg40.dll_Ordinal_40]
push esi
mov ecx, dword [ecx]
shl edx, cl
mov ecx, dword [sym.imp.alleg40.dll_Ordinal_44]
mov ecx, dword [ecx]
or eax, edx
mov edx, 0x1f
shl edx, cl
or eax, edx
mov edx, dword [0x4b5b4c]
mov dword [esp + 0x2c], eax
mov dword [edx + 0xb444], esi
mov eax, dword [0x4b5b4c]
mov dword [eax + 0xb440], esi
mov eax, dword [0x4b5b4c]
cmp dword [eax + 0xbd50], 4
jne 0x41d1de
mov ecx, dword [eax + 0x5ccc]
push ecx
jmp 0x41d1e5
mov edx, dword [eax + 0x5cc4]
push edx
call fcn.00486bb0
add esp, 8
push esi
call fcn.00487680
mov eax, dword [0x4b6c58]
mov ecx, dword [0x4b6c4c]
dec eax
dec ecx
push eax
push ecx
push esi
push esi
call fcn.00487530
add esp, 0x14
call fcn.00417400
mov eax, dword [0x4b5b4c]
cmp dword [eax + 0xc938], esi
je 0x41d251
mov dword [eax + 0xb400], 0x7d0
mov edx, dword [0x4b5b4c]
mov dword [edx + 0xc934], 1
mov eax, dword [0x4b5b4c]
cmp dword [eax + 0xb3fc], 0x2710
jge 0x41ecbc
xor esi, esi
jmp 0x41d27a
mov ecx, dword [eax + 0xc944]
cmp ecx, esi
je 0x41d27a
cmp ecx, 0xffffffff
je 0x41d27a
mov dword [eax + 0xb400], ecx
mov eax, dword [0x4b5b4c]
mov dword [eax + 0xc934], 1
mov eax, dword [0x4b5b4c]
cmp dword [eax + 0xc93c], esi
je 0x41d2a2
call fcn.0044ad10
call fcn.0044adf0
call fcn.0042e150
mov ecx, dword [0x4b5b4c]
mov dword [ecx + 0xc93c], esi
mov eax, dword [0x4b5b4c]
cmp dword [eax + 0xc940], esi
je 0x41d2cd
call fcn.0044ad10
call fcn.0044adf0
call fcn.0042dc60
test eax, eax
je 0x41ecaf
mov edx, dword [0x4b5b4c]
mov dword [edx + 0xc940], esi
call fcn.0042cda0
test eax, eax
mov eax, dword [0x4b5b4c]
jne 0x41d325
cmp dword [eax + 0xab8], esi
jne 0x41d308
mov cl, byte [eax + 0xbb7d]
test cl, cl
je 0x41d300
add eax, 0xaa8
push eax
call fcn.0040c320
mov eax, dword [0x4b5b4c]
add esp, 4
cmp dword [eax + 0xab8], esi
je 0x41d325
mov cl, byte [eax + 0xbb7d]
test cl, cl
jne 0x41d325
add eax, 0xaa8
push eax
call fcn.0040c3d0
mov eax, dword [0x4b5b4c]
add esp, 4
add eax, 0xaa8
push eax
call fcn.0040c520
mov eax, dword [0x4b5b4c]
add esp, 4
cmp dword [0x4a75ac], 1
je 0x41d36a
mov eax, dword [eax + 0x5cc4]
push esi
push eax
call fcn.00486bb0
mov ecx, dword [0x4b5b4c]
push 1
mov edx, dword [ecx + 0xb13c]
push edx
call fcn.0040aa40
mov eax, dword [0x4b5b4c]
add esp, 0x10
mov eax, dword [eax + 0x5ce0]
push eax
call fcn.004048a0
mov eax, dword [0x4b5b4c]
add esp, 4
mov ecx, dword [eax + 0xb440]
mov edi, dword [eax + 0xb430]
mov edx, dword [eax + 0xb434]
add ecx, edi
mov dword [esp + 0x20], ecx
mov ecx, dword [eax + 0xb444]
add ecx, edx
mov dword [esp + 0x1c], ecx
mov ecx, dword [eax + 0xb410]
cmp ecx, esi
jne 0x41d3db
mov dword [eax + 0xbbb8], 0xffffffff
mov edx, dword [0x4b5b4c]
mov eax, 1
lea ecx, [edx + 0xbbf8]
cmp dword [ecx], esi
jg 0x41d3d5
dec eax
sub ecx, 0x24
cmp eax, esi
jge 0x41d3c7
jmp 0x41d3db
mov dword [edx + 0xbbb8], eax
call fcn.00420d40
mov eax, dword [0x4b5b4c]
mov edx, dword [eax + 0xbc1c]
cmp edx, esi
jle 0x41d417
cmp dword [eax + 0xb410], esi
jne 0x41d4f8
mov ecx, dword [eax + 0xbc20]
cmp ecx, esi
jg 0x41d409
add ecx, edx
jmp 0x41d40c
add ecx, 0xffffff9c
mov dword [eax + 0xbc20], ecx
mov eax, dword [0x4b5b4c]
cmp dword [eax + 0xb410], esi
jne 0x41d4f8
call fcn.00449db0
mov eax, dword [0x4b5b4c]
cmp dword [eax + 0xb410], esi
jne 0x41d4f8
mov ebx, dword [eax + 0xbbb8]
cmp ebx, 0xffffffff
je 0x41d4f8
lea ecx, [ebx + ebx*8]
shl ecx, 2
mov edx, dword [ecx + eax + 0xbbd4]
cmp edx, esi
jle 0x41d4f8
cmp dword [eax + 0xbc20], esi
jne 0x41d472
dec edx
mov dword [ecx + eax + 0xbbd4], edx
mov eax, dword [0x4b5b4c]
cmp dword [ecx + eax + 0xbbd4], esi
je 0x41d4f8
cmp dword [ecx + eax + 0xbbd0], esi
je 0x41d4f8
push esi
lea ecx, [esp + 0x19c]
push 0xb00
push ecx
call fcn.0044a0f0
add esp, 0xc
mov ecx, 5
mov esi, eax
lea edi, [esp + 0x70]
push 0x80
push 0x50
push 0x50
rep movsd dword es:[edi], dword [esi]
sub esp, 0x14
mov ecx, 5
mov esi, eax
mov edi, esp
rep movsd dword es:[edi], dword [esi]
call fcn.00449ea0
mov eax, dword [0x4b5b4c]
add esp, 0x20
lea edx, [ebx + ebx*8 + 0x2eef]
mov ecx, 5
push 0xc0
push 0x80
push 0x80
lea esi, [eax + edx*4]
sub esp, 0x14
mov edi, esp
rep movsd dword es:[edi], dword [esi]
call fcn.00449ea0
add esp, 0x20
push 1
push 0
push 0
lea ecx, [esp + 0x190]
push 0x100
push ecx
call fcn.0044a0f0
mov edx, dword [0x4b5b4c]
sub esp, 8
mov ecx, 5
mov esi, eax
mov edi, esp
add edx, 0xb140
rep movsd dword es:[edi], dword [esi]
push edx
call fcn.0044a290
mov eax, dword [0x4b5b4c]
add esp, 0x20
mov ebp, dword [eax + 0xb954]
mov ecx, dword [eax + 0xb950]
cmp ebp, ecx
jl 0x41d5e6
lea ebx, [ebp*4 + 0xb750]
mov ecx, dword [ebx + eax]
test ecx, ecx
je 0x41d5d4
mov edx, dword [ecx + 0x158]
test edx, edx
je 0x41d5d4
sub esp, 0x14
lea esi, [ecx + 0x25c8]
mov ecx, 5
mov edi, esp
rep movsd dword es:[edi], dword [esi]
call fcn.0044a240
add esp, 0x14
test eax, eax
mov eax, dword [0x4b5b4c]
je 0x41d5d4
mov ecx, dword [eax + 0xbbb8]
cmp ecx, 0xffffffff
je 0x41d5a4
mov edx, dword [ebx + eax]
mov esi, dword [edx + ecx*4 + 0x1dc]
test esi, esi
jne 0x41d5a4
xor ecx, ecx
jmp 0x41d5a9
mov ecx, 1
mov eax, dword [ebx + eax]
push ecx
push 0
mov ecx, 5
sub esp, 0x14
lea esi, [eax + 0x25c8]
mov edi, esp
add eax, 0x25dc
rep movsd dword es:[edi], dword [esi]
push eax
call fcn.0044a290
mov eax, dword [0x4b5b4c]
add esp, 0x20
mov ecx, dword [eax + 0xb950]
dec ebp
sub ebx, 4
cmp ebp, ecx
jge 0x41d553
push 1
push 1
sub esp, 0x14
mov ecx, 5
lea esi, [esp + 0x8c]
mov edi, esp
add eax, 0xb17c
rep movsd dword es:[edi], dword [esi]
push eax
call fcn.0044a290
add esp, 0x20
call fcn.0041ed20
test eax, eax
jne 0x41ec86
mov eax, dword [0x4b5b4c]
mov ecx, dword [eax + 0xb410]
test ecx, ecx
jne 0x41d636
mov eax, dword [eax + 0xa2e8]
push eax
call fcn.00419060
add esp, 4
call fcn.0042cda0
test eax, eax
mov eax, dword [0x4b5b4c]
je 0x41d657
mov ecx, dword [eax + 0xbcf0]
test ecx, ecx
jne 0x41d698
cmp dword [eax + 0xbcf4], 1
jne 0x41d698
mov ecx, dword [eax + 0xbbb8]
cmp ecx, 0xffffffff
je 0x41d670
lea ecx, [ecx + ecx*8]
mov edx, dword [eax + ecx*4 + 0xbbd8]
test edx, edx
jne 0x41d698
mov ecx, dword [eax + 0xb410]
test ecx, ecx
jne 0x41d6c2
mov ecx, dword [eax + 0xbc20]
test ecx, ecx
jne 0x41d698
mov edx, dword [eax + 0xb13c]
push edx
call fcn.0040ad10
mov eax, dword [0x4b5b4c]
add esp, 4
mov ecx, dword [eax + 0xb410]
test ecx, ecx
jne 0x41d6c2
mov ecx, dword [eax + 0xbc20]
test ecx, ecx
jne 0x41d6c2
mov ecx, dword [eax + 0x5d04]
test ecx, ecx
jle 0x41d6c2
dec ecx
mov dword [eax + 0x5d04], ecx
mov eax, dword [0x4b5b4c]
mov ecx, dword [eax + 0xa2e0]
test ecx, ecx
je 0x41d6dd
mov cl, byte [eax + 0xbb80]
test cl, cl
jne 0x41d6dd
mov esi, 1
jmp 0x41d6df
xor esi, esi
mov ecx, dword [eax + 0xbb8c]
mov dword [esp + 0x14], esi
test ecx, ecx
je 0x41d6fd
mov ecx, dword [eax + 0xbba8]
test ecx, ecx
jne 0x41d6fd
xor esi, esi
mov dword [esp + 0x14], esi
mov ecx, dword [eax + 0xb408]
test ecx, ecx
jne 0x41d7b2
call fcn.00448800
mov eax, dword [0x4b5b4c]
mov ecx, dword [eax + 0x5d04]
test ecx, ecx
jne 0x41d77f
mov cl, byte [eax + 0xbb81]
test cl, cl
jne 0x41d730
call fcn.00422330
jmp 0x41d73a
push 0
call fcn.00487680
add esp, 4
mov eax, dword [0x4b5b4c]
cmp dword [0x4a75ac], 1
je 0x41d7b2
mov eax, dword [eax + 0x5ccc]
push 0
push eax
call fcn.00486c50
mov ecx, dword [0x4b5b4c]
add esp, 8
mov edx, dword [ecx + 0x5cc4]
push eax
push 0
push edx
call fcn.00486c50
add esp, 8
push eax
call fcn.0041c8d0
mov eax, dword [0x4b5b4c]
add esp, 8
cmp dword [0x4a75ac], 1
je 0x41d7b2
mov eax, dword [eax + 0xb13c]
push 2
push eax
call fcn.0040aa40
mov ecx, dword [0x4b5b4c]
push 0
mov edx, dword [ecx + 0x5ccc]
push edx
call fcn.00486bb0
mov eax, dword [0x4b5b4c]
add esp, 0x10
test esi, esi
je 0x41d7c5
push 0
call fcn.00422440
mov eax, dword [0x4b5b4c]
add esp, 4
mov esi, dword [eax + 0xb754]
mov edi, dword [eax + 0xb758]
mov ebp, dword [eax + 0xb75c]
mov ebx, dword [eax + 0xb760]
push esi
call fcn.00423410
push edi
call fcn.00423410
add esp, 8
test ebp, ebp
je 0x41d7f9
push ebp
call fcn.00423410
add esp, 4
test ebx, ebx
je 0x41d806
push ebx
call fcn.00423410
add esp, 4
push esi
call fcn.00423550
push edi
call fcn.00423550
mov ebp, dword [0x4b5b4c]
add esp, 8
mov eax, dword [ebp + 0xb408]
test eax, eax
jne 0x41db75
mov eax, dword [ebp + 0x5d04]
test eax, eax
jne 0x41d94c
mov al, byte [ebp + 0xbb7e]
test al, al
jne 0x41d90c
mov esi, dword [ebp + 0xb954]
mov eax, dword [ebp + 0xb950]
cmp esi, eax
jl 0x41d8ac
lea edi, [esi*4 + 0xb750]
mov eax, dword [edi + ebp]
test eax, eax
je 0x41d89e
mov ecx, dword [eax + 0x158]
test ecx, ecx
je 0x41d89e
mov cl, byte [eax + 0x208]
test cl, cl
jne 0x41d89e
mov ecx, dword [eax + 0x198]
test ecx, ecx
je 0x41d89e
lea ecx, [ebp + 0xaa4]
add ebp, 0xa90
push ecx
push ebp
push eax
call fcn.00446d50
mov ebp, dword [0x4b5b4c]
add esp, 0xc
mov eax, dword [ebp + 0xb950]
dec esi
sub edi, 4
cmp esi, eax
jge 0x41d85c
mov esi, dword [ebp + 0xb954]
mov eax, dword [ebp + 0xb950]
cmp esi, eax
jl 0x41d8f7
lea edi, [esi*4 + 0xb750]
mov eax, dword [edi + ebp]
test eax, eax
je 0x41d8e9
mov ecx, dword [eax + 0x158]
test ecx, ecx
je 0x41d8e9
mov edx, dword [eax + 0x21c]
push edx
call fcn.0044b950
mov ebp, dword [0x4b5b4c]
add esp, 4
mov eax, dword [ebp + 0xb950]
dec esi
sub edi, 4
cmp esi, eax
jge 0x41d8c3
mov eax, dword [ebp + 0xa2e4]
push eax
call fcn.004194d0
mov ebp, dword [0x4b5b4c]
add esp, 4
mov edi, dword [ebp + 0xbd50]
xor ecx, ecx
cmp edi, 4
mov edx, dword [esp + 0x1c]
sete cl
mov eax, dword [esp + 0x20]
inc ecx
mov dword [esp + 0x24], ecx
push ecx
fild dword [esp + 0x28]
mov ecx, dword [ebp + 0x5cdc]
neg edx
fstp dword [esp]
neg eax
push edx
push eax
push 2
push ecx
call fcn.00405150
mov ebp, dword [0x4b5b4c]
add esp, 0x14
mov eax, dword [ebp + 0xb408]
test eax, eax
jne 0x41db75
mov eax, dword [ebp + 0x5d04]
test eax, eax
jle 0x41d983
mov eax, dword [ebp + 0x5cfc]
test eax, eax
je 0x41d983
mov edx, dword [ebp + 0x5d00]
push edx
call fcn.00487680
mov ebp, dword [0x4b5b4c]
add esp, 4
mov esi, dword [ebp + 0xb950]
mov eax, dword [ebp + 0xb954]
cmp esi, eax
jg 0x41d9d7
lea edi, [esi*4 + 0xb750]
mov eax, dword [edi + ebp]
test eax, eax
je 0x41d9c9
mov ecx, dword [eax + 0x158]
test ecx, ecx
je 0x41d9c9
mov ecx, dword [eax + 0x198]
test ecx, ecx
je 0x41d9c9
push 0x3f800000
push eax
call fcn.00446bd0
mov ebp, dword [0x4b5b4c]
add esp, 8
mov eax, dword [ebp + 0xb954]
inc esi
add edi, 4
cmp esi, eax
jle 0x41d99a
mov esi, dword [ebp + 0xb954]
mov eax, dword [ebp + 0xb950]
cmp esi, eax
jl 0x41da22
lea edi, [esi*4 + 0xb750]
mov eax, dword [edi + ebp]
test eax, eax
je 0x41da14
mov ecx, dword [eax + 0x158]
test ecx, ecx
je 0x41da14
mov eax, dword [eax + 0x21c]
push eax
call fcn.0044b8e0
mov ebp, dword [0x4b5b4c]
add esp, 4
mov eax, dword [ebp + 0xb950]
dec esi
sub edi, 4
cmp esi, eax
jge 0x41d9ee
mov ecx, dword [ebp + 0xa2e4]
push 0
push ecx
call fcn.00419210
mov eax, dword [0x4b5b4c]
add esp, 8
mov ebx, dword [eax + 0xb954]
mov ecx, dword [eax + 0xb950]
cmp ebx, ecx
jl 0x41db2a
lea edi, [ebx*4 + 0xb750]
mov ecx, dword [edi + eax]
test ecx, ecx
je 0x41db18
mov edx, dword [ecx + 0x158]
test edx, edx
je 0x41db18
mov edx, dword [ecx + 0x1394]
test edx, edx
je 0x41daad
mov ecx, dword [ecx + 0x1cc]
mov ebp, dword [eax + 0xb434]
push ecx
mov ecx, dword [eax + 0xb444]
mov esi, dword [eax + 0xb430]
add ecx, ebp
neg ecx
push ecx
mov ecx, dword [eax + 0xb440]
add ecx, esi
neg ecx
push ecx
push edx
call fcn.004013b0
mov eax, dword [0x4b5b4c]
add esp, 0x10
mov edx, dword [edi + eax]
mov eax, dword [edx + 0x21c]
mov esi, dword [eax]
push esi
call fcn.00409240
add esp, 4
test eax, eax
je 0x41db13
mov ecx, dword [eax + 0x2d8]
test ecx, ecx
je 0x41db06
mov edx, dword [eax + 0x2bc]
mov eax, dword [0x4b5b4c]
push edx
mov edx, dword [eax + 0xb444]
mov ebp, dword [eax + 0xb434]
add edx, ebp
mov ebp, dword [eax + 0xb430]
neg edx
push edx
mov edx, dword [eax + 0xb440]
add edx, ebp
neg edx
push edx
push ecx
call fcn.004013b0
add esp, 0x10
push esi
call fcn.004092b0
add esp, 4
test eax, eax
jne 0x41dac5
mov eax, dword [0x4b5b4c]
mov ecx, dword [eax + 0xb950]
dec ebx
sub edi, 4
cmp ebx, ecx
jge 0x41da53
cmp dword [eax + 0xbd50], 4
jne 0x41db4c
mov eax, dword [eax + 0x5ce0]
push 0x40000000
push eax
call fcn.00404be0
mov eax, dword [0x4b5b4c]
add esp, 8
mov ecx, dword [eax + 0x5ce0]
push ecx
call fcn.00404b60
mov edx, dword [0x4b5b4c]
push 1
mov eax, dword [edx + 0xa2e4]
push eax
call fcn.00419210
mov ebp, dword [0x4b5b4c]
add esp, 0xc
mov eax, dword [esp + 0x14]
test eax, eax
je 0x41db8d
push 1
call fcn.00422440
mov ebp, dword [0x4b5b4c]
add esp, 4
mov eax, dword [ebp + 0xb408]
test eax, eax
jne 0x41dbb8
mov al, byte [ebp + 0xbb82]
test al, al
jne 0x41dbb8
mov ecx, dword [ebp + 0xb13c]
push 1
push ecx
call fcn.0040aca0
mov ebp, dword [0x4b5b4c]
add esp, 8
mov eax, dword [ebp + 0xb758]
mov edx, dword [ebp + 0xb754]
mov esi, dword [ebp + 0xb75c]
mov edi, dword [ebp + 0xb760]
mov dword [esp + 0x18], eax
mov eax, dword [ebp + 0xbc30]
dec eax
mov dword [esp + 0x24], edx
mov dword [esp + 0x2c], esi
mov dword [esp + 0x10], edi
lea ebx, [ebp + 0x91c0]
je 0x41de53
dec eax
je 0x41de14
sub eax, 2
jne 0x41df21
mov ecx, dword [ebx + 0x850]
mov eax, dword [ebp + 0xbc3c]
inc ecx
cmp eax, ecx
jne 0x41df21
call fcn.0042e8b0
cmp eax, 1
jne 0x41dc91
test esi, esi
jne 0x41dc55
lea ebp, [ebx + 0x730]
or ecx, 0xffffffff
mov edi, ebp
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [esp + 0x30]
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [esp + 0x24]
jmp 0x41dcd0
lea ebp, [ebx + 0x79c]
or ecx, 0xffffffff
mov edi, ebp
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [esp + 0x30]
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
mov eax, dword [esp + 0x24]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [esp + 0x2c]
mov edx, dword [ecx]
add edx, 0x30
push edx
jmp 0x41dd49
call fcn.0042e8b0
cmp eax, 2
jne 0x41dd92
test edi, edi
jne 0x41dd12
lea ebp, [ebx + 0x730]
or ecx, 0xffffffff
mov edi, ebp
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [esp + 0x30]
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [esp + 0x18]
mov edx, dword [ecx]
lea eax, [esp + 0x30]
add edx, 0x30
push edx
push eax
push ebp
call fcn.00492257
mov ecx, dword [ebx + 0x14]
mov edx, dword [ebx + 0x10]
push ecx
lea eax, [ebx + 0x6f4]
push edx
push eax
call fcn.0041af00
lea edi, [esp + 0x48]
or ecx, 0xffffffff
xor eax, eax
add esp, 0x18
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edx, ecx
mov edi, ebp
jmp 0x41df0f
lea ebp, [ebx + 0x79c]
or ecx, 0xffffffff
mov edi, ebp
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [esp + 0x30]
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
mov eax, dword [esp + 0x18]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [esp + 0x10]
mov edx, dword [ecx]
add edx, 0x30
push edx
mov ecx, dword [eax]
lea edx, [esp + 0x34]
add ecx, 0x30
push ecx
push edx
push ebp
call fcn.00492257
mov eax, dword [ebx + 0x14]
mov ecx, dword [ebx + 0x10]
push eax
lea edx, [ebx + 0x760]
push ecx
push edx
call fcn.0041af00
lea edi, [esp + 0x4c]
or ecx, 0xffffffff
xor eax, eax
add esp, 0x1c
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, ebp
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
jmp 0x41df16
mov ebp, dword [0x4b5b4c]
cmp dword [ebp + 0xbc38], 3
jne 0x41df21
lea ebp, [ebx + 0x808]
or ecx, 0xffffffff
mov edi, ebp
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [esp + 0x30]
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
lea eax, [esp + 0x30]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [esp + 0x18]
mov edx, dword [ecx]
add edx, 0x30
push edx
push eax
push ebp
call fcn.00492257
mov ecx, dword [ebx + 0x14]
mov edx, dword [ebx + 0x10]
push ecx
lea eax, [ebx + 0x7cc]
push edx
push eax
call fcn.0041af00
lea edi, [esp + 0x48]
or ecx, 0xffffffff
xor eax, eax
add esp, 0x18
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edx, ecx
mov edi, ebp
jmp 0x41df0f
mov eax, dword [ebx + 0x580]
mov ecx, dword [ebp + 0xbc3c]
inc eax
cmp ecx, eax
jne 0x41df21
mov eax, dword [ebp + 0xbb8c]
test eax, eax
jne 0x41df21
mov ecx, dword [ebx + 0x14]
mov edx, dword [ebx + 0x10]
push ecx
lea eax, [ebx + 0x514]
push edx
push eax
call fcn.0041af00
add esp, 0xc
jmp 0x41df1b
mov ecx, dword [ebx + 0x4bc]
mov eax, dword [ebp + 0xbc24]
add ecx, 2
cmp eax, ecx
jne 0x41df21
mov eax, dword [ebp + 0xbb8c]
test eax, eax
jne 0x41df21
mov eax, dword [ebp + 0xbc04]
cmp eax, 0xa
jge 0x41dea7
mov edx, dword [ebx + 0x14]
mov ecx, dword [ebx + 0x10]
lea eax, [eax + eax*2]
push edx
push ecx
lea edx, [eax + eax*8]
lea eax, [ebx + edx*4 + 0x84]
push eax
call fcn.0041af00
mov ebp, dword [0x4b5b4c]
add esp, 0xc
lea edx, [ebx + 0x54]
or ecx, 0xffffffff
mov edi, edx
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
lea esi, [esp + 0x30]
sub edi, ecx
mov eax, ecx
mov dword [esp + 0x10], esi
mov esi, edi
mov edi, dword [esp + 0x10]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
lea eax, [esp + 0x30]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [ebp + 0xbc04]
push ecx
push eax
push edx
call fcn.00492257
mov ecx, dword [ebx + 0x14]
mov edx, dword [ebx + 0x10]
push ecx
lea eax, [ebx + 0x18]
push edx
push eax
call fcn.0041af00
lea edi, [esp + 0x48]
or ecx, 0xffffffff
xor eax, eax
add esp, 0x18
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edx, ecx
lea edi, [ebx + 0x54]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ebp, dword [0x4b5b4c]
mov eax, dword [ebp + 0xbc30]
mov edi, 4
cmp eax, 3
je 0x41df35
cmp eax, edi
jne 0x41dfa2
mov ecx, dword [ebp + 0xbc3c]
cmp eax, edi
jne 0x41df45
add ecx, dword [ebp + 0xbc28]
mov eax, dword [ebx + 0x6d4]
inc eax
cmp ecx, eax
jne 0x41dfa2
mov eax, dword [ebp + 0xbc38]
cmp eax, 3
jne 0x41df6b
mov ecx, dword [ebx + 0x14]
mov edx, dword [ebx + 0x10]
push ecx
push edx
add ebx, 0x668
jmp 0x41df93
cmp eax, 2
jne 0x41df80
mov eax, dword [ebx + 0x14]
mov ecx, dword [ebx + 0x10]
push eax
push ecx
add ebx, 0x5fc
jmp 0x41df93
cmp eax, 1
jne 0x41dfa2
mov edx, dword [ebx + 0x14]
mov eax, dword [ebx + 0x10]
push edx
push eax
add ebx, 0x590
push ebx
call fcn.0041af00
mov ebp, dword [0x4b5b4c]
add esp, 0xc
mov eax, dword [ebp + 0xb408]
test eax, eax
jne 0x41e04d
mov ecx, dword [ebp + 0xa2e8]
push 0xffffffffffffffff
push ecx
call fcn.00419210
mov ebp, dword [0x4b5b4c]
add esp, 8
mov eax, dword [ebp + 0xb408]
test eax, eax
jne 0x41e04d
mov eax, dword [ebp + 0x5d04]
test eax, eax
jle 0x41dffa
mov eax, dword [ebp + 0x5cfc]
test eax, eax
jne 0x41dffa
mov edx, dword [ebp + 0x5d00]
push edx
call fcn.00487680
mov ebp, dword [0x4b5b4c]
add esp, 4
mov edx, dword [ebp + 0xbd50]
xor eax, eax
cmp edx, edi
push ecx
sete al
inc eax
mov ecx, dword [ebp + 0x5cdc]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x20]
fild dword [esp + 0x14]
neg eax
fstp dword [esp]
push eax
mov eax, dword [esp + 0x28]
neg eax
push eax
push 1
push ecx
call fcn.00405150
mov edx, dword [0x4b5b4c]
push 2
mov eax, dword [edx + 0xa2e4]
push eax
call fcn.00419210
mov ebp, dword [0x4b5b4c]
add esp, 0x1c
mov eax, dword [esp + 0x14]
test eax, eax
je 0x41e065
push 2
call fcn.00422440
mov ebp, dword [0x4b5b4c]
add esp, 4
mov eax, dword [ebp + 0xb408]
test eax, eax
jne 0x41e9e2
mov eax, dword [ebp + 0xc52c]
test eax, eax
je 0x41e143
mov esi, dword [ebp + 0xb954]
mov eax, dword [ebp + 0xb950]
cmp esi, eax
jl 0x41e0df
lea ebx, [esi*4 + 0xb750]
mov eax, dword [ebx + ebp]
test eax, eax
je 0x41e0d2
mov ecx, dword [eax + 0x158]
test ecx, ecx
je 0x41e0d2
mov edx, dword [ebp + 0xbd50]
xor ecx, ecx
cmp edx, edi
sete cl
inc ecx
mov dword [esp + 0x10], ecx
push ecx
fild dword [esp + 0x14]
fstp dword [esp]
push eax
call fcn.00447200
mov ebp, dword [0x4b5b4c]
add esp, 8
mov eax, dword [ebp + 0xb950]
dec esi
sub ebx, edi
cmp esi, eax
jge 0x41e098
mov esi, dword [ebp + 0xb954]
mov eax, dword [ebp + 0xb950]
cmp esi, eax
jl 0x41e143
lea ebx, [esi*4 + 0xb750]
mov eax, dword [ebx + ebp]
test eax, eax
je 0x41e136
mov ecx, dword [eax + 0x158]
test ecx, ecx
je 0x41e136
mov ecx, dword [ebp + 0xbd50]
xor edx, edx
cmp ecx, edi
mov eax, dword [eax + 0x21c]
sete dl
inc edx
push ecx
mov dword [esp + 0x14], edx
fild dword [esp + 0x14]
fstp dword [esp]
push eax
call fcn.0044bd70
mov ebp, dword [0x4b5b4c]
add esp, 8
mov eax, dword [ebp + 0xb950]
dec esi
sub ebx, edi
cmp esi, eax
jge 0x41e0f6
mov eax, dword [ebp + 0xa2e0]
test eax, eax
je 0x41e164
push 1
call fcn.00421f90
push 2
call fcn.00421f90
mov ebp, dword [0x4b5b4c]
add esp, 8
mov eax, dword [ebp + 0xb41c]
test eax, eax
je 0x41e469
mov ecx, dword [ebp + 0xb420]
mov edx, dword [0x4b6c4c]
push 0
push ecx
push edx
push 0
push 0
call fcn.00489500
mov ecx, dword [sym.imp.alleg40.dll_Ordinal_36]
mov edx, 0x10
mov esi, 0x20
mov eax, dword [0x4b5b4c]
mov ecx, dword [ecx]
shl edx, cl
mov ecx, dword [sym.imp.alleg40.dll_Ordinal_40]
mov eax, dword [eax + 0xb420]
mov ecx, dword [ecx]
shl esi, cl
mov ecx, dword [sym.imp.alleg40.dll_Ordinal_44]
mov ecx, dword [ecx]
or edx, esi
mov esi, 0x10
shl esi, cl
mov ecx, dword [0x4b6c4c]
or edx, esi
push edx
lea edx, [eax + 4]
push edx
push ecx
push eax
push 0
call fcn.00489a40
mov edx, dword [0x4b5b4c]
mov ecx, dword [sym.imp.alleg40.dll_Ordinal_36]
mov esi, 0x18
mov eax, dword [edx + 0xb420]
mov ecx, dword [ecx]
mov edx, 0xc
shl edx, cl
mov ecx, dword [sym.imp.alleg40.dll_Ordinal_40]
mov ecx, dword [ecx]
shl esi, cl
mov ecx, dword [sym.imp.alleg40.dll_Ordinal_44]
mov ecx, dword [ecx]
or edx, esi
mov esi, 0xc
shl esi, cl
mov ecx, dword [0x4b6c4c]
or edx, esi
push edx
lea edx, [eax + 9]
push edx
add eax, 5
push ecx
push eax
push 0
call fcn.00489a40
mov edx, dword [0x4b5b4c]
mov ecx, dword [sym.imp.alleg40.dll_Ordinal_36]
mov esi, 0x10
mov eax, dword [edx + 0xb420]
mov ecx, dword [ecx]
mov edx, 8
shl edx, cl
mov ecx, dword [sym.imp.alleg40.dll_Ordinal_40]
mov ecx, dword [ecx]
shl esi, cl
mov ecx, dword [sym.imp.alleg40.dll_Ordinal_44]
mov ecx, dword [ecx]
or edx, esi
mov esi, 8
shl esi, cl
mov ecx, dword [0x4b6c4c]
or edx, esi
push edx
lea edx, [eax + 0xe]
push edx
add eax, 0xa
push ecx
push eax
push 0
call fcn.00489a40
mov edx, dword [0x4b5b4c]
mov ecx, dword [sym.imp.alleg40.dll_Ordinal_36]
mov esi, 8
add esp, 0x50
mov eax, dword [edx + 0xb420]
mov ecx, dword [ecx]
mov edx, edi
shl edx, cl
mov ecx, dword [sym.imp.alleg40.dll_Ordinal_40]
mov ecx, dword [ecx]
shl esi, cl
mov ecx, dword [sym.imp.alleg40.dll_Ordinal_44]
mov ecx, dword [ecx]
or edx, esi
mov esi, edi
shl esi, cl
mov ecx, dword [0x4b6c4c]
or edx, esi
push edx
lea edx, [eax + 0x13]
push edx
add eax, 0xf
push ecx
push eax
push 0
call fcn.00489a40
mov eax, dword [0x4b6c58]
push 0
mov ecx, dword [0x4b6c4c]
lea edx, [eax - 1]
push edx
mov edx, dword [0x4b5b4c]
push ecx
sub eax, dword [edx + 0xb420]
dec eax
push eax
push 0
call fcn.00489500
mov ecx, dword [0x4b5b4c]
mov eax, dword [0x4b6c58]
mov esi, 0x20
mov edx, dword [ecx + 0xb420]
mov ecx, dword [sym.imp.alleg40.dll_Ordinal_36]
sub eax, edx
mov edx, 0x10
mov ecx, dword [ecx]
shl edx, cl
mov ecx, dword [sym.imp.alleg40.dll_Ordinal_40]
mov ecx, dword [ecx]
shl esi, cl
mov ecx, dword [sym.imp.alleg40.dll_Ordinal_44]
mov ecx, dword [ecx]
or edx, esi
mov esi, 0x10
shl esi, cl
mov ecx, dword [0x4b6c4c]
or edx, esi
push edx
lea edx, [eax - 5]
push edx
dec eax
push ecx
push eax
push 0
call fcn.00489a40
mov edx, dword [0x4b5b4c]
mov eax, dword [0x4b6c58]
mov esi, 0x18
mov ecx, dword [edx + 0xb420]
mov edx, 0xc
sub eax, ecx
mov ecx, dword [sym.imp.alleg40.dll_Ordinal_36]
mov ecx, dword [ecx]
shl edx, cl
mov ecx, dword [sym.imp.alleg40.dll_Ordinal_40]
mov ecx, dword [ecx]
shl esi, cl
or edx, esi
mov esi, 0xc
mov ecx, dword [sym.imp.alleg40.dll_Ordinal_44]
mov ecx, dword [ecx]
shl esi, cl
mov ecx, dword [0x4b6c4c]
or edx, esi
push edx
lea edx, [eax - 0xa]
push edx
add eax, 0xfffffffa
push ecx
push eax
push 0
call fcn.00489a40
mov edx, dword [0x4b5b4c]
mov eax, dword [0x4b6c58]
mov esi, 0x10
add esp, 0x50
mov ecx, dword [edx + 0xb420]
mov edx, 8
sub eax, ecx
mov ecx, dword [sym.imp.alleg40.dll_Ordinal_36]
mov ecx, dword [ecx]
shl edx, cl
mov ecx, dword [sym.imp.alleg40.dll_Ordinal_40]
mov ecx, dword [ecx]
shl esi, cl
mov ecx, dword [sym.imp.alleg40.dll_Ordinal_44]
mov ecx, dword [ecx]
or edx, esi
mov esi, 8
shl esi, cl
mov ecx, dword [0x4b6c4c]
or edx, esi
push edx
lea edx, [eax - 0xf]
push edx
add eax, 0xfffffff5
push ecx
push eax
push 0
call fcn.00489a40
mov edx, dword [0x4b5b4c]
mov ecx, dword [sym.imp.alleg40.dll_Ordinal_36]
mov esi, 8
mov eax, dword [0x4b6c58]
mov ebx, dword [edx + 0xb420]
mov ecx, dword [ecx]
mov edx, edi
sub eax, ebx
shl edx, cl
mov ecx, dword [sym.imp.alleg40.dll_Ordinal_40]
mov ecx, dword [ecx]
shl esi, cl
mov ecx, dword [sym.imp.alleg40.dll_Ordinal_44]
mov ecx, dword [ecx]
shl edi, cl
mov ecx, dword [0x4b6c4c]
or edx, esi
or edx, edi
push edx
lea edx, [eax - 0x14]
push edx
add eax, 0xfffffff0
push ecx
push eax
push 0
call fcn.00489a40
mov ebp, dword [0x4b5b4c]
add esp, 0x28
mov eax, dword [ebp + 0xc520]
test eax, eax
je 0x41e9e2
mov eax, dword [ebp + 0xbb8c]
test eax, eax
je 0x41e48f
mov eax, dword [ebp + 0xbbac]
test eax, eax
je 0x41e9e2
mov edx, dword [sym.imp.alleg40.dll_Ordinal_36]
mov esi, 0x1f
mov eax, 0x3f
mov edi, dword [ebp + 0xc518]
mov ecx, dword [edx]
mov edx, 0x1f
shl esi, cl
mov ecx, dword [sym.imp.alleg40.dll_Ordinal_40]
mov ebx, dword [ebp + edi*4 + 0xb750]
mov ecx, dword [ecx]
shl eax, cl
or esi, eax
mov eax, dword [sym.imp.alleg40.dll_Ordinal_44]
mov ecx, dword [eax]
shl edx, cl
or esi, edx
test edi, edi
mov dword [esp + 0x14], esi
je 0x41e9e2
mov ecx, dword [0x4b6c58]
lea ebp, [ecx - 0x27]
mov dword [esp + 0x18], ebp
call fcn.00482a60
fcom dword [0x49f2e4]
fnstsw ax
test ah, 0x41
je 0x41e4ff
fstp st(0)
fld dword [0x49f2e4]
mov edx, dword [0x4b5b4c]
sub esp, 8
lea ecx, [esp + 0x8c]
mov eax, dword [edx + 0xb3fc]
fstp qword [esp]
push eax
push str.Frames:__i___.1f_FPS_
push ecx
call fcn.00492257
mov edx, dword [0x4b5b4c]
push esi
push ebp
push 0xa
mov eax, dword [edx + 0x5cd4]
lea ecx, [esp + 0xa4]
push eax
push ecx
call fcn.0041b020
mov eax, dword [0x4b5b4c]
add esp, 0x28
mov ecx, dword [eax + 0xb400]
cmp ecx, 0xffffffff
jne 0x41e55c
mov ecx, 0x61
jmp 0x41e55f
add ecx, 0x30
mov edx, dword [eax + 0xc934]
mov eax, dword [eax + 0x5cf8]
push ecx
push edx
push eax
lea ecx, [esp + 0x90]
push str.VRet:__i__Speed:__i__Skip:__c
push ecx
call fcn.00492257
mov edx, dword [0x4b5b4c]
push esi
push ebp
push 0x6e
mov eax, dword [edx + 0x5cd4]
lea ecx, [esp + 0xa4]
push eax
push ecx
call fcn.0041b020
add esp, 0x28
test ebx, ebx
je 0x41e5af
mov eax, dword [ebx + 0x158]
test eax, eax
jne 0x41e620
dec edi
lea edx, [esp + 0x84]
push edi
push str.Player__i_Disabled
push edx
call fcn.00492257
mov ecx, dword [sym.imp.alleg40.dll_Ordinal_36]
mov eax, 0x1b
mov edx, 0x32
mov ecx, dword [ecx]
shl eax, cl
mov ecx, dword [sym.imp.alleg40.dll_Ordinal_40]
mov ecx, dword [ecx]
shl edx, cl
mov ecx, dword [sym.imp.alleg40.dll_Ordinal_44]
mov ecx, dword [ecx]
or eax, edx
mov edx, 0x19
shl edx, cl
or eax, edx
mov edx, dword [esp + 0x24]
push eax
mov eax, dword [0x4b5b4c]
add edx, 8
mov ecx, dword [eax + 0x5cd4]
push edx
push 0xa
lea edx, [esp + 0x9c]
push ecx
push edx
call fcn.0041b020
add esp, 0x20
jmp 0x41e9dc
mov eax, dword [ebx + 4]
dec edi
cmp eax, edi
jne 0x41e644
push eax
lea eax, [ebx + 0x20]
push eax
lea ecx, [esp + 0x8c]
push str._s__i
push ecx
call fcn.00492257
add esp, 0x10
jmp 0x41e65f
push edi
lea edx, [ebx + 0x20]
push eax
push edx
lea eax, [esp + 0x90]
push str._s__i___i_
push eax
call fcn.00492257
add esp, 0x14
mov eax, dword [ebx + 0xbec]
test eax, eax
je 0x41e6d1
mov eax, dword [ebx + 0xbf0]
cmp eax, 0xffffffff
je 0x41e6d1
mov ecx, dword [0x4b5b4c]
mov eax, dword [ecx + eax*4 + 0xb750]
mov edx, dword [eax + 4]
add eax, 0x20
push edx
push eax
lea eax, [esp + 0x1b4]
push str.__in__s__is_state_rc_
push eax
call fcn.00492257
lea edi, [esp + 0x1bc]
or ecx, 0xffffffff
xor eax, eax
add esp, 0x10
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [esp + 0x84]
mov esi, edi
mov edi, edx
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [sym.imp.alleg40.dll_Ordinal_36]
mov eax, 0x1b
mov edx, 0x32
add ebp, 8
mov ecx, dword [ecx]
shl eax, cl
mov ecx, dword [sym.imp.alleg40.dll_Ordinal_40]
mov ecx, dword [ecx]
shl edx, cl
mov ecx, dword [sym.imp.alleg40.dll_Ordinal_44]
mov ecx, dword [ecx]
or eax, edx
mov edx, 0x19
shl edx, cl
lea ecx, [esp + 0x84]
or eax, edx
mov edx, dword [0x4b5b4c]
push eax
push ebp
mov eax, dword [edx + 0x5cd4]
push 0xa
push eax
push ecx
call fcn.0041b020
mov ecx, dword [ebx + 0x13bc]
add esp, 0x14
mov eax, dword [ecx + 0x10]
test eax, eax
je 0x41e73c
mov edx, dword [eax + 0xc]
mov dword [esp + 0x20], edx
jmp 0x41e744
mov dword [esp + 0x20], 0xffffffff
test eax, eax
je 0x41e751
mov eax, dword [eax + 8]
mov dword [esp + 0x1c], eax
jmp 0x41e759
mov dword [esp + 0x1c], 0xffffffff
mov edx, dword [ecx]
mov ebp, dword [ecx + 0xc]
test ebp, ebp
mov esi, dword [edx]
jl 0x41e769
cmp ebp, dword [esi + 0xc]
jl 0x41e795
push 0x6e
push 0x4a45b8
call fcn.00418f50
add esp, 4
push eax
push 0x4a45d0
push 0x4b6d60
call fcn.00492257
push 0x4b6d60
call fcn.004187d0
add esp, 0x14
mov edi, dword [esi + 4]
imul edi, ebp
mov ebp, dword [esi + 0x14]
mov esi, dword [ebx + 0x13bc]
mov eax, esi
add edi, ebp
push eax
call fcn.004041e0
mov ecx, dword [esi + 0x1c]
mov edx, dword [edi + 4]
add esp, 4
push eax
mov eax, dword [esi + 0x14]
push ecx
mov ecx, dword [esp + 0x28]
inc eax
push edx
mov edx, dword [esp + 0x28]
push eax
push ecx
push edx
push esi
call fcn.00403d50
add esp, 4
push eax
lea eax, [esp + 0xa0]
push str.ActionID:__i__Spr:__i__i__Elemno:__i__i__Time:__i__i
push eax
call fcn.00492257
mov eax, dword [ebx + 0x3458]
add esp, 0x24
test eax, eax
je 0x41e825
lea edi, [esp + 0x84]
or ecx, 0xffffffff
xor eax, eax
mov edx, dword [0x4a47bc]
repne scasb al, byte es:[edi]
mov ecx, dword [0x4a47b8]
mov ax, word [0x4a47c0]
dec edi
mov dword [edi], ecx
mov cl, byte [0x4a47c2]
mov dword [edi + 4], edx
mov word [edi + 8], ax
mov byte [edi + 0xa], cl
mov eax, dword [ebx + 0x13c0]
test eax, eax
jne 0x41e855
mov esi, dword [esp + 0x18]
mov edx, dword [esp + 0x14]
mov ecx, dword [0x4b5b4c]
push edx
lea eax, [esi + 0xf]
mov edx, dword [ecx + 0x5cd4]
push eax
push 0xa
lea eax, [esp + 0x90]
push edx
push eax
jmp 0x41e8a4
mov eax, dword [sym.imp.alleg40.dll_Ordinal_36]
mov edx, 0xf
mov esi, dword [esp + 0x18]
mov ecx, dword [eax]
mov eax, 0x3f
shl edx, cl
mov ecx, dword [sym.imp.alleg40.dll_Ordinal_40]
mov ecx, dword [ecx]
shl eax, cl
mov ecx, dword [sym.imp.alleg40.dll_Ordinal_44]
mov ecx, dword [ecx]
or edx, eax
mov eax, 0x1f
shl eax, cl
or edx, eax
mov eax, dword [0x4b5b4c]
push edx
lea edx, [esi + 0xf]
mov ecx, dword [eax + 0x5cd4]
push edx
push 0xa
lea edx, [esp + 0x90]
push ecx
push edx
call fcn.0041b020
mov eax, dword [ebx + 0xdfc]
mov ecx, dword [ebx + 0xe04]
mov edx, dword [ebx + 0xe00]
add esp, 0x14
dec eax
push eax
mov eax, dword [ebx + 0xe0c]
push ecx
mov ecx, dword [ebx + 0xbf4]
push edx
push eax
push ecx
lea edx, [esp + 0x98]
push str.State_no:__i__Ctrl:__i__Type:__i__Movetype__i__Time:__i
push edx
call fcn.00492257
mov eax, dword [ebx + 0xe3c]
add esp, 0x1c
test eax, eax
jne 0x41e92d
cmp dword [ebx + 0xbf4], 0xc8
jl 0x41e92d
lea edi, [esp + 0x84]
or ecx, 0xffffffff
xor eax, eax
mov dx, word [0x4a4804]
repne scasb al, byte es:[edi]
mov eax, dword [str.__invalid_]
mov ecx, dword [0x4a4800]
dec edi
mov dword [edi], eax
mov al, byte [0x4a4806]
mov dword [edi + 4], ecx
mov word [edi + 8], dx
mov byte [edi + 0xa], al
mov eax, dword [ebx + 0xbec]
test eax, eax
jne 0x41e93e
mov ecx, dword [esp + 0x14]
push ecx
jmp 0x41e96f
mov eax, dword [sym.imp.alleg40.dll_Ordinal_36]
mov edx, 0xf
mov ecx, dword [eax]
mov eax, 0x3f
shl edx, cl
mov ecx, dword [sym.imp.alleg40.dll_Ordinal_40]
mov ecx, dword [ecx]
shl eax, cl
mov ecx, dword [sym.imp.alleg40.dll_Ordinal_44]
mov ecx, dword [ecx]
or edx, eax
mov eax, 0x1f
shl eax, cl
or edx, eax
push edx
mov edx, dword [0x4b5b4c]
add esi, 0x16
push esi
push 0xa
mov eax, dword [edx + 0x5cd4]
lea ecx, [esp + 0x90]
push eax
push ecx
call fcn.0041b020
mov esi, dword [esp + 0x28]
mov eax, dword [0x4b5b4c]
add esp, 0x14
mov edx, dword [eax + 0x5cd4]
mov eax, dword [eax + 0xc530]
push esi
push 0x32
push 0xa
push edx
push eax
call fcn.00415720
mov ecx, dword [0x4b6c58]
mov edx, dword [0x4b5b4c]
add ecx, 0xfffffff6
push esi
mov eax, dword [edx + 0x5cd4]
push ecx
mov ecx, dword [ebx + 0x345c]
push 0xa
push eax
push ecx
call fcn.00415720
add esp, 0x28
mov ebp, dword [0x4b5b4c]
mov eax, dword [ebp + 0xb41c]
test eax, eax
je 0x41ea50
mov eax, dword [ebp + 0xb410]
test eax, eax
jne 0x41ea89
mov edx, dword [ebp + 0xb424]
mov esi, dword [ebp + 0xb420]
add esi, edx
mov dword [ebp + 0xb420], esi
mov ebp, dword [0x4b5b4c]
mov eax, dword [ebp + 0xb424]
test eax, eax
jge 0x41ea2a
mov ecx, dword [ebp + 0xb420]
test ecx, ecx
jl 0x41ea40
test eax, eax
jle 0x41ea50
mov eax, dword [0x4b6c58]
mov ecx, dword [ebp + 0xb420]
cdq
sub eax, edx
sar eax, 1
cmp ecx, eax
jle 0x41ea50
mov dword [ebp + 0xb41c], 0
mov ebp, dword [0x4b5b4c]
mov eax, dword [ebp + 0xb410]
test eax, eax
jne 0x41ea89
mov eax, dword [ebp + 0xbc20]
test eax, eax
jne 0x41ea7b
push 1
call fcn.004221f0
push 2
call fcn.004221f0
mov ebp, dword [0x4b5b4c]
add esp, 8
mov eax, dword [ebp + 0xb410]
test eax, eax
je 0x41ebb5
mov eax, dword [ebp + 0xbb74]
test eax, eax
jne 0x41ebb5
mov eax, dword [ebp + 0xc2d4]
test eax, eax
jne 0x41ebaa
lea eax, [esp + 0x1ec]
push str.PAUSED
push eax
call fcn.00492257
mov eax, dword [sym.imp.alleg40.dll_Ordinal_36]
mov edx, 0x10
mov ecx, dword [eax]
mov eax, 0x14
shl edx, cl
mov ecx, dword [sym.imp.alleg40.dll_Ordinal_40]
mov ecx, dword [ecx]
shl eax, cl
mov ecx, dword [sym.imp.alleg40.dll_Ordinal_44]
mov ecx, dword [ecx]
or edx, eax
mov eax, 0xa
shl eax, cl
or edx, eax
push edx
push 0x2e
push 0x158
push 0x1a
push 0x124
call fcn.004892b0
mov eax, dword [sym.imp.alleg40.dll_Ordinal_36]
mov edx, 0x1e
mov ecx, dword [eax]
mov eax, 0x30
shl edx, cl
mov ecx, dword [sym.imp.alleg40.dll_Ordinal_40]
mov ecx, dword [ecx]
shl eax, cl
mov ecx, dword [sym.imp.alleg40.dll_Ordinal_44]
mov ecx, dword [ecx]
or edx, eax
mov eax, 0x18
shl eax, cl
or edx, eax
push edx
push 0x2d
push 0x157
push 0x1b
push 0x125
call fcn.004892b0
mov eax, dword [sym.imp.alleg40.dll_Ordinal_36]
mov edx, 3
mov ecx, dword [eax]
xor eax, eax
shl edx, cl
mov ecx, dword [sym.imp.alleg40.dll_Ordinal_40]
mov ecx, dword [ecx]
shl eax, cl
mov ecx, dword [sym.imp.alleg40.dll_Ordinal_44]
mov ecx, dword [ecx]
or edx, eax
xor eax, eax
shl eax, cl
or edx, eax
push edx
push 0x2c
push 0x156
push 0x1c
push 0x126
call fcn.00489860
mov edx, dword [esp + 0x6c]
mov eax, dword [0x4b5b4c]
add esp, 0x44
mov ecx, dword [eax + 0x5cd8]
push edx
push 0x28
push 0x13e
lea edx, [esp + 0x1f8]
push ecx
push edx
call fcn.0041b080
add esp, 0x14
jmp 0x41ebaf
call fcn.00433720
mov ebp, dword [0x4b5b4c]
mov eax, dword [ebp + 0x5cc8]
test eax, eax
je 0x41ec14
push 0
push eax
call fcn.00486bb0
add esp, 8
mov al, byte [0x4b6a81]
test al, al
jne 0x41ebf7
mov eax, dword [0x4b5b4c]
push 0x80
push 0x80
push 0
mov ecx, dword [eax + 0x5cc4]
push 0
push 0
push ecx
call fcn.00451430
add esp, 0x18
mov edx, dword [0x4b5b4c]
push 0
mov eax, dword [edx + 0x5cc4]
push eax
call fcn.00486bb0
mov ebp, dword [0x4b5b4c]
add esp, 8
mov eax, dword [ebp + 0xc934]
test eax, eax
jne 0x41ec29
call fcn.00482b50
mov ebp, dword [0x4b5b4c]
mov eax, dword [ebp + 0xb408]
test eax, eax
jne 0x41ec42
mov eax, dword [ebp + 0x5cf8]
test eax, eax
je 0x41ec42
call sub.alleg40.dll_Ordinal_745
call fcn.004174e0
mov ecx, dword [0x4b5b4c]
mov eax, dword [ecx + 0xb408]
test eax, eax
jne 0x41ec5c
call fcn.00448830
call fcn.00417420
mov edx, dword [0x4b5b4c]
mov dword [edx + 0xb40c], 0
mov eax, dword [0x4b5b4c]
mov ecx, dword [eax + 0xb410]
test ecx, ecx
jne 0x41ec86
inc dword [eax + 0xb3fc]
call fcn.0042cda0
test eax, eax
mov eax, dword [0x4b5b4c]
jne 0x41ec9e
mov ecx, dword [eax + 0xbd04]
test ecx, ecx
jne 0x41ecbc
mov ecx, dword [eax + 0x5cc0]
test ecx, ecx
jne 0x41ecbc
xor esi, esi
jmp 0x41d216
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x5dc
ret
call fcn.0044ad50
test eax, eax
je 0x41ece8
mov eax, dword [0x4b5b4c]
mov ecx, dword [eax + 0x5cc0]
test ecx, ecx
jne 0x41ecde
mov ecx, dword [eax + 0x26b8]
test ecx, ecx
jne 0x41ece8
call fcn.0044ad10
call fcn.0044adf0
mov eax, dword [0x4b5b4c]
mov dword [eax + 0x26c8], 0
call fcn.00417400
call fcn.00448860
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x5dc
ret