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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4935b6
mov eax, dword fs:[0]
push eax
sub esp, 0xe94
mov eax, dword [0x4b9068]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
movaps xmm0, xmm1
movsd qword [ebp - 0xe7c], xmm0
mov edi, ecx
mov dword [ebp - 0xe4c], edi
mov eax, dword [edi]
test eax, eax
je 0x42ca9d
mov byte [eax + 0x3cb], 0
mov al, byte [edi + 0xb1]
mov byte [ebp - 0xe25], al
test al, al
jne 0x42cab3
inc dword [0x4b9abc]
lea eax, [edi + 4]
mov dword [ebp - 0xe2c], eax
lea eax, [edi + 0x750]
mov dword [ebp - 0xe54], eax
mov eax, dword [edi + 0x730]
cmp eax, 0xa
ja case.default.0x42cad7
jmp dword [eax*4 + 0x430190]
mov esi, dword [edi]
xor al, al
xor cl, cl
mov dword [ebp - 0xe50], eax
xor dl, dl
mov dword [ebp - 0xe40], ecx
mov dword [ebp - 0xe30], edx
mov dword [ebp - 0xe34], 1
cmp byte [esi + 0xa7f], al
je 0x42cb40
cmp byte [esi + 0xa9f], al
jne 0x42cb40
lea ecx, [esi + 0xc18]
push str.JOURNALENABLED
call fcn.004058c0
mov edx, dword [ebp - 0xe30]
test eax, eax
mov ecx, dword [ebp - 0xe40]
mov eax, dword [ebp - 0xe50]
movzx edx, dl
cmovne edx, dword [ebp - 0xe34]
cmp byte [esi + 0xa7e], 0
je 0x42cb5a
cmp byte [esi + 0xa9e], 0
movzx ecx, cl
cmove ecx, dword [ebp - 0xe34]
cmp byte [esi + 0xa80], 0
je 0x42cb74
cmp byte [esi + 0xaa0], 0
movzx eax, al
cmove eax, dword [ebp - 0xe34]
xor edi, edi
movzx eax, al
cmp byte [ebp - 0xe25], 0
cmove edi, eax
movzx eax, dl
mov dl, byte [ebp - 0xe25]
test dl, dl
mov dword [ebp - 0xe44], edi
mov edi, 0
mov edx, 0
cmove edi, eax
movzx eax, cl
mov dword [ebp - 0xe48], edi
cmove edx, eax
mov edi, dword [ebp - 0xe4c]
mov dword [ebp - 0xe3c], edx
cmp byte [edi + 0x74c], 0
je 0x42cbee
cmp byte [edi + 0x800], 0
je 0x42cbd4
cmp dword [edi + 0x30c], 0
jl 0x42cbee
mov byte [ebp - 0xe48], 0
mov byte [ebp - 0xe3c], 0
mov byte [ebp - 0xe44], 0
jmp 0x42cc87
mov ecx, dword [ebp - 0xe48]
test cl, cl
je 0x42cc15
push 0
mov ecx, edi
call fcn.0042c130
mov eax, dword [ebp - 0xe3c]
mov ecx, dword [ebp - 0xe48]
mov dword [ebp - 0xe3c], eax
jmp 0x42cc75
test dl, dl
je 0x42cc46
mov dword [edi + 0x730], 6
xorps xmm0, xmm0
mov dword [esi + 0x5dc], 0
mov eax, dword [edi]
movsd qword [eax + 0x5e0], xmm0
mov eax, dword [edi]
movsd qword [eax + 0x5e8], xmm0
jmp 0x42cc6f
cmp byte [ebp - 0xe44], 0
je 0x42cc87
mov dword [edi + 0x730], 9
mov dword [esi + 0x3b8], 0
mov eax, dword [edi]
mov dword [eax + 0x194], 0
mov dword [ebp - 0xe3c], edx
mov eax, dword [ebp - 0xe44]
mov dword [ebp - 0xe48], ecx
mov dword [ebp - 0xe44], eax
mov al, byte [edi + 0x74c]
mov byte [ebp - 0xe27], al
test al, al
jne 0x42d800
mov al, byte [edi + 0x801]
mov cl, byte [edi + 0x802]
mov byte [ebp - 0xe26], al
mov eax, dword [edi]
mov dword [ebp - 0xe50], ecx
test eax, eax
je 0x42cce2
mov byte [eax + 0x3c9], 1
mov eax, dword [edi]
cmp byte [eax + 0xa86], 0
je 0x42cce2
cmp byte [eax + 0xaa6], 0
movzx ecx, cl
cmove ecx, dword [ebp - 0xe34]
mov dword [ebp - 0xe50], ecx
lea eax, [edi + 0x318]
mov ecx, edi
push eax
call fcn.0043c0f0
movsd xmm0, qword [edi + 0x88]
mov ecx, edi
addsd xmm0, qword [0x4af3a8]
movsd qword [edi + 0x88], xmm0
call fcn.00441f50
mov eax, dword [ebp - 0xe54]
lea ecx, [edi + 4]
xor edx, edx
mov dword [ebp - 0xe34], ecx
mov byte [ebp - 0x624], 0
mov dword [ebp - 0xe40], edx
mov esi, dword [eax]
mov eax, dword [eax + 4]
sub eax, esi
sar eax, 2
mov dword [ebp - 0xe30], eax
test eax, eax
je 0x42ce11
mov ax, word [0x4a57d0]
nop dword [eax + eax]
mov edi, dword [ebp - 0xe34]
mov ecx, dword [ecx + 0x28]
sub ecx, dword [edi + 0x24]
sar ecx, 3
imul ecx, ecx, 0xb6db6db7
cmp dword [esi + edx*4], ecx
jae 0x42cf25
lea edi, [ebp - 0x624]
dec edi
mov cl, byte [edi + 1]
lea edi, [edi + 1]
test cl, cl
jne 0x42cd75
mov word [edi], ax
mov ecx, dword [esi + edx*4]
lea edx, [ecx*8]
sub edx, ecx
mov ecx, dword [ebp - 0xe34]
mov ecx, dword [ecx + 0x24]
mov edx, dword [ecx + edx*8]
mov esi, edx
nop dword [eax]
mov cl, byte [edx]
inc edx
test cl, cl
jne 0x42cda0
lea edi, [ebp - 0x624]
sub edx, esi
dec edi
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x42cdb0
mov ecx, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
mov edx, dword [ebp - 0xe54]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov esi, dword [edx]
mov ecx, dword [ebp - 0xe40]
mov ecx, dword [esi + ecx*4]
lea edx, [ecx*8]
sub edx, ecx
mov ecx, dword [ebp - 0xe34]
mov ecx, dword [ecx + 0x24]
lea ecx, [ecx + edx*8]
mov edx, dword [ebp - 0xe40]
inc edx
mov dword [ebp - 0xe34], ecx
mov dword [ebp - 0xe40], edx
cmp edx, dword [ebp - 0xe30]
jb 0x42cd50
mov edi, dword [ebp - 0xe4c]
cmp byte [ebp - 0xe48], 0
jne 0x42cfd2
cmp byte [ebp - 0xe3c], 0
jne 0x42cfd2
cmp byte [ebp - 0xe44], 0
jne 0x42cfd2
mov ecx, dword [edi]
call fcn.004254a0
test al, al
je 0x42cf3f
mov edx, dword [ebp - 0xe30]
test edx, edx
je 0x42ce85
mov edi, dword [ebp - 0xe2c]
nop word [eax + eax]
mov eax, dword [esi]
lea esi, [esi + 4]
lea ecx, [eax*8]
sub ecx, eax
mov eax, dword [edi + 0x24]
lea edi, [eax + ecx*8]
sub edx, 1
jne 0x42ce60
mov dword [ebp - 0xe2c], edi
mov edi, dword [ebp - 0xe4c]
mov eax, dword [ebp - 0xe2c]
xor ecx, ecx
mov edx, dword [eax + 0x24]
mov eax, dword [eax + 0x28]
sub eax, edx
sar eax, 3
imul esi, eax, 0xb6db6db7
test esi, esi
je 0x42cf35
add edx, 0x30
nop dword [eax]
cmp byte [edx], 0
lea eax, [ecx + 1]
lea edx, [edx + 0x38]
cmovne eax, ecx
mov ecx, eax
sub esi, 1
jne 0x42ceb0
test ecx, ecx
je 0x42cf35
mov edx, dword [edi + 0x75c]
mov esi, dword [ebp - 0xe2c]
sub edx, 1
mov dword [edi + 0x75c], edx
jns 0x42cefc
mov ecx, dword [ebp - 0xe2c]
mov esi, ecx
mov eax, dword [ecx + 0x28]
sub eax, dword [ecx + 0x24]
sar eax, 3
imul edx, eax, 0xb6db6db7
dec edx
mov dword [edi + 0x75c], edx
mov eax, dword [esi + 0x24]
lea ecx, [edx*8]
sub ecx, edx
cmp byte [eax + ecx*8 + 0x30], 0
jne 0x42ced3
movd xmm0, dword [edi + 0x80]
cvtdq2pd xmm0, xmm0
movsd qword [edi + 0x88], xmm0
jmp 0x42cf3f
push edx
push str.Failed_advancing_a_level_in_the_menu_options__level__d__n
call fcn.004012d0
jmp 0x430164
mov dword [edi + 0x75c], 0xffffffff
mov ecx, dword [edi]
call fcn.004254d0
test al, al
je 0x42cf51
mov ecx, edi
call fcn.0041f0d0
mov esi, dword [ebp - 0xe34]
mov ecx, esi
call fcn.00418e80
test eax, eax
je 0x42cfa3
lea edx, [esi + 0x24]
lea esi, [edi + 0x75c]
mov dword [ebp - 0xe3c], edx
mov dword [ebp - 0xe44], esi
nop word [eax + eax]
mov eax, dword [esi]
lea ecx, [eax*8]
sub ecx, eax
mov eax, dword [edx]
cmp byte [eax + ecx*8 + 0x30], 0
je 0x42cfb8
mov ecx, edi
call fcn.0041f0d0
mov edx, dword [ebp - 0xe3c]
jmp 0x42cf80
lea eax, [esi + 0x24]
lea esi, [edi + 0x75c]
mov dword [ebp - 0xe3c], eax
mov dword [ebp - 0xe44], esi
mov ecx, edi
call fcn.00441df0
test al, al
mov eax, dword [ebp - 0xe3c]
je 0x42cff5
mov byte [ebp - 0xe26], 1
jmp 0x42cfe9
mov byte [ebp - 0xe26], 0
lea eax, [ecx + 0x24]
mov byte [ebp - 0xe50], 0
lea esi, [edi + 0x75c]
mov dword [ebp - 0xe44], esi
mov dword [ebp - 0xe3c], eax
mov edx, dword [eax]
mov eax, dword [eax + 4]
mov ecx, dword [esi]
sub eax, edx
sar eax, 3
imul eax, eax, 0xb6db6db7
cmp ecx, eax
jb 0x42d01f
push eax
push ecx
push str.The_selected_main_menu_option_is_not_available._Option__d_Suboptions_count:__d_n
call fcn.004012d0
add esp, 0xc
jmp 0x430167
lea eax, [ecx*8]
sub eax, ecx
mov esi, dword [edx + eax*8]
lea edx, [ebp - 0x224]
mov ecx, esi
sub edx, esi
mov al, byte [ecx]
lea ecx, [ecx + 1]
mov byte [edx + ecx - 1], al
test al, al
jne 0x42d035
lea ecx, [ebp - 0x224]
lea edx, [ecx + 1]
nop dword [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x42d050
sub ecx, edx
je 0x42d081
mov al, byte [ebp - 0x224]
cmp al, 0x40
je 0x42d069
cmp al, 0x21
jne 0x42d081
lea ecx, [esi + 1]
lea edx, [ebp - 0x224]
sub edx, ecx
mov al, byte [ecx]
lea ecx, [ecx + 1]
mov byte [edx + ecx - 1], al
test al, al
jne 0x42d074
lea ecx, [ebp - 0x224]
xor edx, edx
lea esi, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x42d090
sub ecx, esi
je 0x42d0ca
nop dword [eax + eax]
mov al, byte [ebp + edx - 0x224]
cmp al, 0x40
je 0x42d0b6
cmp al, 0x21
je 0x42d0b6
inc edx
cmp edx, ecx
jb 0x42d0a0
jmp 0x42d0ca
cmp edx, 0x200
jae 0x430189
mov byte [ebp + edx - 0x224], 0
xor ecx, ecx
mov dword [ebp - 0xe48], ecx
lea edx, [ebp - 0x224]
lea esi, [edx + 1]
nop dword [eax + eax]
mov al, byte [edx]
inc edx
test al, al
jne 0x42d0e0
sub edx, esi
mov dword [ebp - 0xe40], edx
lea eax, [edx - 6]
mov dword [ebp - 0xe30], eax
cmp ecx, eax
jge 0x42d185
lea esi, [ebp - 0xa24]
sub esi, ecx
lea edx, [ebp - 0x224]
sub esi, edx
cmp byte [ebp + ecx - 0x224], 0x5c
lea ecx, [ebp + ecx - 0x224]
jne 0x42d173
mov al, byte [ecx]
lea ecx, [ecx + 1]
mov byte [esi + ecx - 1], al
test al, al
jne 0x42d121
mov byte [ebp - 0xa1e], al
mov ecx, str.Nick_
lea eax, [ebp - 0xa24]
nop
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x42d160
test dl, dl
je 0x42d15c
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x42d160
add eax, 2
add ecx, 2
test dl, dl
jne 0x42d140
xor eax, eax
jmp 0x42d165
sbb eax, eax
or eax, 1
test eax, eax
je 0x42d232
mov eax, dword [ebp - 0xe30]
mov ecx, dword [ebp - 0xe48]
dec esi
inc ecx
mov dword [ebp - 0xe48], ecx
cmp ecx, eax
jl 0x42d110
mov ecx, dword [edi]
lea eax, [ebp - 0x224]
push eax
lea eax, [ebp - 0xe74]
add ecx, 0xab8
push eax
call fcn.0041d7f0
mov dword [ebp - 4], 1
mov ecx, edi
mov eax, dword [ebp - 0xe74]
mov esi, dword [eax]
call fcn.00441aa0
movsd xmm0, qword [edi + 0x88]
add esi, eax
movd xmm1, esi
cvtdq2pd xmm1, xmm1
comisd xmm0, xmm1
jb 0x42d1da
subsd xmm0, xmm1
movsd qword [edi + 0x88], xmm0
xor edx, edx
lea ecx, [ebp - 0x224]
mov dword [ebp - 0xe40], edx
lea esi, [ecx + 1]
nop dword [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x42d1f0
sub ecx, esi
mov dword [ebp - 0xe30], ecx
je 0x42d483
nop word [eax + eax]
lea ecx, [ebp - 0x224]
add ecx, edx
je 0x42d483
mov dl, byte [ecx]
test dl, dl
js 0x42d3ed
mov esi, 1
jmp 0x42d452
xor ecx, ecx
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x14], ecx
mov eax, dword [ebp - 0xe40]
mov dword [ebp - 4], ecx
add eax, 1
je 0x42d258
push ecx
push eax
lea ecx, [ebp - 0x1c]
call fcn.00463450
mov ecx, dword [ebp - 0x1c]
lea edx, [ebp - 0x224]
nop
mov al, byte [edx]
lea edx, [edx + 1]
mov byte [ecx], al
lea ecx, [ecx + 1]
test al, al
jne 0x42d260
mov edx, dword [ebp - 0x18]
mov esi, 6
mov edi, dword [ebp - 0xe48]
nop dword [eax]
mov ecx, dword [ebp - 0x1c]
add ecx, edi
lea eax, [ecx + 1]
sub edx, eax
push edx
push eax
push ecx
call fcn.0046c970
mov edx, dword [ebp - 0x18]
add esp, 0xc
dec edx
mov dword [ebp - 0x18], edx
sub esi, 1
jne 0x42d280
mov edi, dword [ebp - 0xe4c]
mov dword [ebp - 0xe30], esi
mov ecx, dword [edi]
add ecx, 0x674
lea eax, [ecx + 1]
mov dword [ebp - 0xe40], eax
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x42d2c0
sub ecx, dword [ebp - 0xe40]
je 0x42d36a
mov ecx, dword [edi]
mov eax, dword [ebp - 0x1c]
add ecx, 0x674
add ecx, esi
add eax, esi
mov esi, dword [ebp - 0xe48]
add esi, eax
cmp edx, dword [ebp - 0x14]
je 0x42d32a
mov al, byte [ecx]
mov byte [ebp - 0xe25], al
cmp esi, edx
jne 0x42d306
mov byte [edx], al
mov edx, dword [ebp - 0x18]
inc edx
mov dword [ebp - 0x18], edx
jmp 0x42d337
mov al, byte [edx - 1]
lea ecx, [edx - 1]
sub ecx, esi
mov byte [edx], al
inc dword [ebp - 0x18]
sub edx, ecx
push ecx
push esi
push edx
call fcn.0046c970
mov al, byte [ebp - 0xe25]
add esp, 0xc
mov byte [esi], al
jmp 0x42d334
push ecx
push esi
lea ecx, [ebp - 0x1c]
call fcn.00463560
mov edx, dword [ebp - 0x18]
mov esi, dword [ebp - 0xe30]
mov ecx, dword [edi]
inc esi
add ecx, 0x674
mov dword [ebp - 0xe30], esi
lea eax, [ecx + 1]
mov dword [ebp - 0xe40], eax
mov al, byte [ecx]
inc ecx
test al, al
jne 0x42d355
sub ecx, dword [ebp - 0xe40]
cmp esi, ecx
jb 0x42d2d3
mov edx, dword [ebp - 0x1c]
lea esi, [ebp - 0x224]
mov ecx, edx
sub esi, ecx
mov al, byte [ecx]
lea ecx, [ecx + 1]
mov byte [esi + ecx - 1], al
test al, al
jne 0x42d377
mov ecx, dword [ebp - 0xe48]
inc ecx
mov dword [ebp - 4], 0xffffffff
mov dword [ebp - 0xe48], ecx
test edx, edx
je 0x42d0d2
mov ecx, dword [ebp - 0x14]
mov eax, edx
sub ecx, edx
cmp ecx, 0x1000
jb 0x42d3c3
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x430184
push ecx
push edx
call fcn.0046b5ea
mov ecx, dword [ebp - 0xe48]
add esp, 8
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
jmp 0x42d0d2
mov al, dl
and al, 0xe0
cmp al, 0xc0
jne 0x42d409
mov al, byte [ecx + 1]
and al, 0xc0
cmp al, 0x80
jne 0x42d483
mov esi, 2
jmp 0x42d452
mov al, dl
and al, 0xf0
cmp al, 0xe0
jne 0x42d42a
mov al, byte [ecx + 1]
and al, 0xc0
cmp al, 0x80
jne 0x42d483
mov al, byte [ecx + 2]
and al, 0xc0
cmp al, 0x80
jne 0x42d483
mov esi, 3
jmp 0x42d452
and dl, 0xf8
cmp dl, 0xf0
jne 0x42d483
mov al, byte [ecx + 1]
and al, 0xc0
cmp al, 0x80
jne 0x42d483
mov al, byte [ecx + 2]
and al, 0xc0
cmp al, 0x80
jne 0x42d483
mov al, byte [ecx + 3]
and al, 0xc0
cmp al, 0x80
jne 0x42d483
mov esi, 4
call fcn.00469d30
cmp eax, 0x40
je 0x42d643
cmp eax, 0x21
je 0x42d643
mov edx, dword [ebp - 0xe40]
add edx, esi
mov dword [ebp - 0xe40], edx
cmp edx, dword [ebp - 0xe30]
jb 0x42d210
cmp byte [ebp - 0xe26], 0
je 0x42d77c
cmp byte [ebp - 0xe50], 0
jne 0x42d7ee
mov ecx, dword [ebp - 0xe44]
mov ecx, dword [ecx]
test ecx, ecx
js 0x42d6a4
mov eax, dword [ebp - 0xe3c]
mov edx, dword [eax]
mov eax, dword [eax + 4]
sub eax, edx
sar eax, 3
imul eax, eax, 0xb6db6db7
cmp ecx, eax
jae 0x42d6a4
lea eax, [ecx*8]
sub eax, ecx
cmp byte [edx + eax*8 + 0x30], 0
lea ecx, [edx + eax*8]
mov dword [ebp - 0xe40], ecx
jne 0x42d6a4
movd xmm0, dword [edi + 0x80]
cvtdq2pd xmm0, xmm0
movsd qword [edi + 0x88], xmm0
mov eax, dword [ecx + 0x28]
sub eax, dword [ecx + 0x24]
sar eax, 3
imul esi, eax, 0xb6db6db7
call fcn.00418e80
push esi
push eax
push str.Option_Counts:__d___d_n
call fcn.004012d0
mov esi, dword [ebp - 0xe40]
add esp, 0xc
mov ecx, esi
call fcn.00418e80
test eax, eax
jne 0x42d53c
mov eax, dword [esi + 0x28]
sub eax, dword [esi + 0x24]
jne 0x42d6a4
mov eax, dword [edi]
push 0xffffffffffffffff
push 0
push dword [eax + 0x888]
push 0xffffffffffffffff
call dword [sym.imp.SDL2_mixer.dll_Mix_PlayChannelTimed]
lea edi, [ebp - 0x624]
add esp, 0x10
dec edi
nop word [eax + eax]
mov al, byte [edi + 1]
lea edi, [edi + 1]
test al, al
jne 0x42d560
mov ax, word [0x4a57d0]
mov word [edi], ax
mov edx, dword [esi]
mov esi, edx
mov al, byte [edx]
inc edx
test al, al
jne 0x42d577
lea edi, [ebp - 0x624]
sub edx, esi
dec edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x42d587
mov ecx, edx
lea eax, [ebp - 0x624]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
push eax
mov ecx, edx
lea eax, [ebp - 0xe24]
and ecx, 3
push str._n____Selected_Option:__s_____n
rep movsb byte es:[edi], byte [esi]
push eax
call fcn.00401380
add esp, 0xc
lea ecx, [ebp - 0xe24]
call fcn.00418450
mov ecx, dword [ebp - 0xe40]
mov eax, dword [ecx + 0x28]
sub eax, dword [ecx + 0x24]
jne 0x42d658
mov edi, dword [ebp - 0xe4c]
lea esi, [ecx + 0x18]
push esi
lea ecx, [edi + 0x50]
call fcn.004534a0
mov eax, dword [ebp - 0xe40]
mov ecx, edi
push dword [eax + 0xc]
call fcn.0042c720
mov ecx, edi
call fcn.00441b10
push dword [esi]
lea eax, [ebp - 0x824]
push str._s_MENUSEEN
push eax
call fcn.00401380
xor eax, eax
add esp, 0xc
cmp byte [ebp - 0x824], al
je 0x42d62b
nop
inc eax
cmp byte [ebp + eax - 0x824], 0
jne 0x42d620
mov ecx, dword [edi + 0x7d0]
inc eax
push 1
push eax
lea eax, [ebp - 0x824]
push eax
call fcn.004056b0
jmp 0x42d6a4
cmp dword [ebp - 0xe40], 0x200
jae 0x430189
jmp 0x42d483
mov edx, dword [ebp - 0xe54]
mov ecx, dword [edx + 4]
cmp ecx, dword [edx + 8]
je 0x42d676
mov eax, dword [ebp - 0xe44]
mov eax, dword [eax]
mov dword [ecx], eax
add dword [edx + 4], 4
jmp 0x42d684
push dword [ebp - 0xe44]
push ecx
mov ecx, edx
call fcn.00462ab0
mov eax, dword [ebp - 0xe44]
mov edi, dword [ebp - 0xe4c]
mov ecx, edi
mov dword [eax], 0xffffffff
call fcn.0041f0d0
mov ecx, edi
call fcn.00441df0
mov eax, dword [edi + 0x754]
mov ecx, dword [edi + 0x750]
sub eax, ecx
sar eax, 2
test eax, eax
je 0x42d7ee
mov eax, dword [ecx]
lea ecx, [eax*8]
sub ecx, eax
mov eax, dword [edi + 0x28]
mov ecx, dword [eax + ecx*8]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x42d6d1
sub ecx, edx
lea eax, [ecx + 1]
push eax
lea ecx, [edi + 0x3c]
call fcn.00453440
mov eax, dword [edi + 0x750]
mov edx, dword [edi + 0x3c]
mov eax, dword [eax]
lea ecx, [eax*8]
sub ecx, eax
mov eax, dword [edi + 0x28]
mov ecx, dword [eax + ecx*8]
mov al, byte [ecx]
lea ecx, [ecx + 1]
mov byte [edx], al
lea edx, [edx + 1]
test al, al
jne 0x42d700
mov ecx, dword [edi + 0x40]
mov eax, ecx
mov edx, dword [edi + 0x3c]
sub eax, edx
je 0x42d7ee
mov al, byte [edx]
cmp al, 0x21
je 0x42d728
cmp al, 0x40
jne 0x42d740
lea eax, [edx + 1]
sub ecx, eax
push ecx
push eax
push edx
call fcn.0046c970
add esp, 0xc
dec dword [edi + 0x40]
mov eax, dword [edi + 0x40]
jmp 0x42d742
mov eax, ecx
mov ecx, dword [edi + 0x3c]
xor edx, edx
sub eax, ecx
je 0x42d76c
nop dword [eax + eax]
mov al, byte [edx + ecx]
cmp al, 0x21
je 0x42d75b
cmp al, 0x40
jne 0x42d75f
mov byte [edx + ecx], 0
mov eax, dword [edi + 0x40]
inc edx
mov ecx, dword [edi + 0x3c]
sub eax, ecx
cmp edx, eax
jb 0x42d750
push ecx
push str.Wed_return_to:__s_n
call fcn.004012d0
add esp, 8
jmp 0x42d7ee
cmp byte [ebp - 0xe50], 0
je 0x42d7ee
mov eax, dword [edi + 0x754]
sub eax, dword [edi + 0x750]
sar eax, 2
test eax, eax
je 0x42d7ee
movd xmm0, dword [edi + 0x80]
mov eax, dword [edi]
cvtdq2pd xmm0, xmm0
push 0xffffffffffffffff
push 0
movsd qword [edi + 0x88], xmm0
push dword [eax + 0x884]
push 0xffffffffffffffff
call dword [sym.imp.SDL2_mixer.dll_Mix_PlayChannelTimed]
mov ecx, dword [edi + 0x750]
add esp, 0x10
mov eax, dword [edi + 0x754]
sub eax, ecx
sar eax, 2
mov eax, dword [ecx + eax*4 - 4]
mov ecx, dword [ebp - 0xe44]
mov dword [ecx], eax
mov ecx, edi
add dword [edi + 0x754], 0xfffffffc
call fcn.00441df0
lea ecx, [ebp - 0xe74]
mov dword [ebp - 4], 0xffffffff
call fcn.00450a10
movsd xmm1, qword [ebp - 0xe7c]
lea esi, [edi + 0x318]
mov ecx, edi
call fcn.00434d70
cmp byte [edi + 0x74c], 0
jne 0x430032
cmp byte [ebp - 0xe27], 0
je 0x430032
cmp byte [edi + 0xb1], 0
jne 0x42d8c8
mov byte [edi + 0x71], 0
push str.Parsing..._n
call fcn.004012d0
add esp, 4
mov ecx, edi
push esi
call fcn.0043c0f0
cmp byte [edi + 0x70], 0
jne 0x42d862
push str.Parsing_again_in_a_frame..._n
jmp 0x42d845
push esi
push dword [0x4b9abc]
push str.Post_parsing_for_frame__d__version_2___s_n
call fcn.004012d0
mov eax, dword [edi + 0x750]
add esp, 0xc
cmp eax, dword [edi + 0x754]
je 0x42d88a
mov dword [edi + 0x754], eax
mov ecx, edi
mov dword [edi + 0x75c], 0xffffffff
call fcn.0041f0d0
mov ecx, edi
call fcn.00441f50
mov ecx, edi
call fcn.00441df0
mov ecx, edi
call fcn.0042c6a0
push dword [0x4b9abc]
push str.Weve_fixed_the_menu:__d_n
call fcn.004012d0
add esp, 8
jmp 0x430032
push dword [0x4b9abc]
push str.Script_running...__d_n
call fcn.004012d0
add esp, 8
jmp 0x430032
call fcn.0043a790
jmp 0x430032
mov ecx, dword [edi]
test ecx, ecx
jne 0x42d902
push str.Investigation_state_run_with_no_parent_game_state_n
call fcn.004012d0
add esp, 4
jmp 0x430167
cmp byte [ecx + 0xa86], 0
mov al, byte [edi + 0x801]
mov byte [ebp - 0xe26], al
mov al, byte [edi + 0x802]
mov dword [ebp - 0xe44], eax
je 0x42d93b
cmp byte [ecx + 0xaa6], 0
mov edx, 1
movzx eax, al
cmove eax, edx
mov dword [ebp - 0xe44], eax
lea eax, [ebp - 0xe74]
mov byte [ebp - 0xe27], 0
push eax
call fcn.00424fe0
lea eax, [ebp - 0xe80]
mov dword [ebp - 4], 2
mov ecx, dword [edi]
push eax
call fcn.00424ef0
mov byte [ebp - 4], 3
mov edx, dword [ebp - 0xe80]
mov esi, dword [ebp - 0xe74]
movsd xmm0, qword [0x4af3d8]
mov ecx, dword [edx]
mov eax, dword [esi]
add eax, ecx
movd xmm5, ecx
mov ecx, dword [edx + 4]
movd xmm2, eax
mov eax, dword [esi + 4]
add eax, ecx
movd xmm4, ecx
mov ecx, dword [edi]
cvtdq2pd xmm5, xmm5
movd xmm3, dword [ecx + 0xa90]
movd xmm1, eax
addsd xmm5, xmm0
cvtdq2pd xmm3, xmm3
cvtdq2pd xmm2, xmm2
comisd xmm3, xmm5
cvtdq2pd xmm4, xmm4
cvtdq2pd xmm1, xmm1
subsd xmm2, xmm0
addsd xmm4, xmm0
subsd xmm1, xmm0
jb 0x42da4d
comisd xmm2, xmm3
jbe 0x42da4d
movd xmm0, dword [ecx + 0xa94]
cvtdq2pd xmm0, xmm0
comisd xmm0, xmm4
jb 0x42da4d
comisd xmm1, xmm0
jbe 0x42da4d
cmp byte [ecx + 0xa87], 0
lea eax, [edi + 0xa0]
lea esi, [edi + 0x98]
mov dword [ebp - 0xe34], eax
je 0x42da22
movsd qword [esi], xmm3
mov dl, 1
movd xmm0, dword [ecx + 0xa94]
cvtdq2pd xmm0, xmm0
movsd qword [eax], xmm0
jmp 0x42da28
mov dl, byte [ebp - 0xe27]
cmp byte [ecx + 0xa85], 0
je 0x42da43
cmp byte [ecx + 0xaa5], 0
jne 0x42da43
mov byte [ebp - 0xe26], 1
jmp 0x42dab9
mov dword [ebp - 0xe34], eax
test dl, dl
jne 0x42dab9
cmp byte [ecx + 0xa60], 0
lea eax, [edi + 0xa0]
movsd xmm0, qword [eax]
movsd xmm3, qword [0x4af3c0]
mov dword [ebp - 0xe34], eax
je 0x42da76
subsd xmm0, xmm3
movsd qword [eax], xmm0
cmp byte [ecx + 0xa61], 0
je 0x42da87
addsd xmm0, xmm3
movsd qword [eax], xmm0
cmp byte [ecx + 0xa63], 0
lea esi, [edi + 0x98]
movsd xmm0, qword [esi]
je 0x42daa2
subsd xmm0, xmm3
movsd qword [esi], xmm0
cmp byte [ecx + 0xa62], 0
je 0x42dab9
addsd xmm0, xmm3
mov dword [ebp - 0xe34], eax
movsd qword [esi], xmm0
movsd xmm3, qword [esi]
comisd xmm5, xmm3
jbe 0x42daca
movsd qword [esi], xmm5
movaps xmm3, xmm5
movsd xmm0, qword [eax]
comisd xmm4, xmm0
jbe 0x42dadb
movsd qword [eax], xmm4
movaps xmm0, xmm4
comisd xmm3, xmm2
movsd xmm3, qword [0x4af3b0]
jb 0x42daf1
subsd xmm2, xmm3
movsd qword [esi], xmm2
comisd xmm0, xmm1
jb 0x42daff
subsd xmm1, xmm3
movsd qword [eax], xmm1
push dword [edi + 0x718]
lea ecx, [edi + 4]
call fcn.00418b60
mov ecx, eax
mov dword [ebp - 0xe38], ecx
test ecx, ecx
jns 0x42db4b
push str.Undefined_menu_for_investigations_provided._n
call fcn.004012d0
add esp, 4
mov dword [edi + 0x730], 0
lea ecx, [ebp - 0xe80]
call fcn.00450a10
lea ecx, [ebp - 0xe74]
call fcn.00450a10
jmp 0x430167
lea edx, [ecx*8]
sub edx, ecx
mov ecx, dword [edi + 0x28]
shl edx, 3
add ecx, edx
mov dword [ebp - 0xe3c], edx
push str.DEFAULT
call fcn.00418b60
mov ecx, dword [edi]
mov dword [ebp - 0xe2c], eax
lea eax, [ebp - 0xe8c]
push eax
call fcn.00425240
lea eax, [ebp - 0xea0]
mov byte [ebp - 4], 4
mov ecx, dword [edi]
push eax
call fcn.00424ef0
lea eax, [ebp - 0xe60]
mov byte [ebp - 4], 5
mov ecx, dword [edi]
push eax
call fcn.00424fe0
mov byte [ebp - 4], 6
mov ecx, dword [ebp - 0xea0]
mov eax, dword [ebp - 0xe8c]
movsd xmm1, qword [esi]
movd xmm0, dword [ecx]
cvtdq2pd xmm0, xmm0
subsd xmm1, xmm0
movd xmm0, dword [eax]
cvtdq2pd xmm0, xmm0
addsd xmm1, xmm0
movd xmm0, dword [ecx + 4]
mov ecx, dword [ebp - 0xe34]
cvtdq2pd xmm0, xmm0
subsd xmm1, qword [0x4af3b0]
cvttsd2si edx, xmm1
movsd xmm1, qword [ecx]
subsd xmm1, xmm0
mov dword [ebp - 0xe50], edx
movd xmm0, dword [eax + 4]
xor dl, dl
cvtdq2pd xmm0, xmm0
mov byte [ebp - 0xe27], dl
addsd xmm1, xmm0
subsd xmm1, qword [0x4af3b0]
cvttsd2si eax, xmm1
mov dword [ebp - 0xe34], eax
mov eax, dword [edi]
mov ecx, dword [eax + 0x1478]
sub ecx, dword [eax + 0x1474]
sar ecx, 2
imul eax, ecx, 0x3e0f83e1
sub eax, 1
mov dword [ebp - 0xe48], eax
js 0x42dd70
imul eax, eax, 0x84
mov dword [ebp - 0xe40], eax
mov edx, dword [edi]
mov esi, dword [edx + 0x1474]
add esi, eax
mov ecx, esi
call fcn.0041bdf0
test al, al
je 0x42dd44
cmp byte [esi + 0x74], 0
jne 0x42dd44
push dword [esi + 0x34]
lea ecx, [edx + 0x1460]
call fcn.0041bd50
test eax, eax
js 0x42dd44
lea eax, [ebp - 0x24]
mov ecx, esi
push eax
call fcn.004417e0
mov eax, dword [ebp - 0xe50]
mov ecx, esi
sub eax, dword [ebp - 0x24]
mov dword [ebp - 0xe30], eax
mov eax, dword [ebp - 0xe34]
sub eax, dword [ebp - 0x20]
mov dword [ebp - 0xe54], eax
call fcn.00441a40
mov edx, eax
test edx, edx
je 0x42dd44
mov ecx, dword [edi]
mov eax, dword [ebp - 0xe40]
mov ecx, dword [ecx + 0x1474]
cmp byte [ecx + eax + 0x28], 0
je 0x42dce4
mov eax, dword [edx]
sub eax, dword [ebp - 0xe30]
jmp 0x42dcea
mov eax, dword [ebp - 0xe30]
test eax, eax
js 0x42dd44
mov ecx, dword [edx]
cmp eax, ecx
jge 0x42dd44
cmp dword [ebp - 0xe54], 0
mov edi, dword [ebp - 0xe4c]
jl 0x42dd44
mov edi, dword [ebp - 0xe54]
cmp edi, dword [edx + 4]
mov edi, dword [ebp - 0xe4c]
jge 0x42dd44
imul ecx, dword [ebp - 0xe54]
add ecx, eax
mov eax, dword [edx + 8]
cmp byte [eax + ecx*4 + 3], 0
je 0x42dd44
push dword [esi + 0x34]
push str.Found_Character__s_n
call fcn.004012d0
add esp, 8
cmp byte [ebp - 0xe26], 0
jne 0x42de97
mov ecx, dword [ebp - 0xe48]
mov eax, dword [ebp - 0xe40]
dec ecx
sub eax, 0x84
mov dword [ebp - 0xe48], ecx
mov dword [ebp - 0xe40], eax
test ecx, ecx
jns 0x42dc52
mov dl, byte [ebp - 0xe27]
mov ecx, dword [edi]
mov eax, dword [ecx + 0x14b8]
sub eax, dword [ecx + 0x14b4]
sar eax, 2
imul eax, eax, 0xb6db6db7
cmp byte [ebp - 0xe26], 0
je 0x42dec7
test dl, dl
jne 0x42de45
mov dword [ebp - 0xe30], 0
test eax, eax
je 0x42de45
xor esi, esi
mov edx, dword [ecx + 0x14b4]
mov eax, dword [edx + esi + 8]
mov ecx, dword [edx + esi]
add eax, ecx
cmp eax, dword [ebp - 0xe50]
jle 0x42de16
mov eax, dword [ebp - 0xe50]
add eax, 3
cmp eax, ecx
jle 0x42de16
mov eax, dword [edx + esi + 0xc]
mov ecx, dword [edx + esi + 4]
add eax, ecx
cmp eax, dword [ebp - 0xe34]
jle 0x42de16
mov eax, dword [ebp - 0xe34]
add eax, 3
cmp eax, ecx
jle 0x42de16
mov ecx, dword [edi + 0x28]
push dword [edx + esi + 0x10]
add ecx, dword [ebp - 0xe3c]
call fcn.00418b60
mov ecx, dword [ebp - 0xe2c]
test eax, eax
cmovns ecx, eax
mov dword [ebp - 0xe2c], ecx
mov ecx, dword [edi]
add esi, 0x1c
mov edx, dword [ebp - 0xe30]
inc edx
mov dword [ebp - 0xe30], edx
mov eax, dword [ecx + 0x14b8]
sub eax, dword [ecx + 0x14b4]
sar eax, 2
imul eax, eax, 0xb6db6db7
cmp edx, eax
jb 0x42ddb0
mov eax, dword [ebp - 0xe2c]
test eax, eax
js 0x42df51
mov ecx, dword [ebp - 0xe3c]
lea esi, [eax*8]
sub esi, eax
mov eax, dword [edi + 0x28]
shl esi, 3
mov eax, dword [eax + ecx + 0x24]
lea ecx, [edi + 0x50]
add eax, 0x18
add eax, esi
push eax
call fcn.004534a0
mov eax, dword [edi + 0x28]
mov ecx, dword [ebp - 0xe3c]
mov eax, dword [eax + ecx + 0x24]
mov ecx, edi
push dword [eax + esi + 0xc]
call fcn.0042c720
jmp 0x42df51
push dword [ebp - 0xe38]
lea ecx, [edi + 0x28]
call fcn.004514d0
push dword [esi + 0x34]
mov ecx, eax
call fcn.00418b60
mov esi, dword [ebp - 0xe2c]
test eax, eax
mov dl, 1
cmovns esi, eax
mov dword [ebp - 0xe2c], esi
jmp 0x42dd70
cmp byte [ebp - 0xe44], 0
je 0x42df5b
cmp byte [edi + 0x94], 0
je 0x42df5b
mov eax, dword [0x4a5990]
lea ecx, [ebp - 0x20]
movq xmm0, qword [str._EngineBase_]
lea edx, [ecx + 1]
mov dword [ebp - 0x18], eax
mov al, byte [0x4a5994]
movq qword [ebp - 0x20], xmm0
mov byte [ebp - 0x14], al
mov al, byte [ecx]
inc ecx
test al, al
jne 0x42df04
sub ecx, edx
lea eax, [ecx + 1]
push eax
lea ecx, [edi + 0x50]
call fcn.00453440
mov edx, dword [edi + 0x50]
lea ecx, [ebp - 0x20]
nop
mov al, byte [ecx]
lea ecx, [ecx + 1]
mov byte [edx], al
lea edx, [edx + 1]
test al, al
jne 0x42df20
push 0x4a5998
mov ecx, edi
call fcn.0042c720
mov eax, dword [edi]
push 0xffffffffffffffff
push 0
push dword [eax + 0x884]
push 0xffffffffffffffff
call dword [sym.imp.SDL2_mixer.dll_Mix_PlayChannelTimed]
add esp, 0x10
mov dword [edi + 0x730], 0
lea ecx, [ebp - 0xe60]
call fcn.00450a10
lea ecx, [ebp - 0xea0]
call fcn.00450a10
lea ecx, [ebp - 0xe8c]
call fcn.00450a10
lea ecx, [ebp - 0xe80]
call fcn.00450a10
lea ecx, [ebp - 0xe74]
call fcn.00450a10
jmp 0x430032
mov ecx, dword [edi]
add ecx, 0x78
call fcn.0041a770
cmp byte [edi + 0x802], 0
jne 0x42dfc7
mov eax, dword [edi]
cmp byte [eax + 0xa86], 0
je 0x42dfbe
cmp byte [eax + 0xaa6], 0
je 0x42dfc7
mov byte [ebp - 0xe26], 0
jmp 0x42dfce
mov byte [ebp - 0xe26], 1
mov esi, dword [edi]
mov al, byte [edi + 0x801]
mov byte [ebp - 0xe25], al
mov dword [ebp - 0xe2c], esi
mov ecx, dword [esi + 0xd8]
mov eax, ecx
sub eax, 0
je 0x42dff8
sub eax, 2
jne 0x430032
cmp ecx, 2
jne 0x42e011
mov dword [esi + 0xec], 1
mov dword [esi + 0xdc], 1
mov eax, dword [esi + 0xec]
sub eax, 0
je 0x42e77a
sub eax, 1
je 0x42e3fb
sub eax, 1
jne 0x430032
mov ecx, dword [edi]
call fcn.00425500
test al, al
je 0x42e058
dec dword [ecx + 0xf4]
mov eax, dword [edi]
cmp dword [eax + 0xf4], 0
jge 0x42e058
mov dword [eax + 0xf4], 1
mov ecx, dword [edi]
call fcn.00425530
test al, al
je 0x42e07c
mov eax, dword [ecx + 0xf4]
inc eax
and eax, 0x80000001
jns 0x42e076
dec eax
or eax, 0xfffffffe
inc eax
mov dword [ecx + 0xf4], eax
cmp byte [ebp - 0xe25], 0
jne 0x42e09d
mov ecx, dword [edi]
add ecx, 0x78
call fcn.00446160
test al, al
jne 0x42e09d
mov cl, byte [ebp - 0xe26]
xor ch, ch
jmp 0x42e0ad
mov cl, byte [ebp - 0xe26]
mov ch, 1
test cl, cl
jne 0x430032
mov eax, dword [edi]
mov edx, dword [eax + 0xdc]
sub edx, 0
je 0x42e1c8
sub edx, 1
je 0x42e1c8
sub edx, 1
jne 0x430032
test ch, ch
je 0x42e19a
cmp dword [eax + 0xf4], edx
jne 0x42e174
lea eax, [ebp - 0x424]
push str.Train_Assets_default.sav
push eax
call fcn.00401380
mov esi, dword [edi]
sub esp, 0xc
mov ecx, esp
push 0x4fb160
call fcn.0041b410
mov ecx, esi
call fcn.00422d30
mov ecx, dword [edi]
push 0xffffffffffffffff
push 0
test al, al
je 0x42e14e
push dword [ecx + 0x888]
push 0xffffffffffffffff
call dword [sym.imp.SDL2_mixer.dll_Mix_PlayChannelTimed]
mov esi, dword [ebp - 0xe2c]
add esp, 0x10
mov dword [esi + 0xf8], 0
mov ecx, dword [edi]
call fcn.00425580
mov dword [edi + 0x730], 0
jmp 0x42e3a5
push dword [ecx + 0x884]
push 0xffffffffffffffff
call dword [sym.imp.SDL2_mixer.dll_Mix_PlayChannelTimed]
mov esi, dword [ebp - 0xe2c]
add esp, 0x10
mov dword [edi + 0x730], 0
jmp 0x42e3a5
push 0xffffffffffffffff
push 0
push dword [eax + 0x888]
push 0xffffffffffffffff
call dword [sym.imp.SDL2_mixer.dll_Mix_PlayChannelTimed]
add esp, 0x10
mov eax, dword [edi]
mov dword [eax + 0xec], 0
jmp 0x42e3a5
test cl, cl
je 0x430032
mov dword [eax + 0xec], 0
mov eax, dword [edi]
push 0xffffffffffffffff
push 0
push dword [eax + 0x884]
push 0xffffffffffffffff
call dword [sym.imp.SDL2_mixer.dll_Mix_PlayChannelTimed]
add esp, 0x10
jmp 0x42e3a5
test ch, ch
je 0x42e3d0
cmp dword [eax + 0xf4], 0
jne 0x42e384
lea ecx, [eax + 0x78]
call fcn.0041a750
mov eax, dword [esi + 0xe8]
inc eax
push eax
lea eax, [ebp - 0x424]
push str.Train_Assets_Save_d.sav
push eax
call fcn.00401380
add esp, 0xc
cmp dword [esi + 0xdc], 0
jne 0x42e2e0
mov eax, dword [edi]
lea ecx, [ebp - 0xe68]
push ecx
mov ecx, eax
mov dword [ebp - 0xe38], eax
call fcn.00422300
mov dword [ebp - 4], 8
mov ecx, dword [ebp - 0xe68]
lea eax, [ecx + 7]
test eax, 0xfffffff8
je 0x42e26f
mov esi, dword [ebp - 0xe38]
mov eax, dword [ebp - 0xe64]
mov dword [esi + 0x68], eax
lea eax, [ebp - 0xe60]
mov dword [esi + 0x64], ecx
lea ecx, [esi + 0x6c]
push eax
call fcn.004534a0
push str.Train_Assets_Save0.sav
lea ecx, [esi + 0x64]
call fcn.00469930
mov esi, dword [ebp - 0xe2c]
lea ecx, [ebp - 0xe68]
mov dword [ebp - 4], 0xffffffff
call fcn.00417f30
mov ecx, dword [edi]
lea eax, [ebp - 0xe94]
push eax
call fcn.00422300
push str.Attempting_a_save
mov dword [ebp - 4], 9
call fcn.004012d0
add esp, 4
lea eax, [ebp - 0x424]
lea ecx, [ebp - 0xe94]
push eax
call fcn.00469930
mov eax, dword [esi + 0xe8]
mov dword [esi + 0xf8], eax
mov eax, dword [edi]
push 0xffffffffffffffff
push 0
push dword [eax + 0x888]
push 0xffffffffffffffff
call dword [sym.imp.SDL2_mixer.dll_Mix_PlayChannelTimed]
lea ecx, [ebp - 0xe94]
jmp 0x42e36d
mov eax, dword [esi + 0xe8]
inc eax
push eax
push str.Loading_save_slot__d..._n
call fcn.004012d0
add esp, 8
lea ecx, [ebp - 0xe68]
call fcn.00469470
lea eax, [ebp - 0x424]
mov dword [ebp - 4], 0xa
push eax
lea ecx, [ebp - 0xe68]
call fcn.00469a60
mov esi, dword [edi]
lea eax, [ebp - 0xe68]
sub esp, 0x14
mov ecx, esp
push eax
call fcn.0041b410
mov ecx, esi
call fcn.00422d30
push 0xffffffffffffffff
push 0
test al, al
je 0x42e357
mov ecx, dword [ebp - 0xe2c]
mov eax, dword [ecx + 0xe8]
mov dword [ecx + 0xf8], eax
mov eax, dword [edi]
push dword [eax + 0x888]
jmp 0x42e35f
mov eax, dword [edi]
push dword [eax + 0x884]
push 0xffffffffffffffff
call dword [sym.imp.SDL2_mixer.dll_Mix_PlayChannelTimed]
lea ecx, [ebp - 0xe68]
add esp, 0x10
call fcn.00417f30
mov dword [edi + 0x730], 0
jmp 0x430032
push 0xffffffffffffffff
push 0
push dword [eax + 0x888]
push 0xffffffffffffffff
call dword [sym.imp.SDL2_mixer.dll_Mix_PlayChannelTimed]
add esp, 0x10
mov eax, dword [edi]
mov dword [eax + 0xec], 1
cmp byte [esi + 0xd0], 0
je 0x42e868
push str.Setting_subState_to_0..._n
call fcn.004012d0
mov eax, dword [edi]
add esp, 4
mov dword [eax + 0xf4], 0
jmp 0x42e874
test cl, cl
je 0x430032
mov dword [eax + 0xec], 1
mov eax, dword [edi]
push 0xffffffffffffffff
push 0
push dword [eax + 0x884]
push 0xffffffffffffffff
call dword [sym.imp.SDL2_mixer.dll_Mix_PlayChannelTimed]
add esp, 0x10
jmp 0x42e3a5
lea ecx, [ebp - 0xe64]
call fcn.004196a0
mov ecx, dword [edi]
sub esp, 0x10
mov al, byte [ecx + 0xa85]
movss xmm0, dword [ecx + 0xa5c]
mov byte [ebp - 0xe64], al
mov al, byte [ecx + 0xaa5]
mov byte [ebp - 0xe63], al
mov eax, dword [ecx + 0xa90]
mov dword [ebp - 0xe60], eax
mov eax, dword [ecx + 0xa94]
add ecx, 0x100
mov dword [ebp - 0xe5c], eax
mov eax, esp
movss dword [ebp - 0xe58], xmm0
movups xmm0, xmmword [ebp - 0xe64]
movups xmmword [eax], xmm0
call fcn.004196c0
mov eax, dword [edi]
movsd xmm0, qword [eax + 0x120]
movsd qword [eax + 0xc8], xmm0
mov ecx, dword [edi]
mov eax, dword [ecx + 0xe8]
mov edx, dword [ecx + 0xc4]
movsd xmm1, qword [ecx + 0xc8]
imul eax, edx
movd xmm0, eax
cvtdq2pd xmm0, xmm0
comisd xmm1, xmm0
jbe 0x42e4b9
movd xmm0, edx
cvtdq2pd xmm0, xmm0
divsd xmm1, xmm0
addsd xmm1, qword [0x4af3b0]
cvttsd2si eax, xmm1
mov dword [ecx + 0xe8], eax
mov ecx, dword [edi]
mov eax, dword [ecx + 0xe8]
mov edx, dword [ecx + 0xc4]
inc eax
movd xmm0, dword [ecx + 0x90]
movsd xmm2, qword [ecx + 0xc8]
imul eax, edx
cvtdq2pd xmm0, xmm0
movd xmm1, eax
addsd xmm0, xmm2
cvtdq2pd xmm1, xmm1
comisd xmm1, xmm0
jbe 0x42e50e
movd xmm1, edx
cvtdq2pd xmm1, xmm1
movaps xmm0, xmm1
addsd xmm0, xmm2
divsd xmm0, xmm1
cvttsd2si eax, xmm0
mov dword [ecx + 0xe8], eax
mov ecx, dword [edi]
add ecx, 0x78
call fcn.0041a750
mov ecx, dword [edi]
mov eax, dword [ecx + 0xdc]
sub eax, 0
je 0x42e52e
sub eax, 1
jne 0x430032
call fcn.004254a0
movsd xmm3, qword [0x4af510]
test al, al
je 0x42e571
dec dword [ecx + 0xe8]
mov ecx, dword [edi]
cmp dword [ecx + 0xe8], 0
jge 0x42e55d
mov eax, dword [ecx + 0xe0]
dec eax
mov dword [ecx + 0xe8], eax
mov ecx, dword [edi]
add ecx, 0x78
call fcn.0041a6d0
mov eax, dword [edi]
movsd qword [eax + 0x148], xmm3
mov ecx, dword [edi]
call fcn.004254d0
test al, al
je 0x42e5a4
mov eax, dword [ecx + 0xe8]
inc eax
cdq
idiv dword [ecx + 0xe0]
mov dword [ecx + 0xe8], edx
mov ecx, dword [edi]
add ecx, 0x78
call fcn.0041a6d0
mov eax, dword [edi]
movsd qword [eax + 0x148], xmm3
mov ecx, dword [edi]
xor al, al
movsd xmm0, qword [ecx + 0x148]
comisd xmm0, xmmword [0x4af2c0]
mov edx, dword [ecx + 0xe8]
mov dword [ebp - 0xe38], edx
jae 0x42e5d6
add ecx, 0x78
call fcn.00446160
mov ecx, dword [edi]
mov edx, dword [ebp - 0xe38]
cmp byte [ebp - 0xe25], 0
jne 0x42e5ea
mov byte [ebp - 0xe25], 0
test al, al
je 0x42e5f1
mov byte [ebp - 0xe25], 1
cmp dword [ecx + 0xe8], edx
je 0x42e601
add ecx, 0x78
call fcn.0041a6d0
mov ecx, dword [edi]
add ecx, 0x78
call fcn.0041a750
cmp byte [ebp - 0xe25], 0
je 0x42e730
cmp byte [ebp - 0xe26], 0
jne 0x430032
mov eax, dword [edi]
movsd qword [eax + 0x148], xmm3
cmp dword [esi + 0xd8], 2
jne 0x42e708
mov eax, dword [esi + 0xe8]
inc eax
push eax
lea eax, [ebp - 0x424]
push str.Train_Assets_Save_d.sav
push eax
call fcn.00401380
add esp, 0xc
lea ecx, [ebp - 0xe68]
call fcn.00469470
lea eax, [ebp - 0x424]
mov dword [ebp - 4], 7
push eax
lea ecx, [ebp - 0xe68]
call fcn.00469a60
mov esi, dword [edi]
lea eax, [ebp - 0xe68]
sub esp, 0x14
mov ecx, esp
push eax
call fcn.0041b410
mov ecx, esi
call fcn.00422d30
push 0xffffffffffffffff
push 0
test al, al
je 0x42e6d8
mov esi, dword [ebp - 0xe2c]
mov eax, dword [esi + 0xe8]
mov dword [esi + 0xf8], eax
mov eax, dword [edi]
push dword [eax + 0x888]
push 0xffffffffffffffff
call dword [sym.imp.SDL2_mixer.dll_Mix_PlayChannelTimed]
mov eax, dword [edi]
mov dword [eax + 0x650], 5
mov dword [edi + 0x730], 0
jmp 0x42e6ee
mov eax, dword [edi]
push dword [eax + 0x884]
push 0xffffffffffffffff
call dword [sym.imp.SDL2_mixer.dll_Mix_PlayChannelTimed]
mov esi, dword [ebp - 0xe2c]
add esp, 0x10
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xe68]
call fcn.00417f30
jmp 0x42e3a5
mov eax, dword [edi]
push 0xffffffffffffffff
push 0
push dword [eax + 0x888]
push 0xffffffffffffffff
call dword [sym.imp.SDL2_mixer.dll_Mix_PlayChannelTimed]
mov eax, dword [edi]
add esp, 0x10
mov dword [eax + 0xec], 2
jmp 0x42e3a5
cmp byte [ebp - 0xe26], 0
je 0x430032
mov eax, dword [edi]
push 0xffffffffffffffff
push 0
movsd qword [eax + 0x148], xmm3
mov eax, dword [edi]
push dword [eax + 0x884]
push 0xffffffffffffffff
call dword [sym.imp.SDL2_mixer.dll_Mix_PlayChannelTimed]
add esp, 0x10
cmp dword [esi + 0xd8], 0
je 0x42e189
mov dword [edi + 0x730], 0
jmp 0x42e3a5
mov ecx, dword [edi]
call fcn.004254a0
test al, al
je 0x42e7a0
dec dword [ecx + 0xdc]
mov eax, dword [edi]
cmp dword [eax + 0xdc], 0
jge 0x42e7a0
mov dword [eax + 0xdc], 2
mov ecx, dword [edi]
call fcn.004254d0
test al, al
je 0x42e7c9
mov eax, dword [ecx + 0xdc]
inc eax
mov dword [ebp - 0xe38], 3
cdq
idiv dword [ebp - 0xe38]
mov dword [ecx + 0xdc], edx
cmp byte [ebp - 0xe25], 0
jne 0x42e812
mov ecx, dword [edi]
add ecx, 0x78
call fcn.00446160
test al, al
jne 0x42e812
cmp byte [ebp - 0xe26], al
je 0x430032
mov eax, dword [edi]
push 0xffffffffffffffff
push 0
mov dword [edi + 0x730], 0
push dword [eax + 0x884]
push 0xffffffffffffffff
call dword [sym.imp.SDL2_mixer.dll_Mix_PlayChannelTimed]
add esp, 0x10
jmp 0x42e3a5
cmp byte [ebp - 0xe26], 0
jne 0x430032
mov eax, dword [edi]
push 0xffffffffffffffff
push 0
push dword [eax + 0x888]
push 0xffffffffffffffff
call dword [sym.imp.SDL2_mixer.dll_Mix_PlayChannelTimed]
mov eax, dword [esi + 0xdc]
add esp, 0x10
sub eax, 0
je 0x42e399
sub eax, 1
je 0x42e399
sub eax, 1
jne 0x42e3a5
mov eax, dword [edi]
mov dword [eax + 0xec], 2
jmp 0x42e3a5
mov eax, dword [edi]
mov dword [eax + 0xf4], 1
mov ecx, dword [edi]
add ecx, 0x78
call fcn.0041a770
mov ecx, dword [edi]
add ecx, 0x78
call fcn.00446160
push dword [esi + 0xf4]
push str.Actual_Substate:__d_n
call fcn.004012d0
add esp, 8
jmp 0x430032
mov esi, dword [edi]
mov dword [ebp - 0xe3c], esi
lea ecx, [esi + 0x184]
call fcn.00446460
mov ecx, dword [edi]
call fcn.004254a0
test al, al
je 0x42e8d9
dec dword [ecx + 0x194]
mov eax, dword [edi]
cmp dword [eax + 0x194], 0
jge 0x42e8d9
mov dword [eax + 0x194], 8
mov ecx, dword [edi]
call fcn.004254d0
test al, al
je 0x42e8f9
mov eax, dword [esi + 0x194]
mov ecx, 9
inc eax
cdq
idiv ecx
mov dword [esi + 0x194], edx
mov ecx, dword [edi]
call fcn.00425530
mov esi, dword [sym.imp.SDL2_mixer.dll_Mix_PlayChannelTimed]
mov dword [ebp - 0xe50], 3
mov dword [ebp - 0xe34], esi
test al, al
je case.default.0x42e933
mov ecx, dword [ebp - 0xe3c]
mov eax, dword [ecx + 0x194]
cmp eax, 6
ja case.default.0x42e933
jmp dword [eax*4 + 0x4301bc]
mov ecx, dword [edi]
push 0xffffffffffffffff
push 0
mov eax, dword [ecx + 0x4c]
inc eax
cdq
idiv dword [ebp - 0xe50]
mov dword [ecx + 0x4c], edx
mov eax, dword [edi]
push dword [eax + 0x888]
push 0xffffffffffffffff
call esi
mov ecx, dword [edi]
add esp, 0x10
push dword [ecx + 0x4c]
call fcn.0041f830
jmp case.default.0x42e933
mov ecx, dword [edi]
cmp byte [ecx + 0x18], 0
sete al
mov byte [ecx + 0x18], al
jmp 0x42ea96
mov ecx, dword [edi]
cmp byte [ecx + 0x17], 0
sete al
mov byte [ecx + 0x17], al
jmp 0x42ea96
mov eax, dword [ecx + 0x3b4]
xor edx, edx
inc eax
mov dword [ecx + 0x3b4], eax
mov ecx, dword [edi]
mov esi, dword [ecx + 0x5c]
sub esi, dword [ecx + 0x58]
sar esi, 2
div esi
mov eax, dword [ebp - 0xe3c]
mov dword [eax + 0x3b4], edx
mov esi, dword [edi]
mov eax, dword [esi + 0x58]
mov eax, dword [eax + edx*4]
mov ecx, eax
shr ecx, 0x10
push ecx
mov ecx, eax
shr ecx, 8
push ecx
push eax
push dword [esi + 0x8ac]
call dword [sym.imp.SDL2.dll_SDL_SetTextureColorMod]
mov eax, dword [edi]
mov esi, dword [ebp - 0xe34]
push 0xffffffffffffffff
push 0
push dword [eax + 0x888]
push 0xffffffffffffffff
call esi
add esp, 0x20
jmp case.default.0x42e933
mov ecx, dword [edi]
cmp byte [ecx + 0x1b], 0
jne 0x42ea8f
mov byte [0x4f9c24], 1
jmp 0x42ea96
mov ecx, dword [edi]
mov eax, dword [ecx + 0x54]
inc eax
cdq
idiv dword [ebp - 0xe50]
mov dword [ecx + 0x54], edx
mov byte [0x4f9c24], 1
mov ecx, dword [edi]
mov eax, dword [ecx + 0x54]
sub eax, 0
je 0x42ea4f
sub eax, 1
je 0x42ea43
sub eax, 1
jne 0x42ea96
mov byte [ecx + 0x29], al
mov eax, dword [edi]
mov byte [eax + 0x28], 0
jmp 0x42ea96
mov byte [ecx + 0x29], 1
mov eax, dword [edi]
mov byte [eax + 0x28], 1
jmp 0x42ea96
mov byte [ecx + 0x29], 1
mov eax, dword [edi]
mov byte [eax + 0x28], 0
jmp 0x42ea96
mov ecx, dword [edi]
mov eax, dword [ecx + 0x50]
and eax, 0x80000003
jns 0x42ea6c
dec eax
or eax, 0xfffffffc
inc eax
movss xmm1, dword [0x4af344]
inc eax
mov dword [ecx + 0x50], eax
mov eax, dword [edi]
movd xmm0, dword [eax + 0x50]
cvtdq2ps xmm0, xmm0
comiss xmm1, xmm0
ja 0x42ea8f
movss dword [0x4f9c28], xmm0
mov byte [0x4f9c25], 1
mov eax, dword [edi]
push 0xffffffffffffffff
push 0
push dword [eax + 0x888]
push 0xffffffffffffffff
call esi
add esp, 0x10
mov ecx, dword [edi]
call fcn.00425500
test al, al
je case.default.0x42eacd
mov edx, dword [ebp - 0xe3c]
mov eax, dword [edx + 0x194]
cmp eax, 6
ja case.default.0x42eacd
jmp dword [eax*4 + 0x4301d8]
dec dword [ecx + 0x4c]
mov eax, dword [edi]
cmp dword [eax + 0x4c], 0
jge 0x42eae6
mov dword [eax + 0x4c], 2
mov eax, dword [edi]
push 0xffffffffffffffff
push 0
push dword [eax + 0x888]
push 0xffffffffffffffff
call esi
mov ecx, dword [edi]
add esp, 0x10
push dword [ecx + 0x4c]
call fcn.0041f830
jmp case.default.0x42eacd
cmp byte [ecx + 0x18], 0
sete al
mov byte [ecx + 0x18], al
jmp 0x42ec22
cmp byte [ecx + 0x17], 0
sete al
mov byte [ecx + 0x17], al
jmp 0x42ec22
mov ecx, dword [edx + 0x3b4]
sub ecx, 1
mov dword [edx + 0x3b4], ecx
jns 0x42eb4b
mov ecx, dword [edi]
mov eax, dword [ecx + 0x5c]
sub eax, dword [ecx + 0x58]
sar eax, 2
lea ecx, [eax - 1]
mov dword [edx + 0x3b4], ecx
mov edx, dword [edi]
mov eax, dword [edx + 0x58]
mov eax, dword [eax + ecx*4]
mov ecx, eax
shr ecx, 0x10
push ecx
mov ecx, eax
shr ecx, 8
push ecx
push eax
push dword [edx + 0x8ac]
call dword [sym.imp.SDL2.dll_SDL_SetTextureColorMod]
mov eax, dword [edi]
push 0xffffffffffffffff
push 0
push dword [eax + 0x888]
push 0xffffffffffffffff
call esi
add esp, 0x20
jmp case.default.0x42eacd
cmp byte [ecx + 0x1b], 0
jne 0x42ec1b
mov byte [0x4f9c24], 1
jmp 0x42ec22
dec dword [ecx + 0x54]
mov eax, dword [edi]
cmp dword [eax + 0x54], 0
jge 0x42ebac
mov dword [eax + 0x54], 2
mov byte [0x4f9c24], 1
mov ecx, dword [edi]
mov eax, dword [ecx + 0x54]
sub eax, 0
je 0x42ebde
sub eax, 1
je 0x42ebd2
sub eax, 1
jne 0x42ec22
mov byte [ecx + 0x29], al
mov eax, dword [edi]
mov byte [eax + 0x28], 0
jmp 0x42ec22
mov byte [ecx + 0x29], 1
mov eax, dword [edi]
mov byte [eax + 0x28], 1
jmp 0x42ec22
mov byte [ecx + 0x29], 1
mov eax, dword [edi]
mov byte [eax + 0x28], 0
jmp 0x42ec22
dec dword [ecx + 0x50]
mov eax, dword [edi]
cmp dword [eax + 0x50], 0
jg 0x42ebfc
mov dword [eax + 0x50], 4
mov eax, dword [edi]
movss xmm1, dword [0x4af344]
movd xmm0, dword [eax + 0x50]
cvtdq2ps xmm0, xmm0
comiss xmm1, xmm0
ja 0x42ec1b
movss dword [0x4f9c28], xmm0
mov byte [0x4f9c25], 1
mov eax, dword [edi]
push 0xffffffffffffffff
push 0
push dword [eax + 0x888]
push 0xffffffffffffffff
call esi
add esp, 0x10
mov ecx, dword [edi]
add ecx, 0x184
call fcn.00447560
mov ecx, dword [edi]
add ecx, 0x184
mov dword [ebp - 0xe38], eax
call fcn.00447700
cmp byte [edi + 0x802], 0
mov eax, dword [edi]
mov byte [ebp - 0xe25], 0
jne 0x42ec79
cmp byte [eax + 0xa86], 0
je 0x42ec91
cmp byte [eax + 0xaa6], 0
jne 0x42ec91
push 0xffffffffffffffff
push 0
push dword [eax + 0x884]
push 0xffffffffffffffff
call esi
add esp, 0x10
mov byte [ebp - 0xe25], 1
mov ecx, dword [ebp - 0xe38]
test ecx, ecx
jns 0x42ecfb
cmp byte [edi + 0x801], 0
je case.default.0x42ed34
mov edx, dword [ebp - 0xe3c]
mov esi, dword [edx + 0x18c]
mov eax, dword [edx + 0x188]
sub esi, eax
sar esi, 6
mov dword [ebp - 0xe38], esi
test esi, esi
je 0x42ecf1
xor ecx, ecx
nop dword [eax + eax]
mov esi, dword [edx + 0x194]
cmp dword [eax], esi
jne 0x42ece0
cmp dword [eax + 4], 0
jl 0x42ecf1
inc ecx
add eax, 0x40
cmp ecx, dword [ebp - 0xe38]
jb 0x42ecd0
jmp case.default.0x42ed34
test ecx, ecx
js case.default.0x42ed34
jmp 0x42ed01
mov edx, dword [ebp - 0xe3c]
mov eax, dword [edx + 0x18c]
sub eax, dword [edx + 0x188]
sar eax, 6
cmp ecx, eax
jae case.default.0x42ed34
mov eax, dword [edx + 0x188]
mov esi, dword [ebp - 0xe34]
shl ecx, 6
cmp dword [ecx + eax], 8
ja case.default.0x42ed34
mov edi, dword [ecx + eax]
jmp dword [edi*4 + 0x4301f4]
mov edi, dword [ebp - 0xe4c]
mov eax, dword [ecx + eax + 4]
mov ecx, dword [edi]
test eax, eax
jns 0x42ed82
mov eax, dword [ecx + 0x4c]
test eax, eax
jns 0x42ed67
xor edx, edx
mov dword [ecx + 0x4c], edx
mov ecx, dword [edi]
mov eax, dword [ecx + 0x4c]
push eax
call fcn.0041f830
jmp 0x42f042
inc eax
cdq
idiv dword [ebp - 0xe50]
mov dword [ecx + 0x4c], edx
mov ecx, dword [edi]
mov eax, dword [ecx + 0x4c]
push eax
call fcn.0041f830
jmp 0x42f042
mov dword [ecx + 0x4c], eax
mov ecx, dword [edi]
mov eax, dword [ecx + 0x4c]
push eax
call fcn.0041f830
jmp 0x42f042
mov edi, dword [ebp - 0xe4c]
mov ecx, dword [ecx + eax + 4]
mov eax, dword [edi]
test ecx, ecx
jns 0x42edb4
cmp byte [eax + 0x18], 0
sete cl
mov byte [eax + 0x18], cl
jmp 0x42f042
setne cl
mov byte [eax + 0x18], cl
jmp 0x42f042
mov edi, dword [ebp - 0xe4c]
mov ecx, dword [ecx + eax + 4]
mov eax, dword [edi]
test ecx, ecx
jns 0x42edde
cmp byte [eax + 0x17], 0
sete cl
mov byte [eax + 0x17], cl
jmp 0x42f042
setne cl
mov byte [eax + 0x17], cl
jmp 0x42f042
mov ecx, dword [ecx + eax + 4]
mov edi, dword [ebp - 0xe4c]
test ecx, ecx
jns 0x42ee5d
mov esi, dword [edx + 0x3b4]
test esi, esi
js 0x42ee51
mov ecx, dword [edi]
mov eax, dword [ecx + 0x5c]
sub eax, dword [ecx + 0x58]
sar eax, 2
test eax, eax
je 0x42ee51
lea eax, [esi + 1]
mov dword [edx + 0x3b4], eax
xor edx, edx
mov ecx, dword [edi]
mov esi, dword [ecx + 0x5c]
sub esi, dword [ecx + 0x58]
sar esi, 2
div esi
mov eax, dword [ebp - 0xe3c]
mov dword [eax + 0x3b4], edx
mov esi, dword [edi]
mov eax, dword [esi + 0x58]
mov eax, dword [eax + edx*4]
mov ecx, eax
shr ecx, 0x10
push ecx
mov ecx, eax
shr ecx, 8
push ecx
push eax
push dword [esi + 0x8ac]
jmp 0x42ee7e
mov dword [edx + 0x3b4], 0
jmp 0x42ee87
mov dword [edx + 0x3b4], ecx
mov edx, dword [edi]
mov eax, dword [edx + 0x58]
mov eax, dword [eax + ecx*4]
mov ecx, eax
shr ecx, 0x10
push ecx
mov ecx, eax
shr ecx, 8
push ecx
push eax
push dword [edx + 0x8ac]
call dword [sym.imp.SDL2.dll_SDL_SetTextureColorMod]
add esp, 0x10
mov eax, dword [edi]
push 0xffffffffffffffff
push 0
push dword [eax + 0x888]
push 0xffffffffffffffff
call dword [ebp - 0xe34]
jmp 0x42f052
mov eax, dword [ecx + eax + 4]
mov edi, dword [ebp - 0xe4c]
test eax, eax
jns 0x42eec2
mov eax, dword [edi]
cmp byte [eax + 0x1b], 0
je 0x42eecd
mov byte [0x4f9c25], 1
jmp 0x42f042
mov ecx, dword [edi]
test eax, eax
jne 0x42eed9
cmp byte [ecx + 0x1b], al
jne 0x42eed9
mov byte [0x4f9c24], 1
jmp 0x42f042
cmp eax, 1
jne 0x42f042
cmp byte [ecx + 0x1b], 0
mov edx, 1
movzx eax, byte [0x4f9c25]
cmovne eax, edx
mov byte [0x4f9c25], al
jmp 0x42f042
mov edi, dword [ebp - 0xe4c]
mov edx, dword [ecx + eax + 4]
mov ecx, dword [edi]
test edx, edx
jns 0x42ef1a
mov eax, dword [ecx + 0x54]
inc eax
cdq
idiv dword [ebp - 0xe50]
mov dword [ecx + 0x54], edx
mov byte [0x4f9c24], 1
mov ecx, dword [edi]
mov eax, dword [ecx + 0x54]
sub eax, 0
je 0x42ef59
sub eax, 1
je 0x42ef4a
sub eax, 1
jne 0x42f042
mov byte [ecx + 0x29], al
mov eax, dword [edi]
mov byte [eax + 0x28], 0
jmp 0x42f042
mov byte [ecx + 0x29], 1
mov eax, dword [edi]
mov byte [eax + 0x28], 1
jmp 0x42f042
mov byte [ecx + 0x29], 1
mov eax, dword [edi]
mov byte [eax + 0x28], 0
jmp 0x42f042
mov edi, dword [ebp - 0xe4c]
mov eax, dword [ecx + eax + 4]
mov ecx, dword [edi]
test eax, eax
jns 0x42efa5
cmp dword [ecx + 0x50], 1
jge 0x42ef85
mov dword [ecx + 0x50], 1
mov eax, dword [edi]
cmp dword [eax + 0x50], 4
jle 0x42ef94
mov dword [eax + 0x50], 4
mov ecx, dword [edi]
mov eax, dword [ecx + 0x50]
and eax, 0x80000003
jns 0x42efa5
dec eax
or eax, 0xfffffffc
inc eax
movss xmm1, dword [0x4af344]
inc eax
mov dword [ecx + 0x50], eax
mov eax, dword [edi]
movd xmm0, dword [eax + 0x50]
cvtdq2ps xmm0, xmm0
comiss xmm1, xmm0
ja 0x42f042
movss dword [0x4f9c28], xmm0
jmp 0x42f042
mov edi, dword [ebp - 0xe4c]
mov eax, dword [edi]
mov byte [eax + 0x18], 0
mov eax, dword [edi]
mov byte [eax + 0x17], 0
mov eax, dword [edi]
mov dword [eax + 0x4c], 1
mov ecx, dword [edi]
push dword [ecx + 0x4c]
call fcn.0041f830
mov dword [edx + 0x3b4], 0
mov edx, dword [edi]
mov eax, dword [edx + 0x58]
mov eax, dword [eax]
mov ecx, eax
shr ecx, 0x10
push ecx
mov ecx, eax
shr ecx, 8
push ecx
push eax
push dword [edx + 0x8ac]
call dword [sym.imp.SDL2.dll_SDL_SetTextureColorMod]
mov eax, dword [edi]
push 0xffffffffffffffff
push 0
push dword [eax + 0x888]
push 0xffffffffffffffff
call esi
add esp, 0x20
jmp case.default.0x42ed34
mov edi, dword [ebp - 0xe4c]
mov byte [ebp - 0xe25], 1
mov eax, dword [edi]
push 0xffffffffffffffff
push 0
push dword [eax + 0x888]
push 0xffffffffffffffff
call esi
add esp, 0x10
mov edi, dword [ebp - 0xe4c]
mov ecx, dword [edi]
add ecx, 0x184
call fcn.00447700
mov eax, dword [edi]
cmp byte [eax + 0xa80], 0
je 0x42f07c
cmp byte [eax + 0xaa0], 0
je 0x42f089
cmp byte [ebp - 0xe25], 0
je 0x430032
mov eax, dword [eax + 0x3b8]
mov dword [edi + 0x730], eax
jmp 0x430032
mov ecx, dword [edi]
cmp byte [ecx + 0xa7f], 0
je 0x42f0b2
cmp byte [ecx + 0xa9f], 0
jne 0x42f0b2
mov dl, 1
jmp 0x42f0b4
xor dl, dl
mov esi, dword [ecx + 0x460]
mov byte [ebp - 0xe25], dl
mov dword [ebp - 0xe54], esi
cmp eax, 4
jne 0x42f19a
mov byte [ecx + 0x3cb], 1
xor eax, eax
nop dword [eax + eax]
inc eax
cmp byte [eax + str.TRUE], 0
jne 0x42f0e0
mov ecx, dword [edi + 0x7d0]
inc eax
push 1
push eax
push str.TRUE
call fcn.004056b0
xor eax, eax
inc eax
cmp byte [eax + str.true], 0
jne 0x42f100
mov ecx, dword [edi + 0x7d0]
inc eax
push 1
push eax
push str.true
call fcn.004056b0
movsd xmm0, qword [edi + 0xa8]
addsd xmm0, qword [0x4af368]
movsd xmm1, qword [0x4af3b0]
comisd xmm0, xmm1
movsd qword [edi + 0xa8], xmm0
jbe 0x42f14c
movsd qword [edi + 0xa8], xmm1
cmp byte [ebp - 0xe25], 0
je 0x42f171
mov eax, dword [edi]
movsd xmm0, qword [0x4af510]
mov dword [edi + 0x730], 5
movsd qword [eax + 0x568], xmm0
movsd xmm2, qword [edi + 0xa8]
xorps xmm0, xmm0
movsd xmm1, qword [0x4af430]
call fcn.00469e00
mov eax, dword [edi]
cvttsd2si ecx, xmm0
mov dword [eax + 0x418], ecx
jmp 0x42f2a8
cmp eax, 5
jne 0x42f2a8
movsd xmm1, qword [0x4af430]
xorps xmm0, xmm0
mov byte [ecx + 0x3cb], 1
xorps xmm4, xmm4
movsd xmm2, qword [edi + 0xa8]
subsd xmm2, qword [0x4af368]
movsd qword [edi + 0xa8], xmm2
call fcn.00469e00
mov eax, dword [edi]
cvttsd2si ecx, xmm0
mov dword [eax + 0x418], ecx
test dl, dl
je 0x42f1f4
mov dword [edi + 0x730], 4
jmp 0x42f2a8
comisd xmm4, xmmword [edi + 0xa8]
jbe 0x42f2a8
mov ecx, dword [edi]
cmp dword [ecx + 0x658], 0x71
jge 0x42f21a
cmp byte [ecx + 0x3c9], 0
jne 0x42f2a8
movsd xmm0, qword [0x4af510]
movsd qword [edi + 0xa8], xmm4
mov eax, dword [ecx + 0x468]
mov dword [edi + 0x730], eax
movsd qword [ecx + 0x568], xmm0
mov eax, dword [edi]
add eax, 0x588
mov dword [ebp - 0xe30], eax
mov ecx, dword [eax + 4]
mov esi, dword [eax]
cmp esi, ecx
je 0x42f275
mov edi, ecx
mov ecx, esi
call fcn.0041a3d0
add esi, 0x40
cmp esi, edi
jne 0x42f256
mov ecx, dword [ebp - 0xe30]
mov edi, dword [ebp - 0xe4c]
mov eax, dword [ecx]
mov dword [ecx + 4], eax
mov eax, dword [edi + 0x730]
sub eax, 1
je 0x42f28a
sub eax, 7
je 0x42f28a
sub eax, 2
jne 0x42f2a8
mov dword [edi + 0x730], 1
mov dword [edi + 0x738], 0
mov dword [edi + 0x734], 0
mov ecx, dword [edi]
mov eax, dword [ecx + 0x464]
sub eax, 0
je 0x42f8cf
sub eax, 1
jne 0x430032
mov byte [ebp - 0xe26], al
cmp byte [ecx + 0xa7d], al
je 0x42f2d8
cmp byte [ecx + 0xa9d], al
je 0x42f2ea
cmp byte [ecx + 0xa86], 0
je 0x42f2f1
cmp byte [ecx + 0xaa6], 0
jne 0x42f2f1
mov byte [ebp - 0xe26], 1
mov eax, dword [ecx + 0x58c]
mov esi, dword [ecx + 0x588]
sub eax, esi
sar eax, 6
test eax, eax
je 0x42f8b0
mov eax, dword [ecx + 0x460]
shl eax, 6
mov esi, dword [eax + esi + 4]
mov dword [ecx + 0x4f8], ecx
mov eax, dword [edi]
mov dword [ebp - 0xe50], esi
push dword [eax + 0x4ac]
lea ecx, [eax + 0x1460]
call fcn.0041bd50
test eax, eax
js 0x42f3d0
mov ecx, dword [edi]
imul eax, eax, 0x58
mov edx, dword [ecx + 0x4b8]
mov ecx, dword [ecx + 0x1464]
push edx
add ecx, eax
mov dword [ebp - 0xe38], edx
mov dword [ebp - 0xe30], eax
call fcn.0041b9e0
test eax, eax
jns 0x42f3c3
push dword [ebp - 0xe38]
push str.Could_not_find_index_for__s_n
call fcn.004012d0
mov eax, dword [edi]
sub esp, 0x24
mov edx, dword [ebp - 0xe30]
mov ecx, esp
lea esi, [eax + 0x478]
mov eax, dword [eax + 0x1464]
push dword [eax + edx + 0x3c]
call fcn.00425990
mov ecx, esi
call fcn.0041c060
mov ecx, dword [edi]
mov edx, dword [ebp - 0xe30]
mov eax, dword [ecx + 0x1464]
add ecx, 0x4b8
push dword [eax + edx + 0x3c]
call fcn.004534a0
mov esi, dword [ebp - 0xe50]
mov ecx, dword [edi]
add ecx, 0x478
call fcn.004415f0
lea eax, [ebp - 0xe44]
mov dword [ebp - 0xe2c], 0
push eax
lea eax, [ebp - 0xe48]
push eax
mov eax, dword [edi]
push 0
push 0
push dword [eax + 0x8c8]
call dword [sym.imp.SDL2.dll_SDL_QueryTexture]
mov edx, dword [edi]
xor ecx, ecx
shl esi, 6
add esp, 0x14
mov dword [ebp - 0xe3c], ecx
mov dword [ebp - 0xe50], esi
mov eax, dword [edx + 0x454]
mov ecx, dword [eax + esi + 0x38]
sub ecx, dword [eax + esi + 0x34]
sar ecx, 4
imul eax, ecx, 0xaaaaaaab
test eax, eax
je 0x42f584
mov dword [ebp - 0xe34], 0
nop dword [eax]
mov eax, dword [edx + 0x454]
mov ecx, dword [eax + esi + 0x34]
add ecx, dword [ebp - 0xe34]
call fcn.00444d80
test al, al
je 0x42f552
mov ecx, dword [edi]
mov eax, dword [ebp - 0xe48]
mov dword [ebp - 0xe54], 0
mov dword [ebp - 0xe40], 0
sub eax, dword [ecx + 0x50c]
push eax
mov eax, dword [ecx + 0x454]
mov ecx, dword [ebp - 0xe34]
mov eax, dword [eax + esi + 0x34]
push dword [eax + ecx + 0x10]
mov ecx, dword [edi + 0x778]
lea eax, [ebp - 0x1c]
push eax
call fcn.0041cb40
mov eax, dword [ebp - 0x18]
xor ecx, ecx
sub eax, dword [ebp - 0x1c]
sar eax, 2
imul edx, eax, 0xcccccccd
mov dword [ebp - 0xe30], edx
cmp edx, 2
jb 0x42f50e
mov ecx, dword [ebp - 0x1c]
add edx, 0xfffffffe
mov eax, dword [edi]
add ecx, 0x18
shr edx, 1
inc edx
mov esi, dword [eax + 0x510]
lea eax, [edx + edx]
mov dword [ebp - 0xe38], eax
nop dword [eax]
mov eax, dword [ecx - 0x14]
lea ecx, [ecx + 0x28]
add eax, esi
add dword [ebp - 0xe54], eax
mov eax, dword [ecx - 0x28]
add eax, esi
add dword [ebp - 0xe40], eax
sub edx, 1
jne 0x42f4e0
mov ecx, dword [ebp - 0xe38]
cmp ecx, dword [ebp - 0xe30]
jb 0x42f520
jmp 0x42f532
test edx, edx
je 0x42f538
mov eax, dword [edi]
mov esi, dword [eax + 0x510]
nop word [eax + eax]
lea eax, [ecx + ecx*4]
mov ecx, dword [ebp - 0x1c]
mov eax, dword [ecx + eax*4 + 4]
add eax, esi
add dword [ebp - 0xe2c], eax
mov esi, dword [ebp - 0xe50]
mov eax, dword [ebp - 0xe54]
lea ecx, [ebp - 0x1c]
add eax, dword [ebp - 0xe40]
add dword [ebp - 0xe2c], eax
call fcn.00454850
mov edx, dword [edi]
inc dword [ebp - 0xe3c]
add dword [ebp - 0xe34], 0x30
mov eax, dword [edx + 0x454]
mov ecx, dword [eax + esi + 0x38]
sub ecx, dword [eax + esi + 0x34]
sar ecx, 4
imul eax, ecx, 0xaaaaaaab
cmp dword [ebp - 0xe3c], eax
jb 0x42f440
movsd xmm1, qword [0x4af3b8]
mov eax, 0xc4
sub eax, dword [edx + 0x514]
xorps xmm4, xmm4
movd xmm0, eax
cvtdq2pd xmm0, xmm0
movsd qword [edx + 0x558], xmm0
mov eax, dword [edi]
cmp byte [eax + 0xa60], 0
je 0x42f5dd
movsd xmm0, qword [eax + 0x500]
subsd xmm0, xmm1
movsd qword [eax + 0x500], xmm0
mov eax, dword [edi]
comisd xmm4, xmmword [eax + 0x500]
jbe 0x42f5dd
movsd qword [eax + 0x500], xmm4
mov eax, dword [edi]
mov edx, dword [ebp - 0xe2c]
cmp byte [eax + 0xa61], 0
je 0x42f63e
movsd xmm0, qword [eax + 0x500]
addsd xmm0, xmm1
movd xmm1, edx
cvtdq2pd xmm1, xmm1
movsd qword [eax + 0x500], xmm0
mov eax, dword [edi]
subsd xmm1, qword [eax + 0x558]
movsd xmm0, qword [eax + 0x500]
comisd xmm0, xmm1
jbe 0x42f63e
movsd qword [eax + 0x500], xmm1
mov eax, dword [edi]
comisd xmm4, xmmword [eax + 0x500]
jbe 0x42f63e
movsd qword [eax + 0x500], xmm4
mov eax, dword [edi]
movsd xmm1, qword [0x4af3e8]
cmp byte [eax + 0xa63], 0
je 0x42f679
movsd xmm0, qword [eax + 0x500]
subsd xmm0, xmm1
movsd qword [eax + 0x500], xmm0
mov eax, dword [edi]
comisd xmm4, xmmword [eax + 0x500]
jbe 0x42f679
movsd qword [eax + 0x500], xmm4
mov eax, dword [edi]
cmp byte [eax + 0xa62], 0
je 0x42f6d4
movsd xmm0, qword [eax + 0x500]
addsd xmm0, xmm1
movd xmm1, edx
cvtdq2pd xmm1, xmm1
movsd qword [eax + 0x500], xmm0
mov eax, dword [edi]
subsd xmm1, qword [eax + 0x558]
movsd xmm0, qword [eax + 0x500]
comisd xmm0, xmm1
jbe 0x42f6d4
movsd qword [eax + 0x500], xmm1
mov eax, dword [edi]
comisd xmm4, xmmword [eax + 0x500]
jbe 0x42f6d4
movsd qword [eax + 0x500], xmm4
mov ecx, dword [ebp - 0xe48]
xorps xmm1, xmm1
movsd xmm2, qword [edi + 0xa8]
mov eax, ecx
neg eax
movd xmm0, eax
cvtdq2pd xmm0, xmm0
call fcn.00469e00
cvttsd2si eax, xmm0
add ecx, 0xfffffff1
sub esp, 0x10
add eax, ecx
movd xmm0, eax
mov eax, dword [edi]
cvtdq2pd xmm0, xmm0
movsd qword [eax + 0x528], xmm0
mov ecx, dword [edi]
mov eax, dword [ecx + 0x514]
add eax, 0x23
movd xmm0, eax
cvtdq2pd xmm0, xmm0
movsd qword [ecx + 0x530], xmm0
mov eax, dword [edi]
movd xmm0, edx
cvtdq2pd xmm0, xmm0
movsd qword [eax + 0x538], xmm4
mov eax, dword [edi]
movsd qword [eax + 0x548], xmm0
mov eax, dword [edi]
movsd xmm0, qword [eax + 0x500]
movsd qword [eax + 0x540], xmm0
mov ecx, dword [edi]
mov al, byte [ecx + 0xa85]
movss xmm0, dword [ecx + 0xa5c]
mov byte [ebp - 0xe64], al
mov al, byte [ecx + 0xaa5]
mov byte [ebp - 0xe63], al
mov eax, dword [ecx + 0xa90]
mov dword [ebp - 0xe60], eax
mov eax, dword [ecx + 0xa94]
add ecx, 0x520
mov dword [ebp - 0xe5c], eax
mov eax, esp
movss dword [ebp - 0xe58], xmm0
movups xmm0, xmmword [ebp - 0xe64]
movups xmmword [eax], xmm0
call fcn.004196c0
mov eax, dword [edi]
mov byte [ebp - 0xe25], 0
movsd xmm0, qword [eax + 0x540]
movsd qword [eax + 0x500], xmm0
mov eax, dword [edi]
mov ecx, eax
mov edx, eax
cmp byte [eax + 0xa82], 0
je 0x42f818
cmp byte [eax + 0xaa2], 0
jne 0x42f818
dec dword [eax + 0x460]
mov ecx, dword [edi]
mov edx, ecx
cmp dword [ecx + 0x460], 0
jge 0x42f814
mov eax, dword [ecx + 0x58c]
sub eax, dword [ecx + 0x588]
sar eax, 6
dec eax
mov dword [ecx + 0x460], eax
mov ecx, dword [edi]
mov edx, ecx
mov al, 1
jmp 0x42f81e
mov al, byte [ebp - 0xe25]
cmp byte [ecx + 0xa81], 0
je 0x42f857
cmp byte [ecx + 0xaa1], 0
jne 0x42f857
mov esi, dword [ecx + 0x58c]
sub esi, dword [ecx + 0x588]
sar esi, 6
test esi, esi
jle 0x42f85b
mov eax, dword [ecx + 0x460]
inc eax
cdq
idiv esi
mov dword [ecx + 0x460], edx
mov edx, dword [edi]
jmp 0x42f85b
test al, al
je 0x42f88c
mov ecx, dword [edx + 0x460]
test ecx, ecx
js 0x42f88c
mov eax, dword [edx + 0x58c]
mov esi, dword [edx + 0x588]
sub eax, esi
sar eax, 6
cmp ecx, eax
jae 0x42f88c
shl ecx, 6
push dword [ecx + esi + 4]
lea ecx, [edx + 0x450]
call fcn.00444e00
cmp byte [ebp - 0xe26], 0
je 0x430032
mov eax, dword [edi]
push 0xffffffffffffffff
push 0
push dword [eax + 0x884]
push 0xffffffffffffffff
call dword [sym.imp.SDL2_mixer.dll_Mix_PlayChannelTimed]
add esp, 0x10
mov eax, dword [edi]
mov ecx, edi
mov dword [eax + 0x464], 0
call fcn.00445640
mov ecx, edi
call fcn.00446090
jmp 0x430032
cmp byte [ecx + 0xa7d], 0
je 0x42f8e1
cmp byte [ecx + 0xa9d], 0
je 0x42f8f3
cmp byte [ecx + 0xa86], 0
je 0x42f8fd
cmp byte [ecx + 0xaa6], 0
jne 0x42f8fd
mov dword [edi + 0x730], 5
mov ecx, edi
call fcn.00445640
mov ecx, dword [edi]
mov eax, dword [ecx + 0x58c]
sub eax, dword [ecx + 0x588]
sar eax, 6
lea edx, [eax - 1]
mov esi, edx
shr esi, 1
test al, 1
je 0x42f973
cmp dword [ecx + 0x460], edx
jb 0x42f973
xor al, al
cmp byte [ecx + 0xa63], al
je 0x42f944
cmp byte [ecx + 0xa9b], 0
mov edx, 1
movzx eax, al
cmove eax, edx
cmp byte [ecx + 0xa62], 0
je 0x42f958
cmp byte [ecx + 0xa9a], 0
jne 0x42f958
xor al, 1
test al, al
je 0x42f9a7
mov eax, dword [ecx + 0x460]
cdq
sub eax, edx
sar eax, 1
test eax, eax
jle 0x42f9a7
dec dword [ecx + 0x460]
jmp 0x42f9a7
cmp byte [ecx + 0xa63], 0
je 0x42f98c
cmp byte [ecx + 0xa9b], 0
jne 0x42f98c
xor dword [ecx + 0x460], 1
mov eax, dword [edi]
cmp byte [eax + 0xa62], 0
je 0x42f9a7
cmp byte [eax + 0xa9a], 0
jne 0x42f9a7
xor dword [eax + 0x460], 1
test esi, esi
je 0x42fae5
mov esi, dword [edi]
cmp byte [esi + 0xa60], 0
je 0x42fa49
cmp byte [esi + 0xa98], 0
jne 0x42fa49
mov eax, dword [esi + 0x58c]
sub eax, dword [esi + 0x588]
mov ecx, dword [esi + 0x460]
sar eax, 6
inc eax
and eax, 0xfffffffe
mov dword [ebp - 0xe30], eax
mov eax, ecx
cdq
add ecx, 0xfffffffe
sub eax, edx
mov dword [esi + 0x460], ecx
sar eax, 1
jne 0x42fa0c
mov eax, dword [edi]
mov ecx, dword [ebp - 0xe30]
add dword [eax + 0x460], ecx
jmp 0x42fa29
mov edx, dword [edi]
mov eax, dword [edx + 0x460]
test eax, eax
jns 0x42fa49
mov ecx, dword [ebp - 0xe30]
add ecx, 2
add eax, ecx
mov dword [edx + 0x460], eax
mov ecx, dword [edi]
mov eax, dword [ecx + 0x58c]
sub eax, dword [ecx + 0x588]
sar eax, 6
cmp dword [ecx + 0x460], eax
jb 0x42fa49
dec eax
mov dword [ecx + 0x460], eax
mov eax, dword [edi]
cmp byte [eax + 0xa61], 0
je 0x42fae5
cmp byte [eax + 0xa99], 0
jne 0x42fae5
mov esi, dword [eax + 0x58c]
sub esi, dword [eax + 0x588]
mov ecx, dword [eax + 0x460]
mov eax, ecx
sar esi, 6
add ecx, 2
cdq
sub eax, edx
sar eax, 1
lea edx, [esi - 1]
mov esi, dword [edi]
shr edx, 1
mov dword [esi + 0x460], ecx
cmp eax, edx
jb 0x42fac5
mov edx, dword [edi]
mov eax, dword [edx + 0x58c]
sub eax, dword [edx + 0x588]
mov ecx, dword [edx + 0x460]
sar eax, 6
cmp ecx, eax
jb 0x42fae5
and ecx, 0x80000001
jns 0x42fabd
dec ecx
or ecx, 0xfffffffe
inc ecx
mov dword [edx + 0x460], ecx
jmp 0x42fae5
mov ecx, dword [edi]
mov eax, dword [ecx + 0x58c]
sub eax, dword [ecx + 0x588]
sar eax, 6
cmp dword [ecx + 0x460], eax
jb 0x42fae5
dec eax
mov dword [ecx + 0x460], eax
mov ecx, edi
call fcn.00446090
mov ecx, dword [ebp - 0xe54]
mov byte [ebp - 0xe27], al
mov eax, dword [edi]
cmp dword [eax + 0x460], ecx
je 0x42fb16
movd xmm0, dword [edi + 0x80]
cvtdq2pd xmm0, xmm0
movsd qword [eax + 0x470], xmm0
mov edx, dword [edi]
xor cl, cl
mov byte [ebp - 0xe25], cl
xor ecx, ecx
mov dword [ebp - 0xe30], ecx
mov eax, dword [edx + 0x58c]
sub eax, dword [edx + 0x588]
sar eax, 6
test eax, eax
je 0x430032
xor esi, esi
mov dword [ebp - 0xe54], esi
nop word [eax + eax]
cmp ecx, dword [edx + 0x460]
jne 0x42fc10
mov eax, dword [edx + 0x588]
lea ecx, [edx + 0xab8]
push dword [eax + esi + 0x28]
lea eax, [ebp - 0xe8c]
push eax
call fcn.0041d7f0
mov dword [ebp - 4], 0xb
mov ecx, edi
mov eax, dword [ebp - 0xe8c]
mov esi, dword [eax]
call fcn.00441aa0
add esi, eax
mov eax, dword [edi]
movsd xmm0, qword [eax + 0x470]
addsd xmm0, qword [0x4af3a8]
movd xmm1, esi
cvtdq2pd xmm1, xmm1
movsd qword [eax + 0x470], xmm0
mov eax, dword [edi]
movsd xmm0, qword [eax + 0x470]
comisd xmm0, xmm1
jb 0x42fbce
subsd xmm0, xmm1
movsd qword [eax + 0x470], xmm0
mov eax, dword [edi]
cmp byte [eax + 0xa7c], 0
je 0x42fbe2
cmp byte [eax + 0xa9c], 0
je 0x42fbeb
cmp byte [ebp - 0xe27], 0
je 0x42fbf2
mov byte [ebp - 0xe25], 1
lea ecx, [ebp - 0xe8c]
mov dword [ebp - 4], 0xffffffff
call fcn.00450a10
mov ecx, dword [ebp - 0xe30]
mov esi, dword [ebp - 0xe54]
mov edx, dword [edi]
inc ecx
add esi, 0x40
mov dword [ebp - 0xe30], ecx
mov dword [ebp - 0xe54], esi
mov eax, dword [edx + 0x58c]
sub eax, dword [edx + 0x588]
sar eax, 6
cmp ecx, eax
jb 0x42fb50
cmp byte [ebp - 0xe25], 0
je 0x430032
push 0xffffffffffffffff
push 0
push dword [edx + 0x888]
push 0xffffffffffffffff
call dword [sym.imp.SDL2_mixer.dll_Mix_PlayChannelTimed]
mov eax, dword [edi]
add esp, 0x10
mov dword [eax + 0x464], 1
mov edx, dword [edi]
mov ecx, dword [edx + 0x460]
mov eax, dword [edx + 0x588]
shl ecx, 6
push dword [ecx + eax + 4]
lea ecx, [edx + 0x450]
call fcn.00444e00
mov dword [edi + 0x730], 4
jmp 0x430032
mov ecx, dword [edi]
cmp byte [ecx + 0xa7e], 0
je 0x42fcae
cmp byte [ecx + 0xa9e], 0
jne 0x42fcae
mov dl, 1
jmp 0x42fcb0
xor dl, dl
cmp eax, 6
jne 0x42fd0d
movsd xmm1, qword [0x4af3b0]
mov byte [ecx + 0x3cb], 1
mov eax, dword [edi]
movsd xmm0, qword [eax + 0x5e8]
addsd xmm0, qword [0x4af368]
movsd qword [eax + 0x5e8], xmm0
mov eax, dword [edi]
movsd xmm0, qword [eax + 0x5e8]
comisd xmm0, xmm1
jbe 0x42fcf6
movsd qword [eax + 0x5e8], xmm1
test dl, dl
je 0x42fd8a
mov dword [edi + 0x730], 7
jmp 0x42fd8a
cmp eax, 7
jne 0x42fd8a
mov byte [ecx + 0x3cb], 1
mov eax, dword [edi]
movsd xmm0, qword [eax + 0x5e8]
subsd xmm0, qword [0x4af368]
movsd qword [eax + 0x5e8], xmm0
test dl, dl
je 0x42fd43
mov dword [edi + 0x730], 6
jmp 0x42fd8a
mov eax, dword [edi]
xorps xmm0, xmm0
comisd xmm0, xmmword [eax + 0x5e8]
jbe 0x42fd8a
cmp dword [eax + 0x658], 0x71
jge 0x42fd64
cmp byte [eax + 0x3c9], 0
jne 0x42fd8a
movsd qword [eax + 0x5e8], xmm0
mov ecx, dword [edi]
movsd xmm0, qword [0x4af510]
mov eax, dword [ecx + 0x5dc]
mov dword [edi + 0x730], eax
movsd qword [ecx + 0x640], xmm0
mov eax, dword [edi]
mov ecx, 0xc2
cmp dword [eax + 0x5dc], 1
jne 0x42fda3
mov ecx, edi
call fcn.0041eee0
mov ecx, eax
lea eax, [ecx - 0x20]
mov ecx, dword [edi]
add ecx, 0x5d8
mov dword [ebp - 0xe30], eax
call fcn.00449c40
mov ecx, dword [edi]
mov edx, eax
movsd xmm2, qword [0x4af3b8]
xorps xmm1, xmm1
cmp byte [ecx + 0xa61], 0
je 0x42fdf9
movsd xmm0, qword [ecx + 0x5e0]
subsd xmm0, xmm2
movsd qword [ecx + 0x5e0], xmm0
mov eax, dword [edi]
comisd xmm1, xmmword [eax + 0x5e0]
jbe 0x42fdf9
movsd qword [eax + 0x5e0], xmm1
mov eax, dword [edi]
mov ecx, dword [ebp - 0xe30]
cmp byte [eax + 0xa60], 0
je 0x42fe56
movsd xmm0, qword [eax + 0x5e0]
addsd xmm0, xmm2
movsd qword [eax + 0x5e0], xmm0
mov eax, edx
mov esi, dword [edi]
sub eax, ecx
movsd xmm0, qword [esi + 0x5e0]
movd xmm2, eax
cvtdq2pd xmm2, xmm2
comisd xmm0, xmm2
jbe 0x42fe56
movsd qword [esi + 0x5e0], xmm2
mov eax, dword [edi]
comisd xmm1, xmmword [eax + 0x5e0]
jbe 0x42fe56
movsd qword [eax + 0x5e0], xmm1
mov eax, dword [edi]
movsd xmm2, qword [0x4af3e8]
cmp byte [eax + 0xa62], 0
je 0x42fe91
movsd xmm0, qword [eax + 0x5e0]
subsd xmm0, xmm2
movsd qword [eax + 0x5e0], xmm0
mov eax, dword [edi]
comisd xmm1, xmmword [eax + 0x5e0]
jbe 0x42fe91
movsd qword [eax + 0x5e0], xmm1
mov eax, dword [edi]
cmp byte [eax + 0xa63], 0
je 0x42fee8
movsd xmm0, qword [eax + 0x5e0]
addsd xmm0, xmm2
movsd qword [eax + 0x5e0], xmm0
mov eax, edx
mov esi, dword [edi]
sub eax, ecx
movsd xmm0, qword [esi + 0x5e0]
movd xmm2, eax
cvtdq2pd xmm2, xmm2
comisd xmm0, xmm2
jbe 0x42fee8
movsd qword [esi + 0x5e0], xmm2
mov eax, dword [edi]
comisd xmm1, xmmword [eax + 0x5e0]
jbe 0x42fee8
movsd qword [eax + 0x5e0], xmm1
mov eax, dword [edi]
mov esi, edx
movsd xmm0, qword [0x4af4b8]
sub esi, ecx
push ecx
push edx
movsd qword [eax + 0x600], xmm0
mov eax, dword [edi]
movsd xmm0, qword [0x4af418]
push str.Blurb_Height:__d_nView_Height:__d_n
movsd qword [eax + 0x608], xmm0
mov eax, dword [edi]
movd xmm0, edx
cvtdq2pd xmm0, xmm0
movsd qword [eax + 0x610], xmm1
mov eax, dword [edi]
movsd qword [eax + 0x620], xmm0
mov eax, dword [edi]
movd xmm0, ecx
cvtdq2pd xmm0, xmm0
movsd qword [eax + 0x630], xmm0
mov eax, dword [edi]
movd xmm0, esi
cvtdq2pd xmm0, xmm0
subsd xmm0, qword [eax + 0x5e0]
movsd qword [eax + 0x618], xmm0
call fcn.004012d0
mov eax, dword [edi]
push ecx
movsd xmm0, qword [eax + 0x618]
movsd qword [esp + 8], xmm0
movsd xmm0, qword [eax + 0x5e0]
movsd qword [esp], xmm0
push str.BACKLOG_SCROLL:__f_nSCROLLBAR_SCROLL:__f_n
call fcn.004012d0
mov ecx, dword [edi]
add esp, 4
mov al, byte [ecx + 0xa85]
movss xmm0, dword [ecx + 0xa5c]
mov byte [ebp - 0xe64], al
mov al, byte [ecx + 0xaa5]
mov byte [ebp - 0xe63], al
mov eax, dword [ecx + 0xa90]
mov dword [ebp - 0xe60], eax
mov eax, dword [ecx + 0xa94]
add ecx, 0x5f8
mov dword [ebp - 0xe5c], eax
mov eax, esp
movss dword [ebp - 0xe58], xmm0
movups xmm0, xmmword [ebp - 0xe64]
movups xmmword [eax], xmm0
call fcn.004196c0
mov eax, dword [edi]
movd xmm0, esi
cvtdq2pd xmm0, xmm0
subsd xmm0, qword [eax + 0x618]
movsd qword [eax + 0x5e0], xmm0
mov eax, dword [edi]
cmp byte [eax + 0xa7d], 0
je 0x430016
cmp byte [eax + 0xa9d], 0
je 0x430028
cmp byte [eax + 0xa86], 0
je 0x430032
cmp byte [eax + 0xaa6], 0
jne 0x430032
mov dword [edi + 0x730], 7
mov eax, dword [edi + 0x730]
mov cl, 1
cmp eax, 0xa
ja case.0x43004a.9
movzx eax, byte [eax + 0x430228]
jmp dword [eax*4 + 0x430218]
mov al, byte [edi + 0x74c]
test al, al
jne 0x43005e
mov byte [edi + 0x4c], al
cmp byte [edi + 0x4c], 0
mov ecx, dword [edi + 0x48]
je 0x43006e
test ecx, ecx
sete cl
jmp case.0x43004a.9
test al, al
sete byte [ebp - 0xe26]
test ecx, ecx
jg 0x4300dc
mov eax, dword [edi + 0x80c]
mov esi, dword [edi + 0x808]
sub eax, esi
sar eax, 2
imul eax, eax, 0xaaaaaaab
mov byte [ebp - 0xe27], 1
mov dword [ebp - 0xe38], eax
test eax, eax
je 0x4300d5
mov al, byte [ebp - 0xe27]
mov edi, dword [ebp - 0xe38]
nop
mov ecx, dword [esi + 4]
lea esi, [esi + 0xc]
sub ecx, dword [esi - 0xc]
xor edx, edx
cmp ecx, 1
movzx eax, al
cmovbe edx, eax
mov al, dl
sub edi, 1
jne 0x4300b0
mov edi, dword [ebp - 0xe4c]
test al, al
je 0x4300dc
mov byte [ebp - 0xe26], 1
mov cl, byte [ebp - 0xe26]
mov al, byte [edi + 0xb0]
test cl, cl
je 0x430106
cmp al, 0x90
jbe 0x430130
sub al, 0x10
mov byte [edi + 0xb0], al
mov al, 1
jmp 0x430169
mov al, byte [edi + 0xb0]
mov byte [edi + 0x4c], 0
cmp al, 0xef
jae 0x43013c
add al, 0x10
mov byte [edi + 0xb0], al
mov al, 1
mov dword [edi + 0x48], 0xb4
jmp 0x430169
mov al, byte [edi + 0xb0]
mov byte [edi + 0x4c], 0
mov dword [edi + 0x48], 0
jmp 0x4300ec
mov al, 0x80
mov byte [edi + 0xb0], al
mov al, 1
jmp 0x430169
or al, 0xff
mov byte [edi + 0xb0], al
mov al, 1
mov dword [edi + 0x48], 0xb4
jmp 0x430169
push eax
push str.Tried_to_run_an_undefined_textbox_RunFrame_state:__d_n
call fcn.004012d0
mov dword [edi + 0x730], 0
add esp, 8
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0046b159
mov esp, ebp
pop ebp
ret
call fcn.0047bdf3
call fcn.0046b28e
nop
fmulp st(2)
inc edx
add al, ah
fadd dword [edx]
ljmp 0x42df