Function at 0x1005c890
Capabilities:
Terminate process

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10109d53
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x1b0
mov eax, dword [0x10195134]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x14c], esi
call fcn.1005cba0
mov eax, dword [0x10199ab0]
push 0
call eax
mov ecx, eax
add esp, 4
test ecx, ecx
je 0x1005c931
mov eax, dword [0x10199b08]
push 0
push ecx
call eax
mov ecx, eax
add esp, 8
test ecx, ecx
je 0x1005c951
mov edi, dword [ecx]
mov eax, dword [edi + 0x58]
test eax, eax
je 0x1005c911
mov edx, dword [eax + 4]
jmp 0x1005c913
xor edx, edx
push dword [edi + edx*8 + 0x120]
mov eax, dword [edi + edx*8 + 0x11c]
push ecx
call eax
add esp, 8
mov dword [esi], eax
test eax, eax
je 0x1005ca6d
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.100da971
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
push ecx
lea ecx, [ebp - 0xb0]
call fcn.10008200
push ecx
lea ecx, [ebp - 0xb0]
call fcn.10008c20
mov edx, 0x1013c24c
mov dword [ebp - 4], 0
lea ecx, [ebp - 0xb0]
call fcn.100107d0
mov edx, str.logic___nullptr
mov ecx, eax
call fcn.100107d0
mov edx, 0x1013c2e8
mov ecx, eax
call fcn.100107d0
lea eax, [ebp - 0x1b8]
push eax
lea ecx, [ebp - 0xb0]
call fcn.1000cbd0
lea ecx, [ebp - 0x150]
push ecx
mov ecx, eax
call fcn.10018800
lea ecx, [ebp - 0x1a0]
mov edi, dword [eax]
mov esi, dword [eax + 4]
call fcn.10009390
push 0x1013c264
mov edx, eax
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x188]
call fcn.1001b0a0
add esp, 4
push 0x1013c250
mov edx, eax
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x170]
call fcn.1001b0a0
add esp, 4
lea ecx, [ebp - 0x158]
mov byte [ebp - 4], 4
push ecx
mov ecx, eax
call fcn.10018800
push esi
push edi
push dword [eax + 4]
push dword [eax]
call fcn.10045a60
lea ecx, [ebp - 0x170]
call fcn.10018c10
lea ecx, [ebp - 0x188]
call fcn.10018c10
lea ecx, [ebp - 0x1a0]
call fcn.10018c10
lea ecx, [ebp - 0x1b8]
call fcn.10018c10
lea ecx, [ebp - 0xb0]
call fcn.10008170
push 0x376
push 0x1013c26c
push 0x1013c1fc
call fcn.100e369b
add esp, 0xc
push 1
call fcn.100e3c86
push ecx
lea ecx, [ebp - 0x148]
call fcn.10008200
push ecx
lea ecx, [ebp - 0x148]
call fcn.10008c20
mov edx, 0x1013c248
mov dword [ebp - 4], 5
lea ecx, [ebp - 0x148]
call fcn.100107d0
mov edx, 0x1013c234
mov ecx, eax
call fcn.100107d0
mov edx, 0x1013c220
mov ecx, eax
call fcn.100107d0
lea eax, [ebp - 0x170]
push eax
lea ecx, [ebp - 0x148]
call fcn.1000cbd0
lea ecx, [ebp - 0x158]
push ecx
mov ecx, eax
call fcn.10018800
lea ecx, [ebp - 0x188]
mov edi, dword [eax]
mov esi, dword [eax + 4]
call fcn.10009390
push 0x1013c3e8
mov edx, eax
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x1a0]
call fcn.1001b0a0
add esp, 4
push str.GameLogicOptions
mov edx, eax
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x1b8]
call fcn.1001b0a0
add esp, 4
lea ecx, [ebp - 0x1c0]
mov byte [ebp - 4], 9
push ecx
mov ecx, eax
call fcn.10018800
push esi
push edi
push dword [eax + 4]
push dword [eax]
call fcn.10045a60
lea ecx, [ebp - 0x1b8]
call fcn.10018c10
lea ecx, [ebp - 0x1a0]
call fcn.10018c10
lea ecx, [ebp - 0x188]
call fcn.10018c10
lea ecx, [ebp - 0x170]
call fcn.10018c10
lea ecx, [ebp - 0x148]
call fcn.10008170
mov eax, dword [ebp - 0x14c]
cmp dword [eax], 0
jne 0x1005cb8d
push 0x379
push str.userutility.cpp
push str._options___nullptr
call fcn.100e369b
add esp, 0xc
push 1
call fcn.100e3c86
int3