Function at 0x5ba360
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0xdd4539
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0xe3c018]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x24], edi
mov dword [ebp - 0x28], edi
mov dword [ebp - 4], 0
mov eax, dword [0xe457c8]
test eax, eax
jne 0x5ba3d6
push 0xf8
call fcn.00d493ca
mov esi, eax
mov dword [ebp - 0x24], esi
push 0xf8
push 0
push esi
mov byte [ebp - 4], 1
call fcn.00d9ac00
add esp, 0x10
mov ecx, esi
call fcn.00559750
mov byte [ebp - 4], 0
mov dword [0xe457c8], eax
mov ecx, eax
call fcn.0055a090
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x18], 0x1005700
mov dword [ebp - 0x14], 0
lea esi, [eax + 0x74]
lea eax, [ebp - 0x18]
mov ecx, esi
push eax
call fcn.005a4fc0
mov edx, eax
test edx, edx
js 0x5ba426
cmp edx, dword [esi + 8]
jae 0x5ba419
mov eax, dword [esi]
mov ecx, dword [eax + edx*8]
mov eax, dword [eax + edx*8 + 4]
mov dword [ebp - 0x20], ecx
jmp 0x5ba42b
xorps xmm0, xmm0
movlpd qword [ebp - 0x20], xmm0
mov eax, dword [ebp - 0x1c]
jmp 0x5ba42b
mov eax, dword [0xe3ce88]
push 1
push 4
push eax
lea eax, [ebp + 8]
mov ecx, edi
push eax
call fcn.0059fa80
mov byte [ebp - 4], 2
mov ecx, edi
push 0
mov dword [edi], vtable.NewProjectApplication::MainWindow.0
call fcn.005a24f0
push 0x28c
call fcn.00d493ca
mov ebx, eax
mov dword [ebp - 0x2c], ebx
push 0x28c
push 0
push ebx
mov byte [ebp - 4], 3
call fcn.00d9ac00
add esp, 0x10
lea ecx, [ebp - 0x24]
call fcn.004c9e30
mov ecx, ebx
call fcn.005524b0
push 0x100
mov byte [ebp - 4], 5
lea esi, [ebx + 0x8c]
push 0
push esi
mov dword [ebx], vtable.MainComponent.0
mov dword [ebx + 0x88], 0
call fcn.00d9ac00
add esp, 0xc
lea ecx, [ebp - 0x24]
push 0x100
push esi
call fcn.004b5aa0
push 0x186
push 0x258
push dword [ebx + 0x20]
mov ecx, ebx
push dword [ebx + 0x1c]
call fcn.005539d0
push 8
call fcn.00d493ca
mov dword [ebp - 0x14], eax
mov dword [eax], 0x5ba940
mov dword [eax + 4], ebx
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 6
push ecx
push 0
push eax
push 0x5bab20
push 0
push 0
call fcn.00da19b3
add esp, 0x1c
mov dword [ebp - 0x20], eax
test eax, eax
je 0x5ba5dc
mov byte [ebp - 4], 7
mov ecx, dword [ebp - 0x1c]
test ecx, ecx
je 0x5ba5ea
push ecx
push eax
call fcn.00d48883
add esp, 8
test eax, eax
jne 0x5ba5f1
mov ecx, dword [ebp - 0x24]
xorps xmm0, xmm0
add ecx, 0xfffffff8
movlpd qword [ebp - 0x20], xmm0
or esi, 0xffffffff
cmp ecx, 0xe3ce50
je 0x5ba557
mov eax, esi
lock xadd dword [ecx], eax
dec eax
cmp eax, esi
jne 0x5ba557
push ecx
call fcn.00d491c8
add esp, 4
push 1
push 1
push ebx
mov ecx, edi
mov byte [ebp - 4], 2
call fcn.005a0d50
push 0
push 0
mov ecx, edi
call fcn.005a1480
push 0x5a
push 0x140
push dword [edi + 0x20]
mov ecx, edi
push dword [edi + 0x1c]
call fcn.005539d0
push dword [edi + 0x28]
mov ecx, edi
push dword [edi + 0x24]
call fcn.00553ce0
push 1
mov ecx, edi
call fcn.00552bf0
mov eax, dword [ebp + 8]
add eax, 0xfffffff8
cmp eax, 0xe3ce50
je 0x5ba5bc
lock xadd dword [eax], esi
dec esi
cmp esi, 0xffffffff
jne 0x5ba5bc
push eax
call fcn.00d491c8
add esp, 4
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00d491ba
mov esp, ebp
pop ebp
ret 4
push 6
mov dword [ebp - 0x1c], 0
call fcn.00d473ed
push 1
call fcn.00d473ed
push eax
call fcn.00d473c0
int3