Function at 0x5822a0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
mov eax, dword [0x6b8c10]
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 0x5824f3
xor ebx, ebx
lea ebx, [ebx]
cmp ebx, 0x240
jae 0x5824f3
lea eax, [esi + 0x30]
add eax, ebx
cmp dword [eax + 0x14], 0x10
jb 0x582309
mov eax, dword [eax]
push eax
lea eax, [ebp - 0x2c]
mov dword [ebp - 0x2c], 0xff969696
push eax
movaps xmm0, xmm2
sub esp, 8
addss xmm0, dword [0x67c8bc]
movss dword [esp + 4], xmm1
movss dword [esp], xmm0
push dword [0x764c08]
call fcn.00597280
mov edi, dword [edi]
add esp, 0x14
add edi, ebx
cmp dword [edi + 0x14], 0x10
jb 0x582348
mov edi, dword [edi]
movdqa xmm0, xmmword [0x67c8e0]
mov esi, edi
mov ecx, dword [0x764c08]
mov dword [ebp - 0x30], ecx
movdqu xmmword [ebp - 0x14], xmm0
lea edx, [esi + 1]
mov al, byte [esi]
inc esi
test al, al
jne 0x582363
sub esi, edx
cmp dword [ecx + 0x668], 0
jne 0x58238e
push 0
push 0x58
push str.c:infectzmmo_srceternityincluded3dFont.h
push str.fnt_pD3DXFont
call fcn.0058e630
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 [0x764bf8]
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], 0xff969696
movd xmm4, eax
comiss xmm3, xmm1
movd xmm2, ecx
cvtdq2ps xmm4, xmm4
cvtdq2ps xmm2, xmm2
jb 0x582482
movaps xmm0, xmm4
addss xmm0, xmm1
movss xmm1, dword [ebp - 0x18]
comiss xmm0, xmm3
jb 0x582487
movd xmm3, dword [0x764bf4]
cvtdq2ps xmm3, xmm3
comiss xmm3, xmm1
jb 0x582487
movaps xmm0, xmm2
addss xmm0, xmm1
comiss xmm0, xmm3
jb 0x582487
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.0059b600
add esp, 0x1c
cmp dword [0x764bf0], 0
je 0x582482
mov eax, dword [ebp - 0x28]
mov eax, dword [eax]
add eax, 0x18
add eax, ebx
cmp dword [eax + 0x14], 0x10
jb 0x58246b
mov eax, dword [eax]
push 5
push 0
push 0x67a7bc
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 0x67a120
push eax
sub esp, 8
movss dword [esp + 4], xmm1
movss dword [esp], xmm0
push dword [0x764c08]
call fcn.00597280
mov edi, dword [ebp - 0x28]
mov eax, 0x38e38e39
movss xmm1, dword [ebp - 0x18]
add esp, 0x18
addss xmm1, dword [0x67c8a4]
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 0x5822f0
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.005b2af3
mov esp, ebp
pop ebp
ret