Function at 0x404960
Capabilities:
Resume thread

Disassembly:
push 0xffffffffffffffff
push 0x47eb4e
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14
push ebp
push esi
push edi
mov esi, ecx
push 1
push ecx
mov ecx, esp
mov dword [esp + 0x14], esp
push str.Interpretiraj
call fcn.00471554
lea edi, [esi + 0x1b4]
mov ecx, edi
call fcn.0042a8c0
mov ebp, dword [esp + 0x34]
push 1
push ecx
test ebp, ebp
mov ecx, esp
je 0x404a99
mov dword [esp + 0x38], esp
push str.Thread_kill
call fcn.00471554
mov ecx, edi
call fcn.0042a8c0
mov ecx, dword [esi + 0x138]
test ecx, ecx
je 0x4049ed
call fcn.004024e0
mov ecx, dword [esi + 0x138]
test ecx, ecx
je 0x4049e3
mov eax, dword [ecx]
push 1
call dword [eax + 4]
mov dword [esi + 0x138], 0
push 1
push ecx
mov ecx, esp
mov dword [esp + 0x38], esp
push str.Scenario_kill
call fcn.00471554
mov ecx, edi
call fcn.0042a8c0
mov ecx, dword [0x4a3630]
test ecx, ecx
je 0x404a4a
mov edx, dword [ecx]
push 1
call dword [edx + 4]
push 0x20
call fcn.004704db
add esp, 4
mov dword [esp + 0x34], eax
test eax, eax
mov dword [esp + 0x28], 0
je 0x404a3b
mov ecx, eax
call section..text
jmp 0x404a3d
xor eax, eax
mov dword [esp + 0x28], 0xffffffff
mov dword [0x4a3630], eax
push 1
push ecx
mov ecx, esp
mov dword [esp + 0x38], esp
push str.Scenario_reload
call fcn.00471554
mov ecx, edi
call fcn.0042a8c0
push 0
push ebp
mov ecx, esi
call fcn.004043e0
test eax, eax
je 0x404c12
lea eax, [esp + 0x30]
push eax
call fcn.0046f573
mov eax, dword [eax]
mov ecx, esi
push eax
push str.LastUpdate
push 0x499458
call fcn.0047894d
jmp 0x404b41
mov dword [esp + 0x14], esp
push str.Kreiraj_SSWnd
call fcn.00471554
mov ecx, edi
call fcn.0042a8c0
push 0xf0
call fcn.004704db
add esp, 4
mov dword [esp + 0x34], eax
test eax, eax
mov dword [esp + 0x28], 1
je 0x404ade
mov ebp, dword [esp + 0x38]
test ebp, ebp
setne cl
push ecx
mov ecx, eax
call fcn.00405720
jmp 0x404ae0
xor eax, eax
lea edx, [esp + 0x10]
mov dword [esp + 0x28], 0xffffffff
push edx
mov dword [esi + 0x1c], eax
call fcn.00453210
mov eax, dword [esp + 0x20]
mov edx, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
sub eax, edx
mov edx, dword [esp + 0x1c]
add esp, 4
sub edx, ecx
mov ecx, dword [esi + 0x1c]
test ecx, ecx
je 0x404c04
push 0
push 0
push 0
push eax
mov eax, dword [esp + 0x40]
push edx
push 0
push 0
push 0x90000000
push 0
push eax
push 0x88
call fcn.00472da6
test eax, eax
je 0x404c04
push 1
push ecx
mov ecx, esp
mov dword [esp + 0x38], esp
push str.Startuj_scene_tred
call fcn.00471554
mov ecx, edi
call fcn.0042a8c0
push 0xf4
call fcn.004704db
add esp, 4
mov dword [esp + 0x30], eax
test eax, eax
mov dword [esp + 0x28], 2
je 0x404b9e
lea ecx, [esp + 0x38]
lea edx, [esp + 0x34]
push ecx
push edx
mov edx, dword [esi + 0x1c]
lea ecx, [esi + 0x154]
push ecx
push edx
mov ecx, eax
mov dword [esp + 0x44], 0
call fcn.00401d60
jmp 0x404ba0
xor eax, eax
test eax, eax
mov dword [esp + 0x28], 0xffffffff
mov dword [esi + 0x138], eax
jne 0x404bbc
mov ecx, dword [esi + 0x1c]
mov eax, dword [ecx]
call dword [eax + 0x58]
jmp 0x404c12
push 0
push 0
push 4
mov ecx, eax
call fcn.00470c38
mov ecx, dword [esi + 0x138]
push 0
mov edx, dword [ecx + 0x28]
push edx
call dword [sym.imp.KERNEL32.dll_SetThreadPriority]
mov eax, dword [esi + 0x138]
mov ecx, dword [eax + 0x28]
push ecx
call dword [sym.imp.KERNEL32.dll_ResumeThread]
mov eax, 1
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebp
add esp, 0x20
ret 0xc
mov ecx, dword [esi + 0x1c]
test ecx, ecx
je 0x404c12
mov edx, dword [ecx]
push 1
call dword [edx + 4]
mov ecx, dword [esp + 0x20]
pop edi
pop esi
xor eax, eax
mov dword fs:[0], ecx
pop ebp
add esp, 0x20
ret 0xc