Function at 0x583ba0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
mov eax, dword [0x6cdf60]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edi, ecx
movss dword [ebp - 0x18], xmm1
mov eax, 0x38e38e39
mov dword [ebp - 0x28], edi
xor ecx, ecx
movaps xmm2, xmm0
movss dword [ebp - 0x1c], xmm2
mov edx, dword [edi + 4]
mov esi, dword [edi]
sub edx, esi
imul edx
mov dword [ebp - 0x20], ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
je 0x583df3
xor ebx, ebx
lea ebx, [ebx]
cmp ebx, 0x168
jae 0x583df3
lea eax, [esi + 0x30]
add eax, ebx
cmp dword [eax + 0x14], 0x10
jb 0x583c09
mov eax, dword [eax]
push eax
lea eax, [ebp - 0x2c]
mov dword [ebp - 0x2c], 0xfff3b656
push eax
movaps xmm0, xmm2
sub esp, 8
addss xmm0, dword [0x696784]
movss dword [esp + 4], xmm1
movss dword [esp], xmm0
push dword [0x88eea4]
call fcn.005a3810
mov edi, dword [edi]
add esp, 0x14
add edi, ebx
cmp dword [edi + 0x14], 0x10
jb 0x583c48
mov edi, dword [edi]
movdqa xmm0, xmmword [0x6967b0]
mov esi, edi
mov ecx, dword [0x88eea4]
mov dword [ebp - 0x30], ecx
movdqu xmmword [ebp - 0x14], xmm0
lea edx, [esi + 1]
mov al, byte [esi]
inc esi
test al, al
jne 0x583c63
sub esi, edx
cmp dword [ecx + 0x668], 0
jne 0x583c8e
push 0
push 0x58
push str.c:warz2_srceternityincluded3dFont.h
push str.fnt_pD3DXFont
call fcn.0059a430
mov ecx, dword [ebp - 0x30]
add esp, 0x10
mov eax, dword [ecx + 0x668]
lea edx, [ebp - 0x14]
push 0xffffffffffffffff
push 0x400
push edx
mov ecx, dword [eax]
push esi
push edi
push 0
push eax
call dword [ecx + 0x38]
movd xmm3, dword [0x88ee98]
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 8]
sub eax, dword [ebp - 0x14]
sub ecx, dword [ebp - 0x10]
movss xmm1, dword [ebp - 0x1c]
cvtdq2ps xmm3, xmm3
mov dword [ebp - 0x24], 0xffffffff
movd xmm4, eax
comiss xmm3, xmm1
movd xmm2, ecx
cvtdq2ps xmm4, xmm4
cvtdq2ps xmm2, xmm2
jb 0x583d82
movaps xmm0, xmm4
addss xmm0, xmm1
movss xmm1, dword [ebp - 0x18]
comiss xmm0, xmm3
jb 0x583d87
movd xmm3, dword [0x88ee94]
cvtdq2ps xmm3, xmm3
comiss xmm3, xmm1
jb 0x583d87
movaps xmm0, xmm2
addss xmm0, xmm1
comiss xmm0, xmm3
jb 0x583d87
movss xmm0, dword [ebp - 0x1c]
lea eax, [ebp - 0x24]
push 0
push 0
push eax
sub esp, 0x10
mov dword [ebp - 0x24], 0xffffd800
addss xmm2, xmm1
mov dword [esp + 0xc], 0x3f800000
movss dword [esp + 8], xmm4
movss dword [esp + 4], xmm2
movss dword [esp], xmm0
call fcn.005a7c50
add esp, 0x1c
cmp dword [0x88ee90], 0
je 0x583d82
mov eax, dword [ebp - 0x28]
mov eax, dword [eax]
add eax, 0x18
add eax, ebx
cmp dword [eax + 0x14], 0x10
jb 0x583d6b
mov eax, dword [eax]
push 5
push 0
push 0x68fc7c
push eax
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
movss xmm1, dword [ebp - 0x18]
movss xmm0, dword [ebp - 0x1c]
lea eax, [ebp - 0x24]
push edi
push 0x68fcb8
push eax
sub esp, 8
movss dword [esp + 4], xmm1
movss dword [esp], xmm0
push dword [0x88eea4]
call fcn.005a3810
mov edi, dword [ebp - 0x28]
mov eax, 0x38e38e39
movss xmm1, dword [ebp - 0x18]
add esp, 0x18
addss xmm1, dword [0x696750]
inc dword [ebp - 0x20]
add ebx, 0x48
mov ecx, dword [edi + 4]
mov esi, dword [edi]
sub ecx, esi
movss xmm2, dword [ebp - 0x1c]
imul ecx
movss dword [ebp - 0x18], xmm1
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp dword [ebp - 0x20], eax
jb 0x583bf0
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.005bf536
mov esp, ebp
pop ebp
ret