Function at 0x100d29c0
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x80
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
test esi, esi
je 0x100d2aaf
cmp dword [esi + 0xcc], 0
mov ebx, dword [ebp + 0xc]
je 0x100d29ef
cmp ebx, 0x218
jne 0x100d2aaf
mov edi, dword [ebp + 0x10]
lea eax, [ebx - 0x202]
cmp eax, 0x15
ja case.0x100d2a01.527
jmp dword [eax*4 + 0x100d2da0]
mov eax, dword [esi + 0x38]
test al, 8
je 0x100d2aaf
and eax, 0xffffffb7
jmp 0x100d2ba4
mov eax, dword [esi + 0x38]
test al, 8
jne 0x100d2aaf
or eax, 8
jmp 0x100d2ba4
and dword [esi + 0x38], 0xfffffffb
jmp case.0x100d2a01.527
mov ecx, dword [esi + 0x38]
mov eax, dword [ebp + 0x14]
mov dword [esi + 0x74], 0
mov dword [esi + 0x78], 0
test cl, 1
jne 0x100d2a66
mov dword [esi + 0x50], edi
mov dword [esi + 0x54], eax
test cl, cl
js 0x100d2a66
cmp dword [esi + 0x70], 0
jne 0x100d2a66
mov dword [esi + 0x60], edi
mov dword [esi + 0x64], eax
cmp edi, dword [esi + 0x10]
jne 0x100d2a70
cmp eax, dword [esi + 0x14]
je 0x100d2aaf
mov dword [esi + 0x10], edi
mov dword [esi + 0x14], eax
jmp case.0x100d2a01.527
mov ecx, dword [esi + 0x38]
mov eax, dword [ebp + 0x14]
test cl, 1
jne 0x100d2a9c
mov dword [esi + 0x58], edi
mov dword [esi + 0x5c], eax
test cl, cl
js 0x100d2a9c
cmp dword [esi + 0x70], 0
jne 0x100d2a9c
mov dword [esi + 0x68], edi
mov dword [esi + 0x6c], eax
cmp edi, dword [esi + 0x18]
jne 0x100d2ab8
cmp eax, dword [esi + 0x1c]
jne 0x100d2ab8
push esi
call fcn.100c6890
add esp, 4
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
mov dword [esi + 0x18], edi
mov dword [esi + 0x1c], eax
jmp case.0x100d2a01.527
mov eax, dword [ebp + 0x14]
cmp edi, dword [esi + 0x30]
jne 0x100d2ad0
cmp eax, dword [esi + 0x34]
je 0x100d2aaf
mov dword [esi + 0x30], edi
mov dword [esi + 0x34], eax
jmp case.0x100d2a01.527
mov eax, dword [esi + 0x38]
test al, 0x40
jne 0x100d2aaf
and eax, 0xffffff7f
or eax, 0x40
jmp 0x100d2ba4
mov eax, dword [esi + 0x38]
test al, al
js 0x100d2aaf
and eax, 0xffffffbf
or eax, 0x80
jmp 0x100d2ba4
mov eax, dword [esi + 0x38]
test al, 0xc0
je 0x100d2aaf
and eax, 0xffffff3f
jmp 0x100d2ba4
mov eax, dword [esi + 0x38]
test eax, 0x400
jne 0x100d2aaf
or eax, 0x400
jmp 0x100d2ba4
mov eax, dword [esi + 0x38]
test eax, 0x400
je 0x100d2aaf
and eax, 0xfffffbff
jmp 0x100d2ba4
mov eax, dword [esi + 0x38]
test eax, 0x200
jne 0x100d2aaf
or eax, 0x200
jmp 0x100d2ba4
mov eax, dword [esi + 0x38]
test eax, 0x200
je 0x100d2aaf
and eax, 0xfffffdff
jmp 0x100d2ba4
test edi, edi
je 0x100d2aaf
cmp edi, dword [esi + 0x4c]
je 0x100d2aaf
mov dword [esi + 0x4c], edi
jmp case.0x100d2a01.527
mov eax, dword [esi + 0x38]
test al, 4
jne 0x100d2aaf
or eax, 4
jmp 0x100d2ba4
mov eax, dword [esi + 0x38]
test al, 1
jne 0x100d2aaf
or eax, 1
jmp 0x100d2ba4
mov eax, dword [esi + 0x38]
test al, 1
je 0x100d2aaf
and eax, 0xfffffffe
mov dword [esi + 0x38], eax
push ebx
mov dword [ebp + 8], 0
call fcn.10063c40
add esp, 4
test eax, eax
je 0x100d2c2a
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x6c], eax
mov eax, dword [esi + 4]
mov dword [ebp - 0x80], ebx
mov dword [ebp - 0x7c], 0
mov dword [ebp - 0x78], 0
mov dword [ebp - 0x70], edi
mov dword [ebp - 0x74], eax
cmp ebx, 0x205
je 0x100d2c03
cmp ebx, 0x206
je 0x100d2c03
cmp ebx, 0x207
je 0x100d2c03
cmp ebx, 0x204
je 0x100d2c03
cmp ebx, 0x215
jne 0x100d2c14
lea eax, [ebp - 0x80]
push eax
push 0x100d2990
call fcn.10063ce0
add esp, 8
lea eax, [ebp - 0x80]
push eax
call fcn.100655f0
xor ecx, ecx
add esp, 4
test eax, eax
setg cl
mov dword [ebp + 8], ecx
lea eax, [ebx - 0x202]
cmp eax, 0x11
ja case.0x100d2c39.516
jmp dword [eax*4 + 0x100d2df8]
push esi
call fcn.100cac50
mov eax, dword [ebp + 8]
add esp, 4
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push esi
call fcn.100cab70
mov eax, dword [ebp + 8]
add esp, 4
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push esi
call fcn.100cabb0
mov eax, dword [ebp + 8]
add esp, 4
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push esi
call fcn.100cabe0
mov eax, dword [ebp + 8]
add esp, 4
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push esi
call fcn.100cabc0
mov eax, dword [ebp + 8]
add esp, 4
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push esi
call fcn.100cab90
mov eax, dword [ebp + 8]
add esp, 4
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push esi
call fcn.10002940
mov eax, dword [ebp + 8]
add esp, 4
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push esi
call fcn.100cac30
mov eax, dword [ebp + 8]
add esp, 4
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push esi
call fcn.100caa40
mov eax, dword [ebp + 8]
add esp, 4
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push esi
call fcn.10002940
mov eax, dword [ebp + 8]
add esp, 4
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push esi
call fcn.100caa60
mov eax, dword [ebp + 8]
add esp, 4
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push esi
call fcn.100caae0
mov eax, dword [ebp + 8]
add esp, 4
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push esi
call fcn.100ca950
mov eax, dword [ebp + 8]
add esp, 4
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp ebx, 0x20f
jne 0x100d2d95
cmp dword [esi + 0xfc], 0
jne 0x100d2d95
xor esi, esi
call fcn.100c9560
mov ecx, dword [eax + 0x18c]
test ecx, ecx
je 0x100d2d95
lea esp, [esp]
cmp dword [ecx + 0xfc], 0
lea eax, [esi + 1]
mov ecx, dword [ecx + 0xf8]
cmovne eax, esi
mov esi, eax
test ecx, ecx
jne 0x100d2d60
cmp esi, 1
jne 0x100d2d95
push eax
push str.SDL_QUIT_ON_LAST_WINDOW_CLOSE
call fcn.10088500
add esp, 8
test eax, eax
je 0x100d2d95
call fcn.100972d0
mov eax, dword [ebp + 8]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret