Function at 0x41bbe0
Capabilities:
Create thread

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 0x5aad01
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x100
mov eax, dword [0x6398ac]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x78], edi
mov esi, dword [ebx + 8]
call fcn.0041c240
call fcn.0042c450
test al, al
jne 0x41bc51
push fcn.0058021a
push 0x5020701
call fcn.0042c280
add esp, 8
test al, al
je 0x41c0a5
call fcn.00430420
test al, al
jne 0x41bc6d
call fcn.004303f0
test al, al
jne 0x41bc6d
push str.Cant_start_Primitives_
jmp 0x41c0aa
movups xmm0, xmmword [esi]
lea eax, [esi + 0x10]
mov byte [ebp - 0x15], 0
push eax
lea ecx, [ebp - 0x58]
mov byte [ebp - 0x16], 0
movups xmmword [ebp - 0x68], xmm0
call fcn.00423e60
mov eax, dword [esi + 0x28]
mov cl, byte [esi + 0x33]
mov dword [ebp - 0x40], eax
mov eax, dword [esi + 0x2c]
mov dword [ebp - 0x3c], eax
mov al, byte [esi + 0x30]
mov byte [ebp - 0x38], al
mov al, byte [esi + 0x31]
mov byte [ebp - 0x37], al
mov al, byte [esi + 0x32]
mov byte [ebp - 0x36], al
mov al, byte [esi + 0x34]
mov byte [ebp - 0x34], al
lea eax, [ebp - 0x16]
mov dword [ebp - 0x2c], eax
lea eax, [ebp - 0x15]
mov byte [ebp - 0x35], cl
mov dword [ebp - 0x30], edi
mov dword [ebp - 0x28], eax
mov dword [ebp - 4], 0
test cl, cl
je 0x41c044
push 0x80
call fcn.0057fe99
mov esi, eax
add esp, 4
mov dword [ebp - 0x84], esi
push 0x80
push 0
push esi
call fcn.00581fc0
xorps xmm0, xmm0
mov byte [esi], 0
mov byte [esi + 1], 0
add esp, 0xc
movq qword [esi + 4], xmm0
lea eax, [esi + 0xc]
push eax
call fcn.0057da7f
add esp, 4
lea edi, [esi + 0x18]
mov byte [esi + 0x14], 0
mov dword [ebp - 0x70], edi
mov dword [edi + 0x24], 0
mov byte [ebp - 4], 4
mov ecx, dword [0x63a37c]
test ecx, ecx
je 0x41bd39
mov eax, dword [ecx]
push edi
mov eax, dword [eax]
call eax
mov dword [edi + 0x24], eax
mov dword [esi + 0x40], 0
mov dword [esi + 0x44], 0
mov dword [esi + 0x48], 0
lea eax, [esi + 0x4c]
push 2
push eax
call fcn.0057d0ce
mov byte [ebp - 4], 7
push 4
mov word [esi + 0x7c], 0x100
call fcn.0057fe99
add esp, 0xc
mov dword [ebp - 0x1c], eax
mov dword [eax], esi
lea ecx, [ebp - 0x88]
mov byte [ebp - 4], 8
push ecx
push 0
push eax
push 0x427790
push 0
push 0
call fcn.0058560b
mov ecx, eax
add esp, 0x18
mov dword [ebp - 0x8c], ecx
test ecx, ecx
je 0x41c0c5
mov byte [ebp - 4], 7
cmp dword [esi + 8], 0
mov dword [ebp - 0x1c], 0
jne 0x41c0c0
mov eax, dword [ebp - 0x88]
xorps xmm0, xmm0
mov dword [esi + 4], ecx
mov dword [esi + 8], eax
cmp byte [esi + 0x7c], 0
movlpd qword [ebp - 0x8c], xmm0
jne 0x41be01
mov dword [ebp - 0xe0], 0xa
mov dword [ebp - 0xdc], 0
nop word [eax + eax]
lea ecx, [ebp - 0xe0]
call fcn.00424be0
cmp byte [esi + 0x7c], 0
je 0x41bdf0
mov byte [ebp - 4], 0
lea eax, [ebp - 0xe4]
mov edi, dword [ebp - 0x78]
add edi, 0x50
cmp edi, eax
je 0x41be20
mov eax, dword [edi]
mov dword [edi], esi
test eax, eax
je 0x41be26
push eax
jmp 0x41be21
push esi
call fcn.00424560
mov eax, dword [edi]
lea ecx, [ebp - 0xc8]
movups xmm0, xmmword [ebp - 0x68]
sub esp, 0x28
mov dword [ebp - 0x84], eax
mov edi, esp
lea eax, [ebp - 0x58]
mov dword [ebp - 0x90], edi
movups xmmword [ebp - 0xd8], xmm0
push eax
call fcn.00423e60
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0xb0], eax
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0xac], eax
mov al, byte [ebp - 0x38]
mov byte [ebp - 0xa8], al
mov al, byte [ebp - 0x37]
mov byte [ebp - 0xa7], al
mov al, byte [ebp - 0x36]
mov byte [ebp - 0xa6], al
mov al, byte [ebp - 0x35]
mov byte [ebp - 0xa5], al
mov al, byte [ebp - 0x34]
mov byte [ebp - 0xa4], al
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0xa0], eax
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x9c], eax
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x98], eax
mov dword [edi + 0x24], 0
push 0x48
mov byte [ebp - 4], 0xa
call fcn.0057fe99
mov esi, eax
add esp, 4
mov dword [ebp - 0x70], esi
mov byte [ebp - 4], 0xb
lea eax, [ebp - 0xc8]
movups xmm0, xmmword [ebp - 0xd8]
mov dword [esi], vtable.std::_Func_impl_no_alloc_class__lambda_b5b8dfc244d211c6fe47d4d77c097dba___void___.0
lea ecx, [esi + 0x14]
push eax
movups xmmword [esi + 4], xmm0
call fcn.00423e60
mov eax, dword [ebp - 0xb0]
mov dword [esi + 0x2c], eax
mov eax, dword [ebp - 0xac]
mov dword [esi + 0x30], eax
mov al, byte [ebp - 0xa8]
mov byte [esi + 0x34], al
mov al, byte [ebp - 0xa7]
mov byte [esi + 0x35], al
mov al, byte [ebp - 0xa6]
mov byte [esi + 0x36], al
mov al, byte [ebp - 0xa5]
mov byte [esi + 0x37], al
mov al, byte [ebp - 0xa4]
mov byte [esi + 0x38], al
mov eax, dword [ebp - 0xa0]
mov dword [esi + 0x3c], eax
mov eax, dword [ebp - 0x9c]
mov dword [esi + 0x40], eax
mov eax, dword [ebp - 0x98]
mov byte [ebp - 4], 0
mov edx, dword [ebp - 0xb4]
mov dword [esi + 0x44], eax
mov dword [ebp - 0x70], 0
mov dword [edi + 0x24], esi
cmp edx, 0x10
jb 0x41bf8d
mov ecx, dword [ebp - 0xc8]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x41bf83
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41c0d6
push edx
push ecx
call fcn.0058022f
add esp, 8
mov ecx, dword [ebp - 0x84]
mov dword [ebp - 0xb8], 0
mov dword [ebp - 0xb4], 0xf
mov byte [ebp - 0xc8], 0
call fcn.0041b7a0
mov ecx, dword [ebp - 0x78]
lea edx, [ebp - 0x110]
sub esp, 0x28
mov eax, esp
mov esi, dword [ecx + 0x50]
push edx
mov dword [eax + 0x24], 0
call fcn.0041ba20
mov byte [ebp - 4], 0xc
cmp dword [ebp - 0xec], 0
je 0x41c020
cmp byte [esi + 0x7c], 0
mov ecx, esi
sete al
movzx eax, al
push eax
call fcn.0041b590
lea eax, [ebp - 0x110]
push eax
lea ecx, [esi + 0x18]
call fcn.00423b30
mov byte [esi], 0
mov ecx, dword [ebp - 0xec]
test ecx, ecx
je 0x41c020
mov edx, dword [ecx]
lea eax, [ebp - 0x110]
cmp ecx, eax
setne al
movzx eax, al
push eax
call dword [edx + 0x10]
cmp byte [ebp - 0x15], 0
jne 0x41c04c
mov dword [ebp - 0x80], 0xa
mov dword [ebp - 0x7c], 0
lea ecx, [ebp - 0x80]
call fcn.00424be0
cmp byte [ebp - 0x15], 0
je 0x41c034
jmp 0x41c04c
lea ecx, [ebp - 0x68]
call fcn.0041c0e0
mov al, byte [ebp - 0x16]
mov edx, dword [ebp - 0x44]
mov byte [ebp - 0x69], al
cmp edx, 0x10
jb 0x41c085
mov ecx, dword [ebp - 0x58]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x41c078
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41c0d6
push edx
push ecx
call fcn.0058022f
mov al, byte [ebp - 0x69]
add esp, 8
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.0057fc8e
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 4
push str.Cant_start_Allegro_
lea ecx, [ebp - 0x80]
call fcn.0041ace0
push 0x63465c
lea eax, [ebp - 0x80]
push eax
call fcn.005827fb
call fcn.00588990
push 6
mov dword [ebp - 0x88], 0
call fcn.0057e01b
call fcn.00589a51
int3