Function at 0x4ec4d0
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x58
push esi
push edi
mov edi, dword [0x5ce530]
mov ecx, 0x70a6a4
movss dword [esp + 0x20], xmm3
mov dword [esp + 0x24], edi
call fcn.0056b0a5
push 0x4e20
call fcn.005518c7
mov esi, dword [edi + 0x24c]
add esp, 4
mov dword [edi + 0x138], eax
mov ecx, esi
mov eax, dword [ebp + 8]
mov dword [edi + 0x13c], 0
push eax
mov dword [edi + 0x140], 0
call dword [0x579378]
call esi
add esp, 4
mov ecx, edi
push 0
call fcn.004eb610
movss xmm0, dword [esp + 0x20]
xorps xmm1, xmm1
ucomiss xmm0, xmm1
lahf
test ah, 0x44
jnp 0x4ec57f
mov eax, dword [0x5ce520]
mov ecx, edi
movss xmm3, dword [0x5b4618]
cdq
sub eax, edx
sar eax, 1
push eax
push 0x186e6
call fcn.004ec120
mov eax, dword [0x5ce520]
cdq
sub eax, edx
sar eax, 1
neg eax
add dword [edi + 0x140], eax
mov edi, dword [edi + 0x30]
mov eax, dword [edi]
mov esi, dword [eax + 8]
mov ecx, esi
call dword [0x579378]
mov ecx, edi
call esi
mov edi, dword [esp + 0x24]
xor ecx, ecx
mov edx, dword [0x5cdf28]
mov esi, edx
mov dword [esp + 0x4c], esi
mov eax, dword [edi + 0x140]
mov dword [esp + 0x48], eax
mov eax, dword [0x5cdf10]
mov byte [eax + 0xf4], 0
mov byte [edi + 0x1dc], cl
mov eax, edx
sub eax, esi
movd xmm0, eax
cvtdq2ps xmm0, xmm0
divss xmm0, dword [edi + 0x2c4]
cvttss2si eax, xmm0
sub eax, dword [0x5ce520]
mov dword [esp + 0x2c], eax
xor eax, eax
test ecx, ecx
cmovs ecx, eax
mov eax, ecx
or ecx, 0xffffffff
mov dword [esp + 0x1c], eax
mov dword [esp + 0x14], ecx
cmp eax, dword [edi + 0x13c]
jge 0x4ec8fc
mov edx, dword [edi + 0x138]
lea esi, [eax + eax*4]
shl esi, 2
mov dword [esp + 0x44], esi
mov ecx, dword [esi + edx + 4]
sub ecx, dword [esp + 0x2c]
mov dword [esp + 0x28], ecx
cmp ecx, dword [edi + 0x2bc]
jl 0x4ec8a3
cmp ecx, dword [edi + 0x2c0]
jge 0x4ec8a3
cmp dword [esp + 0x14], 0xffffffff
cmovne eax, dword [esp + 0x14]
mov dword [esp + 0x14], eax
mov eax, dword [esi + edx + 0x10]
mov dword [esp + 0x40], eax
test eax, eax
jne 0x4ec871
mov eax, dword [0x5ce53c]
push 0
push 0
mov ecx, dword [eax + 0x10]
mov eax, dword [0x5ce51c]
lea edx, [eax + eax]
mov dword [esp + 0x48], edx
cdq
sub eax, edx
mov edx, dword [edi + 0x138]
sar eax, 1
mov dword [esp + 0x44], eax
mov eax, dword [esi + edx]
mov dword [esp + 0x40], eax
mov eax, dword [esi + edx + 8]
mov dword [esp + 0x3c], eax
call fcn.004d96b0
mov ecx, dword [0x6d07e8]
mov dword [esp + 0x18], eax
push 2
cmp dword [ecx + 0x1c], 0
jne 0x4ec6b7
push str.Object__i_not_registered.
push 2
call fcn.004e9620
add esp, 0xc
xor esi, esi
jmp 0x4ec736
mov ecx, eax
call fcn.004fc0b0
test eax, eax
je 0x4ec6d7
push 2
push str.Object__i_already_exists_in_the_node.
push 2
call fcn.004e9620
add esp, 0xc
xor esi, esi
jmp 0x4ec736
mov eax, dword [0x6d07e8]
mov edi, dword [eax + 0x1c]
mov eax, dword [edi]
mov esi, dword [eax + 4]
mov ecx, esi
call dword [0x579378]
mov ecx, edi
call esi
mov ecx, dword [0x6cf7a0]
mov edi, eax
mov eax, dword [0x6d07e8]
push 0
mov dword [esp + 0x34], edi
mov eax, dword [eax + 0x1c]
push dword [eax + 0x24]
call fcn.00503440
mov ecx, dword [edi]
push 0
push eax
mov esi, dword [ecx + 4]
mov ecx, esi
call dword [0x579378]
mov ecx, edi
call esi
mov ecx, dword [esp + 0x18]
mov esi, edi
push esi
mov byte [esi + 0x24], 1
call fcn.004fbfe0
mov edi, dword [esp + 0x24]
mov eax, dword [esi + 0x28]
mov ecx, dword [esp + 0x34]
mov dword [eax + 8], ecx
cmp dword [esi + 0x2c], 0
mov eax, dword [esp + 0x38]
mov byte [esi + 0x24], 1
mov dword [esi + 0x30], eax
je 0x4ec758
mov ecx, esi
call fcn.004dad40
mov ecx, dword [esp + 0x18]
movd xmm0, dword [esp + 0x3c]
mov edx, dword [esp + 0x40]
cvtdq2ps xmm0, xmm0
mov eax, dword [ecx + 4]
push 0xfffffffffffffffe
movss dword [eax + 0x10], xmm0
mov eax, dword [ecx + 4]
movd xmm0, dword [esp + 0x2c]
cvtdq2ps xmm0, xmm0
movss dword [eax + 0x14], xmm0
mov eax, dword [esi + 0x28]
mov dword [eax + 0x14], edx
mov byte [esi + 0x24], 1
mov eax, dword [ecx + 4]
mov dword [eax + 0x28], 4
mov eax, dword [esi + 0x28]
mov dword [eax + 0x10], 1
mov byte [esi + 0x24], 1
call fcn.004fc160
mov eax, dword [edi + 0x138]
mov edx, dword [esp + 0x44]
mov ecx, dword [esp + 0x18]
mov dword [edx + eax + 0x10], ecx
mov eax, dword [edi + 0x138]
mov ecx, dword [edx + eax + 0x10]
movss xmm0, dword [edx + eax + 0xc]
mov eax, dword [ecx + 4]
movss dword [eax + 0x18], xmm0
mov eax, dword [ecx + 4]
movss dword [eax + 0x1c], xmm0
mov eax, dword [edi + 0x138]
mov eax, dword [edx + eax + 0x10]
mov edx, dword [eax + 0x248]
mov eax, dword [edx + 0x28]
mov dword [eax], 1
mov eax, dword [edx + 0x28]
mov dword [eax + 4], 0xa
mov ecx, dword [edx + 0x2c]
mov dword [esp + 0x18], ecx
test ecx, ecx
je 0x4ec89d
mov eax, dword [edx + 0x28]
mov edx, dword [eax + 4]
mov eax, dword [eax]
mov dword [esp + 0x40], edx
mov dword [esp + 0x44], eax
cmp dword [ecx + 0x48], edx
jne 0x4ec829
cmp dword [ecx + 0x44], eax
je 0x4ec89d
lea esi, [ecx + 4]
mov ecx, esi
call fcn.004ea350
mov eax, dword [esp + 0x18]
mov edx, esi
mov ecx, dword [esp + 0x44]
mov dword [eax + 0x44], ecx
mov ecx, dword [esp + 0x40]
mov dword [eax + 0x48], ecx
mov ecx, dword [0x6d07d4]
lea ecx, [ecx + 4]
call fcn.004e9ee0
mov ecx, dword [esp + 0x18]
mov eax, dword [ecx]
mov esi, dword [eax]
mov ecx, esi
call dword [0x579378]
mov ecx, dword [esp + 0x18]
call esi
mov eax, dword [esp + 0x1c]
jmp 0x4ec8e5
mov eax, dword [0x5ce51c]
cdq
sub eax, edx
mov edx, dword [esp + 0x40]
sar eax, 1
movd xmm0, eax
mov eax, dword [edx + 4]
cvtdq2ps xmm0, xmm0
movss dword [eax + 0x10], xmm0
mov eax, dword [edx + 4]
movd xmm0, ecx
cvtdq2ps xmm0, xmm0
movss dword [eax + 0x14], xmm0
mov eax, dword [esp + 0x1c]
jmp 0x4ec8e5
mov edx, dword [esi + edx + 0x10]
mov dword [esp + 0x44], edx
test edx, edx
je 0x4ec8dd
mov ecx, edx
call fcn.004fb750
push 0x250
push dword [esp + 0x48]
call fcn.0055143e
mov eax, dword [edi + 0x138]
add esp, 8
mov ecx, dword [esp + 0x28]
mov dword [esi + eax + 0x10], 0
mov eax, dword [esp + 0x1c]
cmp ecx, dword [edi + 0x2c0]
jg 0x4ec8f6
inc eax
mov dword [esp + 0x1c], eax
cmp eax, dword [edi + 0x13c]
jl 0x4ec602
mov edx, dword [0x5cdf28]
mov eax, dword [0x5cdf10]
mov esi, dword [ebp + 8]
cmp byte [eax + 0xf4], 0
jne 0x4ec9b3
cmp byte [edi + 0x1dc], 0
jne 0x4ec9b3
push dword [0x5cdf18]
lea eax, [edx + 0xa]
mov dword [esi + 0x1c], 1
mov dword [esi + 0x20], eax
mov dword [esi + 0x2c], 0xffffffff
call dword [sym.imp.KERNEL32.dll_SetEvent]
mov esi, dword [esi + 0x10]
mov ecx, 1
movzx eax, byte [0x5cd9f4]
cmp esi, dword [0x5cdf18]
push 0xffffffffffffffff
cmove eax, ecx
push esi
mov byte [0x5cd9f4], al
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov ecx, dword [0x5cdf18]
xor edx, edx
movzx eax, byte [0x5cd9f4]
cmp esi, ecx
cmove eax, edx
mov byte [0x5cd9f4], al
cmp byte [0x5cda00], dl
jne 0x4ecc2f
mov esi, dword [ebp + 8]
cmp dword [esi + 4], 1
je 0x4ecc4e
mov eax, dword [esp + 0x48]
mov edx, dword [0x5cdf28]
cmp dword [esp + 0x2c], eax
jg 0x4ec9b9
mov ecx, dword [esp + 0x14]
mov esi, dword [esp + 0x4c]
jmp 0x4ec5c1
mov ecx, dword [0x5cdf18]
movss xmm0, dword [esp + 0x20]
ucomiss xmm0, dword [0x5b4584]
lahf
test ah, 0x44
jnp 0x4ecb33
lea eax, [edx + 0x3e8]
mov dword [esi + 0x1c], 1
push ecx
mov dword [esi + 0x20], eax
mov dword [esi + 0x2c], 0xffffffff
call dword [sym.imp.KERNEL32.dll_SetEvent]
mov esi, dword [esi + 0x10]
mov ecx, 1
movzx eax, byte [0x5cd9f4]
cmp esi, dword [0x5cdf18]
push 0xffffffffffffffff
cmove eax, ecx
push esi
mov byte [0x5cd9f4], al
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
movzx eax, byte [0x5cd9f4]
xor ecx, ecx
cmp esi, dword [0x5cdf18]
cmove eax, ecx
mov byte [0x5cd9f4], al
cmp byte [0x5cda00], cl
jne 0x4ecc2f
mov esi, dword [ebp + 8]
cmp dword [esi + 4], 1
je 0x4ecc4e
mov ecx, dword [0x6d07d4]
sub esp, 0x10
mov eax, dword [0x5cdf28]
mov dword [esp + 0x60], 0xb
mov dword [ecx + 0x438], eax
mov eax, dword [ecx]
mov dword [ecx + 0x448], eax
inc eax
mov dword [ecx], eax
mov dword [ecx + 0x440], 0xffffffff
mov dword [ecx + 0x444], 0xffffffff
mov dword [ecx + 0x43c], 0x3e8
mov dword [ecx + 0x430], 3
mov dword [ecx + 0x434], 0x3f800000
mov eax, dword [ecx + 0x448]
mov dword [esp + 0x64], eax
mov eax, esp
movaps xmm0, xmmword [esp + 0x60]
mov dword [ecx + 0x44c], 0
mov ecx, esi
movups xmmword [esi + 0x1c], xmm0
mov dword [esi + 0x2c], 0xffffffff
movups xmmword [eax], xmm0
call fcn.004e8660
test al, al
jne 0x4ecb33
push dword [0x5cdf18]
call dword [sym.imp.KERNEL32.dll_SetEvent]
mov esi, dword [esi + 0x10]
mov ecx, 1
movzx eax, byte [0x5cd9f4]
cmp esi, dword [0x5cdf18]
push 0xffffffffffffffff
cmove eax, ecx
push esi
mov byte [0x5cd9f4], al
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
movzx eax, byte [0x5cd9f4]
xor ecx, ecx
cmp esi, dword [0x5cdf18]
cmove eax, ecx
mov byte [0x5cd9f4], al
cmp byte [0x5cda00], cl
jne 0x4ecc2f
mov eax, dword [ebp + 8]
cmp dword [eax + 4], 1
je 0x4ecc4e
xor edx, edx
mov dword [esp + 0x1c], edx
cmp dword [edi + 0x13c], edx
jle 0x4ecbc1
xor esi, esi
nop word [eax + eax]
mov eax, dword [edi + 0x138]
mov ecx, dword [eax + esi + 0x10]
mov dword [esp + 0x4c], ecx
test ecx, ecx
je 0x4ecb90
call fcn.004fb750
push 0x250
push dword [esp + 0x50]
call fcn.0055143e
mov eax, dword [edi + 0x138]
add esp, 8
mov edx, dword [esp + 0x1c]
mov dword [esi + eax + 0x10], 0
mov eax, dword [edi + 0x138]
mov eax, dword [esi + eax]
test eax, eax
je 0x4ecbb1
push eax
call fcn.005518c2
mov eax, dword [edi + 0x138]
add esp, 4
mov edx, dword [esp + 0x1c]
mov dword [esi + eax], 0
inc edx
add esi, 0x14
mov dword [esp + 0x1c], edx
cmp edx, dword [edi + 0x13c]
jl 0x4ecb50
mov eax, dword [edi + 0x138]
test eax, eax
je 0x4ecbde
push eax
call fcn.005518c2
add esp, 4
mov dword [edi + 0x138], 0
movss xmm0, dword [esp + 0x20]
ucomiss xmm0, dword [0x5b4584]
lahf
test ah, 0x44
jp 0x4ecc27
push 1
mov ecx, edi
call fcn.004eb610
mov esi, dword [edi + 0x258]
test esi, esi
je 0x4ecc14
push dword [ebp + 8]
mov ecx, esi
call dword [0x579378]
call esi
add esp, 4
mov edi, dword [edi]
mov eax, dword [edi]
mov esi, dword [eax + 0xc]
mov ecx, esi
call dword [0x579378]
mov ecx, edi
call esi
pop edi
pop esi
mov esp, ebp
pop ebp
ret 8
push 0x10
push str.Error
push 0x5cda00
push dword [0x5cd9f8]
call dword [sym.imp.USER32.dll_MessageBoxA]
push 0
call fcn.00555423
call fcn.004d6eb0
int3